Swift compiler errors in clean build.

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/&gt;

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

Hi Dan,

Sounds like you’re not using the latest swift toolchain. You need to download the latest development snapshot from Swift.org - Download Swift 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/&gt;

Kärleksgatan 2, 211 45 Malmö <http://www.ustwo.com/&gt;
+46 (0) 40 330 480 <http://www.ustwo.com/&gt;
_______________________________________________
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

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/&gt;

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

···

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 Swift.org - Download Swift 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/&gt;

Kärleksgatan 2, 211 45 Malmö <http://www.ustwo.com/&gt;
+46 (0) 40 330 480 <http://www.ustwo.com/&gt;
_______________________________________________
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,

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/&gt; that I can find.
Dan Tugendraich

<ustwo_dad_navy.png> <http://www.ustwo.com/&gt;

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

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 Swift.org - Download Swift 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/&gt;

Kärleksgatan 2, 211 45 Malmö <http://www.ustwo.com/&gt;
+46 (0) 40 330 480 <http://www.ustwo.com/&gt;
_______________________________________________
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,

breakthrough! Thank you very much.
Dan Tugendraich

<http://www.ustwo.com/&gt;

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

···

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/&gt; that I can find.
Dan Tugendraich

<ustwo_dad_navy.png> <http://www.ustwo.com/&gt;

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

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 Swift.org - Download Swift 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/&gt;

Kärleksgatan 2, 211 45 Malmö <http://www.ustwo.com/&gt;
+46 (0) 40 330 480 <http://www.ustwo.com/&gt;
_______________________________________________
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