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 Osiris, reference main (bcf402), with Swift 6.1 for Wasm on 15 Jun 2025 16:35:43 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/samsonjs/Osiris.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/samsonjs/Osiris
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at bcf402d Remove Linux testing cruft that we no longer need
Cloned https://github.com/samsonjs/Osiris.git
Revision (git rev-parse @):
bcf402db8f8c98b0e597dadf51c9be79f917e67b
SUCCESS checkout https://github.com/samsonjs/Osiris.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/samsonjs/Osiris.git
https://github.com/samsonjs/Osiris.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Osiris",
  "name" : "Osiris",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "Osiris",
      "targets" : [
        "Osiris"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OsirisTests",
      "module_type" : "SwiftTarget",
      "name" : "OsirisTests",
      "path" : "Tests/OsirisTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/OsirisTests/Resources/lorem.txt",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/OsirisTests/Resources/notbad.jpg",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "FormEncoderTests.swift",
        "HTTPMethodTests.swift",
        "HTTPRequestErrorTests.swift",
        "HTTPRequestTests.swift",
        "HTTPResponseTests.swift",
        "MultipartFormEncoderTests.swift",
        "RequestBuilderTests.swift"
      ],
      "target_dependencies" : [
        "Osiris"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Osiris",
      "module_type" : "SwiftTarget",
      "name" : "Osiris",
      "path" : "Sources/Osiris",
      "product_memberships" : [
        "Osiris"
      ],
      "sources" : [
        "FormEncoder.swift",
        "HTTPContentType.swift",
        "HTTPMethod.swift",
        "HTTPRequest.swift",
        "HTTPRequestError.swift",
        "HTTPResponse.swift",
        "MultipartFormEncoder.swift",
        "RequestBuilder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:1d9b2ff10447e71c7331541368dc204699fc22b6bc9ef4efb815c3e4c1ba42e3
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling Osiris MultipartFormEncoder.swift
/host/spi-builder-workspace/Sources/Osiris/HTTPRequest.swift:8:8: error: no such module 'OSLog'
  6 |
  7 | import Foundation
  8 | import OSLog
    |        `- error: no such module 'OSLog'
  9 |
 10 | #if canImport(UIKit)
[4/11] Compiling Osiris HTTPContentType.swift
/host/spi-builder-workspace/Sources/Osiris/HTTPRequest.swift:8:8: error: no such module 'OSLog'
  6 |
  7 | import Foundation
  8 | import OSLog
    |        `- error: no such module 'OSLog'
  9 |
 10 | #if canImport(UIKit)
[5/11] Compiling Osiris HTTPMethod.swift
/host/spi-builder-workspace/Sources/Osiris/HTTPRequest.swift:8:8: error: no such module 'OSLog'
  6 |
  7 | import Foundation
  8 | import OSLog
    |        `- error: no such module 'OSLog'
  9 |
 10 | #if canImport(UIKit)
[6/11] Compiling Osiris HTTPRequest.swift
/host/spi-builder-workspace/Sources/Osiris/HTTPRequest.swift:8:8: error: no such module 'OSLog'
  6 |
  7 | import Foundation
  8 | import OSLog
    |        `- error: no such module 'OSLog'
  9 |
 10 | #if canImport(UIKit)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/11] Emitting module Osiris
/host/spi-builder-workspace/Sources/Osiris/HTTPRequest.swift:8:8: error: no such module 'OSLog'
  6 |
  7 | import Foundation
  8 | import OSLog
    |        `- error: no such module 'OSLog'
  9 |
 10 | #if canImport(UIKit)
[8/11] Compiling Osiris FormEncoder.swift
/host/spi-builder-workspace/Sources/Osiris/HTTPRequest.swift:8:8: error: no such module 'OSLog'
  6 |
  7 | import Foundation
  8 | import OSLog
    |        `- error: no such module 'OSLog'
  9 |
 10 | #if canImport(UIKit)
[9/11] Compiling Osiris RequestBuilder.swift
/host/spi-builder-workspace/Sources/Osiris/HTTPRequest.swift:8:8: error: no such module 'OSLog'
  6 |
  7 | import Foundation
  8 | import OSLog
    |        `- error: no such module 'OSLog'
  9 |
 10 | #if canImport(UIKit)
[10/11] Compiling Osiris HTTPResponse.swift
/host/spi-builder-workspace/Sources/Osiris/HTTPRequest.swift:8:8: error: no such module 'OSLog'
  6 |
  7 | import Foundation
  8 | import OSLog
    |        `- error: no such module 'OSLog'
  9 |
 10 | #if canImport(UIKit)
[11/11] Compiling Osiris HTTPRequestError.swift
/host/spi-builder-workspace/Sources/Osiris/HTTPRequest.swift:8:8: error: no such module 'OSLog'
  6 |
  7 | import Foundation
  8 | import OSLog
    |        `- error: no such module 'OSLog'
  9 |
 10 | #if canImport(UIKit)
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:1d9b2ff10447e71c7331541368dc204699fc22b6bc9ef4efb815c3e4c1ba42e3
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/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling Osiris HTTPRequestError.swift
/host/spi-builder-workspace/Sources/Osiris/HTTPRequest.swift:8:8: error: no such module 'OSLog'
  6 |
  7 | import Foundation
  8 | import OSLog
    |        `- error: no such module 'OSLog'
  9 |
 10 | #if canImport(UIKit)
[3/9] Compiling Osiris HTTPRequest.swift
/host/spi-builder-workspace/Sources/Osiris/HTTPRequest.swift:8:8: error: no such module 'OSLog'
  6 |
  7 | import Foundation
  8 | import OSLog
    |        `- error: no such module 'OSLog'
  9 |
 10 | #if canImport(UIKit)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/10] Emitting module Osiris
/host/spi-builder-workspace/Sources/Osiris/HTTPRequest.swift:8:8: error: no such module 'OSLog'
  6 |
  7 | import Foundation
  8 | import OSLog
    |        `- error: no such module 'OSLog'
  9 |
 10 | #if canImport(UIKit)
[5/10] Compiling Osiris HTTPMethod.swift
/host/spi-builder-workspace/Sources/Osiris/HTTPRequest.swift:8:8: error: no such module 'OSLog'
  6 |
  7 | import Foundation
  8 | import OSLog
    |        `- error: no such module 'OSLog'
  9 |
 10 | #if canImport(UIKit)
[6/10] Compiling Osiris HTTPContentType.swift
/host/spi-builder-workspace/Sources/Osiris/HTTPRequest.swift:8:8: error: no such module 'OSLog'
  6 |
  7 | import Foundation
  8 | import OSLog
    |        `- error: no such module 'OSLog'
  9 |
 10 | #if canImport(UIKit)
[7/10] Compiling Osiris FormEncoder.swift
/host/spi-builder-workspace/Sources/Osiris/HTTPRequest.swift:8:8: error: no such module 'OSLog'
  6 |
  7 | import Foundation
  8 | import OSLog
    |        `- error: no such module 'OSLog'
  9 |
 10 | #if canImport(UIKit)
[8/10] Compiling Osiris MultipartFormEncoder.swift
/host/spi-builder-workspace/Sources/Osiris/HTTPRequest.swift:8:8: error: no such module 'OSLog'
  6 |
  7 | import Foundation
  8 | import OSLog
    |        `- error: no such module 'OSLog'
  9 |
 10 | #if canImport(UIKit)
[9/10] Compiling Osiris HTTPResponse.swift
/host/spi-builder-workspace/Sources/Osiris/HTTPRequest.swift:8:8: error: no such module 'OSLog'
  6 |
  7 | import Foundation
  8 | import OSLog
    |        `- error: no such module 'OSLog'
  9 |
 10 | #if canImport(UIKit)
[10/10] Compiling Osiris RequestBuilder.swift
/host/spi-builder-workspace/Sources/Osiris/HTTPRequest.swift:8:8: error: no such module 'OSLog'
  6 |
  7 | import Foundation
  8 | import OSLog
    |        `- error: no such module 'OSLog'
  9 |
 10 | #if canImport(UIKit)
BUILD FAILURE 6.1 wasm