The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Archery, reference 0.3.3 (d71927), with Swift 6.1 for Wasm on 28 May 2025 10:15:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/vknabel/archery.git
Reference: 0.3.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/vknabel/archery
 * tag               0.3.3      -> FETCH_HEAD
HEAD is now at d719271 Merge pull request #12 from vknabel/release/0.3.3
Cloned https://github.com/vknabel/archery.git
Revision (git rev-parse @):
d71927174f14bebf04237e870b8fd4dd4dd4c1c2
SUCCESS checkout https://github.com/vknabel/archery.git at 0.3.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vknabel/archery.git
https://github.com/vknabel/archery.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.1",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "Archery",
  "name" : "Archery",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "archery",
      "targets" : [
        "Archery"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ArcheryKit",
      "targets" : [
        "ArcheryKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ArcheryInterface",
      "targets" : [
        "ArcheryInterface"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ArcheryKitTests",
      "module_type" : "SwiftTarget",
      "name" : "ArcheryKitTests",
      "path" : "Tests/ArcheryKitTests",
      "sources" : [
        "ArcherfileParsingTests.swift",
        "ArcheryKitTests.swift",
        "ArcheryTests.swift",
        "MetadataTests.swift",
        "ScriptParsingTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ArcheryKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ArcheryKit",
      "module_type" : "SwiftTarget",
      "name" : "ArcheryKit",
      "path" : "Sources/ArcheryKit",
      "product_dependencies" : [
        "Yams"
      ],
      "product_memberships" : [
        "archery",
        "ArcheryKit",
        "ArcheryInterface"
      ],
      "sources" : [
        "Archerfile.swift",
        "Archery.swift",
        "ArcheryError.swift",
        "ExecutionContext.swift",
        "LabeledScript.swift",
        "LegacyScript.swift",
        "Metadata.swift",
        "OfferingMetadata.swift",
        "Path.swift",
        "ProcessScheduler.swift",
        "RawDataFormat.swift",
        "Script.swift",
        "ScriptExecution.swift",
        "Version.generated.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ArcheryInterfaceTests",
      "module_type" : "SwiftTarget",
      "name" : "ArcheryInterfaceTests",
      "path" : "Tests/ArcheryInterfaceTests",
      "sources" : [
        "ArcheryInterfaceTests.swift",
        "InitCommandTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ArcheryInterface"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ArcheryInterface",
      "module_type" : "SwiftTarget",
      "name" : "ArcheryInterface",
      "path" : "Sources/ArcheryInterface",
      "product_memberships" : [
        "archery",
        "ArcheryInterface"
      ],
      "sources" : [
        "ArcheryInterface.swift",
        "Command.swift",
        "Commands/ApiLevelCommand.swift",
        "Commands/ExecutionCommand.swift",
        "Commands/HelpCommand.swift",
        "Commands/InitCommand.swift",
        "Commands/VersionCommand.swift",
        "InitCommand+Contents.swift"
      ],
      "target_dependencies" : [
        "ArcheryKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Archery",
      "module_type" : "SwiftTarget",
      "name" : "Archery",
      "path" : "Sources/Archery",
      "product_memberships" : [
        "archery"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ArcheryInterface"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.4"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -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/jpsim/Yams.git
[1/10657] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (2.08s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (3.12s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Building for debugging...
[0/17] Write sources
[4/17] Compiling reader.c
[5/17] Compiling writer.c
[6/17] Compiling parser.c
[7/17] Compiling api.c
[8/17] Compiling emitter.c
[9/17] Write swift-version-24593BA9C3E375BF.txt
[10/17] Compiling scanner.c
[12/37] Emitting module Yams
[13/39] Compiling Yams Tag.swift
[14/39] Compiling Yams YamlAnchorProviding.swift
[15/39] Compiling Yams YamlError.swift
[16/39] Compiling Yams YamlTagProviding.swift
[17/39] Compiling Yams Decoder.swift
[18/39] Compiling Yams Emitter.swift
[19/39] Compiling Yams Encoder.swift
[20/39] Compiling Yams Mark.swift
[21/39] Compiling Yams Node.Alias.swift
[22/39] Compiling Yams Node.Mapping.swift
[23/39] Compiling Yams Parser.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[24/39] Compiling Yams RedundancyAliasingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[25/39] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[26/39] Compiling Yams Node.Scalar.swift
[27/39] Compiling Yams Node.Sequence.swift
[28/39] Compiling Yams Node.swift
[29/39] Compiling Yams Resolver.swift
[30/39] Compiling Yams String+Yams.swift
[31/39] Compiling Yams AliasDereferencingStrategy.swift
[32/39] Compiling Yams Anchor.swift
[33/39] Compiling Yams Constructor.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/7] Write swift-version-24593BA9C3E375BF.txt
[2/27] Compiling Yams Tag.swift
[3/27] Compiling Yams YamlAnchorProviding.swift
[4/29] Compiling Yams Parser.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[5/29] Compiling Yams RedundancyAliasingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[6/29] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[7/29] Compiling Yams Resolver.swift
[8/29] Compiling Yams String+Yams.swift
[9/29] Emitting module Yams
[10/29] Compiling Yams YamlError.swift
[11/29] Compiling Yams YamlTagProviding.swift
[12/29] Compiling Yams Node.Scalar.swift
[13/29] Compiling Yams Node.Sequence.swift
[14/29] Compiling Yams Node.swift
[15/29] Compiling Yams Mark.swift
[16/29] Compiling Yams Node.Alias.swift
[17/29] Compiling Yams Node.Mapping.swift
[18/29] Compiling Yams AliasDereferencingStrategy.swift
[19/29] Compiling Yams Anchor.swift
[20/29] Compiling Yams Constructor.swift
[21/29] Compiling Yams Decoder.swift
[22/29] Compiling Yams Emitter.swift
[23/29] Compiling Yams Encoder.swift
BUILD FAILURE 6.1 wasm