The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swm-matrix-tools with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/taketo1024/swm-matrix-tools.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-matrix-tools
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/taketo1024/swm-matrix-tools.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/taketo1024/swm-core.git
[1/15984] Fetching swm-core
Fetched https://github.com/taketo1024/swm-core.git from cache (1.04s)
Computing version for https://github.com/taketo1024/swm-core.git
Computed https://github.com/taketo1024/swm-core.git at 1.3.1 (0.79s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-algorithms.git
[1/5180] Fetching swift-algorithms
[3886/18926] Fetching swift-algorithms, swift-collections
Fetched https://github.com/apple/swift-algorithms.git from cache (0.70s)
[2887/13746] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.97s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 0.2.1 (0.86s)
Fetching https://github.com/apple/swift-numerics
[1/5277] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.69s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (1.36s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 0.1.0 (0.84s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.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
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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 0.1.0
Building for debugging...
[0/8] Write sources
[6/8] Compiling _NumericsShims _NumericsShims.c
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/35] Emitting module _CollectionsUtilities
[10/37] Compiling _CollectionsUtilities UnsafeBufferPointer+Extras.swift
[11/37] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[12/37] Compiling _CollectionsUtilities _UnsafeBitSet+_Word.swift
[13/37] Compiling _CollectionsUtilities _UnsafeBitSet.swift
[14/37] Compiling RealModule ElementaryFunctions.swift
[15/38] Compiling RealModule Float+Real.swift
[16/38] Compiling _CollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[17/38] Compiling _CollectionsUtilities Integer rank.swift
[18/38] Compiling _CollectionsUtilities UInt+first and last set bit.swift
[19/38] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[20/38] Compiling _CollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[21/38] Emitting module RealModule
[24/38] Compiling _CollectionsUtilities UnsafeRawPointer extensions.swift
[25/38] Compiling RealModule Real.swift
[26/38] Compiling RealModule Float80+Real.swift
[27/38] Compiling RealModule Float16+Real.swift
[28/38] Compiling _CollectionsUtilities UInt+reversed.swift
[29/38] Compiling _CollectionsUtilities _UnsafeBitSet+Index.swift
[30/38] Compiling _CollectionsUtilities _SortedCollection.swift
[31/38] Compiling _CollectionsUtilities _UniqueCollection.swift
[32/38] Compiling _CollectionsUtilities Debugging.swift
[33/38] Compiling _CollectionsUtilities Descriptions.swift
[34/38] Compiling _CollectionsUtilities RandomAccessCollection+Offsets.swift
[35/38] Compiling _CollectionsUtilities Specialize.swift
[38/39] Compiling RealModule RealFunctions.swift
[41/118] Compiling Algorithms Rotate.swift
[42/118] Compiling Algorithms Stride.swift
[43/118] Compiling Algorithms Suffix.swift
[44/121] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[45/121] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[46/121] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[47/121] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[48/121] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[49/121] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[50/121] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[51/121] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[52/121] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[53/121] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[54/121] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[55/121] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[56/121] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[57/121] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[58/121] Compiling OrderedCollections OrderedSet+Initializers.swift
[59/121] Compiling OrderedCollections OrderedSet+Insertions.swift
[60/121] Compiling OrderedCollections OrderedSet+Invariants.swift
[61/121] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[62/121] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[63/121] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[64/121] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[65/121] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[66/128] Compiling Algorithms Product.swift
[67/128] Compiling Algorithms RandomSample.swift
[68/128] Compiling Algorithms Reductions.swift
[72/128] Compiling Algorithms Trim.swift
[73/128] Compiling Algorithms Unique.swift
[74/128] Compiling Algorithms Cycle.swift
[75/128] Compiling Algorithms EitherSequence.swift
[76/128] Compiling Algorithms Intersperse.swift
[77/128] Compiling Algorithms Joined.swift
[78/128] Compiling Algorithms LazySplit.swift
[79/128] Compiling Algorithms MinMax.swift
[80/128] Compiling Algorithms Partition.swift
[81/128] Compiling Algorithms Permutations.swift
[82/128] Compiling Algorithms Windows.swift
[83/128] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[84/128] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[85/128] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[86/128] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[87/128] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[88/128] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[89/128] Compiling OrderedCollections OrderedDictionary+Values.swift
[99/128] Compiling Algorithms AdjacentPairs.swift
[100/128] Compiling Algorithms Chain.swift
[101/128] Compiling Algorithms Chunked.swift
[102/128] Compiling Algorithms Combinations.swift
[103/128] Compiling Algorithms FirstNonNil.swift
[104/128] Compiling Algorithms FlattenCollection.swift
[105/128] Compiling Algorithms Indexed.swift
[106/128] Compiling Algorithms Compacted.swift
[107/128] Compiling OrderedCollections OrderedSet+Sendable.swift
[108/128] Compiling OrderedCollections OrderedSet+SubSequence.swift
[109/128] Compiling OrderedCollections OrderedSet+Testing.swift
[110/128] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[111/128] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[112/128] Compiling OrderedCollections OrderedSet.swift
[113/128] Compiling OrderedCollections _UnsafeBitset.swift
[118/128] Emitting module OrderedCollections
[129/129] Emitting module Algorithms
[131/173] Compiling SwmCore Combinatorics.swift
[132/173] Compiling SwmCore GraphAlgorithms.swift
[133/173] Compiling SwmCore IntList.swift
[134/173] Compiling SwmCore Operators.swift
[135/173] Compiling SwmCore Random.swift
[136/173] Compiling SwmCore TypeParameters.swift
[137/178] Compiling SwmCore AdditiveGroup.swift
[138/178] Compiling SwmCore EuclideanRing.swift
[139/178] Compiling SwmCore Field.swift
[140/178] Compiling SwmCore FractionField.swift
[141/178] Compiling SwmCore Group.swift
[142/178] Compiling SwmCore MathSet.swift
[143/178] Emitting module SwmCore
[144/178] Compiling SwmCore Module.swift
[145/178] Compiling SwmCore Monoid.swift
[146/178] Compiling SwmCore Ring.swift
[147/178] Compiling SwmCore Array.swift
[148/178] Compiling SwmCore Codable.swift
[149/178] Compiling SwmCore Dictionary.swift
[150/178] Compiling SwmCore Cache.swift
[151/178] Compiling SwmCore Debug.swift
[152/178] Compiling SwmCore Format.swift
[153/178] Compiling SwmCore Logger.swift
[154/178] Compiling SwmCore Storage.swift
[155/178] Compiling SwmCore Complex.swift
[156/178] Compiling SwmCore F2.swift
[157/178] Compiling SwmCore Integer.swift
[158/178] Compiling SwmCore IntegerQuotient.swift
[159/178] Compiling SwmCore Quaternion.swift
[160/178] Compiling SwmCore Rational.swift
error: compile command failed due to signal 6 (use -v to see invocation)
swift-frontend: /home/build-user/swift/lib/SIL/IR/TypeLowering.cpp:2955: void swift::Lowering::TypeConverter::verifyLowering(const swift::Lowering::TypeLowering &, swift::Lowering::AbstractionPattern, swift::CanType, swift::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: /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.6k6tml/supplementaryOutputs-7 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -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 -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name SwmCore -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwmCore.build/Real.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwmCore.build/Permutation.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwmCore.build/GenericPolynomial.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwmCore.build/MultivariatePolynomial.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwmCore.build/Polynomial.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwmCore.build/PolynomialQuotient.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1.	Swift version 5.10-dev (LLVM dbfaba0078e9380, Swift 63c8b551eb2f613)
2.	Compiling with the current language version
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):
/usr/bin/swift-frontend(+0x7307d73)[0x55603b32dd73]
/usr/bin/swift-frontend(+0x7305abe)[0x55603b32babe]
/usr/bin/swift-frontend(+0x73080ea)[0x55603b32e0ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f9b8e75b520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f9b8e7af9fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f9b8e75b476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f9b8e7417f3]
/lib/x86_64-linux-gnu/libc.so.6(+0x2871b)[0x7f9b8e74171b]
/lib/x86_64-linux-gnu/libc.so.6(+0x39e96)[0x7f9b8e752e96]
/usr/bin/swift-frontend(+0x1f35ccb)[0x556035f5bccb]
/usr/bin/swift-frontend(+0x1f4a416)[0x556035f70416]
/usr/bin/swift-frontend(+0x1f3721f)[0x556035f5d21f]
/usr/bin/swift-frontend(+0x1f35c3c)[0x556035f5bc3c]
/usr/bin/swift-frontend(+0x1eb1986)[0x556035ed7986]
/usr/bin/swift-frontend(+0x1eafb43)[0x556035ed5b43]
/usr/bin/swift-frontend(+0x1ea4d72)[0x556035ecad72]
/usr/bin/swift-frontend(+0x1ea8bba)[0x556035ecebba]
/usr/bin/swift-frontend(+0x1ea99f7)[0x556035ecf9f7]
/usr/bin/swift-frontend(+0x1e9ceb7)[0x556035ec2eb7]
/usr/bin/swift-frontend(+0x1515cc8)[0x55603553bcc8]
/usr/bin/swift-frontend(+0x15192fb)[0x55603553f2fb]
/usr/bin/swift-frontend(+0x151a464)[0x556035540464]
/usr/bin/swift-frontend(+0x16140c1)[0x55603563a0c1]
/usr/bin/swift-frontend(+0x160f7da)[0x5560356357da]
/usr/bin/swift-frontend(+0x160f66d)[0x55603563566d]
/usr/bin/swift-frontend(+0x151c5c7)[0x5560355425c7]
/usr/bin/swift-frontend(+0x15fca8c)[0x556035622a8c]
/usr/bin/swift-frontend(+0x151f8df)[0x5560355458df]
/usr/bin/swift-frontend(+0x151d408)[0x556035543408]
/usr/bin/swift-frontend(+0xe3477b)[0x556034e5a77b]
/usr/bin/swift-frontend(+0xe4a7f5)[0x556034e707f5]
/usr/bin/swift-frontend(+0xe382ad)[0x556034e5e2ad]
/usr/bin/swift-frontend(+0xe369db)[0x556034e5c9db]
/usr/bin/swift-frontend(+0xcc3315)[0x556034ce9315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f9b8e742d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f9b8e742e40]
/usr/bin/swift-frontend(+0xcc2375)[0x556034ce8375]
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/18] Compiling SwmCore RandomAccessCollection.swift
[3/18] Compiling SwmCore Sequence.swift
[4/18] Compiling SwmCore Set.swift
error: compile command failed due to signal 6 (use -v to see invocation)
swift-frontend: /home/build-user/swift/lib/SIL/IR/TypeLowering.cpp:2955: void swift::Lowering::TypeConverter::verifyLowering(const swift::Lowering::TypeLowering &, swift::Lowering::AbstractionPattern, swift::CanType, swift::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: /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 /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Numbers/Real.swift /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 /host/spi-builder-workspace/.build/checkouts/swm-core/Sources/SwmCore/Polynomial/Polynomial.swift /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 -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwmCore.build/GenericPolynomial.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwmCore.build/GenericPolynomial.swiftdeps -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwmCore.build/MultivariatePolynomial.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwmCore.build/MultivariatePolynomial.swiftdeps -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -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 -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name SwmCore -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwmCore.build/GenericPolynomial.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwmCore.build/MultivariatePolynomial.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1.	Swift version 5.10-dev (LLVM dbfaba0078e9380, Swift 63c8b551eb2f613)
2.	Compiling with the current language version
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):
/usr/bin/swift-frontend(+0x7307d73)[0x5646aa991d73]
/usr/bin/swift-frontend(+0x7305abe)[0x5646aa98fabe]
/usr/bin/swift-frontend(+0x73080ea)[0x5646aa9920ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7fb7d9967520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7fb7d99bb9fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7fb7d9967476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7fb7d994d7f3]
/lib/x86_64-linux-gnu/libc.so.6(+0x2871b)[0x7fb7d994d71b]
/lib/x86_64-linux-gnu/libc.so.6(+0x39e96)[0x7fb7d995ee96]
/usr/bin/swift-frontend(+0x1f35ccb)[0x5646a55bfccb]
/usr/bin/swift-frontend(+0x1f4a416)[0x5646a55d4416]
/usr/bin/swift-frontend(+0x1f3721f)[0x5646a55c121f]
/usr/bin/swift-frontend(+0x1f35c3c)[0x5646a55bfc3c]
/usr/bin/swift-frontend(+0x1eb1986)[0x5646a553b986]
/usr/bin/swift-frontend(+0x1eafb43)[0x5646a5539b43]
/usr/bin/swift-frontend(+0x1ea4d72)[0x5646a552ed72]
/usr/bin/swift-frontend(+0x1ea8bba)[0x5646a5532bba]
/usr/bin/swift-frontend(+0x1ea99f7)[0x5646a55339f7]
/usr/bin/swift-frontend(+0x1e9ceb7)[0x5646a5526eb7]
/usr/bin/swift-frontend(+0x1515cc8)[0x5646a4b9fcc8]
/usr/bin/swift-frontend(+0x15192fb)[0x5646a4ba32fb]
/usr/bin/swift-frontend(+0x151a464)[0x5646a4ba4464]
/usr/bin/swift-frontend(+0x16140c1)[0x5646a4c9e0c1]
/usr/bin/swift-frontend(+0x160f7da)[0x5646a4c997da]
/usr/bin/swift-frontend(+0x160f66d)[0x5646a4c9966d]
/usr/bin/swift-frontend(+0x151c5c7)[0x5646a4ba65c7]
/usr/bin/swift-frontend(+0x15fca8c)[0x5646a4c86a8c]
/usr/bin/swift-frontend(+0x151f8df)[0x5646a4ba98df]
/usr/bin/swift-frontend(+0x151d408)[0x5646a4ba7408]
/usr/bin/swift-frontend(+0xe3477b)[0x5646a44be77b]
/usr/bin/swift-frontend(+0xe4a7f5)[0x5646a44d47f5]
/usr/bin/swift-frontend(+0xe382ad)[0x5646a44c22ad]
/usr/bin/swift-frontend(+0xe369db)[0x5646a44c09db]
/usr/bin/swift-frontend(+0xcc3315)[0x5646a434d315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7fb7d994ed90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7fb7d994ee40]
/usr/bin/swift-frontend(+0xcc2375)[0x5646a434c375]
BUILD FAILURE 5.10 linux

Build Machine: Linux 2