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 OfficeModel, reference main (bf14ec), with Swift 6.1 for Wasm on 29 May 2025 23:31:59 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/Frizlab/officectl-model.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/Frizlab/officectl-model
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at bf14ec0 Update dependencies
Cloned https://github.com/Frizlab/officectl-model.git
Revision (git rev-parse @):
bf14ec0832eaec0344b125f279f8346e5ad1921d
SUCCESS checkout https://github.com/Frizlab/officectl-model.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Frizlab/officectl-model.git
https://github.com/Frizlab/officectl-model.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "generic-json",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Frizlab/generic-json.git"
    },
    {
      "identity" : "swift-email",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Frizlab/swift-email.git"
    },
    {
      "identity" : "unwraporthrow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0-beta",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Frizlab/UnwrapOrThrow.git"
    },
    {
      "identity" : "legibleerror",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/LegibleError.git"
    }
  ],
  "manifest_display_name" : "OfficeModel",
  "name" : "OfficeModel",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "OfficeModelCore",
      "targets" : [
        "OfficeModelCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "OfficeModel",
      "targets" : [
        "OfficeModel"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OfficeModelTests",
      "module_type" : "SwiftTarget",
      "name" : "OfficeModelTests",
      "path" : "Tests/OfficeModelTests",
      "sources" : [
        "TaggedIDTests.swift"
      ],
      "target_dependencies" : [
        "OfficeModelCore",
        "OfficeModel"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OfficeModelCore",
      "module_type" : "SwiftTarget",
      "name" : "OfficeModelCore",
      "path" : "Sources/OfficeModelCore",
      "product_dependencies" : [
        "UnwrapOrThrow"
      ],
      "product_memberships" : [
        "OfficeModelCore",
        "OfficeModel"
      ],
      "sources" : [
        "None.swift",
        "RemoteProperty.swift",
        "Tag.swift",
        "TaggedID.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "OfficeModel",
      "module_type" : "SwiftTarget",
      "name" : "OfficeModel",
      "path" : "Sources/OfficeModel",
      "product_dependencies" : [
        "Email",
        "GenericJSON",
        "LegibleError",
        "UnwrapOrThrow"
      ],
      "product_memberships" : [
        "OfficeModel"
      ],
      "sources" : [
        "Common/ActionQueries/User/ChangeUserPasswordQuery.swift",
        "Common/ActionQueries/User/CreateOrUpdateUserQuery.swift",
        "Common/ActionQueries/User/DeleteUserQuery.swift",
        "Common/AuthScope.swift",
        "Common/Result+Codable.swift",
        "Common/Result+Utils.swift",
        "FromApi/Actions/ApiAction.swift",
        "FromApi/Actions/ApiActionStatus.swift",
        "FromApi/ApiError.swift",
        "FromApi/ApiMultiServicesID.swift",
        "FromApi/ApiMultiServicesResults.swift",
        "FromApi/ApiService.swift",
        "FromApi/ApiTokenResponse.swift",
        "FromApi/User/ApiDirectoryUser.swift",
        "FromApi/User/ApiMergedUser.swift",
        "FromApi/User/ApiUser.swift",
        "FromApi/User/ApiUsers.swift",
        "ToApi/ApiAuthPasswordGrantRequest.swift",
        "ToApi/ApiAuthTokenRevokeRequest.swift",
        "_Exports.swift"
      ],
      "target_dependencies" : [
        "OfficeModelCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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/Frizlab/UnwrapOrThrow.git
Fetching https://github.com/mxcl/LegibleError.git
Fetching https://github.com/Frizlab/swift-email.git
[1/31] Fetching unwraporthrow
[32/209] Fetching unwraporthrow, legibleerror
[210/389] Fetching unwraporthrow, legibleerror, swift-email
Fetched https://github.com/Frizlab/UnwrapOrThrow.git from cache (0.41s)
Fetching https://github.com/Frizlab/generic-json.git
Fetched https://github.com/Frizlab/swift-email.git from cache (0.42s)
Fetched https://github.com/mxcl/LegibleError.git from cache (0.42s)
[1/615] Fetching generic-json
Fetched https://github.com/Frizlab/generic-json.git from cache (0.32s)
Computing version for https://github.com/Frizlab/generic-json.git
Computed https://github.com/Frizlab/generic-json.git at 3.1.3 (2.08s)
Computing version for https://github.com/Frizlab/swift-email.git
Computed https://github.com/Frizlab/swift-email.git at 0.2.6 (0.81s)
Computing version for https://github.com/mxcl/LegibleError.git
Computed https://github.com/mxcl/LegibleError.git at 1.0.6 (0.83s)
Computing version for https://github.com/Frizlab/UnwrapOrThrow.git
Computed https://github.com/Frizlab/UnwrapOrThrow.git at 1.0.1 (0.82s)
Creating working copy for https://github.com/Frizlab/UnwrapOrThrow.git
Working copy of https://github.com/Frizlab/UnwrapOrThrow.git resolved at 1.0.1
Creating working copy for https://github.com/mxcl/LegibleError.git
Working copy of https://github.com/mxcl/LegibleError.git resolved at 1.0.6
Creating working copy for https://github.com/Frizlab/swift-email.git
Working copy of https://github.com/Frizlab/swift-email.git resolved at 0.2.6
Creating working copy for https://github.com/Frizlab/generic-json.git
Working copy of https://github.com/Frizlab/generic-json.git resolved at 3.1.3
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/25] Emitting module LegibleError
[9/25] Compiling Email EmailValidator.swift
[10/25] Compiling LegibleError LegibleError.swift
/host/spi-builder-workspace/.build/checkouts/LegibleError/Sources/LegibleError.swift:63:45: error: cannot find 'object_getClassName' in scope
61 |         let foo: Any = self
62 |         let nativeClassNames = ["_SwiftNativeNSError", "__SwiftNativeNSError"]
63 |         let selfClassName = String(cString: object_getClassName(self))
   |                                             `- error: cannot find 'object_getClassName' in scope
64 |         let isNSError = !nativeClassNames.contains(selfClassName) && foo is NSObject
65 |         // ^^ ∵ otherwise implicit bridging implicitly casts as for other tests
[11/25] Emitting module UnwrapOrThrow
[12/25] Emitting module Email
[13/25] Compiling Email EmailValidator+ValidationCodes.swift
[14/25] Compiling Email Email.swift
[15/25] Compiling GenericJSON JSON+Init.swift
[16/26] Compiling UnwrapOrThrow UnwrapOrThrowOperator.swift
[17/26] Compiling GenericJSON JSON+Merging.swift
[18/26] Compiling GenericJSON JSON+Decoding.swift
[19/27] Compiling GenericJSON JSON.swift
[20/27] Compiling GenericJSON JSON+Querying.swift
[21/27] Compiling UnwrapOrThrow UnwrapOrThrow.swift
[22/27] Compiling GenericJSON JSON+CustomDebugStringConvertible.swift
[23/27] Compiling GenericJSON DummySendable.swift
[24/27] Compiling GenericJSON JSON+Codable.swift
[25/28] Emitting module GenericJSON
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/1] Write swift-version-24593BA9C3E375BF.txt
[2/19] Emitting module LegibleError
[3/19] Compiling LegibleError LegibleError.swift
/host/spi-builder-workspace/.build/checkouts/LegibleError/Sources/LegibleError.swift:63:45: error: cannot find 'object_getClassName' in scope
61 |         let foo: Any = self
62 |         let nativeClassNames = ["_SwiftNativeNSError", "__SwiftNativeNSError"]
63 |         let selfClassName = String(cString: object_getClassName(self))
   |                                             `- error: cannot find 'object_getClassName' in scope
64 |         let isNSError = !nativeClassNames.contains(selfClassName) && foo is NSObject
65 |         // ^^ ∵ otherwise implicit bridging implicitly casts as for other tests
[4/19] Emitting module UnwrapOrThrow
[5/19] Compiling UnwrapOrThrow UnwrapOrThrowOperator.swift
[6/19] Compiling UnwrapOrThrow UnwrapOrThrow.swift
[7/20] Compiling GenericJSON JSON+Decoding.swift
BUILD FAILURE 6.1 wasm