The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build PackageConfig, reference master (585231), with Swift 6.1 for Wasm on 28 May 2025 04:07:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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-4609320-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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/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 | """
[8/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 | """
[9/28] Compiling PackageConfig PackageConfig.swift
[10/28] Compiling PackageConfig Error.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 PackageConfig.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/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