[swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.10 (master) #1699

Douglas Gregor dgregor at apple.com
Fri Feb 3 12:25:26 CST 2017


> On Feb 3, 2017, at 10:24 AM, Michael Ilseman <milseman at apple.com> wrote:
> 
> Doug G, is this this same issue you’re working on, or a different one?

Oooh, could be different! Ankit, is this only on Linux?

	- Doug

> 
> 
>> On Feb 3, 2017, at 5:52 AM, Ankit Aggarwal <ankit_aggarwal at apple.com <mailto:ankit_aggarwal at apple.com>> wrote:
>> 
>> Hm there is a compiler crash is in SwiftPM's Basic module but that wasn't touched by my commit.
>> 
>> 
>> Compile Swift Module 'Basic' (23 sources)
>> swift: /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift/lib/AST/ArchetypeBuilder.cpp:2461: auto swift::ArchetypeBuilder::getGenericEnvironment(swift::GenericSignature *)::(anonymous class)::operator()(swift::ArchetypeBuilder::PotentialArchetype *) const: Assertion `(inContext->isEqual(repInContext) || inContext->hasError() || repInContext->hasError()) && "Potential archetype mapping differs from representative!"' failed.
>> 0  swift           0x00000000038aaf48
>> 1  swift           0x00000000038ab686
>> 2  libpthread.so.0 0x00007f6105a83670
>> 3  libc.so.6       0x00007f61045fe7ef gsignal + 159
>> 4  libc.so.6       0x00007f61046003ea abort + 362
>> 5  libc.so.6       0x00007f61045f6bb7
>> 6  libc.so.6       0x00007f61045f6c62
>> 7  swift           0x000000000132700b
>> 8  swift           0x00000000012ca979
>> 9  swift           0x00000000012a6b96
>> 10 swift           0x000000000129b41a
>> 11 swift           0x000000000129c1a0
>> 12 swift           0x00000000014198db
>> 13 swift           0x00000000012ccd26
>> 14 swift           0x00000000012ccbd7
>> 15 swift           0x0000000001255e3d
>> 16 swift           0x000000000121f6f1
>> 17 swift           0x00000000012210ee
>> 18 swift           0x000000000121dfbb
>> 19 swift           0x000000000130923e
>> 20 swift           0x0000000001300db0
>> 21 swift           0x0000000001305be8
>> 22 swift           0x00000000013b3a9c
>> 23 swift           0x00000000013b07cb
>> 24 swift           0x00000000012fdad1
>> 25 swift           0x000000000122dc9d
>> 26 swift           0x00000000012892a4
>> 27 swift           0x000000000128c916
>> 28 swift           0x0000000001290631
>> 29 swift           0x0000000001290fa8
>> 30 swift           0x00000000011a35c1
>> 31 swift           0x00000000011a2ebd
>> 32 swift           0x00000000011a129d
>> 33 swift           0x00000000011a1108
>> 34 swift           0x00000000011a1e21
>> 35 swift           0x00000000011b79f8
>> 36 swift           0x00000000011b8755
>> 37 swift           0x0000000000f0e06a
>> 38 swift           0x00000000004a5e56
>> 39 swift           0x00000000004643c7
>> 40 libc.so.6       0x00007f61045e93f1 __libc_start_main + 241
>> 41 swift           0x0000000000461a6a
>> Stack dump:
>> 0.	Program arguments: /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/bin/swift -frontend -c /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/TemporaryFile.swift /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/Path.swift /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/FixableError.swift /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/SynchronizedQueue.swift /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/JSON.swift /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/Condition.swift /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/FileSystem.swift /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/StringConversions.swift /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/CollectionAlgorithms.swift /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/LazyCache.swift /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/DictionaryExtensions.swift /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/OutputByteStream.swift /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/ObjectIdentifierProtocol.swift /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/Thread.swift /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/TerminalController.swift /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/Lock.swift /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/PathShims.swift /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/Await.swift /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/OrderedSet.swift /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/GraphAlgorithms.swift /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/ByteString.swift /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/Result.swift /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/KeyedPair.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release -I /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/foundation-linux-x86_64/Foundation -I /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/foundation-linux-x86_64/Foundation/usr/lib/swift -I /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/xctest-linux-x86_64 -I /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/libdispatch-linux-x86_64/src -I /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/libdispatch-linux-x86_64/src/swift -I /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift-corelibs-libdispatch -enable-testing -module-cache-path /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/ModuleCache -D SWIFT_PACKAGE -Xcc -fblocks -emit-module-doc-path /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.swiftdoc -O -parse-as-library -module-name Basic -emit-module-path /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.swiftmodule -emit-dependencies-path /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.build/Basic.d -num-threads 8 -o /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.build/TemporaryFile.swift.o -o /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.build/Path.swift.o -o /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.build/FixableError.swift.o -o /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.build/SynchronizedQueue.swift.o -o /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.build/JSON.swift.o -o /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.build/Condition.swift.o -o /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.build/FileSystem.swift.o -o /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.build/StringConversions.swift.o -o /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.build/CollectionAlgorithms.swift.o -o /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.build/LazyCache.swift.o -o /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.build/DictionaryExtensions.swift.o -o /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.build/OutputByteStream.swift.o -o /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.build/ObjectIdentifierProtocol.swift.o -o /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.build/Thread.swift.o -o /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.build/TerminalController.swift.o -o /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.build/Lock.swift.o -o /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.build/PathShims.swift.o -o /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.build/Await.swift.o -o /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.build/OrderedSet.swift.o -o /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.build/GraphAlgorithms.swift.o -o /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.build/ByteString.swift.o -o /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.build/Result.swift.o -o /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swiftpm-linux-x86_64/release/Basic.build/KeyedPair.swift.o 
>> 1.	While type-checking getter for dirname at /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/Path.swift:358:21
>> 2.	While type-checking expression at [/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/Path.swift:363:25 - line:363:45] RangeText="chars.rindex(of: "/")"
>> 3.	While validating 'rindex' at /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swiftpm/Sources/Basic/CollectionAlgorithms.swift:19:12
>>  <><unknown>:0: error: unable to execute command: Aborted
>> 
>> 
>>> On 03-Feb-2017, at 7:18 PM, no-reply at swift.org <mailto:no-reply at swift.org> wrote:
>>> 
>>> [FAILURE] oss-swift-incremental-RA-linux-ubuntu-16_10 [#1699]
>>> 
>>> Build URL:	https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/1699/ <https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/1699/>
>>> Project:	oss-swift-incremental-RA-linux-ubuntu-16_10
>>> Date of build:	Fri, 03 Feb 2017 05:01:06 -0800
>>> Build duration:	47 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_10/1699/consoleFull#979178979ee1a197b-acac-4b17-83cf-a53b95139a76>
>>> Changes
>>> 
>>> Commit f24f5d034aab53c6e18ddd49df9d068b8e0f663d by ankit_aggarwal:
>>> [PackageLoading] Always create test modules
>>> 
>>> edit: Sources/PackageGraph/PackageGraph.swift
>>> edit: Tests/PackageLoadingTests/ManifestTests.swift
>>> edit: Sources/Build/BuildPlan.swift
>>> edit: Sources/PackageGraph/PackageGraphLoader.swift
>>> edit: Sources/Commands/SwiftTestTool.swift
>>> edit: Sources/PackageLoading/PackageBuilder.swift
>>> edit: Sources/Xcodeproj/pbxproj().swift
>>> edit: Tests/PackageGraphTests/PackageGraphTests.swift
>>> edit: Tests/PackageLoadingTests/ConventionTests.swift
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20170203/76cd773a/attachment.html>


More information about the swift-dev mailing list