[swift-users] Swift 3.0 Preview 1 Branch and Tag Updated

Drew Crawford drew at sealedabstract.com
Thu Jun 30 02:33:14 CDT 2016


Hi,

I attempted to compile this on OSX El Capitan using the same process I've been using for snapshots, and got very many failures.  Can't find anything related in bugreporter, mailing list, or google.

Is there a CI run for this tag I could stare at to compare what is wrong with my build script profile?  Could it be that I need to tell build-script to link with the new SDKs in some way?

Drew

> /Users/drew/Code/swift-osx/swift/stdlib/public/SDK/Dispatch/Source.swift:37:50: error: use of undeclared type 'DispatchSource'
>                         __dispatch_source_set_cancel_handler(self as! DispatchSource, handler)
>                                                                       ^~~~~~~~~~~~~~
> /Users/drew/Code/swift-osx/swift/stdlib/public/SDK/Dispatch/Source.swift:43:49: error: use of undeclared type 'DispatchSource'
>                 __dispatch_source_set_cancel_handler(self as! DispatchSource, handler._block)
>                                                               ^~~~~~~~~~~~~~
> /Users/drew/Code/swift-osx/swift/stdlib/public/SDK/Dispatch/Source.swift:48:63: error: extra argument 'block' in call
>                         let item = DispatchWorkItem(qos: qos, flags: flags, block: h)
>                                                                                    ^
> /Users/drew/Code/swift-osx/swift/stdlib/public/SDK/Dispatch/Source.swift:49:56: error: use of undeclared type 'DispatchSource'
>                         __dispatch_source_set_registration_handler(self as! DispatchSource, item._block)
>                                                                             ^~~~~~~~~~~~~~
> /Users/drew/Code/swift-osx/swift/stdlib/public/SDK/Dispatch/Source.swift:51:56: error: use of undeclared type 'DispatchSource'
>                         __dispatch_source_set_registration_handler(self as! DispatchSource, handler)
>                                                                             ^~~~~~~~~~~~~~
> /Users/drew/Code/swift-osx/swift/stdlib/public/SDK/Dispatch/Source.swift:57:55: error: use of undeclared type 'DispatchSource'
>                 __dispatch_source_set_registration_handler(self as! DispatchSource, handler._block)
>                                                                     ^~~~~~~~~~~~~~
> /Users/drew/Code/swift-osx/swift/stdlib/public/SDK/Dispatch/Source.swift:62:13: error: use of undeclared type 'DispatchSource'
>                 (self as! DispatchSource).activate()
>                           ^~~~~~~~~~~~~~
> /Users/drew/Code/swift-osx/swift/stdlib/public/SDK/Dispatch/Source.swift:66:37: error: use of undeclared type 'DispatchSource'
>                 __dispatch_source_cancel(self as! DispatchSource)
>                                                   ^~~~~~~~~~~~~~
> /Users/drew/Code/swift-osx/swift/stdlib/public/SDK/Dispatch/Source.swift:70:13: error: use of undeclared type 'DispatchSource'
>                 (self as! DispatchSource).resume()
>                           ^~~~~~~~~~~~~~
> /Users/drew/Code/swift-osx/swift/stdlib/public/SDK/Dispatch/Source.swift:74:13: error: use of undeclared type 'DispatchSource'
>                 (self as! DispatchSource).suspend()
>                           ^~~~~~~~~~~~~~
> /Users/drew/Code/swift-osx/swift/stdlib/public/SDK/Dispatch/Source.swift:78:48: error: use of undeclared type 'DispatchSource'
>                 return __dispatch_source_get_handle(self as! DispatchSource)
>                                                              ^~~~~~~~~~~~~~
> /Users/drew/Code/swift-osx/swift/stdlib/public/SDK/Dispatch/Source.swift:82:46: error: use of undeclared type 'DispatchSource'
>                 return __dispatch_source_get_mask(self as! DispatchSource)
>                                                            ^~~~~~~~~~~~~~
> /Users/drew/Code/swift-osx/swift/stdlib/public/SDK/Dispatch/Source.swift:86:46: error: use of undeclared type 'DispatchSource'
>                 return __dispatch_source_get_data(self as! DispatchSource)
>                                                            ^~~~~~~~~~~~~~
> /Users/drew/Code/swift-osx/swift/stdlib/public/SDK/Dispatch/Source.swift:90:48: error: use of undeclared type 'DispatchSource'
>                 return __dispatch_source_testcancel(self as! DispatchSource) != 0
>                                                              ^~~~~~~~~~~~~~
> [88/3396] cd /Users/drew/Code/swift-osx/build/buildbot_osx/swift-macosx-x86_64/stdlib/public/SwiftOnoneSupport && /usr/local/Cellar/cmake/3.5.2/bin/cmake -E make_directory /Users/drew/Code/swift-osx/build/buildbot_osx/swift-macosx-x86_64/stdlib/public/SwiftOnoneSupport/iphoneos/armv7 && /usr/local/Cellar/cmake/3.5.2/bin/cmake -E make_directory /Users/drew/Code/swift-osx/build/buildbot_osx/swift-macosx-x86_64/./lib/swift/iphoneos/armv7 && /Users/drew/Code/swift-osx/swift/utils/line-directive /Users/drew/Code/swift-osx/swift/stdlib/public/SwiftOnoneSupport/SwiftOnoneSupport.swift -- /Users/drew/Code/swift-osx/build/buildbot_osx/swift-macosx-x86_64/./bin/swiftc -c -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -target armv7-apple-ios7.0 -F /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/../../../Developer/Library/Frameworks -O -g -I /Users/drew/Code/swift-osx/build/buildbot_osx/swift-macosx-x86_64/./lib/swift/iphoneos/armv7 -module-cache-path /Users/drew/Code/swift-osx/build/buildbot_osx/swift-macosx-x86_64/./module-cache -no-link-objc-runtime -Xfrontend -sil-serialize-all -parse-stdlib -module-link-name swiftSwiftOnoneSupport -force-single-frontend-invocation -parse-as-library -emit-module -emit-module-path /Users/drew/Code/swift-osx/build/buildbot_osx/swift-macosx-x86_64/./lib/swift/iphoneos/armv7/SwiftOnoneSupport.swiftmodule -o /Users/drew/Code/swift-osx/build/buildbot_osx/swift-macosx-x86_64/stdlib/public/SwiftOnoneSupport/iphoneos/armv7/SwiftOnoneSupport.o /Users/drew/Code/swift-osx/swift/stdlib/public/SwiftOnoneSupport/SwiftOnoneSupport.swift
> [89/3396] cd /Users/drew/Code/swift-osx/build/buildbot_osx/swift-macosx-x86_64/stdlib/public/SwiftOnoneSupport && /usr/local/Cellar/cmake/3.5.2/bin/cmake -E make_directory /Users/drew/Code/swift-osx/build/buildbot_osx/swift-macosx-x86_64/stdlib/public/SwiftOnoneSupport/iphonesimulator/x86_64 && /usr/local/Cellar/cmake/3.5.2/bin/cmake -E make_directory /Users/drew/Code/swift-osx/build/buildbot_osx/swift-macosx-x86_64/./lib/swift/iphonesimulator/x86_64 && /Users/drew/Code/swift-osx/swift/utils/line-directive /Users/drew/Code/swift-osx/swift/stdlib/public/SwiftOnoneSupport/SwiftOnoneSupport.swift -- /Users/drew/Code/swift-osx/build/buildbot_osx/swift-macosx-x86_64/./bin/swiftc -c -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk -target x86_64-apple-ios7.0 -F /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk/../../../Developer/Library/Frameworks -O -g -I /Users/drew/Code/swift-osx/build/buildbot_osx/swift-macosx-x86_64/./lib/swift/iphonesimulator/x86_64 -module-cache-path /Users/drew/Code/swift-osx/build/buildbot_osx/swift-macosx-x86_64/./module-cache -no-link-objc-runtime -Xfrontend -sil-serialize-all -parse-stdlib -module-link-name swiftSwiftOnoneSupport -force-single-frontend-invocation -parse-as-library -emit-module -emit-module-path /Users/drew/Code/swift-osx/build/buildbot_osx/swift-macosx-x86_64/./lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule -o /Users/drew/Code/swift-osx/build/buildbot_osx/swift-macosx-x86_64/stdlib/public/SwiftOnoneSupport/iphonesimulator/x86_64/SwiftOnoneSupport.o /Users/drew/Code/swift-osx/swift/stdlib/public/SwiftOnoneSupport/SwiftOnoneSupport.swift
> ninja: build stopped: subcommand failed.
> utils/build-script: command terminated with a non-zero exit status 1, aborting
> utils/build-script: command terminated with a non-zero exit status 1, aborting



> On Jun 27, 2016, at 9:12 PM, Mishal Shah via swift-users <swift-users at swift.org> wrote:
> 
> Swift 3.0 Preview 1 branch (swift-3.0-preview-1-branch) and tag (swift-3.0-PREVIEW-1) has been updated to build with Xcode 8 beta 1.
> 
> New Linux toolchains for Swift 3.0 Preview 1 are available at swift.org/download <http://swift.org/download>.
> 
> Repositories updated: 
> https://github.com/apple/swift/tree/swift-3.0-preview-1-branch <https://github.com/apple/swift/tree/swift-3.0-preview-1-branch>
> https://github.com/apple/swift-package-manager/tree/swift-3.0-preview-1-branch <https://github.com/apple/swift-package-manager/tree/swift-3.0-preview-1-branch>
> https://github.com/apple/swift-lldb/tree/swift-3.0-preview-1-branch <https://github.com/apple/swift-lldb/tree/swift-3.0-preview-1-branch>
> 
> Thanks, 
> Mishal Shah
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160630/a3b8c427/attachment.html>


More information about the swift-users mailing list