<div dir="ltr">I&#39;ve pulled down all the latest changes from <a href="https://github.com/apple/swift-corelibs-foundation">https://github.com/apple/swift-corelibs-foundation</a> and currently using the latest toolchain (Swift Development Snapshot 2017-05-16). <div>However various errors arise when trying to build. </div><div><br></div><div>I get numerous errors that are similar to this: </div><div>swift-corelibs-foundation/Foundation/Data.swift:63:41: &#39;&gt;&gt;&#39; is unavailable<br></div><div>&#39;&gt;&gt;&#39; was obsoleted in Swift 4<br></div><div><br></div><div>And this error also occurs: </div><div>swift-corelibs-foundation/Foundation/NSArray.swift:375:157: Contextual closure type &#39;(UnsafeMutableRawPointer, Int) -&gt; Void&#39; expects 2 arguments, but 1 was used in closure body<br></div><div><br></div><div>I was wondering if anyone knew a way around these errors? Or is there&#39;s something I&#39;m doing wrong. </div><div><br></div><div>Thanks. </div></div>