Build Information
Failed to build swm-core, reference 1.3.1 (ae48c2
), with Swift 6.2 (beta) for Android on 19 Jun 2025 03:27:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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: 1.3.1
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
* tag 1.3.1 -> FETCH_HEAD
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 1.3.1
========================================
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-4606859-1":/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
[2862/22599] Fetching swift-algorithms, swift-collections
Fetched https://github.com/apple/swift-algorithms.git from cache (0.90s)
[4327/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.36s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 0.2.1 (3.28s)
Fetching https://github.com/apple/swift-numerics
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.78s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 0.1.0 (1.44s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.79s)
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-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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 0.1.0
Building for debugging...
[0/7] Write sources
[5/7] Compiling _NumericsShims _NumericsShims.c
[6/7] Write swift-version-8C5A4AE7A8CE2BA.txt
[8/31] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[9/31] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[10/32] Compiling InternalCollectionsUtilities Descriptions.swift
[11/32] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[12/32] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[13/32] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[14/32] Compiling InternalCollectionsUtilities Debugging.swift
[15/32] Emitting module RealModule
[16/33] Emitting module InternalCollectionsUtilities
[17/33] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[18/33] Compiling InternalCollectionsUtilities Integer rank.swift
[19/33] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[20/33] Compiling InternalCollectionsUtilities UInt+reversed.swift
[23/33] Compiling RealModule ElementaryFunctions.swift
[24/33] Compiling RealModule RealFunctions.swift
[25/33] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[26/33] Compiling InternalCollectionsUtilities _SortedCollection.swift
[27/33] Compiling RealModule Float+Real.swift
[28/33] Compiling RealModule Float80+Real.swift
[29/33] Compiling RealModule Real.swift
[32/33] Compiling RealModule Float16+Real.swift
[34/34] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[36/113] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[37/113] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[38/113] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[39/116] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[40/116] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[41/116] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[42/116] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[43/116] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[44/116] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[45/116] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[46/116] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[47/116] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[48/116] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[49/116] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[50/116] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[51/116] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[52/116] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.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
[58/123] Compiling OrderedCollections OrderedDictionary+Elements.swift
[59/123] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[60/123] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[61/123] Compiling Algorithms Trim.swift
[62/123] Compiling Algorithms Unique.swift
[63/123] Compiling Algorithms Windows.swift
[64/123] Compiling OrderedCollections OrderedDictionary.swift
[65/123] Compiling OrderedCollections OrderedSet+Codable.swift
[66/123] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[67/123] Compiling OrderedCollections OrderedSet+Descriptions.swift
[68/123] Compiling OrderedCollections OrderedSet+Diffing.swift
[69/123] Compiling OrderedCollections OrderedSet+Equatable.swift
[70/123] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[71/123] Compiling OrderedCollections OrderedSet+Hashable.swift
[73/123] Compiling OrderedCollections OrderedSet+Insertions.swift
[74/123] Compiling OrderedCollections OrderedSet+Invariants.swift
[75/123] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[76/123] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[77/123] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[78/123] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[79/123] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[80/123] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[81/123] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[82/123] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[88/123] Compiling OrderedCollections _HashTable+Constants.swift
[89/123] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[90/123] Compiling OrderedCollections _HashTable+Testing.swift
[91/123] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[92/123] Compiling OrderedCollections _HashTable.swift
[93/123] Compiling OrderedCollections _Hashtable+Header.swift
[94/123] Compiling OrderedCollections _HashTable+Bucket.swift
[95/123] Compiling OrderedCollections _HashTable+BucketIterator.swift
[102/123] Compiling OrderedCollections OrderedSet+Sendable.swift
[103/123] Compiling OrderedCollections OrderedSet+SubSequence.swift
[104/123] Compiling OrderedCollections OrderedSet+Testing.swift
[105/123] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[106/123] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[107/123] Compiling OrderedCollections OrderedSet.swift
[108/123] Compiling OrderedCollections _UnsafeBitset.swift
[109/123] Emitting module OrderedCollections
[124/124] Emitting module Algorithms
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.apQOiW/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 0x0000556cde85bc58
1 swift-frontend 0x0000556cde85977e
2 swift-frontend 0x0000556cde85c2f1
3 libc.so.6 0x00007f34db48f520
4 libc.so.6 0x00007f34db4e39fc pthread_kill + 300
5 libc.so.6 0x00007f34db48f476 raise + 22
6 libc.so.6 0x00007f34db4757f3 abort + 211
7 libc.so.6 0x00007f34db47571b
8 libc.so.6 0x00007f34db486e96
9 swift-frontend 0x0000556cd7f447fa
10 swift-frontend 0x0000556cd7f5d28b
11 swift-frontend 0x0000556cd7f45f54
12 swift-frontend 0x0000556cd7f44714
13 swift-frontend 0x0000556cd7eb55b7
14 swift-frontend 0x0000556cd7eb29bd
15 swift-frontend 0x0000556cd7ea7263
16 swift-frontend 0x0000556cd7eaa833
17 swift-frontend 0x0000556cd7eabb88
18 swift-frontend 0x0000556cd7e9e088
19 swift-frontend 0x0000556cd7410631
20 swift-frontend 0x0000556cd74141cc
21 swift-frontend 0x0000556cd74153d2
22 swift-frontend 0x0000556cd754a212
23 swift-frontend 0x0000556cd7545238
24 swift-frontend 0x0000556cd754518d
25 swift-frontend 0x0000556cd74172b3
26 swift-frontend 0x0000556cd7417a04
27 swift-frontend 0x0000556cd752a5d6
28 swift-frontend 0x0000556cd741c9b3
29 swift-frontend 0x0000556cd741838f
30 swift-frontend 0x0000556cd6bf6c18
31 swift-frontend 0x0000556cd6c087da
32 swift-frontend 0x0000556cd6bf9bbe
33 swift-frontend 0x0000556cd6bf8c5c
34 swift-frontend 0x0000556cd69745ab
35 libc.so.6 0x00007f34db476d90
36 libc.so.6 0x00007f34db476e40 __libc_start_main + 128
37 swift-frontend 0x0000556cd69735a5
BUILD FAILURE 6.2 android