[swift-dev] snapshot build breakage

Drew Crawford drew at sealedabstract.com
Tue Jan 26 12:20:22 CST 2016


I'm attempting to compile the latest snapshot from source and it seems to fail at the last step:

Command 4: "/swift-dev/build/buildbot_linux/none-swift_package_sandbox/usr/bin/swift" "build" "--chdir" "/tmp/swift-package-tests/test-xctest-package/Output/test-xctest-package.py.tmp.dir/tool" "-v"
Command 4 Result: 1
Command 4 Output:
None

Command 4 Stderr:
/tmp/swift-package-tests/test-xctest-package/Output/test-xctest-package.py.tmp.dir/tool/main.swift:3:7: error: type 'MyXCTest' does not conform to protocol 'XCTestCaseProvider'
class MyXCTest : XCTestCase {
      ^
XCTest.XCTestCaseProvider:2:16: note: protocol requires property 'allTests' with type '[(String, () -> Void)]'
    public var allTests: [(String, () -> Void)] { get }
               ^
/tmp/swift-package-tests/test-xctest-package/Output/test-xctest-package.py.tmp.dir/tool/main.swift:4:9: note: candidate has non-matching type '[(String, () throws -> ())]'
    var allTests : [(String, () throws -> ())] {
        ^
<unknown>:0: error: build had 1 command failures
swift-build: error: exit(1): ["/swift-dev/build/buildbot_linux/none-swift_package_sandbox/usr/bin/swift-build-tool", "-v", "-f", "/tmp/swift-package-tests/test-xctest-package/Output/test-xctest-package.py.tmp.dir/tool/.build/debug/tool.o/llbuild.yaml"]




--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
Testing Time: 9.85s
********************
Failing Tests (1):
    swift-package-tests :: test-xctest-package/test-xctest-package.py

  Expected Passes    : 10
  Unsupported Tests  : 5
  Unexpected Failures: 1
./utils/build-script: command terminated with a non-zero exit status 1, aborting
./utils/build-script: using preset 'buildbot_linux', which expands to ./utils/build-script --assertions --no-swift-stdlib-assertions --llbuild --swiftpm --xctest --build-subdir=buildbot_linux --lldb --release --test --validation-test --foundation -- --swift-enable-ast-verifier=0 --install-swift --install-lldb --install-llbuild --install-swiftpm --install-xctest --install-prefix=/usr '--swift-install-components=compiler;clang-builtin-headers;stdlib;sdk-overlay;license' --build-swift-static-stdlib=1 --skip-test-lldb=1 --test-installable-package=1 --install-destdir=/tmp/install --installable-package=/tmp/swift.tar.gz --install-foundation --reconfigure
./utils/build-script: command terminated with a non-zero exit status 1, aborting
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160126/3e9214bd/attachment.html>


More information about the swift-dev mailing list