The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PackageConfig, reference 1.1.3 (585231), with Swift 6.1 for Wasm on 28 May 2025 04:07:25 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.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/shibapm/packageconfig.git
Reference: 1.1.3
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/shibapm/packageconfig
 * tag               1.1.3      -> FETCH_HEAD
HEAD is now at 5852319 Merge pull request #27 from minuscorp/rename-example-product
Cloned https://github.com/shibapm/packageconfig.git
Revision (git rev-parse @):
58523193c26fb821ed1720dcd8a21009055c7cdb
SUCCESS checkout https://github.com/shibapm/packageconfig.git at 1.1.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/shibapm/packageconfig.git
https://github.com/shibapm/packageconfig.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PackageConfig",
  "name" : "PackageConfig",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PackageConfig",
      "targets" : [
        "PackageConfig"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "package-config",
      "targets" : [
        "PackageConfigExecutable"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ExampleConfig",
      "targets" : [
        "ExampleConfig"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "package-config-example",
      "targets" : [
        "ExampleMain"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PackageConfigs",
      "module_type" : "SwiftTarget",
      "name" : "PackageConfigs",
      "path" : "Sources/PackageConfigs",
      "sources" : [
        "PackageConfigs.swift"
      ],
      "target_dependencies" : [
        "ExampleConfig"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PackageConfigExecutable",
      "module_type" : "SwiftTarget",
      "name" : "PackageConfigExecutable",
      "path" : "Sources/PackageConfigExecutable",
      "product_memberships" : [
        "package-config"
      ],
      "sources" : [
        "main.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "PackageConfig",
      "module_type" : "SwiftTarget",
      "name" : "PackageConfig",
      "path" : "Sources/PackageConfig",
      "product_memberships" : [
        "PackageConfig",
        "ExampleConfig",
        "package-config-example"
      ],
      "sources" : [
        "DynamicLibraries.swift",
        "Error.swift",
        "Loader.swift",
        "Package.swift",
        "PackageConfig.swift",
        "PackageConfiguration.swift",
        "Writer.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ExampleMain",
      "module_type" : "SwiftTarget",
      "name" : "ExampleMain",
      "path" : "Sources/ExampleMain",
      "product_memberships" : [
        "package-config-example"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "PackageConfig",
        "ExampleConfig"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ExampleConfig",
      "module_type" : "SwiftTarget",
      "name" : "ExampleConfig",
      "path" : "Sources/ExampleConfig",
      "product_memberships" : [
        "ExampleConfig",
        "package-config-example"
      ],
      "sources" : [
        "ExampleConfig.swift"
      ],
      "target_dependencies" : [
        "PackageConfig"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
Building for debugging...
[0/18] Write sources
[5/18] Write swift-version-24593BA9C3E375BF.txt
[7/28] Compiling PackageConfigExecutable main.swift
/host/spi-builder-workspace/Sources/PackageConfigExecutable/main.swift:2:14: error: class 'Process' does not exist in module 'Foundation'
 1 |
 2 | import class Foundation.Process
   |              `- error: class 'Process' does not exist in module 'Foundation'
 3 |
 4 | let process = Process()
/host/spi-builder-workspace/Sources/PackageConfigExecutable/main.swift:4:15: error: cannot find 'Process' in scope
 2 | import class Foundation.Process
 3 |
 4 | let process = Process()
   |               `- error: cannot find 'Process' in scope
 5 | let script =
 6 | """
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/28] Compiling PackageConfig Error.swift
[9/28] Emitting module PackageConfigExecutable
/host/spi-builder-workspace/Sources/PackageConfigExecutable/main.swift:2:14: error: class 'Process' does not exist in module 'Foundation'
 1 |
 2 | import class Foundation.Process
   |              `- error: class 'Process' does not exist in module 'Foundation'
 3 |
 4 | let process = Process()
/host/spi-builder-workspace/Sources/PackageConfigExecutable/main.swift:4:15: error: cannot find 'Process' in scope
 2 | import class Foundation.Process
 3 |
 4 | let process = Process()
   |               `- error: cannot find 'Process' in scope
 5 | let script =
 6 | """
[10/28] Compiling PackageConfig PackageConfiguration.swift
/host/spi-builder-workspace/Sources/PackageConfig/PackageConfiguration.swift:4:23: warning: static property 'fileName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | public struct PackageConfiguration: PackageConfig {
  4 |     public static var fileName: String = "package-config"
    |                       |- warning: static property 'fileName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'fileName' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'fileName' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  5 |
  6 |     public let configuration: [String: Any]
[11/28] Compiling PackageConfig Writer.swift
[12/28] Compiling PackageConfig PackageConfig.swift
[13/28] Compiling PackageConfig Loader.swift
[14/28] Compiling PackageConfig Package.swift
/host/spi-builder-workspace/Sources/PackageConfig/Package.swift:10:23: error: cannot find 'Process' in scope
  8 |         let swiftC = try runXCRun(tool: "swiftc")
  9 |         #endif
 10 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
 11 |         let linkedLibraries = try libraryLinkingArguments()
 12 |         var arguments = [String]()
/host/spi-builder-workspace/Sources/PackageConfig/Package.swift:53:27: error: cannot find 'Process' in scope
 51 |         if FileManager.default.fileExists(atPath: currentDirectory + "/Package") {
 52 |             debugLog("Running Package binary")
 53 |             let process = Process()
    |                           `- error: cannot find 'Process' in scope
 54 |             let pipe = Pipe()
 55 |
/host/spi-builder-workspace/Sources/PackageConfig/Package.swift:69:23: error: cannot find 'Process' in scope
 67 |
 68 |     static private func runXCRun(tool: String) throws -> String {
 69 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
 70 |         let pipe = Pipe()
 71 |
/host/spi-builder-workspace/Sources/PackageConfig/Package.swift:85:23: error: cannot find 'Process' in scope
 83 |
 84 |     private static func findPath(tool: String) -> String {
 85 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
 86 |         let pipe = Pipe()
 87 |
/host/spi-builder-workspace/Sources/PackageConfig/Package.swift:221:23: error: cannot find 'Process' in scope
219 |     private static func findSDKPath() -> String {
220 |         // xcrun --show-sdk-path
221 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
222 |         let pipe = Pipe()
223 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/28] Emitting module PackageConfig
/host/spi-builder-workspace/Sources/PackageConfig/DynamicLibraries.swift:2:14: error: class 'Process' does not exist in module 'Foundation'
 1 |
 2 | import class Foundation.Process
   |              `- error: class 'Process' does not exist in module 'Foundation'
 3 | import class Foundation.Pipe
 4 | import class Foundation.NSRegularExpression
/host/spi-builder-workspace/Sources/PackageConfig/PackageConfiguration.swift:4:23: warning: static property 'fileName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | public struct PackageConfiguration: PackageConfig {
  4 |     public static var fileName: String = "package-config"
    |                       |- warning: static property 'fileName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'fileName' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'fileName' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  5 |
  6 |     public let configuration: [String: Any]
/host/spi-builder-workspace/Sources/PackageConfig/DynamicLibraries.swift:2:14: error: class 'Process' does not exist in module 'Foundation'
 1 |
 2 | import class Foundation.Process
   |              `- error: class 'Process' does not exist in module 'Foundation'
 3 | import class Foundation.Pipe
 4 | import class Foundation.NSRegularExpression
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/23] Emitting module PackageConfigExecutable
/host/spi-builder-workspace/Sources/PackageConfigExecutable/main.swift:2:14: error: class 'Process' does not exist in module 'Foundation'
 1 |
 2 | import class Foundation.Process
   |              `- error: class 'Process' does not exist in module 'Foundation'
 3 |
 4 | let process = Process()
/host/spi-builder-workspace/Sources/PackageConfigExecutable/main.swift:4:15: error: cannot find 'Process' in scope
 2 | import class Foundation.Process
 3 |
 4 | let process = Process()
   |               `- error: cannot find 'Process' in scope
 5 | let script =
 6 | """
[3/23] Compiling PackageConfigExecutable main.swift
/host/spi-builder-workspace/Sources/PackageConfigExecutable/main.swift:2:14: error: class 'Process' does not exist in module 'Foundation'
 1 |
 2 | import class Foundation.Process
   |              `- error: class 'Process' does not exist in module 'Foundation'
 3 |
 4 | let process = Process()
/host/spi-builder-workspace/Sources/PackageConfigExecutable/main.swift:4:15: error: cannot find 'Process' in scope
 2 | import class Foundation.Process
 3 |
 4 | let process = Process()
   |               `- error: cannot find 'Process' in scope
 5 | let script =
 6 | """
[4/23] Compiling PackageConfig Writer.swift
[5/23] Compiling PackageConfig PackageConfig.swift
[6/23] Compiling PackageConfig PackageConfiguration.swift
[7/23] Compiling PackageConfig Loader.swift
[8/23] Compiling PackageConfig Package.swift
/host/spi-builder-workspace/Sources/PackageConfig/Package.swift:10:23: error: cannot find 'Process' in scope
  8 |         let swiftC = try runXCRun(tool: "swiftc")
  9 |         #endif
 10 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
 11 |         let linkedLibraries = try libraryLinkingArguments()
 12 |         var arguments = [String]()
/host/spi-builder-workspace/Sources/PackageConfig/Package.swift:53:27: error: cannot find 'Process' in scope
 51 |         if FileManager.default.fileExists(atPath: currentDirectory + "/Package") {
 52 |             debugLog("Running Package binary")
 53 |             let process = Process()
    |                           `- error: cannot find 'Process' in scope
 54 |             let pipe = Pipe()
 55 |
/host/spi-builder-workspace/Sources/PackageConfig/Package.swift:69:23: error: cannot find 'Process' in scope
 67 |
 68 |     static private func runXCRun(tool: String) throws -> String {
 69 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
 70 |         let pipe = Pipe()
 71 |
/host/spi-builder-workspace/Sources/PackageConfig/Package.swift:85:23: error: cannot find 'Process' in scope
 83 |
 84 |     private static func findPath(tool: String) -> String {
 85 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
 86 |         let pipe = Pipe()
 87 |
/host/spi-builder-workspace/Sources/PackageConfig/Package.swift:221:23: error: cannot find 'Process' in scope
219 |     private static func findSDKPath() -> String {
220 |         // xcrun --show-sdk-path
221 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
222 |         let pipe = Pipe()
223 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/23] Compiling PackageConfig Error.swift
[10/23] Emitting module PackageConfig
/host/spi-builder-workspace/Sources/PackageConfig/DynamicLibraries.swift:2:14: error: class 'Process' does not exist in module 'Foundation'
 1 |
 2 | import class Foundation.Process
   |              `- error: class 'Process' does not exist in module 'Foundation'
 3 | import class Foundation.Pipe
 4 | import class Foundation.NSRegularExpression
/host/spi-builder-workspace/Sources/PackageConfig/DynamicLibraries.swift:2:14: error: class 'Process' does not exist in module 'Foundation'
 1 |
 2 | import class Foundation.Process
   |              `- error: class 'Process' does not exist in module 'Foundation'
 3 | import class Foundation.Pipe
 4 | import class Foundation.NSRegularExpression
BUILD FAILURE 6.1 wasm