Build Information
Failed to build PropertyTracer, reference 0.3.0 (3703d7
), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 22:56:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/p-x9/swift-property-tracer.git
Reference: 0.3.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/p-x9/swift-property-tracer
* tag 0.3.0 -> FETCH_HEAD
HEAD is now at 3703d7d Merge pull request #3 from p-x9/feature/update-swift-syntax-url
Cloned https://github.com/p-x9/swift-property-tracer.git
Revision (git rev-parse @):
3703d7da09f512d0bf73922424730b56912cfa1f
SUCCESS checkout https://github.com/p-x9/swift-property-tracer.git at 0.3.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/p-x9/swift-property-tracer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/70924] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.09s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 510.0.3 (14.23s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 510.0.3
Building for debugging...
[0/35] Write sources
[17/35] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/51] Emitting module PropertyTracerSupport
/host/spi-builder-workspace/Sources/PropertyTracerSupport/Extension/Thread+.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Thread {
[20/51] Compiling PropertyTracerSupport demangle.swift
/host/spi-builder-workspace/Sources/PropertyTracerSupport/Extension/Thread+.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Thread {
[21/51] Compiling PropertyTracerSupport symbolInfo.swift
/host/spi-builder-workspace/Sources/PropertyTracerSupport/Extension/Thread+.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Thread {
[22/51] Compiling PropertyTracerSupport Thread+.swift
/host/spi-builder-workspace/Sources/PropertyTracerSupport/Extension/Thread+.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Thread {
[23/51] Compiling PropertyTracerSupport CallStackInfo.swift
/host/spi-builder-workspace/Sources/PropertyTracerSupport/Extension/Thread+.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Thread {
[24/51] Compiling PropertyTracerSupport PropertyAccess.swift
/host/spi-builder-workspace/Sources/PropertyTracerSupport/Extension/Thread+.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Thread {
[25/51] Emitting module SwiftSyntax510
[26/51] Compiling SwiftSyntax510 Empty.swift
[27/52] Emitting module SwiftSyntax509
[28/52] Compiling SwiftSyntax509 Empty.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/52] Emitting module PropertyTracerSupport
/host/spi-builder-workspace/Sources/PropertyTracerSupport/Extension/Thread+.swift:16:68: error: cannot find type 'Dl_info' in scope
14 | /// - Parameter addresses: An array of addresses for which to retrieve dynamic linking information.
15 | /// - Returns: An array of `Dl_info` structures containing the dynamic linking informat
16 | package class func callStackDLInfos(addresses: [NSNumber]) -> [Dl_info] {
| `- error: cannot find type 'Dl_info' in scope
17 | addresses.compactMap { symbolInfo(for: $0.uintValue) }
18 | }
/host/spi-builder-workspace/Sources/PropertyTracerSupport/util/symbolInfo.swift:11:39: error: cannot find type 'Dl_info' in scope
9 | import Foundation
10 |
11 | func symbolInfo(for address: UInt) -> Dl_info? {
| `- error: cannot find type 'Dl_info' in scope
12 | var info = Dl_info()
13 | let ptr: UnsafeRawPointer = UnsafeRawPointer(bitPattern: address)!
/host/spi-builder-workspace/Sources/PropertyTracerSupport/Extension/Thread+.swift:16:68: error: cannot find type 'Dl_info' in scope
14 | /// - Parameter addresses: An array of addresses for which to retrieve dynamic linking information.
15 | /// - Returns: An array of `Dl_info` structures containing the dynamic linking informat
16 | package class func callStackDLInfos(addresses: [NSNumber]) -> [Dl_info] {
| `- error: cannot find type 'Dl_info' in scope
17 | addresses.compactMap { symbolInfo(for: $0.uintValue) }
18 | }
/host/spi-builder-workspace/Sources/PropertyTracerSupport/Extension/Thread+.swift:27:49: error: cannot find type 'Dl_info' in scope
25 | addresses
26 | .lazy
27 | .compactMap { address -> (NSNumber, Dl_info)? in
| `- error: cannot find type 'Dl_info' in scope
28 | guard let info = symbolInfo(for: address.uintValue) else {
29 | return nil
BUILD FAILURE 6.2 wasm