Swift compiler errors in clean build.


(Dan Tugendraich) #1

I have a clean clone of swift-corelibs-foundation. I’m on the master branch. What should I do with the 2 compiler errors?

"/Users/tugendraich/Documents/Projects/iOS/swift-source/swift-corelibs-foundation/Foundation/NSTimeZone.swift:212:41: '_StructType' (aka 'Dictionary<AnyHashable, Any>') is not convertible to '[String : String]’”
and
"/Users/tugendraich/Documents/Projects/iOS/swift-source/swift-corelibs-foundation/Foundation/NSURLSession/EasyHandle.swift:299:37: Use of undeclared type ’TextOutputStreamable’"

There is also a test that failes, it’s the "’TestNSData.test_replaceBytes’” one. Should I start my contribution from another branch or is there something I have missed in the setup of my project?

Thank you.

Dan Tugendraich

<http://www.ustwo.com/>

Kärleksgatan 2, 211 45 Malmö <http://www.ustwo.com/>
+46 (0) 40 330 480 <http://www.ustwo.com/>


(Henry Betts) #2

Hi Dan,

Sounds like you’re not using the latest swift toolchain. You need to download the latest development snapshot from https://swift.org/download/#snapshots and then enable it in Xcode (Preferences -> Components -> Toolchains) in order to build the most recent versions of foundation.

Henry

···

On 6 Sep 2016, at 14:04, Dan Tugendraich via swift-corelibs-dev <swift-corelibs-dev@swift.org <mailto:swift-corelibs-dev@swift.org>> wrote:

I have a clean clone of swift-corelibs-foundation. I’m on the master branch. What should I do with the 2 compiler errors?

"/Users/tugendraich/Documents/Projects/iOS/swift-source/swift-corelibs-foundation/Foundation/NSTimeZone.swift:212:41: '_StructType' (aka 'Dictionary<AnyHashable, Any>') is not convertible to '[String : String]’”
and
"/Users/tugendraich/Documents/Projects/iOS/swift-source/swift-corelibs-foundation/Foundation/NSURLSession/EasyHandle.swift:299:37: Use of undeclared type ’TextOutputStreamable’"

There is also a test that failes, it’s the "’TestNSData.test_replaceBytes’” one. Should I start my contribution from another branch or is there something I have missed in the setup of my project?

Thank you.

Dan Tugendraich

<ustwo_dad_navy.png> <http://www.ustwo.com/>

Kärleksgatan 2, 211 45 Malmö <http://www.ustwo.com/>
+46 (0) 40 330 480 <http://www.ustwo.com/>
_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org <mailto:swift-corelibs-dev@swift.org>
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev


(Dan Tugendraich) #3

Hi Henry,

I’m using, Xcode 8 beta 6 and swift 3.0 preview 6 snapshot. Those are the latest ones on swift.org that I can find.
Dan Tugendraich

<http://www.ustwo.com/>

Kärleksgatan 2, 211 45 Malmö <http://www.ustwo.com/>
+46 (0) 40 330 480 <http://www.ustwo.com/>

···

6 sep. 2016 kl. 16:25 skrev Henry Betts <henry.betts@btconnect.com>:

Hi Dan,

Sounds like you’re not using the latest swift toolchain. You need to download the latest development snapshot from https://swift.org/download/#snapshots and then enable it in Xcode (Preferences -> Components -> Toolchains) in order to build the most recent versions of foundation.

Henry

On 6 Sep 2016, at 14:04, Dan Tugendraich via swift-corelibs-dev <swift-corelibs-dev@swift.org <mailto:swift-corelibs-dev@swift.org>> wrote:

I have a clean clone of swift-corelibs-foundation. I’m on the master branch. What should I do with the 2 compiler errors?

"/Users/tugendraich/Documents/Projects/iOS/swift-source/swift-corelibs-foundation/Foundation/NSTimeZone.swift:212:41: '_StructType' (aka 'Dictionary<AnyHashable, Any>') is not convertible to '[String : String]’”
and
"/Users/tugendraich/Documents/Projects/iOS/swift-source/swift-corelibs-foundation/Foundation/NSURLSession/EasyHandle.swift:299:37: Use of undeclared type ’TextOutputStreamable’"

There is also a test that failes, it’s the "’TestNSData.test_replaceBytes’” one. Should I start my contribution from another branch or is there something I have missed in the setup of my project?

Thank you.

Dan Tugendraich

<ustwo_dad_navy.png> <http://www.ustwo.com/>

Kärleksgatan 2, 211 45 Malmö <http://www.ustwo.com/>
+46 (0) 40 330 480 <http://www.ustwo.com/>
_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org <mailto:swift-corelibs-dev@swift.org>
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev


(Henry Betts) #4

Dan,

You need the latest development snapshot - these are usually updated everyday. The preview 6 snapshot that you are using is a few weeks old.

Henry

···

On 7 Sep 2016, at 07:53, Dan Tugendraich <tugendraich@ustwo.com <mailto:tugendraich@ustwo.com>> wrote:

Hi Henry,

I’m using, Xcode 8 beta 6 and swift 3.0 preview 6 snapshot. Those are the latest ones on swift.org <http://swift.org/> that I can find.
Dan Tugendraich

<ustwo_dad_navy.png> <http://www.ustwo.com/>

Kärleksgatan 2, 211 45 Malmö <http://www.ustwo.com/>
+46 (0) 40 330 480 <http://www.ustwo.com/>

6 sep. 2016 kl. 16:25 skrev Henry Betts <henry.betts@btconnect.com <mailto:henry.betts@btconnect.com>>:

Hi Dan,

Sounds like you’re not using the latest swift toolchain. You need to download the latest development snapshot from https://swift.org/download/#snapshots and then enable it in Xcode (Preferences -> Components -> Toolchains) in order to build the most recent versions of foundation.

Henry

On 6 Sep 2016, at 14:04, Dan Tugendraich via swift-corelibs-dev <swift-corelibs-dev@swift.org <mailto:swift-corelibs-dev@swift.org>> wrote:

I have a clean clone of swift-corelibs-foundation. I’m on the master branch. What should I do with the 2 compiler errors?

"/Users/tugendraich/Documents/Projects/iOS/swift-source/swift-corelibs-foundation/Foundation/NSTimeZone.swift:212:41: '_StructType' (aka 'Dictionary<AnyHashable, Any>') is not convertible to '[String : String]’”
and
"/Users/tugendraich/Documents/Projects/iOS/swift-source/swift-corelibs-foundation/Foundation/NSURLSession/EasyHandle.swift:299:37: Use of undeclared type ’TextOutputStreamable’"

There is also a test that failes, it’s the "’TestNSData.test_replaceBytes’” one. Should I start my contribution from another branch or is there something I have missed in the setup of my project?

Thank you.

Dan Tugendraich

<ustwo_dad_navy.png> <http://www.ustwo.com/>

Kärleksgatan 2, 211 45 Malmö <http://www.ustwo.com/>
+46 (0) 40 330 480 <http://www.ustwo.com/>
_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org <mailto:swift-corelibs-dev@swift.org>
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev


(Dan Tugendraich) #5

Henry,

breakthrough! Thank you very much.
Dan Tugendraich

<http://www.ustwo.com/>

Kärleksgatan 2, 211 45 Malmö <http://www.ustwo.com/>
+46 (0) 40 330 480 <http://www.ustwo.com/>

···

7 sep. 2016 kl. 12:12 skrev Henry Betts <henry.betts@btconnect.com>:

Dan,

You need the latest development snapshot - these are usually updated everyday. The preview 6 snapshot that you are using is a few weeks old.

Henry

On 7 Sep 2016, at 07:53, Dan Tugendraich <tugendraich@ustwo.com <mailto:tugendraich@ustwo.com>> wrote:

Hi Henry,

I’m using, Xcode 8 beta 6 and swift 3.0 preview 6 snapshot. Those are the latest ones on swift.org <http://swift.org/> that I can find.
Dan Tugendraich

<ustwo_dad_navy.png> <http://www.ustwo.com/>

Kärleksgatan 2, 211 45 Malmö <http://www.ustwo.com/>
+46 (0) 40 330 480 <http://www.ustwo.com/>

6 sep. 2016 kl. 16:25 skrev Henry Betts <henry.betts@btconnect.com <mailto:henry.betts@btconnect.com>>:

Hi Dan,

Sounds like you’re not using the latest swift toolchain. You need to download the latest development snapshot from https://swift.org/download/#snapshots and then enable it in Xcode (Preferences -> Components -> Toolchains) in order to build the most recent versions of foundation.

Henry

On 6 Sep 2016, at 14:04, Dan Tugendraich via swift-corelibs-dev <swift-corelibs-dev@swift.org <mailto:swift-corelibs-dev@swift.org>> wrote:

I have a clean clone of swift-corelibs-foundation. I’m on the master branch. What should I do with the 2 compiler errors?

"/Users/tugendraich/Documents/Projects/iOS/swift-source/swift-corelibs-foundation/Foundation/NSTimeZone.swift:212:41: '_StructType' (aka 'Dictionary<AnyHashable, Any>') is not convertible to '[String : String]’”
and
"/Users/tugendraich/Documents/Projects/iOS/swift-source/swift-corelibs-foundation/Foundation/NSURLSession/EasyHandle.swift:299:37: Use of undeclared type ’TextOutputStreamable’"

There is also a test that failes, it’s the "’TestNSData.test_replaceBytes’” one. Should I start my contribution from another branch or is there something I have missed in the setup of my project?

Thank you.

Dan Tugendraich

<ustwo_dad_navy.png> <http://www.ustwo.com/>

Kärleksgatan 2, 211 45 Malmö <http://www.ustwo.com/>
+46 (0) 40 330 480 <http://www.ustwo.com/>
_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org <mailto:swift-corelibs-dev@swift.org>
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev