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 Rester, reference main (9015e6), with Swift 6.1 for Wasm on 28 May 2025 04:10:58 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/finestructure/Rester.git
Reference: main
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/finestructure/Rester
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9015e6f Merge pull request #108 from finestructure/pretty-print-log-json
Cloned https://github.com/finestructure/Rester.git
Revision (git rev-parse @):
9015e6fcffc8b1bd45fad82b38522700439d23f5
SUCCESS checkout https://github.com/finestructure/Rester.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/finestructure/Rester.git
https://github.com/finestructure/Rester.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "regex",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/crossroadlabs/Regex.git"
    },
    {
      "identity" : "valuecodable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/finestructure/ValueCodable"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "legibleerror",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/LegibleError.git"
    },
    {
      "identity" : "path.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/Path.swift.git"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow.git"
    },
    {
      "identity" : "swift-gen",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-gen.git"
    },
    {
      "identity" : "swift-snapshot-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
    }
  ],
  "manifest_display_name" : "Rester",
  "name" : "Rester",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "rester",
      "targets" : [
        "Rester"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ResterCore",
      "targets" : [
        "ResterCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ResterTests",
      "module_type" : "SwiftTarget",
      "name" : "ResterTests",
      "path" : "Tests/ResterTests",
      "product_dependencies" : [
        "SnapshotTesting"
      ],
      "sources" : [
        "Dictionary+extTests.swift",
        "ExampleTests.swift",
        "IssuesTests.swift",
        "LaunchTests.swift",
        "MatcherTests.swift",
        "ParameterTests.swift",
        "PathTests.swift",
        "RequestLoggingTests.swift",
        "RequestTests.swift",
        "RequestValidationTests.swift",
        "ResponseTests.swift",
        "ResterTests.swift",
        "RestfileTests.swift",
        "StatsTests.swift",
        "SubstitutableTests.swift",
        "TempDir.swift",
        "TestUtils.swift",
        "TestUtilsTests.swift",
        "UtilsTests.swift",
        "ValidationTests.swift",
        "ValueTests.swift"
      ],
      "target_dependencies" : [
        "ResterCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ResterCore",
      "module_type" : "SwiftTarget",
      "name" : "ResterCore",
      "path" : "Sources/ResterCore",
      "product_dependencies" : [
        "ArgumentParser",
        "Gen",
        "LegibleError",
        "Path",
        "Rainbow",
        "Regex",
        "ValueCodable",
        "Yams"
      ],
      "product_memberships" : [
        "rester",
        "ResterCore"
      ],
      "sources" : [
        "App.swift",
        "Body.swift",
        "Console.swift",
        "Extensions/Array+ext.swift",
        "Extensions/Collection+ext.swift",
        "Extensions/Data+ext.swift",
        "Extensions/Dictionary+ext.swift",
        "Extensions/Double+ext.swift",
        "Extensions/KeyedDecodingContainer+ext.swift",
        "Extensions/Numeric+ext.swift",
        "Extensions/Path+ext.swift",
        "Extensions/Sequence+async.swift",
        "Extensions/String+ext.swift",
        "Extensions/Value+ext.swift",
        "Matcher.swift",
        "Method.swift",
        "Multipart.swift",
        "OrderedDict.swift",
        "Parameter.swift",
        "Request.swift",
        "Response.swift",
        "Rester.swift",
        "ResterError.swift",
        "Restfile.swift",
        "Runner.swift",
        "Stats.swift",
        "StringCodingKeys.swift",
        "Substitutable.swift",
        "TestResult.swift",
        "URLEncoding.swift",
        "Utils.swift",
        "Validation.swift",
        "ValidationResult.swift",
        "Version.swift",
        "World.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Rester",
      "module_type" : "SwiftTarget",
      "name" : "Rester",
      "path" : "Sources/Rester",
      "product_memberships" : [
        "rester"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ResterCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.5"
}
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 -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/onevcat/Rainbow.git
Fetching https://github.com/mxcl/Path.swift.git
Fetching https://github.com/pointfreeco/swift-gen.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/mxcl/LegibleError.git
[1/1196] Fetching rainbow
[803/1374] Fetching rainbow, legibleerror
[1375/2086] Fetching rainbow, legibleerror, swift-gen
[2059/3145] Fetching rainbow, legibleerror, swift-gen, path.swift
[3146/13802] Fetching rainbow, legibleerror, swift-gen, path.swift, yams
Fetched https://github.com/onevcat/Rainbow.git from cache (0.36s)
Fetching https://github.com/finestructure/ValueCodable
[2376/12606] Fetching legibleerror, swift-gen, path.swift, yams
[3549/25788] Fetching legibleerror, swift-gen, path.swift, yams, swift-snapshot-testing
[6127/25963] Fetching legibleerror, swift-gen, path.swift, yams, swift-snapshot-testing, valuecodable
Fetched https://github.com/finestructure/ValueCodable from cache (0.35s)
Fetching https://github.com/crossroadlabs/Regex.git
[9135/25788] Fetching legibleerror, swift-gen, path.swift, yams, swift-snapshot-testing
[16826/27084] Fetching legibleerror, swift-gen, path.swift, yams, swift-snapshot-testing, regex
Fetched https://github.com/pointfreeco/swift-gen.git from cache (3.30s)
Fetched https://github.com/mxcl/Path.swift.git from cache (3.30s)
Fetched https://github.com/crossroadlabs/Regex.git from cache (2.58s)
Fetched https://github.com/mxcl/LegibleError.git from cache (3.30s)
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/jpsim/Yams.git from cache (3.36s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (3.39s)
[1/15351] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.97s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (4.88s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (2.31s)
Computing version for https://github.com/finestructure/ValueCodable
Computed https://github.com/finestructure/ValueCodable at 0.2.0 (0.68s)
Computing version for https://github.com/pointfreeco/swift-gen.git
Computed https://github.com/pointfreeco/swift-gen.git at 0.4.0 (0.84s)
Computing version for https://github.com/mxcl/LegibleError.git
Computed https://github.com/mxcl/LegibleError.git at 1.0.6 (0.74s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.77s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.61s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.4 (0.64s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.41s)
[1/70448] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (6.14s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (6.83s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5458] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.92s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (1.86s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.58s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 0.16.3 (2.59s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
Creating working copy for https://github.com/mxcl/Path.swift.git
Working copy of https://github.com/mxcl/Path.swift.git resolved at 0.16.3
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.4
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/mxcl/LegibleError.git
Working copy of https://github.com/mxcl/LegibleError.git resolved at 1.0.6
Creating working copy for https://github.com/crossroadlabs/Regex.git
Working copy of https://github.com/crossroadlabs/Regex.git resolved at 1.2.0
Creating working copy for https://github.com/finestructure/ValueCodable
Working copy of https://github.com/finestructure/ValueCodable resolved at 0.2.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/swift-gen.git
Working copy of https://github.com/pointfreeco/swift-gen.git resolved at 0.4.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/32] Write sources
[12/32] Compiling reader.c
[12/32] Compiling writer.c
[14/32] Compiling parser.c
[15/32] Compiling api.c
[16/32] Compiling emitter.c
[17/32] Write swift-version-24593BA9C3E375BF.txt
[18/32] Compiling scanner.c
[20/89] Compiling Regex String+Regex.swift
[21/90] Compiling Yams Mark.swift
[22/90] Compiling Yams Node.Mapping.swift
[23/92] Compiling Rainbow String+Rainbow.swift
[24/93] Compiling Rainbow Style.swift
[25/93] Compiling ArgumentParserToolInfo ToolInfo.swift
[26/93] Emitting module ArgumentParserToolInfo
[28/94] Compiling Rainbow StringGenerator.swift
[29/94] Compiling Gen AnyRandomNumberGenerator.swift
[30/94] Compiling Gen Gen.swift
[31/94] Compiling Gen Xoshiro.swift
[32/94] Compiling Gen LCRNG.swift
[33/94] Compiling Gen Zip.swift
[34/94] Emitting module Gen
[35/94] Compiling Gen UIKit.swift
[36/95] Compiling Rainbow XcodeColorsSupport.swift
[37/133] Wrapping AST for Gen for debugging
[39/133] Compiling ArgumentParser CommandConfiguration.swift
[40/133] Compiling ArgumentParser CommandGroup.swift
[40/133] Wrapping AST for ArgumentParserToolInfo for debugging
[42/133] Compiling Path Path->Bool.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path->Bool.swift:5:8: error: no such module 'Darwin'
 3 | import func Glibc.access
 4 | #else
 5 | import Darwin
   |        `- error: no such module 'Darwin'
 6 | #endif
 7 |
[43/134] Compiling LegibleError LegibleError.swift
/host/spi-builder-workspace/.build/checkouts/LegibleError/Sources/LegibleError.swift:63:45: error: cannot find 'object_getClassName' in scope
61 |         let foo: Any = self
62 |         let nativeClassNames = ["_SwiftNativeNSError", "__SwiftNativeNSError"]
63 |         let selfClassName = String(cString: object_getClassName(self))
   |                                             `- error: cannot find 'object_getClassName' in scope
64 |         let isNSError = !nativeClassNames.contains(selfClassName) && foo is NSObject
65 |         // ^^ ∵ otherwise implicit bridging implicitly casts as for other tests
[44/134] Emitting module LegibleError
[45/134] Compiling ArgumentParser OptionGroup.swift
[46/134] Compiling ArgumentParser AsyncParsableCommand.swift
[47/134] Compiling ValueCodable Value.swift
[48/134] Compiling ArgumentParser ArgumentVisibility.swift
[49/134] Compiling ArgumentParser CompletionKind.swift
[50/134] Compiling ArgumentParser FishCompletionsGenerator.swift
[51/134] Compiling ArgumentParser ZshCompletionsGenerator.swift
[52/134] Compiling ArgumentParser BashCompletionsGenerator.swift
[53/134] Compiling ArgumentParser CompletionsGenerator.swift
[54/134] Emitting module ValueCodable
[55/134] Emitting module Rainbow
[56/134] Compiling Regex MatchSequence.swift
[57/134] Emitting module Regex
[58/134] Emitting module Yams
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 GenerateManual
Building for debugging...
[1/15] Write swift-version-24593BA9C3E375BF.txt
[3/72] Compiling Gen LCRNG.swift
[4/72] Compiling Path Path->Bool.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path->Bool.swift:5:8: error: no such module 'Darwin'
 3 | import func Glibc.access
 4 | #else
 5 | import Darwin
   |        `- error: no such module 'Darwin'
 6 | #endif
 7 |
[5/73] Compiling LegibleError LegibleError.swift
/host/spi-builder-workspace/.build/checkouts/LegibleError/Sources/LegibleError.swift:63:45: error: cannot find 'object_getClassName' in scope
61 |         let foo: Any = self
62 |         let nativeClassNames = ["_SwiftNativeNSError", "__SwiftNativeNSError"]
63 |         let selfClassName = String(cString: object_getClassName(self))
   |                                             `- error: cannot find 'object_getClassName' in scope
64 |         let isNSError = !nativeClassNames.contains(selfClassName) && foo is NSObject
65 |         // ^^ ∵ otherwise implicit bridging implicitly casts as for other tests
[6/73] Compiling Gen UIKit.swift
[7/73] Compiling Gen Xoshiro.swift
[8/73] Compiling Path Path+Codable.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path->Bool.swift:5:8: error: no such module 'Darwin'
 3 | import func Glibc.access
 4 | #else
 5 | import Darwin
   |        `- error: no such module 'Darwin'
 6 | #endif
 7 |
[9/73] Emitting module LegibleError
[10/73] Compiling Path Path+CommonDirectories.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path->Bool.swift:5:8: error: no such module 'Darwin'
 3 | import func Glibc.access
 4 | #else
 5 | import Darwin
   |        `- error: no such module 'Darwin'
 6 | #endif
 7 |
[11/73] Compiling Rainbow Style.swift
[12/74] Compiling Regex MatchSequence.swift
[13/75] Compiling Path Path+FileManager.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path->Bool.swift:5:8: error: no such module 'Darwin'
 3 | import func Glibc.access
 4 | #else
 5 | import Darwin
   |        `- error: no such module 'Darwin'
 6 | #endif
 7 |
[14/75] Compiling Regex String+Regex.swift
[15/75] Compiling Path Path+StringConvertibles.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path->Bool.swift:5:8: error: no such module 'Darwin'
 3 | import func Glibc.access
 4 | #else
 5 | import Darwin
   |        `- error: no such module 'Darwin'
 6 | #endif
 7 |
[16/75] Compiling Path Path+ls.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path->Bool.swift:5:8: error: no such module 'Darwin'
 3 | import func Glibc.access
 4 | #else
 5 | import Darwin
   |        `- error: no such module 'Darwin'
 6 | #endif
 7 |
[17/75] Emitting module ArgumentParserToolInfo
[18/75] Compiling ValueCodable Utils.swift
[19/75] Emitting module ValueCodable
BUILD FAILURE 6.1 wasm