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 swifttz, reference 0.2.4 (cccb66), with Swift 6.1 for Wasm on 7 Jun 2025 08:07:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/vamsii777/SwiftTZ.git
Reference: 0.2.4
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/vamsii777/SwiftTZ
 * tag               0.2.4      -> FETCH_HEAD
HEAD is now at cccb663 [Automated] Update Time Zone Database (#14)
Cloned https://github.com/vamsii777/SwiftTZ.git
Revision (git rev-parse @):
cccb66333b4c99d07c492589d2200e11c089850e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vamsii777/SwiftTZ.git at 0.2.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vamsii777/SwiftTZ.git
https://github.com/vamsii777/SwiftTZ.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swifttz",
  "name" : "swifttz",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "16.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftTZ",
      "targets" : [
        "SwiftTZ"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftTZGenerator",
      "targets" : [
        "SwiftTZGenerator"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftTZTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftTZTests",
      "path" : "Tests/SwiftTZTests",
      "sources" : [
        "TimeZoneTests.swift"
      ],
      "target_dependencies" : [
        "SwiftTZ"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftTZGenerator",
      "module_type" : "SwiftTarget",
      "name" : "SwiftTZGenerator",
      "path" : "Sources/SwiftTZGenerator",
      "product_memberships" : [
        "SwiftTZGenerator"
      ],
      "sources" : [
        "PKLGenerator.swift",
        "TZDBParser.swift",
        "main.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftTZ",
      "module_type" : "SwiftTarget",
      "name" : "SwiftTZ",
      "path" : "Sources/SwiftTZ",
      "product_memberships" : [
        "SwiftTZ"
      ],
      "sources" : [
        "TimeZone.swift",
        "TimeZoneIdentifier.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 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/6] Write sources
[2/6] Write swift-version-24593BA9C3E375BF.txt
[4/13] Compiling SwiftTZ TimeZone.swift
[5/13] Emitting module SwiftTZ
[6/13] Compiling SwiftTZ TimeZoneIdentifier.swift
[7/14] Compiling SwiftTZGenerator PKLGenerator.swift
[8/14] Compiling SwiftTZGenerator TZDBParser.swift
[9/14] Emitting module SwiftTZGenerator
[10/14] Compiling SwiftTZGenerator main.swift
/host/spi-builder-workspace/Sources/SwiftTZGenerator/main.swift:142:23: error: cannot find 'Process' in scope
140 |
141 |         // Generate JSON using pkl eval
142 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
143 |         process.currentDirectoryPath = FileManager.default.currentDirectoryPath
144 |         process.executableURL = URL(fileURLWithPath: pklExecutable)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/4] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling SwiftTZGenerator TZDBParser.swift
[3/11] Compiling SwiftTZGenerator PKLGenerator.swift
[4/11] Emitting module SwiftTZGenerator
[5/11] Compiling SwiftTZGenerator main.swift
/host/spi-builder-workspace/Sources/SwiftTZGenerator/main.swift:142:23: error: cannot find 'Process' in scope
140 |
141 |         // Generate JSON using pkl eval
142 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
143 |         process.currentDirectoryPath = FileManager.default.currentDirectoryPath
144 |         process.executableURL = URL(fileURLWithPath: pklExecutable)
[6/11] Compiling SwiftTZ TimeZone.swift
BUILD FAILURE 6.1 wasm