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 path-wrangler, reference 2.8.0 (5de674), with Swift 6.1 for Wasm on 31 May 2025 03:50:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/sersoft-gmbh/path-wrangler.git
Reference: 2.8.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/sersoft-gmbh/path-wrangler
 * tag               2.8.0      -> FETCH_HEAD
HEAD is now at 5de6741 Add Swift 6.1 support, drop Swift 5.9 support, update config files
Cloned https://github.com/sersoft-gmbh/path-wrangler.git
Revision (git rev-parse @):
5de67415729554b746dd7babd0ce68651aa0c462
SUCCESS checkout https://github.com/sersoft-gmbh/path-wrangler.git at 2.8.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sersoft-gmbh/path-wrangler.git
https://github.com/sersoft-gmbh/path-wrangler.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "swift-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-algorithms"
    }
  ],
  "manifest_display_name" : "path-wrangler",
  "name" : "path-wrangler",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CorePathWrangler",
      "targets" : [
        "CorePathWrangler"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PathWrangler",
      "targets" : [
        "PathWrangler"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PathWranglerTests",
      "module_type" : "SwiftTarget",
      "name" : "PathWranglerTests",
      "path" : "Tests/PathWranglerTests",
      "sources" : [
        "FileManager+PathProtocolTests.swift",
        "PathComponentConvertibleConformancesTests.swift",
        "URL+PathProtocolTests.swift"
      ],
      "target_dependencies" : [
        "PathWrangler"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PathWrangler",
      "module_type" : "SwiftTarget",
      "name" : "PathWrangler",
      "path" : "Sources/PathWrangler",
      "product_memberships" : [
        "PathWrangler"
      ],
      "sources" : [
        "Exports.swift",
        "FileManager+PathProtocol.swift",
        "PathComponentConvertibleConformances.swift",
        "URL+PathProtocol.swift"
      ],
      "target_dependencies" : [
        "CorePathWrangler"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CorePathWranglerTests",
      "module_type" : "SwiftTarget",
      "name" : "CorePathWranglerTests",
      "path" : "Tests/CorePathWranglerTests",
      "sources" : [
        "AbsolutePathTests.swift",
        "PathComponentConvertibleTests.swift",
        "PathElementTests.swift",
        "PathImplTests.swift",
        "PathProtocolTests.swift",
        "RelativePathTests.swift"
      ],
      "target_dependencies" : [
        "CorePathWrangler"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CorePathWrangler",
      "module_type" : "SwiftTarget",
      "name" : "CorePathWrangler",
      "path" : "Sources/CorePathWrangler",
      "product_dependencies" : [
        "Algorithms"
      ],
      "product_memberships" : [
        "CorePathWrangler",
        "PathWrangler"
      ],
      "sources" : [
        "AbsolutePath.swift",
        "PathComponentConvertible.swift",
        "PathElement.swift",
        "PathProtocol.swift",
        "RelativePath.swift",
        "_PathImpl.swift",
        "_PathProtocol.swift"
      ],
      "target_dependencies" : [
        "CPathWrangler"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CPathWrangler",
      "module_type" : "ClangTarget",
      "name" : "CPathWrangler",
      "path" : "Sources/CPathWrangler",
      "product_memberships" : [
        "CorePathWrangler",
        "PathWrangler"
      ],
      "sources" : [
        "pathhelpers.c",
        "stathelpers.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-algorithms
[1/2049] Fetching swift-docc-plugin
[247/8008] Fetching swift-docc-plugin, swift-algorithms
Fetched https://github.com/apple/swift-algorithms from cache (0.55s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.55s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (3.00s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.04s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.82s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.81s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3392] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.87s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (3.24s)
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/10] Write sources
[6/10] Compiling _NumericsShims _NumericsShims.c
/host/spi-builder-workspace/Sources/CPathWrangler/pathhelpers.c:6:10: fatal error: 'paths.h' file not found
    6 | #include <paths.h>
      |          ^~~~~~~~~
1 error generated.
[7/10] Compiling CPathWrangler pathhelpers.c
[7/10] Compiling CPathWrangler stathelpers.c
[7/10] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
/host/spi-builder-workspace/Sources/CPathWrangler/pathhelpers.c:6:10: fatal error: 'paths.h' file not found
    6 | #include <paths.h>
      |          ^~~~~~~~~
1 error generated.
[2/5] Compiling CPathWrangler pathhelpers.c
[2/5] Compiling CPathWrangler stathelpers.c
[2/5] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm