The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Prism, reference 0.6.0 (580664), with Swift 6.1 for Wasm on 27 May 2025 20:35:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/GettEngineering/Prism.git
Reference: 0.6.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/GettEngineering/Prism
 * tag               0.6.0      -> FETCH_HEAD
HEAD is now at 5806649 Windows: disable incremental linking
Cloned https://github.com/GettEngineering/Prism.git
Revision (git rev-parse @):
5806649b897fb0f3f0e1438a9b24f130d7785604
SUCCESS checkout https://github.com/GettEngineering/Prism.git at 0.6.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/GettEngineering/Prism.git
https://github.com/GettEngineering/Prism.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.0.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble"
    },
    {
      "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" : "mockduck",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/BuzzFeed/MockDuck"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams"
    }
  ],
  "manifest_display_name" : "Prism",
  "name" : "Prism",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    }
  ],
  "products" : [
    {
      "name" : "prism",
      "targets" : [
        "prism"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "PrismCore",
      "targets" : [
        "PrismCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ZeplinAPI",
      "targets" : [
        "ZeplinAPI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "prism",
      "module_type" : "SwiftTarget",
      "name" : "prism",
      "path" : "Sources/CLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "prism"
      ],
      "sources" : [
        "CommandError.swift",
        "Commands+Generate.swift",
        "Commands+Initialize.swift",
        "UserInput.swift",
        "Utils.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "PrismCore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ZeplinAPI",
      "module_type" : "SwiftTarget",
      "name" : "ZeplinAPI",
      "path" : "Sources/ZeplinAPI",
      "product_memberships" : [
        "prism",
        "PrismCore",
        "ZeplinAPI"
      ],
      "sources" : [
        "Codable+Ext.swift",
        "Models/Color.swift",
        "Models/Project.swift",
        "Models/Spacing.swift",
        "Models/Styleguide.swift",
        "Models/TextStyle.swift",
        "ZeplinAPI.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PrismTests",
      "module_type" : "SwiftTarget",
      "name" : "PrismTests",
      "path" : "Tests",
      "product_dependencies" : [
        "Quick",
        "Nimble",
        "MockDuck",
        "Yams",
        "SnapshotTesting"
      ],
      "sources" : [
        "AssetIdentitySpec.swift",
        "AssetsSpec.swift",
        "ColorSpec.swift",
        "ConfigurationSpec.swift",
        "Mocks/PrismMock.swift",
        "TemplateParserSpec.swift",
        "ZeplinAPISpec.swift"
      ],
      "target_dependencies" : [
        "prism"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PrismCore",
      "module_type" : "SwiftTarget",
      "name" : "PrismCore",
      "path" : "Sources/PrismCore",
      "product_dependencies" : [
        "Yams"
      ],
      "product_memberships" : [
        "prism",
        "PrismCore"
      ],
      "sources" : [
        "Models/AssetIdentity.swift",
        "Models/Assets.swift",
        "Models/Configuration.swift",
        "Models/Zeplin+Prism.swift",
        "Prism.swift",
        "TemplateParser/TemplateParser+Block.swift",
        "TemplateParser/TemplateParser+Token.swift",
        "TemplateParser/TemplateParser+Transformation.swift",
        "TemplateParser/TemplateParser.swift"
      ],
      "target_dependencies" : [
        "ZeplinAPI"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/BuzzFeed/MockDuck
[1/572] Fetching mockduck
Fetched https://github.com/BuzzFeed/MockDuck from cache (0.36s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/Quick/Quick
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/14755] Fetching quick
[2510/25412] Fetching quick, yams
[6666/44996] Fetching quick, yams, nimble
[30837/58178] Fetching quick, yams, nimble, swift-snapshot-testing
[31264/73529] Fetching quick, yams, nimble, swift-snapshot-testing, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.24s)
[49230/58178] Fetching quick, yams, nimble, swift-snapshot-testing
Fetched https://github.com/jpsim/Yams from cache (1.98s)
Fetched https://github.com/Quick/Quick from cache (2.42s)
Fetched https://github.com/Quick/Nimble from cache (2.45s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.48s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 3.0.1 (3.10s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 9.2.1 (0.51s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.26s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 3.1.2 (0.83s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.59s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.23s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.75s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.50s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.4 (0.61s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/4581] Fetching swift-custom-dump
[4582/75025] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (6.08s)
Fetched https://github.com/swiftlang/swift-syntax from cache (6.14s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (9.47s)
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.36s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (2.14s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.93s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.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/BuzzFeed/MockDuck
Working copy of https://github.com/BuzzFeed/MockDuck resolved at master (ce0189d)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 9.2.1
Creating working copy for https://github.com/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 3.1.2
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 3.0.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
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
Building for debugging...
[0/21] Write sources
[6/21] Compiling writer.c
[7/21] Compiling reader.c
[8/21] Compiling parser.c
[9/21] Compiling api.c
[10/21] Write swift-version-24593BA9C3E375BF.txt
[11/21] Compiling emitter.c
[12/23] Compiling scanner.c
[14/46] Emitting module ArgumentParserToolInfo
[15/46] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/47] Compiling Yams Mark.swift
[18/47] Compiling Yams Node.Mapping.swift
[18/49] Wrapping AST for ArgumentParserToolInfo for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/83] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[21/87] Compiling ArgumentParser Parsed.swift
[22/87] Compiling ArgumentParser BashCompletionsGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/87] Emitting module ZeplinAPI
/host/spi-builder-workspace/Sources/ZeplinAPI/ZeplinAPI.swift:240:19: error: cannot find type 'URLRequest' in scope
238 | }
239 |
240 | private extension URLRequest {
    |                   `- error: cannot find type 'URLRequest' in scope
241 |     init(url: URL, jwtToken: String) {
242 |         var request = URLRequest(url: url)
[24/87] Compiling ArgumentParser ArgumentSet.swift
[25/87] Compiling ArgumentParser CommandParser.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[27/87] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[28/87] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[29/87] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[30/87] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[31/87] Compiling ZeplinAPI ZeplinAPI.swift
/host/spi-builder-workspace/Sources/ZeplinAPI/ZeplinAPI.swift:240:19: error: cannot find type 'URLRequest' in scope
238 | }
239 |
240 | private extension URLRequest {
    |                   `- error: cannot find type 'URLRequest' in scope
241 |     init(url: URL, jwtToken: String) {
242 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/Sources/ZeplinAPI/ZeplinAPI.swift:208:23: error: cannot find 'URLRequest' in scope
206 |         }
207 |
208 |         let request = URLRequest(url: apiURL, jwtToken: jwtToken)
    |                       `- error: cannot find 'URLRequest' in scope
209 |
210 |         URLSession.shared
/host/spi-builder-workspace/Sources/ZeplinAPI/ZeplinAPI.swift:210:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
208 |         let request = URLRequest(url: apiURL, jwtToken: jwtToken)
209 |
210 |         URLSession.shared
    |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
211 |             .dataTask(with: request) { data, response, _ in
212 |                 if let response = response as? HTTPURLResponse,
/host/spi-builder-workspace/Sources/ZeplinAPI/ZeplinAPI.swift:214:44: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
212 |                 if let response = response as? HTTPURLResponse,
213 |                    let data = data,
214 |                    !(200...299 ~= response.statusCode) {
    |                                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
215 |                     do {
216 |                         let error = try APIError.decode(from: data)
[32/87] Compiling ArgumentParser InputOrigin.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:306:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
304 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
305 |         // it uses with `String(format:...)`
306 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
307 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
308 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[33/87] Compiling ArgumentParser Name.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:306:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
304 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
305 |         // it uses with `String(format:...)`
306 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
307 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
308 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[34/87] Compiling ArgumentParser CommandConfiguration.swift
[35/87] Compiling ArgumentParser EnumerableFlag.swift
[36/87] Compiling ArgumentParser ParsableArgumentsValidation.swift
[37/87] Compiling ArgumentParser ParsableCommand.swift
[38/87] Compiling ArgumentParser ArgumentDecoder.swift
[39/87] Compiling ArgumentParser ArgumentDefinition.swift
[40/87] Compiling ZeplinAPI Styleguide.swift
[41/87] Compiling ZeplinAPI TextStyle.swift
[42/87] Compiling ZeplinAPI Color.swift
[43/87] Compiling ZeplinAPI Codable+Ext.swift
[44/87] Compiling ZeplinAPI Project.swift
[45/87] Compiling ZeplinAPI Spacing.swift
[46/87] Emitting module Yams
[47/87] Compiling ArgumentParser Option.swift
[48/87] Compiling ArgumentParser OptionGroup.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/9] Write swift-version-24593BA9C3E375BF.txt
[2/34] Compiling ZeplinAPI ZeplinAPI.swift
/host/spi-builder-workspace/Sources/ZeplinAPI/ZeplinAPI.swift:240:19: error: cannot find type 'URLRequest' in scope
238 | }
239 |
240 | private extension URLRequest {
    |                   `- error: cannot find type 'URLRequest' in scope
241 |     init(url: URL, jwtToken: String) {
242 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/Sources/ZeplinAPI/ZeplinAPI.swift:208:23: error: cannot find 'URLRequest' in scope
206 |         }
207 |
208 |         let request = URLRequest(url: apiURL, jwtToken: jwtToken)
    |                       `- error: cannot find 'URLRequest' in scope
209 |
210 |         URLSession.shared
/host/spi-builder-workspace/Sources/ZeplinAPI/ZeplinAPI.swift:210:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
208 |         let request = URLRequest(url: apiURL, jwtToken: jwtToken)
209 |
210 |         URLSession.shared
    |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
211 |             .dataTask(with: request) { data, response, _ in
212 |                 if let response = response as? HTTPURLResponse,
/host/spi-builder-workspace/Sources/ZeplinAPI/ZeplinAPI.swift:214:44: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
212 |                 if let response = response as? HTTPURLResponse,
213 |                    let data = data,
214 |                    !(200...299 ~= response.statusCode) {
    |                                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
215 |                     do {
216 |                         let error = try APIError.decode(from: data)
[3/34] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:306:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
304 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
305 |         // it uses with `String(format:...)`
306 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
307 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
308 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[4/34] Compiling Yams Resolver.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:306:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
304 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
305 |         // it uses with `String(format:...)`
306 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
307 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
308 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/36] Emitting module ZeplinAPI
/host/spi-builder-workspace/Sources/ZeplinAPI/ZeplinAPI.swift:240:19: error: cannot find type 'URLRequest' in scope
238 | }
239 |
240 | private extension URLRequest {
    |                   `- error: cannot find type 'URLRequest' in scope
241 |     init(url: URL, jwtToken: String) {
242 |         var request = URLRequest(url: url)
[6/36] Compiling Yams String+Yams.swift
[7/36] Compiling Yams Tag.swift
[8/36] Compiling ZeplinAPI TextStyle.swift
[9/36] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/36] Emitting module ArgumentParserToolInfo
[11/37] Compiling ZeplinAPI Spacing.swift
[12/37] Compiling ZeplinAPI Styleguide.swift
[13/37] Compiling ZeplinAPI Color.swift
[14/37] Compiling ZeplinAPI Project.swift
[15/37] Compiling ZeplinAPI Codable+Ext.swift
BUILD FAILURE 6.1 wasm