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 SVMPrefs, reference main (d53ddf), with Swift 6.1 for Wasm on 27 May 2025 20:12:57 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/ghv/SVMPrefs.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/ghv/SVMPrefs
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d53ddf0 Merge pull request #7 from ghv/optional_intrinsic_defaults
Cloned https://github.com/ghv/SVMPrefs.git
Revision (git rev-parse @):
d53ddf05659f7131ae4a21289919dbf13f9afc75
SUCCESS checkout https://github.com/ghv/SVMPrefs.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ghv/SVMPrefs.git
https://github.com/ghv/SVMPrefs.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftcli",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jakeheis/SwiftCLI.git"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    },
    {
      "identity" : "regex",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/sharplet/Regex.git"
    },
    {
      "identity" : "swift-snapshot-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
    },
    {
      "identity" : "stencil",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/stencilproject/Stencil.git"
    }
  ],
  "manifest_display_name" : "SVMPrefs",
  "name" : "SVMPrefs",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "svmprefs",
      "targets" : [
        "svmprefs"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SVMPrefsKit",
      "targets" : [
        "SVMPrefsKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SVMPrefsTools",
      "targets" : [
        "SVMPrefsTools"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "svmprefs",
      "module_type" : "SwiftTarget",
      "name" : "svmprefs",
      "path" : "Sources/svmprefs",
      "product_dependencies" : [
        "SwiftCLI",
        "PathKit"
      ],
      "product_memberships" : [
        "svmprefs"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SVMPrefsKit",
        "SVMPrefsTools"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SVMPrefsToolsTests",
      "module_type" : "SwiftTarget",
      "name" : "SVMPrefsToolsTests",
      "path" : "Tests/SVMPrefsToolsTests",
      "product_dependencies" : [
        "PathKit"
      ],
      "sources" : [
        "BackupTests.swift"
      ],
      "target_dependencies" : [
        "SVMPrefsTools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SVMPrefsTools",
      "module_type" : "SwiftTarget",
      "name" : "SVMPrefsTools",
      "path" : "Sources/SVMPrefsTools",
      "product_dependencies" : [
        "PathKit"
      ],
      "product_memberships" : [
        "svmprefs",
        "SVMPrefsTools"
      ],
      "sources" : [
        "Backup.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SVMPrefsKitTests",
      "module_type" : "SwiftTarget",
      "name" : "SVMPrefsKitTests",
      "path" : "Tests/SVMPrefsKitTests",
      "product_dependencies" : [
        "SnapshotTesting"
      ],
      "sources" : [
        "ErrorTests.swift",
        "Exceptions.swift",
        "ExtensionTests.swift",
        "MigrateModeTests.swift",
        "StoreModelTests.swift",
        "SwiftCodeGeneratorTests.swift",
        "VariableModelTests.swift",
        "__Snapshots__/SwiftCodeGeneratorTests/testAllTypes.1.swift",
        "__Snapshots__/SwiftCodeGeneratorTests/testCompoundCodeMark.1.swift",
        "__Snapshots__/SwiftCodeGeneratorTests/testDate.1.swift",
        "__Snapshots__/SwiftCodeGeneratorTests/testKeyPathExample.1.swift",
        "__Snapshots__/SwiftCodeGeneratorTests/testMigration.1.swift",
        "__Snapshots__/SwiftCodeGeneratorTests/testMigrationWithCodeThatFollows.1.swift",
        "__Snapshots__/SwiftCodeGeneratorTests/testMinimalDemo.1.swift",
        "__Snapshots__/SwiftCodeGeneratorTests/testNoRemoveAll.1.swift",
        "__Snapshots__/SwiftCodeGeneratorTests/testSuiteName.1.swift"
      ],
      "target_dependencies" : [
        "SVMPrefsKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SVMPrefsKit",
      "module_type" : "SwiftTarget",
      "name" : "SVMPrefsKit",
      "path" : "Sources/SVMPrefsKit",
      "product_dependencies" : [
        "PathKit",
        "Regex",
        "Stencil"
      ],
      "product_memberships" : [
        "svmprefs",
        "SVMPrefsKit"
      ],
      "sources" : [
        "Extensions.swift",
        "Generators/BaseCodeGenerator.swift",
        "Generators/SwiftCodeGenerator.swift",
        "Models/Error.swift",
        "Models/Models.swift",
        "Models/Version.swift",
        "Parser/Parser.swift",
        "Parser/ParserMetaData.swift",
        "Parser/ParsingOptions.swift",
        "Processor.swift"
      ],
      "type" : "library"
    }
  ],
  "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/stencilproject/Stencil.git
[1/5293] Fetching stencil
Fetched https://github.com/stencilproject/Stencil.git from cache (0.52s)
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/kylef/Spectre.git
[1/1411] Fetching pathkit
[1102/2665] Fetching pathkit, regex
[2228/7739] Fetching pathkit, regex, swiftcli
[2381/8760] Fetching pathkit, regex, swiftcli, spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.37s)
[7313/7739] Fetching pathkit, regex, swiftcli
[7327/20921] Fetching pathkit, regex, swiftcli, swift-snapshot-testing
Fetched https://github.com/kylef/PathKit.git from cache (2.01s)
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (2.01s)
Fetched https://github.com/sharplet/Regex.git from cache (2.03s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.08s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (2.77s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.43s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (0.62s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (1.20s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.4 (1.16s)
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.62s)
[1/70444] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (5.31s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (5.92s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5458] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.11s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (1.93s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.54s)
Creating working copy for https://github.com/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 6.0.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
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at master (17af3ba)
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
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
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
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-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
Building for debugging...
[0/17] Write sources
[7/17] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/47] 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/49] Compiling SwiftCLI Term.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/49] Compiling SwiftCLI Validation.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/49] Compiling Regex Regex.swift
[13/49] Compiling Regex Options.swift
[14/49] Compiling SwiftCLI Command.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 |
[15/49] Compiling SwiftCLI Compatibility.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 |
[16/49] Compiling SwiftCLI CompletionGenerator.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 |
[17/49] Compiling SwiftCLI ArgumentList.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 |
[18/49] Compiling SwiftCLI ArgumentListManipulator.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 |
[19/49] Compiling SwiftCLI CLI.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 |
[20/49] Compiling SwiftCLI Error.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 |
[21/49] Compiling SwiftCLI HelpCommand.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 |
[22/49] Compiling SwiftCLI HelpMessageGenerator.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 |
[23/49] Compiling PathKit PathKit.swift
/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
[24/49] Compiling SwiftCLI Input.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 |
[25/49] Compiling SwiftCLI Option.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 |
[26/49] Compiling SwiftCLI OptionGroup.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 |
[27/49] Compiling Regex ThreadLocal.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/ThreadLocal.swift:13:14: error: cannot find 'Thread' in scope
11 |   var value: T? {
12 |     get {
13 |       return Thread.current.threadDictionary[key] as? T
   |              `- error: cannot find 'Thread' in scope
14 |     }
15 |     set {
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/ThreadLocal.swift:16:7: error: cannot find 'Thread' in scope
14 |     }
15 |     set {
16 |       Thread.current.threadDictionary[key] = newValue
   |       `- error: cannot find 'Thread' in scope
17 |     }
18 |   }
[28/49] Compiling Regex String+ReplaceMatching.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/49] 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
[30/49] Compiling SwiftCLI OptionRegistry.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 |
[31/49] Compiling SwiftCLI Parameter.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 |
[32/49] Compiling SwiftCLI Parser.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 |
[33/49] Compiling SwiftCLI Path.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 |
[34/49] Compiling SwiftCLI Stream.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 |
[35/49] Compiling SwiftCLI Task.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/49] Compiling Regex Foundation+Ranges.swift
[37/49] Compiling Regex MatchResult.swift
[38/49] Emitting module Regex
[39/49] Compiling SwiftCLI ValueBox.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 |
[40/49] Compiling SwiftCLI VersionCommand.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 |
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/10] Write swift-version-24593BA9C3E375BF.txt
[2/40] Compiling Regex ThreadLocal.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/ThreadLocal.swift:13:14: error: cannot find 'Thread' in scope
11 |   var value: T? {
12 |     get {
13 |       return Thread.current.threadDictionary[key] as? T
   |              `- error: cannot find 'Thread' in scope
14 |     }
15 |     set {
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/ThreadLocal.swift:16:7: error: cannot find 'Thread' in scope
14 |     }
15 |     set {
16 |       Thread.current.threadDictionary[key] = newValue
   |       `- error: cannot find 'Thread' in scope
17 |     }
18 |   }
[3/40] Compiling Regex String+ReplaceMatching.swift
[4/40] Compiling Regex Foundation+Ranges.swift
[5/40] Compiling Regex MatchResult.swift
[6/40] Emitting module Regex
[7/40] Compiling Regex Regex.swift
[8/40] Compiling Regex Options.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/40] 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/40] Compiling SwiftCLI ArgumentList.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/40] Compiling SwiftCLI ArgumentListManipulator.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/40] Compiling SwiftCLI CLI.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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/40] 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
BUILD FAILURE 6.1 wasm