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 Stringly, reference master (fc029f), with Swift 6.1 for Wasm on 28 May 2025 02:34:39 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/yonaskolb/Stringly.git
Reference: master
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/yonaskolb/Stringly
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at fc029f5 remove git files
Cloned https://github.com/yonaskolb/Stringly.git
Revision (git rev-parse @):
fc029f5358cbbbc4fbf20c006ca5ce30cb9021c9
SUCCESS checkout https://github.com/yonaskolb/Stringly.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/yonaskolb/Stringly.git
https://github.com/yonaskolb/Stringly.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    },
    {
      "identity" : "swiftcli",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.3",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jakeheis/SwiftCLI"
    },
    {
      "identity" : "tomldeserializer",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.4",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dduan/TOMLDeserializer"
    },
    {
      "identity" : "codability",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/yonaskolb/Codability"
    }
  ],
  "manifest_display_name" : "Stringly",
  "name" : "Stringly",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "stringly",
      "targets" : [
        "Stringly"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "StringlyKit",
      "targets" : [
        "StringlyKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "StringlyKitTests",
      "module_type" : "SwiftTarget",
      "name" : "StringlyKitTests",
      "path" : "Tests/StringlyKitTests",
      "product_dependencies" : [
        "PathKit"
      ],
      "sources" : [
        "StringlyKitTests.swift"
      ],
      "target_dependencies" : [
        "StringlyKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "StringlyKit",
      "module_type" : "SwiftTarget",
      "name" : "StringlyKit",
      "path" : "Sources/StringlyKit",
      "product_dependencies" : [
        "Codability"
      ],
      "product_memberships" : [
        "stringly",
        "StringlyKit"
      ],
      "sources" : [
        "Generator.swift",
        "Generators/StringsDictGenerator.swift",
        "Generators/StringsGenerator.swift",
        "Generators/SwiftGenerator.swift",
        "StringGroup.swift",
        "StringLocalization.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "StringlyCLITests",
      "module_type" : "SwiftTarget",
      "name" : "StringlyCLITests",
      "path" : "Tests/StringlyCLITests",
      "product_dependencies" : [
        "PathKit"
      ],
      "sources" : [
        "StringDiff.swift",
        "StringlyCLITests.swift",
        "TestHelpers.swift"
      ],
      "target_dependencies" : [
        "StringlyCLI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "StringlyCLI",
      "module_type" : "SwiftTarget",
      "name" : "StringlyCLI",
      "path" : "Sources/StringlyCLI",
      "product_dependencies" : [
        "Yams",
        "Rainbow",
        "SwiftCLI",
        "PathKit",
        "TOMLDeserializer"
      ],
      "product_memberships" : [
        "stringly"
      ],
      "sources" : [
        "CLI.swift",
        "Commands/GenerateCommand.swift",
        "Commands/GenerateFileCommand.swift",
        "FileType.swift",
        "FileWriter.swift",
        "GenerateError.swift",
        "Loader.swift",
        "PlatformType.swift"
      ],
      "target_dependencies" : [
        "StringlyKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Stringly",
      "module_type" : "SwiftTarget",
      "name" : "Stringly",
      "path" : "Sources/Stringly",
      "product_memberships" : [
        "stringly"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "StringlyCLI"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.1"
}
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/dduan/TOMLDeserializer
Fetching https://github.com/yonaskolb/Codability
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/jakeheis/SwiftCLI
[1/126] Fetching codability
[3/5200] Fetching codability, swiftcli
[308/6003] Fetching codability, swiftcli, tomldeserializer
[1140/7199] Fetching codability, swiftcli, tomldeserializer, rainbow
[4337/8610] Fetching codability, swiftcli, tomldeserializer, rainbow, pathkit
[6799/19267] Fetching codability, swiftcli, tomldeserializer, rainbow, pathkit, yams
[7674/19141] Fetching swiftcli, tomldeserializer, rainbow, pathkit, yams
Fetched https://github.com/yonaskolb/Codability from cache (0.31s)
Fetched https://github.com/onevcat/Rainbow from cache (0.34s)
[7715/17945] Fetching swiftcli, tomldeserializer, pathkit, yams
Fetched https://github.com/dduan/TOMLDeserializer from cache (2.59s)
Fetched https://github.com/kylef/PathKit from cache (2.59s)
Fetched https://github.com/jakeheis/SwiftCLI from cache (2.59s)
Fetched https://github.com/jpsim/Yams from cache (2.63s)
Computing version for https://github.com/yonaskolb/Codability
Computed https://github.com/yonaskolb/Codability at 0.2.1 (5.08s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 6.0.3 (0.62s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (2.67s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.31s)
Computing version for https://github.com/dduan/TOMLDeserializer
Computed https://github.com/dduan/TOMLDeserializer at 0.2.5 (0.97s)
Fetching https://github.com/dduan/NetTime
[1/411] Fetching nettime
Fetched https://github.com/dduan/NetTime from cache (0.34s)
Computing version for https://github.com/dduan/NetTime
Computed https://github.com/dduan/NetTime at 0.2.3 (1.28s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.00s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 1.0.2 (1.10s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (1.27s)
Creating working copy for https://github.com/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 6.0.3
Creating working copy for https://github.com/dduan/TOMLDeserializer
Working copy of https://github.com/dduan/TOMLDeserializer resolved at 0.2.5
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Creating working copy for https://github.com/yonaskolb/Codability
Working copy of https://github.com/yonaskolb/Codability resolved at 0.2.1
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 1.0.2
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Creating working copy for https://github.com/dduan/NetTime
Working copy of https://github.com/dduan/NetTime resolved at 0.2.3
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Building for debugging...
[0/29] Write sources
[10/29] Compiling writer.c
[11/29] Compiling reader.c
[12/29] Compiling parser.c
[13/29] Compiling api.c
[14/29] Write swift-version-24593BA9C3E375BF.txt
[15/29] Compiling emitter.c
[16/78] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/93] Emitting module NetTime
/host/spi-builder-workspace/.build/checkouts/NetTime/Sources/NetTime/DateTime.swift:99:8: error: no such module 'Darwin'
 97 | import Glibc
 98 | #else
 99 | import Darwin
    |        `- error: no such module 'Darwin'
100 | #endif
101 |
[19/93] Emitting module Rainbow
[20/94] Emitting module Yams
[21/96] Compiling NetTime LocalDateTime.swift
/host/spi-builder-workspace/.build/checkouts/NetTime/Sources/NetTime/DateTime.swift:99:8: error: no such module 'Darwin'
 97 | import Glibc
 98 | #else
 99 | import Darwin
    |        `- error: no such module 'Darwin'
100 | #endif
101 |
[22/96] Compiling NetTime DateTimeRepresentable.swift
/host/spi-builder-workspace/.build/checkouts/NetTime/Sources/NetTime/DateTime.swift:99:8: error: no such module 'Darwin'
 97 | import Glibc
 98 | #else
 99 | import Darwin
    |        `- error: no such module 'Darwin'
100 | #endif
101 |
[23/96] Compiling Yams Emitter.swift
[24/96] Compiling Yams Encoder.swift
[25/96] Compiling Rainbow Style.swift
[26/96] Compiling Rainbow XcodeColorsSupport.swift
[27/96] Compiling Rainbow StringGenerator.swift
[28/96] Compiling Yams Constructor.swift
[29/96] Compiling Yams Decoder.swift
[30/96] Compiling Rainbow String+Rainbow.swift
[31/96] Compiling NetTime LocalDate.swift
/host/spi-builder-workspace/.build/checkouts/NetTime/Sources/NetTime/DateTime.swift:99:8: error: no such module 'Darwin'
 97 | import Glibc
 98 | #else
 99 | import Darwin
    |        `- error: no such module 'Darwin'
100 | #endif
101 |
[32/96] Compiling NetTime constants.swift
/host/spi-builder-workspace/.build/checkouts/NetTime/Sources/NetTime/DateTime.swift:99:8: error: no such module 'Darwin'
 97 | import Glibc
 98 | #else
 99 | import Darwin
    |        `- error: no such module 'Darwin'
100 | #endif
101 |
[33/96] Compiling NetTime DateTime.swift
/host/spi-builder-workspace/.build/checkouts/NetTime/Sources/NetTime/DateTime.swift:99:8: error: no such module 'Darwin'
 97 | import Glibc
 98 | #else
 99 | import Darwin
    |        `- error: no such module 'Darwin'
100 | #endif
101 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[35/96] Compiling Yams Mark.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[36/96] Compiling Yams Node.Mapping.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[37/96] Compiling NetTime LocalTime.swift
/host/spi-builder-workspace/.build/checkouts/NetTime/Sources/NetTime/DateTime.swift:99:8: error: no such module 'Darwin'
 97 | import Glibc
 98 | #else
 99 | import Darwin
    |        `- error: no such module 'Darwin'
100 | #endif
101 |
[38/97] Compiling NetTime TimeOffset.swift
/host/spi-builder-workspace/.build/checkouts/NetTime/Sources/NetTime/DateTime.swift:99:8: error: no such module 'Darwin'
 97 | import Glibc
 98 | #else
 99 | import Darwin
    |        `- error: no such module 'Darwin'
100 | #endif
101 |
[39/97] Compiling Yams YamlError.swift
[40/97] Compiling Yams shim.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/98] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
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
Building for debugging...
[0/13] Write swift-version-24593BA9C3E375BF.txt
[2/77] Compiling NetTime constants.swift
/host/spi-builder-workspace/.build/checkouts/NetTime/Sources/NetTime/DateTime.swift:99:8: error: no such module 'Darwin'
 97 | import Glibc
 98 | #else
 99 | import Darwin
    |        `- error: no such module 'Darwin'
100 | #endif
101 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/77] Emitting module NetTime
/host/spi-builder-workspace/.build/checkouts/NetTime/Sources/NetTime/DateTime.swift:99:8: error: no such module 'Darwin'
 97 | import Glibc
 98 | #else
 99 | import Darwin
    |        `- error: no such module 'Darwin'
100 | #endif
101 |
[4/77] Compiling NetTime TimeOffset.swift
/host/spi-builder-workspace/.build/checkouts/NetTime/Sources/NetTime/DateTime.swift:99:8: error: no such module 'Darwin'
 97 | import Glibc
 98 | #else
 99 | import Darwin
    |        `- error: no such module 'Darwin'
100 | #endif
101 |
[5/77] Compiling Rainbow Style.swift
[6/78] Compiling NetTime LocalTime.swift
/host/spi-builder-workspace/.build/checkouts/NetTime/Sources/NetTime/DateTime.swift:99:8: error: no such module 'Darwin'
 97 | import Glibc
 98 | #else
 99 | import Darwin
    |        `- error: no such module 'Darwin'
100 | #endif
101 |
[7/78] Compiling NetTime LocalDateTime.swift
/host/spi-builder-workspace/.build/checkouts/NetTime/Sources/NetTime/DateTime.swift:99:8: error: no such module 'Darwin'
 97 | import Glibc
 98 | #else
 99 | import Darwin
    |        `- error: no such module 'Darwin'
100 | #endif
101 |
[8/78] Emitting module Rainbow
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/78] Emitting module SwiftCLI
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[10/80] Compiling Rainbow ControlCode.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[11/80] Compiling Rainbow ModesExtractor.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[12/80] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[13/80] Compiling NetTime DateTimeRepresentable.swift
/host/spi-builder-workspace/.build/checkouts/NetTime/Sources/NetTime/DateTime.swift:99:8: error: no such module 'Darwin'
 97 | import Glibc
 98 | #else
 99 | import Darwin
    |        `- error: no such module 'Darwin'
100 | #endif
101 |
[14/80] Compiling NetTime LocalDate.swift
/host/spi-builder-workspace/.build/checkouts/NetTime/Sources/NetTime/DateTime.swift:99:8: error: no such module 'Darwin'
 97 | import Glibc
 98 | #else
 99 | import Darwin
    |        `- error: no such module 'Darwin'
100 | #endif
101 |
[15/80] Compiling NetTime DateTime.swift
/host/spi-builder-workspace/.build/checkouts/NetTime/Sources/NetTime/DateTime.swift:99:8: error: no such module 'Darwin'
 97 | import Glibc
 98 | #else
 99 | import Darwin
    |        `- error: no such module 'Darwin'
100 | #endif
101 |
[16/80] Compiling Rainbow StringGenerator.swift
BUILD FAILURE 6.1 wasm