The Swift Package Index logo.Swift Package Index

Build Information

Failed to build stringray, reference main (0705ed), with Swift 6.1 for Wasm on 27 May 2025 08:21:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/g-off/stringray.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/g-off/stringray
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0705ed8 Merge pull request #14 from g-Off/github-ci
Cloned https://github.com/g-off/stringray.git
Revision (git rev-parse @):
0705ed8b0fe250d54735b65bb668e0cf16e87c69
SUCCESS checkout https://github.com/g-off/stringray.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/g-off/stringray.git
https://github.com/g-off/stringray.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "swiftytexttable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/scottrhoyt/SwiftyTextTable.git"
    },
    {
      "identity" : "xcodeproject",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0-alpha.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/g-Off/XcodeProject.git"
    },
    {
      "identity" : "commandregistry",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/g-Off/CommandRegistry.git"
    },
    {
      "identity" : "swift-package-manager",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-package-manager.git"
    }
  ],
  "manifest_display_name" : "stringray",
  "name" : "stringray",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "stringray",
      "targets" : [
        "stringray"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "RayGun",
      "targets" : [
        "RayGun"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "stringrayTests",
      "module_type" : "SwiftTarget",
      "name" : "stringrayTests",
      "path" : "Tests/stringrayTests",
      "sources" : [
        "LinterTests.swift",
        "XCTestManifests.swift",
        "stringrayTests.swift"
      ],
      "target_dependencies" : [
        "RayGun"
      ],
      "type" : "test"
    },
    {
      "c99name" : "stringray",
      "module_type" : "SwiftTarget",
      "name" : "stringray",
      "path" : "Sources/stringray",
      "product_dependencies" : [
        "CommandRegistry",
        "SwiftyTextTable",
        "XcodeProject",
        "Utility",
        "Yams"
      ],
      "product_memberships" : [
        "stringray"
      ],
      "sources" : [
        "Commands/CopyCommand.swift",
        "Commands/LintCommand.swift",
        "Commands/MoveCommand.swift",
        "Commands/RenameCommand.swift",
        "Commands/SortCommand.swift",
        "Reporters/ConsoleReporter.swift",
        "Reporters/XcodeReporter.swift",
        "Version.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "RayGun"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "RayGun",
      "module_type" : "SwiftTarget",
      "name" : "RayGun",
      "path" : "Sources/RayGun",
      "product_memberships" : [
        "stringray",
        "RayGun"
      ],
      "sources" : [
        "Extensions/URL+Extensions.swift",
        "Lint Rules/LintRule.swift",
        "Lint Rules/Linter.swift",
        "Lint Rules/MissingCommentLintRule.swift",
        "Lint Rules/MissingLocalizationLintRule.swift",
        "Lint Rules/MissingPlaceholderLintRule.swift",
        "Lint Rules/OrphanedLocalizationLintRule.swift",
        "Reporters/Reporter.swift",
        "Strings Table/Cache/CachedStringsTable.swift",
        "Strings Table/Match.swift",
        "Strings Table/PlaceholderType.swift",
        "Strings Table/StringsTable+DictEntry.swift",
        "Strings Table/StringsTable+Entry.swift",
        "Strings Table/StringsTable.swift",
        "Strings Table/StringsTableLoader.swift",
        "Utilities/OrderedSet.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-package-manager.git
Fetching https://github.com/g-Off/CommandRegistry.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/g-Off/XcodeProject.git
[1/33] Fetching commandregistry
[2/962] Fetching commandregistry, swiftytexttable
[265/1575] Fetching commandregistry, swiftytexttable, xcodeproject
[1546/12222] Fetching commandregistry, swiftytexttable, xcodeproject, yams
Fetched https://github.com/g-Off/XcodeProject.git from cache (0.84s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.84s)
[962/10680] Fetching commandregistry, yams
[10651/164966] Fetching commandregistry, yams, swift-package-manager
Fetched https://github.com/g-Off/CommandRegistry.git from cache (9.95s)
Fetched https://github.com/jpsim/Yams.git from cache (10.00s)
Fetched https://github.com/apple/swift-package-manager.git from cache (10.20s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (10.74s)
Computing version for https://github.com/g-Off/CommandRegistry.git
Computed https://github.com/g-Off/CommandRegistry.git at 0.1.2 (0.47s)
Computing version for https://github.com/apple/swift-package-manager.git
Computed https://github.com/apple/swift-package-manager.git at 0.3.0 (4.16s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.54s)
Computing version for https://github.com/g-Off/XcodeProject.git
Computed https://github.com/g-Off/XcodeProject.git at 0.5.1 (0.50s)
Fetching https://github.com/g-Off/ObjectCoder.git
Fetching https://github.com/mxcl/Version.git
[1/288] Fetching version
[289/321] Fetching version, objectcoder
Fetched https://github.com/g-Off/ObjectCoder.git from cache (0.24s)
Fetched https://github.com/mxcl/Version.git from cache (0.24s)
Computing version for https://github.com/g-Off/ObjectCoder.git
Computed https://github.com/g-Off/ObjectCoder.git at 0.1.0 (0.76s)
Computing version for https://github.com/mxcl/Version.git
Computed https://github.com/mxcl/Version.git at 1.2.0 (1.98s)
Creating working copy for https://github.com/mxcl/Version.git
Working copy of https://github.com/mxcl/Version.git resolved at 1.2.0
Creating working copy for https://github.com/g-Off/XcodeProject.git
Working copy of https://github.com/g-Off/XcodeProject.git resolved at 0.5.1
Creating working copy for https://github.com/g-Off/CommandRegistry.git
Working copy of https://github.com/g-Off/CommandRegistry.git resolved at 0.1.2
Creating working copy for https://github.com/g-Off/ObjectCoder.git
Working copy of https://github.com/g-Off/ObjectCoder.git resolved at 0.1.0
Creating working copy for https://github.com/apple/swift-package-manager.git
Working copy of https://github.com/apple/swift-package-manager.git resolved at 0.3.0
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 1.0.2
Building for debugging...
[0/34] Write sources
[12/34] Compiling clibc libc.c
[13/34] Compiling reader.c
[14/34] Compiling writer.c
[15/34] Compiling parser.c
[16/34] Compiling emitter.c
[17/34] Compiling api.c
[18/34] Write swift-version-24593BA9C3E375BF.txt
[19/34] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/85] Emitting module SPMLibc
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/SPMLibc/libc.swift:14:19: error: no such module 'Darwin.C'
12 | @_exported import Glibc
13 | #else
14 | @_exported import Darwin.C
   |                   `- error: no such module 'Darwin.C'
15 | #endif
16 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "clibc.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[22/85] Compiling SPMLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/SPMLibc/libc.swift:14:19: error: no such module 'Darwin.C'
12 | @_exported import Glibc
13 | #else
14 | @_exported import Darwin.C
   |                   `- error: no such module 'Darwin.C'
15 | #endif
16 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "clibc.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[23/85] Compiling Version Version+Range.swift
[24/85] Emitting module Version
[25/85] Compiling Version Version.swift
[26/85] Compiling Yams Mark.swift
[27/85] Compiling Yams Node.Mapping.swift
[28/87] Emitting module SwiftyTextTable
[29/87] Compiling Version Version+Codable.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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/15] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/66] Emitting module SPMLibc
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/SPMLibc/libc.swift:14:19: error: no such module 'Darwin.C'
12 | @_exported import Glibc
13 | #else
14 | @_exported import Darwin.C
   |                   `- error: no such module 'Darwin.C'
15 | #endif
16 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "clibc.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[3/66] Compiling SPMLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/SPMLibc/libc.swift:14:19: error: no such module 'Darwin.C'
12 | @_exported import Glibc
13 | #else
14 | @_exported import Darwin.C
   |                   `- error: no such module 'Darwin.C'
15 | #endif
16 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "clibc.h"
  |          `- note: in file included from <module-includes>:1:
2 |
BUILD FAILURE 6.1 wasm