Build Information
Failed to build swm-core, reference main (ae48c2
), with Swift 6.2 (beta) for Android on 19 Jun 2025 03:27:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/taketo1024/swm-core.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/taketo1024/swm-core
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ae48c2c extract SparseMatrixImpl.
Cloned https://github.com/taketo1024/swm-core.git
Revision (git rev-parse @):
ae48c2ce78b64952a99776643f0aaf253eb315a0
SUCCESS checkout https://github.com/taketo1024/swm-core.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/taketo1024/swm-core.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-algorithms.git
[1/5959] Fetching swift-algorithms
[5960/22599] Fetching swift-algorithms, swift-collections
Fetched https://github.com/apple/swift-algorithms.git from cache (1.06s)
Fetched https://github.com/apple/swift-collections.git from cache (1.08s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 0.2.1 (1.45s)
Fetching https://github.com/apple/swift-numerics
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.37s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 0.1.0 (0.74s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.56s)
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 0.2.1
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 0.1.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Building for debugging...
[0/7] Write sources
[5/7] Compiling _NumericsShims _NumericsShims.c
[5/7] Write swift-version-8C5A4AE7A8CE2BA.txt
[8/31] Emitting module InternalCollectionsUtilities
[9/32] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[10/32] Compiling InternalCollectionsUtilities Descriptions.swift
[11/32] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[12/32] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[13/32] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[14/32] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[15/32] Compiling InternalCollectionsUtilities Debugging.swift
[16/32] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[17/32] Compiling InternalCollectionsUtilities _SortedCollection.swift
[18/32] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[19/32] Compiling InternalCollectionsUtilities UInt+reversed.swift
[20/32] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[21/32] Compiling InternalCollectionsUtilities Integer rank.swift
[22/32] Compiling RealModule Float16+Real.swift
[23/33] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[24/34] Compiling RealModule ElementaryFunctions.swift
[29/34] Emitting module RealModule
[30/34] Compiling RealModule Float+Real.swift
[31/34] Compiling RealModule Float80+Real.swift
[32/34] Compiling RealModule Real.swift
[34/34] Compiling RealModule RealFunctions.swift
[36/113] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[37/113] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[38/113] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[39/113] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[40/113] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[41/113] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[42/113] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[43/120] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[44/120] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[45/120] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[46/120] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[47/120] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[48/120] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[49/120] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[50/120] Compiling OrderedCollections OrderedDictionary+Elements.swift
[51/120] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[52/120] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[53/123] Compiling OrderedCollections OrderedDictionary+Codable.swift
[54/123] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[55/123] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[56/123] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[57/123] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[61/123] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[62/123] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[63/123] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[64/123] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[65/123] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[66/123] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[67/123] Compiling Algorithms Trim.swift
[68/123] Compiling Algorithms Unique.swift
[69/123] Compiling OrderedCollections OrderedDictionary.swift
[70/123] Compiling OrderedCollections OrderedSet+Codable.swift
[71/123] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[72/123] Compiling OrderedCollections OrderedSet+Descriptions.swift
[73/123] Compiling OrderedCollections OrderedSet+Diffing.swift
[74/123] Compiling OrderedCollections OrderedSet+Equatable.swift
[75/123] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[76/123] Compiling OrderedCollections OrderedSet+Hashable.swift
[77/123] Compiling Algorithms Windows.swift
[78/123] Compiling OrderedCollections OrderedSet+Insertions.swift
[79/123] Compiling OrderedCollections OrderedSet+Invariants.swift
[80/123] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[81/123] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[82/123] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[83/123] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[84/123] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[91/123] Compiling OrderedCollections _HashTable+Testing.swift
[92/123] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[93/123] Compiling OrderedCollections _HashTable.swift
[97/123] Compiling OrderedCollections _HashTable+Bucket.swift
[98/123] Compiling OrderedCollections _HashTable+BucketIterator.swift
[99/123] Compiling OrderedCollections _HashTable+Constants.swift
[100/123] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[108/123] Compiling OrderedCollections _Hashtable+Header.swift
[109/123] Compiling OrderedCollections OrderedSet+Sendable.swift
[110/123] Compiling OrderedCollections OrderedSet+SubSequence.swift
[111/123] Compiling OrderedCollections OrderedSet+Testing.swift
[112/123] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[113/123] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[114/123] Compiling OrderedCollections OrderedSet.swift
[115/123] Compiling OrderedCollections _UnsafeBitset.swift
[122/123] Emitting module OrderedCollections
[124/124] Emitting module Algorithms
[126/168] Compiling SwmCore Combinatorics.swift
[127/168] Compiling SwmCore GraphAlgorithms.swift
[128/168] Compiling SwmCore IntList.swift
[129/168] Compiling SwmCore Operators.swift
[130/168] Compiling SwmCore Random.swift
[131/168] Compiling SwmCore TypeParameters.swift
[132/173] Compiling SwmCore AdditiveGroup.swift
[133/173] Compiling SwmCore EuclideanRing.swift
[134/173] Compiling SwmCore Field.swift
[135/173] Compiling SwmCore FractionField.swift
[136/173] Compiling SwmCore Group.swift
[137/173] Compiling SwmCore MathSet.swift
[138/173] Emitting module SwmCore
/host/spi-builder-workspace/Sources/SwmCore/Extensions/Array.swift:88:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
86 | }
87 |
88 | extension Array: Comparable where Element: Comparable {
| |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
89 | public static func < (lhs: Array, rhs: Array) -> Bool {
90 | lhs.lexicographicallyPrecedes(rhs)
/host/spi-builder-workspace/Sources/SwmCore/Extensions/RandomAccessCollection.swift:13:21: warning: instance method 'partitioningIndex(where:)' cannot be used in an '@inlinable' function because 'Algorithms' was not imported by this file; this is an error in the Swift 6 language mode
11 | @inlinable
12 | public func binarySearchIndex(_ element: Element) -> Index? {
13 | let index = partitioningIndex(where: { $0 >= element })
| |- warning: instance method 'partitioningIndex(where:)' cannot be used in an '@inlinable' function because 'Algorithms' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Algorithms' will be added implicitly
14 | let found = index != endIndex && self[index] == element
15 | return found ? index : nil
/host/spi-builder-workspace/Sources/SwmCore/Extensions/RandomAccessCollection.swift:22:21: warning: instance method 'partitioningIndex(where:)' cannot be used in an '@inlinable' function because 'Algorithms' was not imported by this file; this is an error in the Swift 6 language mode
20 | @inlinable
21 | public func binarySearch<T: Comparable>(elementWithId id: T, by f: (Element) -> T) -> Element? {
22 | let index = partitioningIndex(where: { f($0) >= id })
| |- warning: instance method 'partitioningIndex(where:)' cannot be used in an '@inlinable' function because 'Algorithms' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Algorithms' will be added implicitly
23 | let found = index != endIndex && f(self[index]) == id
24 | return found ? self[index] : nil
error: compile command failed due to signal 6 (use -v to see invocation)
swift-frontend: /home/build-user/swift/lib/SIL/IR/TypeLowering.cpp:3205: void swift::Lowering::TypeConverter::verifyLexicalLowering(const TypeLowering &, AbstractionPattern, CanType, TypeExpansionContext): Assertion `hasNoNontrivialLexicalLeaf && "Found non-trivial lexical leaf in non-trivial non-lexical type?!"' failed.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /root/.local/share/swiftly/toolchains/6.2-snapshot-2025-05-15/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/SwmCore/Abstract/AdditiveGroup.swift /host/spi-builder-workspace/Sources/SwmCore/Abstract/EuclideanRing.swift /host/spi-builder-workspace/Sources/SwmCore/Abstract/Field.swift /host/spi-builder-workspace/Sources/SwmCore/Abstract/FractionField.swift /host/spi-builder-workspace/Sources/SwmCore/Abstract/Group.swift /host/spi-builder-workspace/Sources/SwmCore/Abstract/MathSet.swift /host/spi-builder-workspace/Sources/SwmCore/Abstract/Module.swift /host/spi-builder-workspace/Sources/SwmCore/Abstract/Monoid.swift /host/spi-builder-workspace/Sources/SwmCore/Abstract/Ring.swift /host/spi-builder-workspace/Sources/SwmCore/Extensions/Array.swift /host/spi-builder-workspace/Sources/SwmCore/Extensions/Codable.swift /host/spi-builder-workspace/Sources/SwmCore/Extensions/Dictionary.swift /host/spi-builder-workspace/Sources/SwmCore/Extensions/RandomAccessCollection.swift /host/spi-builder-workspace/Sources/SwmCore/Extensions/Sequence.swift /host/spi-builder-workspace/Sources/SwmCore/Extensions/Set.swift /host/spi-builder-workspace/Sources/SwmCore/Extensions/String.swift /host/spi-builder-workspace/Sources/SwmCore/LinearCombination/LinearCombination.swift /host/spi-builder-workspace/Sources/SwmCore/LinearCombination/LinearCombinationType.swift /host/spi-builder-workspace/Sources/SwmCore/LinearCombination/TensorGenerator.swift /host/spi-builder-workspace/Sources/SwmCore/Matrix/DefaultMatrixImpl.swift /host/spi-builder-workspace/Sources/SwmCore/Matrix/Matrix.swift /host/spi-builder-workspace/Sources/SwmCore/Matrix/MatrixIF.swift /host/spi-builder-workspace/Sources/SwmCore/Matrix/MatrixImpl.swift /host/spi-builder-workspace/Sources/SwmCore/Misc/BitSequence.swift /host/spi-builder-workspace/Sources/SwmCore/Misc/Combinatorics.swift /host/spi-builder-workspace/Sources/SwmCore/Misc/GraphAlgorithms.swift /host/spi-builder-workspace/Sources/SwmCore/Misc/IntList.swift /host/spi-builder-workspace/Sources/SwmCore/Misc/Operators.swift /host/spi-builder-workspace/Sources/SwmCore/Misc/Random.swift /host/spi-builder-workspace/Sources/SwmCore/Misc/TypeParameters.swift /host/spi-builder-workspace/Sources/SwmCore/Numbers/Complex.swift /host/spi-builder-workspace/Sources/SwmCore/Numbers/F2.swift /host/spi-builder-workspace/Sources/SwmCore/Numbers/Integer.swift /host/spi-builder-workspace/Sources/SwmCore/Numbers/IntegerQuotient.swift /host/spi-builder-workspace/Sources/SwmCore/Numbers/Quaternion.swift /host/spi-builder-workspace/Sources/SwmCore/Numbers/Rational.swift -primary-file /host/spi-builder-workspace/Sources/SwmCore/Numbers/Real.swift -primary-file /host/spi-builder-workspace/Sources/SwmCore/Permutation/Permutation.swift -primary-file /host/spi-builder-workspace/Sources/SwmCore/Polynomial/GenericPolynomial.swift -primary-file /host/spi-builder-workspace/Sources/SwmCore/Polynomial/MultivariatePolynomial.swift -primary-file /host/spi-builder-workspace/Sources/SwmCore/Polynomial/Polynomial.swift -primary-file /host/spi-builder-workspace/Sources/SwmCore/Polynomial/PolynomialQuotient.swift /host/spi-builder-workspace/Sources/SwmCore/Util/Cache.swift /host/spi-builder-workspace/Sources/SwmCore/Util/Debug.swift /host/spi-builder-workspace/Sources/SwmCore/Util/Format.swift /host/spi-builder-workspace/Sources/SwmCore/Util/Logger.swift /host/spi-builder-workspace/Sources/SwmCore/Util/Storage.swift -supplementary-output-file-map /tmp/TemporaryDirectory.6A5PzA/supplementaryOutputs-7 -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot -I /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/Modules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -empty-abi-descriptor -resource-dir /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/checkouts/swift-numerics/Sources/_NumericsShims/include/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/.build/checkouts/swift-numerics/Sources/_NumericsShims/include -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -no-auto-bridging-header-chaining -module-name SwmCore -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.2-snapshot-2025-05-15/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.2-snapshot-2025-05-15/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.2-snapshot-2025-05-15/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/SwmCore.build/Real.swift.o -o /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/SwmCore.build/Permutation.swift.o -o /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/SwmCore.build/GenericPolynomial.swift.o -o /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/SwmCore.build/MultivariatePolynomial.swift.o -o /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/SwmCore.build/Polynomial.swift.o -o /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/SwmCore.build/PolynomialQuotient.swift.o -index-store-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/index/store -index-system-modules
1. Swift version 6.2-dev (LLVM 74f18b3ab32b72c, Swift 245514cab31b823)
2. Compiling with effective version 5.10
3. While evaluating request ASTLoweringRequest(Lowering AST to SIL for file "/host/spi-builder-workspace/Sources/SwmCore/Polynomial/GenericPolynomial.swift")
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x0000556ad7260c58
1 swift-frontend 0x0000556ad725e77e
2 swift-frontend 0x0000556ad72612f1
3 libc.so.6 0x00007f9c1360f520
4 libc.so.6 0x00007f9c136639fc pthread_kill + 300
5 libc.so.6 0x00007f9c1360f476 raise + 22
6 libc.so.6 0x00007f9c135f57f3 abort + 211
7 libc.so.6 0x00007f9c135f571b
8 libc.so.6 0x00007f9c13606e96
9 swift-frontend 0x0000556ad09497fa
10 swift-frontend 0x0000556ad096228b
11 swift-frontend 0x0000556ad094af54
12 swift-frontend 0x0000556ad0949714
13 swift-frontend 0x0000556ad08ba5b7
14 swift-frontend 0x0000556ad08b79bd
15 swift-frontend 0x0000556ad08ac263
16 swift-frontend 0x0000556ad08af833
17 swift-frontend 0x0000556ad08b0b88
18 swift-frontend 0x0000556ad08a3088
19 swift-frontend 0x0000556acfe15631
20 swift-frontend 0x0000556acfe191cc
21 swift-frontend 0x0000556acfe1a3d2
22 swift-frontend 0x0000556acff4f212
23 swift-frontend 0x0000556acff4a238
24 swift-frontend 0x0000556acff4a18d
25 swift-frontend 0x0000556acfe1c2b3
26 swift-frontend 0x0000556acfe1ca04
27 swift-frontend 0x0000556acff2f5d6
28 swift-frontend 0x0000556acfe219b3
29 swift-frontend 0x0000556acfe1d38f
30 swift-frontend 0x0000556acf5fbc18
31 swift-frontend 0x0000556acf60d7da
32 swift-frontend 0x0000556acf5febbe
33 swift-frontend 0x0000556acf5fdc5c
34 swift-frontend 0x0000556acf3795ab
35 libc.so.6 0x00007f9c135f6d90
36 libc.so.6 0x00007f9c135f6e40 __libc_start_main + 128
37 swift-frontend 0x0000556acf3785a5
BUILD FAILURE 6.2 android