Build Information
Failed to build HTMLParserBuilder, reference 2.0.0 (2ecadd
), with Swift 6.0 for Linux on 16 Sep 2024 06:08:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/danny1113/html-parser-builder.git
Reference: 2.0.0
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/danny1113/html-parser-builder
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at 2ecadd3 Merge pull request #2 from danny1113/v2.0
Cloned https://github.com/danny1113/html-parser-builder.git
Revision (git rev-parse @):
2ecadd3c29d076463babdc4115e04a23ca6c4e33
SUCCESS checkout https://github.com/danny1113/html-parser-builder.git at 2.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/danny1113/html-parser-builder.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/scinfu/SwiftSoup.git
[1/3176] Fetching swiftsoup
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.45s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.7.2 (4.58s)
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.7.2
warning: 'swiftsoup': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/InfoWatchOS.plist
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/InfotvOS.plist
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Info.plist
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/InfoMac.plist
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: compile command failed due to signal 6 (use -v to see invocation)
/host/spi-builder-workspace/Sources/HTMLParserBuilder/HTMLDocodeImpl.swift:147:30: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
145 | switch node {
146 | case .concatenation(let array):
147 | return try await withThrowingTaskGroup(of: (Int, [Any]).self) { (group) -> [Any] in
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
148 | var result = [Any]()
149 | var orderTable = [Int: [Any]]()
/host/spi-builder-workspace/Sources/HTMLParserBuilder/HTMLDocodeImpl.swift:147:75: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
145 | switch node {
146 | case .concatenation(let array):
147 | return try await withThrowingTaskGroup(of: (Int, [Any]).self) { (group) -> [Any] in
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
148 | var result = [Any]()
149 | var orderTable = [Int: [Any]]()
swift-frontend: /home/build-user/swift/include/swift/SIL/SILType.h:114: swift::SILType::SILType(swift::CanType, swift::SILValueCategory): Assertion `ty->isLegalSILType() && "constructing SILType with type that should have been " "eliminated by SIL lowering"' 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/Sources/HTMLParserBuilder/Capture.swift /host/spi-builder-workspace/Sources/HTMLParserBuilder/CaptureAll.swift /host/spi-builder-workspace/Sources/HTMLParserBuilder/CaptureTransform.swift /host/spi-builder-workspace/Sources/HTMLParserBuilder/DSLTree.swift /host/spi-builder-workspace/Sources/HTMLParserBuilder/HTML.swift /host/spi-builder-workspace/Sources/HTMLParserBuilder/HTMLComponent.swift -primary-file /host/spi-builder-workspace/Sources/HTMLParserBuilder/HTMLComponentBuilder.swift -primary-file /host/spi-builder-workspace/Sources/HTMLParserBuilder/HTMLDocodeImpl.swift /host/spi-builder-workspace/Sources/HTMLParserBuilder/HTMLParseError.swift /host/spi-builder-workspace/Sources/HTMLParserBuilder/HTMLParserBuilder.swift /host/spi-builder-workspace/Sources/HTMLParserBuilder/LateInit.swift /host/spi-builder-workspace/Sources/HTMLParserBuilder/Local.swift /host/spi-builder-workspace/Sources/HTMLParserBuilder/Optional+orThrow.swift /host/spi-builder-workspace/Sources/HTMLParserBuilder/TryCapture.swift /host/spi-builder-workspace/Sources/HTMLParserBuilder/TypeConstruction.swift -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/HTMLParserBuilder.build/HTMLComponentBuilder.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/HTMLParserBuilder.build/HTMLComponentBuilder.swiftdeps -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/HTMLParserBuilder.build/HTMLDocodeImpl.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/HTMLParserBuilder.build/HTMLDocodeImpl.swiftdeps -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -enable-upcoming-feature ExistentialAny -strict-concurrency=complete -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name HTMLParserBuilder -package-name spi_builder_workspace -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/HTMLParserBuilder.build/HTMLComponentBuilder.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/HTMLParserBuilder.build/HTMLDocodeImpl.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1. Swift version 6.0-dev (LLVM c3efe9282719c35, Swift b163fed2b3101e0)
2. Compiling with effective version 5.10
3. While evaluating request ExecuteSILPipelineRequest(Run pipelines { Mandatory Diagnostic Passes + Enabling Optimization Passes } on SIL for HTMLParserBuilder)
4. While running pass #225 SILFunctionTransform "TransferNonSendable" on SILFunction "@$s17HTMLParserBuilder14HTMLDecodeImplV10parseAsync_7elementSayypGAA7DSLTreeV4NodeO_AA7Element_ptYaKFZAFScgySi_AFts5Error_pGzYaKXEfU_".
for expression at [/host/spi-builder-workspace/Sources/HTMLParserBuilder/HTMLDocodeImpl.swift:147:75 - line:167:13] RangeText="{ (group) -> [Any] in
var result = [Any]()
var orderTable = [Int: [Any]]()
let count = array.count
result.reserveCapacity(count)
orderTable.reserveCapacity(count)
for (i, node) in array.enumerated() {
group.addTask {
let result = try await parseAsync(node, element: element)
return (i, result)
}
}
for try await node in group {
orderTable[node.0] = node.1
}
for key in 0..<count {
result += orderTable[key]!
}
return result
"
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 0x00005603299282b7
1 swift-frontend 0x000056032992600e
2 swift-frontend 0x000056032992892a
3 libc.so.6 0x00007f33dc1b9520
4 libc.so.6 0x00007f33dc20d9fc pthread_kill + 300
5 libc.so.6 0x00007f33dc1b9476 raise + 22
6 libc.so.6 0x00007f33dc19f7f3 abort + 211
7 libc.so.6 0x00007f33dc19f71b
8 libc.so.6 0x00007f33dc1b0e96
9 swift-frontend 0x00005603239fd12b
10 swift-frontend 0x00005603239f8ca7
11 swift-frontend 0x000056032349f3f8
12 swift-frontend 0x00005603234a06e1
13 swift-frontend 0x00005603234a38ec
14 swift-frontend 0x000056032349d208
15 swift-frontend 0x000056032349d1bd
16 swift-frontend 0x00005603234da4ba
17 swift-frontend 0x00005603234c5fe6
18 swift-frontend 0x000056032349d3fd
19 swift-frontend 0x00005603234c7a31
20 swift-frontend 0x0000560322e64767
21 swift-frontend 0x0000560322b32d53
22 swift-frontend 0x0000560322b31d7b
23 swift-frontend 0x0000560322b42905
24 swift-frontend 0x0000560322b35127
25 swift-frontend 0x0000560322b33e7a
26 swift-frontend 0x00005603228e9fce
27 libc.so.6 0x00007f33dc1a0d90
28 libc.so.6 0x00007f33dc1a0e40 __libc_start_main + 128
29 swift-frontend 0x00005603228e9075
BUILD FAILURE 6.0 linux