The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PropertyTracer, reference 0.3.0 (3703d7), with Swift 6.1 for Wasm on 29 May 2025 15:02:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path:  $PWD
https://github.com/p-x9/swift-property-tracer.git
https://github.com/p-x9/swift-property-tracer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "509.0.0",
            "upper_bound" : "511.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    }
  ],
  "manifest_display_name" : "PropertyTracer",
  "name" : "PropertyTracer",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "PropertyTracer",
      "targets" : [
        "PropertyTracer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PropertyTracerPlugin",
      "targets" : [
        "PropertyTracerPlugin"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PropertyTracerTests",
      "module_type" : "SwiftTarget",
      "name" : "PropertyTracerTests",
      "path" : "Tests/PropertyTracerTests",
      "product_dependencies" : [
        "SwiftCompilerPlugin"
      ],
      "sources" : [
        "PropertyTracerTests.swift"
      ],
      "target_dependencies" : [
        "PropertyTracer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PropertyTracerSupport",
      "module_type" : "SwiftTarget",
      "name" : "PropertyTracerSupport",
      "path" : "Sources/PropertyTracerSupport",
      "product_memberships" : [
        "PropertyTracer",
        "PropertyTracerPlugin"
      ],
      "sources" : [
        "Extension/Thread+.swift",
        "Model/CallStackInfo.swift",
        "Model/PropertyAccess.swift",
        "util/demangle.swift",
        "util/symbolInfo.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PropertyTracerPlugin",
      "module_type" : "SwiftTarget",
      "name" : "PropertyTracerPlugin",
      "path" : "Sources/PropertyTracerPlugin",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin",
        "SwiftSyntaxBuilder",
        "SwiftParserDiagnostics"
      ],
      "product_memberships" : [
        "PropertyTracer",
        "PropertyTracerPlugin"
      ],
      "sources" : [
        "Extension/DeclGroupSyntax+.swift",
        "Extension/PatternBindingSyntax+.swift",
        "Extension/VariableDeclSyntax+.swift",
        "Macro/NoTracedMacro.swift",
        "Macro/PropertyTracerMacro.swift",
        "Macro/_TracedMacro.swift",
        "PropertyTracerMacroDiagnostic.swift",
        "PropertyTracerMacroPlugin.swift"
      ],
      "target_dependencies" : [
        "PropertyTracerSupport"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "PropertyTracer",
      "module_type" : "SwiftTarget",
      "name" : "PropertyTracer",
      "path" : "Sources/PropertyTracer",
      "product_memberships" : [
        "PropertyTracer"
      ],
      "sources" : [
        "Macro.swift",
        "PropertyTracer.swift",
        "exported.swift"
      ],
      "target_dependencies" : [
        "PropertyTracerSupport",
        "PropertyTracerPlugin"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/70452] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.20s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 510.0.3 (6.69s)
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
[19/51] Emitting module SwiftSyntax510
[20/51] Compiling SwiftSyntax510 Empty.swift
[22/52] Compiling SwiftSyntax509 Empty.swift
[23/52] Emitting module SwiftSyntax509
[23/53] Wrapping AST for SwiftSyntax510 for debugging
[25/53] Wrapping AST for SwiftSyntax509 for debugging
[27/113] Compiling PropertyTracerSupport demangle.swift
[28/113] Compiling PropertyTracerSupport symbolInfo.swift
/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/util/symbolInfo.swift:12:16: error: cannot find 'Dl_info' in scope
10 |
11 | func symbolInfo(for address: UInt) -> Dl_info? {
12 |     var info = Dl_info()
   |                `- error: cannot find 'Dl_info' in scope
13 |     let ptr: UnsafeRawPointer = UnsafeRawPointer(bitPattern: address)!
14 |     let result = dladdr(ptr, &info)
/host/spi-builder-workspace/Sources/PropertyTracerSupport/util/symbolInfo.swift:14:18: error: cannot find 'dladdr' in scope
12 |     var info = Dl_info()
13 |     let ptr: UnsafeRawPointer = UnsafeRawPointer(bitPattern: address)!
14 |     let result = dladdr(ptr, &info)
   |                  `- error: cannot find 'dladdr' in scope
15 |     return result == 0 ? nil : info
16 | }
[29/113] Compiling PropertyTracerSupport CallStackInfo.swift
[30/113] Compiling PropertyTracerSupport PropertyAccess.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/113] Emitting module PropertyTracerSupport
/host/spi-builder-workspace/Sources/PropertyTracerSupport/Extension/Thread+.swift:11:11: error: cannot find type 'Thread' in scope
 9 | import Foundation
10 |
11 | extension Thread {
   |           `- error: cannot find type 'Thread' in scope
12 |     /// Retrieves the dynamic linking information for a given set of addresses.
13 |     ///
/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)!
[32/113] Compiling PropertyTracerSupport Thread+.swift
/host/spi-builder-workspace/Sources/PropertyTracerSupport/Extension/Thread+.swift:11:11: error: cannot find type 'Thread' in scope
 9 | import Foundation
10 |
11 | extension Thread {
   |           `- error: cannot find type 'Thread' in scope
12 |     /// Retrieves the dynamic linking information for a given set of addresses.
13 |     ///
/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 |     }
[33/113] Compiling PropertyTracerSupport demangle.swift
[34/113] Compiling PropertyTracerSupport CallStackInfo.swift
[35/113] Compiling PropertyTracerSupport PropertyAccess.swift
[36/113] Compiling PropertyTracerSupport symbolInfo.swift
/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/util/symbolInfo.swift:12:16: error: cannot find 'Dl_info' in scope
10 |
11 | func symbolInfo(for address: UInt) -> Dl_info? {
12 |     var info = Dl_info()
   |                `- error: cannot find 'Dl_info' in scope
13 |     let ptr: UnsafeRawPointer = UnsafeRawPointer(bitPattern: address)!
14 |     let result = dladdr(ptr, &info)
/host/spi-builder-workspace/Sources/PropertyTracerSupport/util/symbolInfo.swift:14:18: error: cannot find 'dladdr' in scope
12 |     var info = Dl_info()
13 |     let ptr: UnsafeRawPointer = UnsafeRawPointer(bitPattern: address)!
14 |     let result = dladdr(ptr, &info)
   |                  `- error: cannot find 'dladdr' in scope
15 |     return result == 0 ? nil : info
16 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/113] 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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/18] Write swift-version-24593BA9C3E375BF.txt
[2/34] Emitting module SwiftSyntax510
[3/34] Compiling SwiftSyntax510 Empty.swift
[4/35] Compiling SwiftSyntax509 Empty.swift
[5/35] Compiling PropertyTracerSupport symbolInfo.swift
/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/util/symbolInfo.swift:12:16: error: cannot find 'Dl_info' in scope
10 |
11 | func symbolInfo(for address: UInt) -> Dl_info? {
12 |     var info = Dl_info()
   |                `- error: cannot find 'Dl_info' in scope
13 |     let ptr: UnsafeRawPointer = UnsafeRawPointer(bitPattern: address)!
14 |     let result = dladdr(ptr, &info)
/host/spi-builder-workspace/Sources/PropertyTracerSupport/util/symbolInfo.swift:14:18: error: cannot find 'dladdr' in scope
12 |     var info = Dl_info()
13 |     let ptr: UnsafeRawPointer = UnsafeRawPointer(bitPattern: address)!
14 |     let result = dladdr(ptr, &info)
   |                  `- error: cannot find 'dladdr' in scope
15 |     return result == 0 ? nil : info
16 | }
[6/35] Emitting module SwiftSyntax509
[8/35] Compiling PropertyTracerSupport symbolInfo.swift
/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/util/symbolInfo.swift:12:16: error: cannot find 'Dl_info' in scope
10 |
11 | func symbolInfo(for address: UInt) -> Dl_info? {
12 |     var info = Dl_info()
   |                `- error: cannot find 'Dl_info' in scope
13 |     let ptr: UnsafeRawPointer = UnsafeRawPointer(bitPattern: address)!
14 |     let result = dladdr(ptr, &info)
/host/spi-builder-workspace/Sources/PropertyTracerSupport/util/symbolInfo.swift:14:18: error: cannot find 'dladdr' in scope
12 |     var info = Dl_info()
13 |     let ptr: UnsafeRawPointer = UnsafeRawPointer(bitPattern: address)!
14 |     let result = dladdr(ptr, &info)
   |                  `- error: cannot find 'dladdr' in scope
15 |     return result == 0 ? nil : info
16 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/35] Emitting module PropertyTracerSupport
/host/spi-builder-workspace/Sources/PropertyTracerSupport/Extension/Thread+.swift:11:11: error: cannot find type 'Thread' in scope
 9 | import Foundation
10 |
11 | extension Thread {
   |           `- error: cannot find type 'Thread' in scope
12 |     /// Retrieves the dynamic linking information for a given set of addresses.
13 |     ///
/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)!
[10/35] Compiling PropertyTracerSupport CallStackInfo.swift
[11/35] Compiling PropertyTracerSupport Thread+.swift
/host/spi-builder-workspace/Sources/PropertyTracerSupport/Extension/Thread+.swift:11:11: error: cannot find type 'Thread' in scope
 9 | import Foundation
10 |
11 | extension Thread {
   |           `- error: cannot find type 'Thread' in scope
12 |     /// Retrieves the dynamic linking information for a given set of addresses.
13 |     ///
/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 |     }
[12/35] Compiling PropertyTracerSupport demangle.swift
[15/34] Compiling PropertyTracerSupport CallStackInfo.swift
[16/34] Compiling PropertyTracerSupport PropertyAccess.swift
/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.1 wasm