The Swift Package Index logo.Swift Package Index

Build Information

Failed to build stringray, reference 0.4.0 (ee805f), with Swift 6.1 for Wasm on 27 May 2025 08:21:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/g-off/stringray.git
Reference: 0.4.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/g-off/stringray
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at ee805f8 allows sort to operate on a single locale instead of all
Cloned https://github.com/g-off/stringray.git
Revision (git rev-parse @):
ee805f8067165934b7b471e8001780873f181619
SUCCESS checkout https://github.com/g-off/stringray.git at 0.4.0
========================================
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-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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/g-Off/CommandRegistry.git
Fetching https://github.com/g-Off/XcodeProject.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-package-manager.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
[1/929] Fetching swiftytexttable
[206/962] Fetching swiftytexttable, commandregistry
[455/1575] Fetching swiftytexttable, commandregistry, xcodeproject
[1569/12222] Fetching swiftytexttable, commandregistry, xcodeproject, yams
Fetched https://github.com/g-Off/CommandRegistry.git from cache (0.29s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.29s)
[720/11260] Fetching xcodeproject, yams
[11261/165546] Fetching xcodeproject, yams, swift-package-manager
Fetched https://github.com/g-Off/XcodeProject.git from cache (10.82s)
Fetched https://github.com/jpsim/Yams.git from cache (10.89s)
Fetched https://github.com/apple/swift-package-manager.git from cache (11.19s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (14.57s)
Computing version for https://github.com/g-Off/CommandRegistry.git
Computed https://github.com/g-Off/CommandRegistry.git at 0.1.2 (0.78s)
Computing version for https://github.com/apple/swift-package-manager.git
Computed https://github.com/apple/swift-package-manager.git at 0.3.0 (1.94s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.50s)
Computing version for https://github.com/g-Off/XcodeProject.git
Computed https://github.com/g-Off/XcodeProject.git at 0.5.1 (1.39s)
Fetching https://github.com/mxcl/Version.git
Fetching https://github.com/g-Off/ObjectCoder.git
[1/288] Fetching version
[27/321] Fetching version, objectcoder
Fetched https://github.com/mxcl/Version.git from cache (0.26s)
Fetched https://github.com/g-Off/ObjectCoder.git from cache (0.26s)
Computing version for https://github.com/g-Off/ObjectCoder.git
Computed https://github.com/g-Off/ObjectCoder.git at 0.1.0 (0.88s)
Computing version for https://github.com/mxcl/Version.git
Computed https://github.com/mxcl/Version.git at 1.2.0 (2.28s)
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/XcodeProject.git
Working copy of https://github.com/g-Off/XcodeProject.git resolved at 0.5.1
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
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/mxcl/Version.git
Working copy of https://github.com/mxcl/Version.git resolved at 1.2.0
Building for debugging...
[0/34] Write sources
[12/34] Compiling clibc libc.c
[13/34] Compiling writer.c
[14/34] Compiling reader.c
[15/34] Compiling api.c
[16/34] Compiling emitter.c
[17/34] Compiling parser.c
[18/34] Write swift-version-24593BA9C3E375BF.txt
[19/34] Compiling scanner.c
[21/85] Emitting module RayGun
/host/spi-builder-workspace/Sources/RayGun/Lint Rules/Linter.swift:41:20: warning: static property 'allRules' is not concurrency-safe because non-'Sendable' type '[any LintRule]' may have shared mutable state; this is an error in the Swift 6 language mode
 39 | 	public static let fileName = ".stringray.yml"
 40 |
 41 | 	public static let allRules: [LintRule] = [
    |                    |- warning: static property 'allRules' is not concurrency-safe because non-'Sendable' type '[any LintRule]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'allRules' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 42 | 		MissingLocalizationLintRule(),
 43 | 		OrphanedLocalizationLintRule(),
/host/spi-builder-workspace/Sources/RayGun/Lint Rules/LintRule.swift:10:17: note: protocol 'LintRule' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public protocol LintRule {
   |                 `- note: protocol 'LintRule' does not conform to the 'Sendable' protocol
11 | 	var info: RuleInfo { get }
12 | 	func scan(table: StringsTable, url: Foundation.URL, config: Linter.Config.Rule?) throws -> [LintRuleViolation]
/host/spi-builder-workspace/Sources/RayGun/Lint Rules/Linter.swift:49:27: warning: stored property 'violations' of 'Sendable'-conforming struct 'Error' has non-sendable type '[LintRuleViolation]'; this is an error in the Swift 6 language mode
 47 |
 48 | 	public struct Error: LocalizedError {
 49 | 		public private(set) var violations: [LintRuleViolation]
    |                           `- warning: stored property 'violations' of 'Sendable'-conforming struct 'Error' has non-sendable type '[LintRuleViolation]'; this is an error in the Swift 6 language mode
 50 |
 51 | 		public init(_ violations: [LintRuleViolation]) {
/host/spi-builder-workspace/Sources/RayGun/Lint Rules/LintRule.swift:31:15: note: consider making struct 'LintRuleViolation' conform to the 'Sendable' protocol
29 | }
30 |
31 | public struct LintRuleViolation {
   |               `- note: consider making struct 'LintRuleViolation' conform to the 'Sendable' protocol
32 | 	public struct Location: CustomStringConvertible {
33 | 		public let file: Foundation.URL
/host/spi-builder-workspace/Sources/RayGun/Strings Table/PlaceholderType.swift:18:13: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'PlaceholderType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public enum PlaceholderType: String, Codable {
   |             `- note: consider making enum 'PlaceholderType' conform to the 'Sendable' protocol
11 | 	case object = "String"
12 | 	case float = "Float"
   :
16 | 	case pointer = "UnsafeRawPointer"
17 |
18 | 	static let unknown = pointer
   |             |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'PlaceholderType' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: add '@MainActor' to make static property 'unknown' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | 	init?(_ string: String) {
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:26:21: warning: static property 'lineNumbers' is not concurrency-safe because non-'Sendable' type 'StringsTableLoader.Options' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | 	}
 21 |
 22 | 	public struct Options: OptionSet {
    |                `- note: consider making struct 'Options' conform to the 'Sendable' protocol
 23 | 		public private(set) var rawValue: UInt
 24 | 		public init(rawValue: UInt) { self.rawValue = rawValue }
 25 |
 26 | 		public static let lineNumbers = Options(rawValue: 1 << 0)
    |                     |- warning: static property 'lineNumbers' is not concurrency-safe because non-'Sendable' type 'StringsTableLoader.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'lineNumbers' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 | 		public static let ignoreCached = Options(rawValue: 1 << 1)
 28 | 		public static let singleLocale = Options(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:27:21: warning: static property 'ignoreCached' is not concurrency-safe because non-'Sendable' type 'StringsTableLoader.Options' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | 	}
 21 |
 22 | 	public struct Options: OptionSet {
    |                `- note: consider making struct 'Options' conform to the 'Sendable' protocol
 23 | 		public private(set) var rawValue: UInt
 24 | 		public init(rawValue: UInt) { self.rawValue = rawValue }
 25 |
 26 | 		public static let lineNumbers = Options(rawValue: 1 << 0)
 27 | 		public static let ignoreCached = Options(rawValue: 1 << 1)
    |                     |- warning: static property 'ignoreCached' is not concurrency-safe because non-'Sendable' type 'StringsTableLoader.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'ignoreCached' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 | 		public static let singleLocale = Options(rawValue: 1 << 2)
 29 | 	}
/host/spi-builder-workspace/Sources/RayGun/Strings Table/StringsTableLoader.swift:28:21: warning: static property 'singleLocale' is not concurrency-safe because non-'Sendable' type 'StringsTableLoader.Options' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | 	}
 21 |
 22 | 	public struct Options: OptionSet {
    |                `- note: consider making struct 'Options' conform to the 'Sendable' protocol
 23 | 		public private(set) var rawValue: UInt
 24 | 		public init(rawValue: UInt) { self.rawValue = rawValue }
    :
 26 | 		public static let lineNumbers = Options(rawValue: 1 << 0)
 27 | 		public static let ignoreCached = Options(rawValue: 1 << 1)
 28 | 		public static let singleLocale = Options(rawValue: 1 << 2)
    |                     |- warning: static property 'singleLocale' is not concurrency-safe because non-'Sendable' type 'StringsTableLoader.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'singleLocale' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 | 	}
 30 |
[22/87] Emitting module Version
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/87] 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 |
[24/87] 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 |
[25/87] Emitting module SwiftyTextTable
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: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 |
[4/66] Compiling Version Version+Range.swift
BUILD FAILURE 6.1 wasm