[Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.04 (master) #1178

Non-determinism in swiftpm test, unrelated to my changes:

/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/swiftpm/Tests/CommandsTests/PackageToolTests.swift:195: error: PackageToolTests.testPackageEditAndUnedit : XCTAssertEqual failed: ("5
") is not equal to ("88
“)

···

On Jan 4, 2017, at 1:51 AM, no-reply@swift.org wrote:

[FAILURE] oss-swift-incremental-RA-linux-ubuntu-16_04 [#1178]

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_04/1178/
Project: oss-swift-incremental-RA-linux-ubuntu-16_04
Date of build: Wed, 04 Jan 2017 01:17:02 -0800
Build duration: 34 min
Identified problems:

Compile Error: This build failed because of a compile error. Below is a list of all errors in the build log:
Indication 1 <https://ci.swift.org//job/oss-swift-incremental-RA-linux-ubuntu-16_04/1178/consoleFull#1223286792ee1a197b-acac-4b17-83cf-a53b95139a76&gt;
Tests:

Name: Swift(linux-x86_64)
Failed: 0 test(s), Passed: 8720 test(s), Total: 8720 test(s)
Name: Swift-Unit
Failed: 0 test(s), Passed: 239 test(s), Total: 239 test(s)

Changes

Commit 32ebe2db5a0f321f1fdac792340bc824158a9675 by spestov:
Parse: Don't crash if property with no declared type has addressors

delete: validation-test/compiler_crashers/28512-anonymous-namespace-traversal-visit-swift-typerepr.swift
add: validation-test/compiler_crashers_fixed/28512-anonymous-namespace-traversal-visit-swift-typerepr.swift
delete: validation-test/compiler_crashers/28517-getstoragekind-stored-storagekind-already-set.swift
edit: include/swift/AST/TypeRepr.h
edit: lib/Parse/ParseDecl.cpp
add: validation-test/compiler_crashers_fixed/28515-getmutableaddressor.swift
add: validation-test/compiler_crashers_fixed/28517-getstoragekind-stored-storagekind-already-set.swift
delete: validation-test/compiler_crashers/28515-getmutableaddressor.swift

Commit e6ada30291c4638f7011a4a324eecb4703afa694 by spestov:
Parse: Fix crash when alignment is too large

delete: validation-test/compiler_crashers/28535-unreachable-executed-at-swift-lib-parse-parsedecl-cpp-610.swift
edit: lib/Parse/ParseDecl.cpp
add: validation-test/compiler_crashers_fixed/28535-unreachable-executed-at-swift-lib-parse-parsedecl-cpp-610.swift

Commit c7ab11f2288d9d873d34551d9c6a06f82063ec38 by spestov:
Sema: Fix crash in 'var' parameter migration

add: validation-test/compiler_crashers_fixed/28584-loc-isvalid.swift
edit: lib/Sema/TypeCheckPattern.cpp
delete: validation-test/compiler_crashers/28584-loc-isvalid.swift

Commit 2932aac03a826c931cc54cb8b0f6350a5e59d417 by spestov:
AST: More accurate AbstractFunctionDecl::getImplicitSelfDecl()

delete: validation-test/compiler_crashers/28541-anonymous-namespace-verifier-walktodeclpost-swift-decl.swift
edit: lib/AST/LookupVisibleDecls.cpp
edit: lib/AST/Decl.cpp
add: validation-test/compiler_crashers_fixed/28541-anonymous-namespace-verifier-walktodeclpost-swift-decl.swift

Commit d406c4d002e188b80365a96760b481b50022f50a by spestov:
ASTVerifier: Don't check Override attribute if we haven't done early

delete: validation-test/compiler_crashers/28546-anonymous-namespace-verifier-walktodeclpost-swift-decl.swift
add: validation-test/compiler_crashers_fixed/28546-anonymous-namespace-verifier-walktodeclpost-swift-decl.swift
edit: lib/AST/ASTVerifier.cpp

Commit 469cccdef1318169f838cbde556d8b7427dd3b35 by spestov:
Sema: Avoid infinite recursion in associated type inference

edit: lib/Sema/TypeCheckProtocol.cpp
delete: validation-test/compiler_crashers/28180-rawrepresentable-extension-with-initializer.swift
add: validation-test/compiler_crashers_fixed/28180-rawrepresentable-extension-with-initializer.swift
edit: test/decl/protocol/req/associated_type_inference.swift

Commit e455085d94aeb07e6b8275e155cdf35127281669 by spestov:
Sema: When opening an UnboundGenericType, don't put replacements in the

delete: validation-test/compiler_crashers/28488-conforms-replacement-haserror-isopenedanyobject-replacement-replacement-is-gener.swift
edit: lib/Sema/ConstraintSystem.cpp
add: validation-test/compiler_crashers_fixed/28488-conforms-replacement-haserror-isopenedanyobject-replacement-replacement-is-gener.swift

Commit a230bde7e7413fa448d2807e1870aabe72ab0907 by spestov:
AST: Clean up getDeclaredType() and friends

edit: lib/AST/DeclContext.cpp
add: validation-test/compiler_crashers_fixed/28424-swift-valuedecl-getformalaccessscope.swift
edit: lib/AST/Decl.cpp
delete: validation-test/compiler_crashers/28569-swift-declcontext-getastypeortypeextensioncontext-const.swift
add: validation-test/compiler_crashers_fixed/28569-swift-declcontext-getastypeortypeextensioncontext-const.swift
delete: validation-test/compiler_crashers/28424-swift-valuedecl-getformalaccessscope.swift

Commit cc2ae7b7d55f0890018ee28212b0493756a16921 by spestov:
AST: Fix crash with invalid generic environment

edit: lib/AST/GenericEnvironment.cpp
delete: validation-test/compiler_crashers/28577-isa-x-val-cast-ty-argument-of-incompatible-type.swift
add: validation-test/compiler_crashers_fixed/28577-isa-x-val-cast-ty-argument-of-incompatible-type.swift

Commit b6d8bbb6987afab73cbf7a4ce4ffdcc8b91622df by spestov:
AST: Return abstract conformance for UnresolvedType

edit: lib/AST/ASTContext.cpp
delete: validation-test/compiler_crashers/28503-iscomplete-missing-inherited-mapping-in-conformance.swift
edit: lib/AST/Module.cpp
add: validation-test/compiler_crashers_fixed/28503-iscomplete-missing-inherited-mapping-in-conformance.swift

Commit 2b05dd9d852d1f64fe41a35136a3a8a263304d0f by spestov:
AST: Remove error path that was causing crashes

add: validation-test/compiler_crashers_fixed/28494-conforms-type-does-not-conform-to-protocol.swift
edit: lib/Sema/TypeCheckProtocol.cpp
delete: validation-test/compiler_crashers/28494-conforms-type-does-not-conform-to-protocol.swift
edit: lib/AST/Module.cpp

Commit af934f2c9d4bd060e4ecaa80647b1d5c36c2be2d by spestov:
Sema: Allow local types to conform to protocols with associated types

edit: lib/Sema/TypeCheckDecl.cpp
edit: test/decl/nested/type_in_function.swift
edit: lib/Sema/TypeCheckType.cpp
edit: test/Generics/function_defs.swift

Commit 2eeb8f528eabb14ca87af65088bfdce10fa7a79e by spestov:
AST: Fix crash when type nested inside generic function conforms to a

edit: lib/AST/Type.cpp
edit: test/decl/nested/type_in_function.swift

Commit e4abdfc2bdc0f26ad863bdcf31d93c7250b6e53d by spestov:
AST: Model protocols nested inside other types

edit: include/swift/AST/Types.h
edit: lib/AST/Type.cpp
edit: lib/AST/Module.cpp
edit: include/swift/AST/TypeNodes.def
add: validation-test/compiler_crashers_fixed/28554-reftype-hastypeparameter-cannot-have-a-dependent-type-here.swift
edit: lib/Sema/TypeCheckDecl.cpp
edit: lib/AST/ASTDumper.cpp
delete: validation-test/compiler_crashers/28554-reftype-hastypeparameter-cannot-have-a-dependent-type-here.swift
edit: lib/AST/ASTContext.cpp
edit: lib/AST/Decl.cpp

Commit 0a7e1d5568c9bb4ae359872fd104d6f5b5c98200 by spestov:
Sema: Fix crash in conformance checking

edit: lib/AST/Decl.cpp
add: validation-test/compiler_crashers_fixed/28549-swift-typebase-getdesugaredtype.swift
delete: validation-test/compiler_crashers/28549-swift-typebase-getdesugaredtype.swift
edit: lib/Sema/TypeCheckProtocol.cpp

Commit 43efc9e1db5ea57afde486a58aa673269736539d by github:
Fix typos.

edit: Sources/Commands/UserToolchain.swift

This should fix it, I hope:

···

On 04-Jan-2017, at 3:22 PM, Slava Pestov via swift-dev <swift-dev@swift.org> wrote:

Non-determinism in swiftpm test, unrelated to my changes:

/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/swiftpm/Tests/CommandsTests/PackageToolTests.swift:195: error: PackageToolTests.testPackageEditAndUnedit : XCTAssertEqual failed: ("5
") is not equal to ("88
“)

On Jan 4, 2017, at 1:51 AM, no-reply@swift.org <mailto:no-reply@swift.org> wrote:

[FAILURE] oss-swift-incremental-RA-linux-ubuntu-16_04 [#1178]

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_04/1178/
Project: oss-swift-incremental-RA-linux-ubuntu-16_04
Date of build: Wed, 04 Jan 2017 01:17:02 -0800
Build duration: 34 min
Identified problems:

Compile Error: This build failed because of a compile error. Below is a list of all errors in the build log:
Indication 1 <https://ci.swift.org//job/oss-swift-incremental-RA-linux-ubuntu-16_04/1178/consoleFull#1223286792ee1a197b-acac-4b17-83cf-a53b95139a76&gt;
Tests:

Name: Swift(linux-x86_64)
Failed: 0 test(s), Passed: 8720 test(s), Total: 8720 test(s)
Name: Swift-Unit
Failed: 0 test(s), Passed: 239 test(s), Total: 239 test(s)

Changes

Commit 32ebe2db5a0f321f1fdac792340bc824158a9675 by spestov:
Parse: Don't crash if property with no declared type has addressors

delete: validation-test/compiler_crashers/28512-anonymous-namespace-traversal-visit-swift-typerepr.swift
add: validation-test/compiler_crashers_fixed/28512-anonymous-namespace-traversal-visit-swift-typerepr.swift
delete: validation-test/compiler_crashers/28517-getstoragekind-stored-storagekind-already-set.swift
edit: include/swift/AST/TypeRepr.h
edit: lib/Parse/ParseDecl.cpp
add: validation-test/compiler_crashers_fixed/28515-getmutableaddressor.swift
add: validation-test/compiler_crashers_fixed/28517-getstoragekind-stored-storagekind-already-set.swift
delete: validation-test/compiler_crashers/28515-getmutableaddressor.swift

Commit e6ada30291c4638f7011a4a324eecb4703afa694 by spestov:
Parse: Fix crash when alignment is too large

delete: validation-test/compiler_crashers/28535-unreachable-executed-at-swift-lib-parse-parsedecl-cpp-610.swift
edit: lib/Parse/ParseDecl.cpp
add: validation-test/compiler_crashers_fixed/28535-unreachable-executed-at-swift-lib-parse-parsedecl-cpp-610.swift

Commit c7ab11f2288d9d873d34551d9c6a06f82063ec38 by spestov:
Sema: Fix crash in 'var' parameter migration

add: validation-test/compiler_crashers_fixed/28584-loc-isvalid.swift
edit: lib/Sema/TypeCheckPattern.cpp
delete: validation-test/compiler_crashers/28584-loc-isvalid.swift

Commit 2932aac03a826c931cc54cb8b0f6350a5e59d417 by spestov:
AST: More accurate AbstractFunctionDecl::getImplicitSelfDecl()

delete: validation-test/compiler_crashers/28541-anonymous-namespace-verifier-walktodeclpost-swift-decl.swift
edit: lib/AST/LookupVisibleDecls.cpp
edit: lib/AST/Decl.cpp
add: validation-test/compiler_crashers_fixed/28541-anonymous-namespace-verifier-walktodeclpost-swift-decl.swift

Commit d406c4d002e188b80365a96760b481b50022f50a by spestov:
ASTVerifier: Don't check Override attribute if we haven't done early

delete: validation-test/compiler_crashers/28546-anonymous-namespace-verifier-walktodeclpost-swift-decl.swift
add: validation-test/compiler_crashers_fixed/28546-anonymous-namespace-verifier-walktodeclpost-swift-decl.swift
edit: lib/AST/ASTVerifier.cpp

Commit 469cccdef1318169f838cbde556d8b7427dd3b35 by spestov:
Sema: Avoid infinite recursion in associated type inference

edit: lib/Sema/TypeCheckProtocol.cpp
delete: validation-test/compiler_crashers/28180-rawrepresentable-extension-with-initializer.swift
add: validation-test/compiler_crashers_fixed/28180-rawrepresentable-extension-with-initializer.swift
edit: test/decl/protocol/req/associated_type_inference.swift

Commit e455085d94aeb07e6b8275e155cdf35127281669 by spestov:
Sema: When opening an UnboundGenericType, don't put replacements in the

delete: validation-test/compiler_crashers/28488-conforms-replacement-haserror-isopenedanyobject-replacement-replacement-is-gener.swift
edit: lib/Sema/ConstraintSystem.cpp
add: validation-test/compiler_crashers_fixed/28488-conforms-replacement-haserror-isopenedanyobject-replacement-replacement-is-gener.swift

Commit a230bde7e7413fa448d2807e1870aabe72ab0907 by spestov:
AST: Clean up getDeclaredType() and friends

edit: lib/AST/DeclContext.cpp
add: validation-test/compiler_crashers_fixed/28424-swift-valuedecl-getformalaccessscope.swift
edit: lib/AST/Decl.cpp
delete: validation-test/compiler_crashers/28569-swift-declcontext-getastypeortypeextensioncontext-const.swift
add: validation-test/compiler_crashers_fixed/28569-swift-declcontext-getastypeortypeextensioncontext-const.swift
delete: validation-test/compiler_crashers/28424-swift-valuedecl-getformalaccessscope.swift

Commit cc2ae7b7d55f0890018ee28212b0493756a16921 by spestov:
AST: Fix crash with invalid generic environment

edit: lib/AST/GenericEnvironment.cpp
delete: validation-test/compiler_crashers/28577-isa-x-val-cast-ty-argument-of-incompatible-type.swift
add: validation-test/compiler_crashers_fixed/28577-isa-x-val-cast-ty-argument-of-incompatible-type.swift

Commit b6d8bbb6987afab73cbf7a4ce4ffdcc8b91622df by spestov:
AST: Return abstract conformance for UnresolvedType

edit: lib/AST/ASTContext.cpp
delete: validation-test/compiler_crashers/28503-iscomplete-missing-inherited-mapping-in-conformance.swift
edit: lib/AST/Module.cpp
add: validation-test/compiler_crashers_fixed/28503-iscomplete-missing-inherited-mapping-in-conformance.swift

Commit 2b05dd9d852d1f64fe41a35136a3a8a263304d0f by spestov:
AST: Remove error path that was causing crashes

add: validation-test/compiler_crashers_fixed/28494-conforms-type-does-not-conform-to-protocol.swift
edit: lib/Sema/TypeCheckProtocol.cpp
delete: validation-test/compiler_crashers/28494-conforms-type-does-not-conform-to-protocol.swift
edit: lib/AST/Module.cpp

Commit af934f2c9d4bd060e4ecaa80647b1d5c36c2be2d by spestov:
Sema: Allow local types to conform to protocols with associated types

edit: lib/Sema/TypeCheckDecl.cpp
edit: test/decl/nested/type_in_function.swift
edit: lib/Sema/TypeCheckType.cpp
edit: test/Generics/function_defs.swift

Commit 2eeb8f528eabb14ca87af65088bfdce10fa7a79e by spestov:
AST: Fix crash when type nested inside generic function conforms to a

edit: lib/AST/Type.cpp
edit: test/decl/nested/type_in_function.swift

Commit e4abdfc2bdc0f26ad863bdcf31d93c7250b6e53d by spestov:
AST: Model protocols nested inside other types

edit: include/swift/AST/Types.h
edit: lib/AST/Type.cpp
edit: lib/AST/Module.cpp
edit: include/swift/AST/TypeNodes.def
add: validation-test/compiler_crashers_fixed/28554-reftype-hastypeparameter-cannot-have-a-dependent-type-here.swift
edit: lib/Sema/TypeCheckDecl.cpp
edit: lib/AST/ASTDumper.cpp
delete: validation-test/compiler_crashers/28554-reftype-hastypeparameter-cannot-have-a-dependent-type-here.swift
edit: lib/AST/ASTContext.cpp
edit: lib/AST/Decl.cpp

Commit 0a7e1d5568c9bb4ae359872fd104d6f5b5c98200 by spestov:
Sema: Fix crash in conformance checking

edit: lib/AST/Decl.cpp
add: validation-test/compiler_crashers_fixed/28549-swift-typebase-getdesugaredtype.swift
delete: validation-test/compiler_crashers/28549-swift-typebase-getdesugaredtype.swift
edit: lib/Sema/TypeCheckProtocol.cpp

Commit 43efc9e1db5ea57afde486a58aa673269736539d by github:
Fix typos.

edit: Sources/Commands/UserToolchain.swift

_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev