Build Information
Failed to build swm-matrix-tools, reference 1.3.3 (928ba8
), with Swift 6.2 (beta) for Android on 19 Jun 2025 04:06:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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-matrix-tools.git
Reference: 1.3.3
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-matrix-tools
* tag 1.3.3 -> FETCH_HEAD
HEAD is now at 928ba82 Merge branch 'develop'
Cloned https://github.com/taketo1024/swm-matrix-tools.git
Revision (git rev-parse @):
928ba82c473e36b550fb5a2c39f059bc31b1b818
SUCCESS checkout https://github.com/taketo1024/swm-matrix-tools.git at 1.3.3
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/taketo1024/swm-matrix-tools.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/taketo1024/swm-core.git
[1/15984] Fetching swm-core
Fetched https://github.com/taketo1024/swm-core.git from cache (0.99s)
Computing version for https://github.com/taketo1024/swm-core.git
Computed https://github.com/taketo1024/swm-core.git at 1.3.1 (1.77s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-algorithms.git
[1/5959] Fetching swift-algorithms
[1372/22599] Fetching swift-algorithms, swift-collections
Fetched https://github.com/apple/swift-algorithms.git from cache (0.75s)
[4327/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.96s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 0.2.1 (2.66s)
Fetching https://github.com/apple/swift-numerics
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.60s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 0.1.0 (1.47s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.21s)
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/taketo1024/swm-core.git
Working copy of https://github.com/taketo1024/swm-core.git resolved at 1.3.1
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
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
Building for debugging...
[0/8] Write sources
[6/8] Compiling _NumericsShims _NumericsShims.c
[7/8] Write swift-version-8C5A4AE7A8CE2BA.txt
[9/32] Compiling RealModule Real.swift
[10/33] Compiling RealModule RealFunctions.swift
[11/33] Compiling RealModule Float80+Real.swift
[12/33] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[13/33] Compiling InternalCollectionsUtilities _SortedCollection.swift
[14/33] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[15/33] Compiling InternalCollectionsUtilities UInt+reversed.swift
[18/34] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[19/34] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[20/34] Compiling InternalCollectionsUtilities Descriptions.swift
[21/34] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[22/34] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[23/34] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[24/34] Compiling InternalCollectionsUtilities Debugging.swift
[25/34] Emitting module RealModule
[26/34] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[27/34] Compiling InternalCollectionsUtilities Integer rank.swift
[30/34] Emitting module InternalCollectionsUtilities
[31/34] Compiling RealModule Float+Real.swift
[32/34] Compiling RealModule ElementaryFunctions.swift
[33/34] Compiling RealModule Float16+Real.swift
[35/38] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[37/114] Compiling OrderedCollections _HashTable+Bucket.swift
[38/114] Compiling OrderedCollections _HashTable+BucketIterator.swift
[39/114] Compiling OrderedCollections _HashTable+Constants.swift
[40/117] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[41/117] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[42/117] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[43/117] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[44/117] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[45/117] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[46/117] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[47/124] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[48/124] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[49/124] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[50/124] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[51/124] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[52/124] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[53/124] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[54/124] Compiling Algorithms Windows.swift
[55/124] Compiling OrderedCollections OrderedSet+Codable.swift
[56/124] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[57/124] Compiling OrderedCollections OrderedSet+Descriptions.swift
[58/124] Compiling OrderedCollections OrderedSet+Diffing.swift
[59/124] Compiling OrderedCollections OrderedSet+Equatable.swift
[60/124] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[61/124] Compiling OrderedCollections OrderedSet+Hashable.swift
[62/124] Compiling OrderedCollections OrderedSet+Initializers.swift
[63/124] Compiling OrderedCollections OrderedSet+Insertions.swift
[64/124] Compiling OrderedCollections OrderedSet+Invariants.swift
[65/124] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[66/124] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[67/124] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[68/124] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[69/124] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[70/124] Compiling OrderedCollections OrderedDictionary+Codable.swift
[71/124] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[72/124] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[73/124] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[74/124] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[75/124] Compiling OrderedCollections OrderedDictionary+Elements.swift
[76/124] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[77/124] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[78/124] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[79/124] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[80/124] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[81/124] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[82/124] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[83/124] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[84/124] Compiling Algorithms Trim.swift
[85/124] Compiling Algorithms Unique.swift
[102/124] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[103/124] Compiling OrderedCollections _HashTable+Testing.swift
[104/124] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[105/124] Compiling OrderedCollections _HashTable.swift
[106/124] Compiling OrderedCollections _Hashtable+Header.swift
[107/124] Compiling OrderedCollections OrderedSet+Sendable.swift
[108/124] Compiling OrderedCollections OrderedSet+SubSequence.swift
[109/124] Compiling OrderedCollections OrderedSet+Testing.swift
[110/124] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[111/124] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[112/124] Compiling OrderedCollections OrderedSet.swift
[113/124] Compiling OrderedCollections _UnsafeBitset.swift
[114/124] Emitting module OrderedCollections
[125/125] Emitting module Algorithms
[127/169] Compiling SwmCore AdditiveGroup.swift
[128/169] Compiling SwmCore EuclideanRing.swift
[129/169] Compiling SwmCore Field.swift
[130/169] Compiling SwmCore FractionField.swift
[131/169] Compiling SwmCore Group.swift
[132/169] Compiling SwmCore MathSet.swift
[133/174] Emitting module SwmCore
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/.build/checkouts/swm-core/Sources/SwmCore/Abstract/AdditiveGroup.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Abstract/EuclideanRing.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Abstract/Field.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Abstract/FractionField.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Abstract/Group.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Abstract/MathSet.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Abstract/Module.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Abstract/Monoid.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Abstract/Ring.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Extensions/Array.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Extensions/Codable.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Extensions/Dictionary.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Extensions/RandomAccessCollection.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Extensions/Sequence.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Extensions/Set.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Extensions/String.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/LinearCombination/LinearCombination.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/LinearCombination/LinearCombinationType.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/LinearCombination/TensorGenerator.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Matrix/DefaultMatrixImpl.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Matrix/Matrix.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Matrix/MatrixIF.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Matrix/MatrixImpl.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Misc/BitSequence.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Misc/Combinatorics.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Misc/GraphAlgorithms.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Misc/IntList.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Misc/Operators.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Misc/Random.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Misc/TypeParameters.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Numbers/Complex.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Numbers/F2.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Numbers/Integer.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Numbers/IntegerQuotient.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Numbers/Quaternion.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Numbers/Rational.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Numbers/Real.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Permutation/Permutation.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Polynomial/GenericPolynomial.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Polynomial/MultivariatePolynomial.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Polynomial/Polynomial.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Polynomial/PolynomialQuotient.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Util/Cache.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Util/Debug.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Util/Format.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Util/Logger.swift /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Util/Storage.swift -supplementary-output-file-map /tmp/TemporaryDirectory.THZ9MB/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 -suppress-warnings -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/.build/checkouts/swm-core/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 0x00005596481adc58
1 swift-frontend 0x00005596481ab77e
2 swift-frontend 0x00005596481ae2f1
3 libc.so.6 0x00007f1cbe102520
4 libc.so.6 0x00007f1cbe1569fc pthread_kill + 300
5 libc.so.6 0x00007f1cbe102476 raise + 22
6 libc.so.6 0x00007f1cbe0e87f3 abort + 211
7 libc.so.6 0x00007f1cbe0e871b
8 libc.so.6 0x00007f1cbe0f9e96
9 swift-frontend 0x00005596418967fa
10 swift-frontend 0x00005596418af28b
11 swift-frontend 0x0000559641897f54
12 swift-frontend 0x0000559641896714
13 swift-frontend 0x00005596418075b7
14 swift-frontend 0x00005596418049bd
15 swift-frontend 0x00005596417f9263
16 swift-frontend 0x00005596417fc833
17 swift-frontend 0x00005596417fdb88
18 swift-frontend 0x00005596417f0088
19 swift-frontend 0x0000559640d62631
20 swift-frontend 0x0000559640d661cc
21 swift-frontend 0x0000559640d673d2
22 swift-frontend 0x0000559640e9c212
23 swift-frontend 0x0000559640e97238
24 swift-frontend 0x0000559640e9718d
25 swift-frontend 0x0000559640d692b3
26 swift-frontend 0x0000559640d69a04
27 swift-frontend 0x0000559640e7c5d6
28 swift-frontend 0x0000559640d6e9b3
29 swift-frontend 0x0000559640d6a38f
30 swift-frontend 0x0000559640548c18
31 swift-frontend 0x000055964055a7da
32 swift-frontend 0x000055964054bbbe
33 swift-frontend 0x000055964054ac5c
34 swift-frontend 0x00005596402c65ab
35 libc.so.6 0x00007f1cbe0e9d90
36 libc.so.6 0x00007f1cbe0e9e40 __libc_start_main + 128
37 swift-frontend 0x00005596402c55a5
BUILD FAILURE 6.2 android