The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Fetcher, reference main (2549e3), with Swift 6.1 for Wasm on 14 Jan 2026 11:53:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Snapp-Mobile/Fetcher.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/Snapp-Mobile/Fetcher
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2549e33 Add documentation section to README
Cloned https://github.com/Snapp-Mobile/Fetcher.git
Revision (git rev-parse @):
2549e33fb318d5172703d46832269270ff183cc2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Snapp-Mobile/Fetcher.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Snapp-Mobile/Fetcher.git
https://github.com/Snapp-Mobile/Fetcher.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftformatlintplugin",
      "requirement" : {
        "exact" : [
          "1.0.4"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git"
    }
  ],
  "manifest_display_name" : "Fetcher",
  "name" : "Fetcher",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "Fetcher",
      "targets" : [
        "Fetcher"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FetcherTests",
      "module_type" : "SwiftTarget",
      "name" : "FetcherTests",
      "path" : "Tests/FetcherTests",
      "sources" : [
        "ErrorHandlingTests.swift",
        "FetcherFailingTests.swift",
        "FetcherNoNetworkTests.swift",
        "FetcherTests.swift",
        "Shared/FailingAPIURL.swift",
        "Shared/FailingAPIURLMock.swift",
        "Shared/FetcherAPIURL.swift",
        "Shared/FetcherAPIURLMock.swift",
        "Shared/FetcherEnvironmentMock.swift",
        "Shared/FetcherMocks.swift",
        "TokenTests.swift"
      ],
      "target_dependencies" : [
        "Fetcher"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Fetcher",
      "module_type" : "SwiftTarget",
      "name" : "Fetcher",
      "path" : "Sources/Fetcher",
      "product_dependencies" : [
        "Lint"
      ],
      "product_memberships" : [
        "Fetcher"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Fetcher/Mocks/empty.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Fetcher/Mocks/error.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Fetcher/Mocks/getData.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Fetcher/Mocks/refreshToken.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Fetcher/Mocks/tokenError.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Extensions/OSLog+Categories.swift",
        "Extensions/URLSession+Backports.swift",
        "Fetcher+Concurrency.swift",
        "Fetcher.swift",
        "Models/APIError.swift",
        "Models/Mock/APIURLMock.swift",
        "Models/Mock/URLProtocolMock.swift",
        "Models/ServerErrorResponse.swift",
        "Models/Token.swift",
        "Models/TokenErrorResponse.swift",
        "Protocols/APIURL.swift",
        "Protocols/FetcherEnvironment.swift",
        "Protocols/FetcherLogger.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:bb5ef85e2f3936cf1d2ae6dee7e011cebd8377061043dcf9368e6726baaf85d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git
[1/148] Fetching swiftformatlintplugin
Fetched https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git from cache (0.43s)
Computing version for https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git
Computed https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git at 1.0.4 (1.03s)
Creating working copy for https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git
Working copy of https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git resolved at 1.0.4
[1/1] Compiling plugin FormatPlugin
[2/2] Compiling plugin LintPlugin
Building for debugging...
[2/9] Copying tokenError.json
[3/9] Copying getData.json
[3/9] Copying refreshToken.json
[3/9] Copying error.json
[3/9] Copying empty.json
[7/9] Write sources
[8/9] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/23] Emitting module Fetcher
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[11/24] Compiling Fetcher FetcherLogger.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[12/24] Compiling Fetcher APIURL.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[13/24] Compiling Fetcher FetcherEnvironment.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[14/24] Compiling Fetcher OSLog+Categories.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[15/24] Compiling Fetcher URLSession+Backports.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[16/24] Compiling Fetcher URLProtocolMock.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[17/24] Compiling Fetcher ServerErrorResponse.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[18/24] Compiling Fetcher Fetcher+Concurrency.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[19/24] Compiling Fetcher Fetcher.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[20/24] Compiling Fetcher Token.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[21/24] Compiling Fetcher TokenErrorResponse.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[22/24] Compiling Fetcher APIError.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[23/24] Compiling Fetcher APIURLMock.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[24/24] Compiling Fetcher resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:bb5ef85e2f3936cf1d2ae6dee7e011cebd8377061043dcf9368e6726baaf85d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin FormatPlugin
[2/2] Compiling plugin LintPlugin
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/17] Compiling Fetcher APIURL.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[5/17] Compiling Fetcher FetcherEnvironment.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[6/17] Compiling Fetcher FetcherLogger.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/18] Emitting module Fetcher
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[8/18] Compiling Fetcher APIError.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[9/18] Compiling Fetcher APIURLMock.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[10/18] Compiling Fetcher Fetcher+Concurrency.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[11/18] Compiling Fetcher Fetcher.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[12/18] Compiling Fetcher Token.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[13/18] Compiling Fetcher TokenErrorResponse.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[14/18] Compiling Fetcher URLProtocolMock.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[15/18] Compiling Fetcher ServerErrorResponse.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[16/18] Compiling Fetcher OSLog+Categories.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[17/18] Compiling Fetcher URLSession+Backports.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
[18/18] Compiling Fetcher resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Fetcher/Extensions/OSLog+Categories.swift:9:8: error: no such module 'os.log'
 7 | //
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | extension OSLog {
BUILD FAILURE 6.1 wasm