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 voicevox-client, reference main (7e135a), with Swift 6.1 for Wasm on 15 Aug 2025 19:54:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.66.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tattn/voicevox-client.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/tattn/voicevox-client
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7e135a1 Add Hashable conformance
Cloned https://github.com/tattn/voicevox-client.git
Revision (git rev-parse @):
7e135a1e9af12435f607051edfa0e7c6a00e911b
SUCCESS checkout https://github.com/tattn/voicevox-client.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tattn/voicevox-client.git
https://github.com/tattn/voicevox-client.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "voicevox-client",
  "name" : "voicevox-client",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "VOICEVOX",
      "targets" : [
        "VOICEVOX"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "voicevox_core_macos",
      "module_type" : "ClangTarget",
      "name" : "voicevox_core_macos",
      "path" : "Sources/voicevox_core_macos",
      "product_memberships" : [
        "VOICEVOX"
      ],
      "sources" : [
        "empty.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "voicevox_core_ios",
      "module_type" : "BinaryTarget",
      "name" : "voicevox_core_ios",
      "path" : "remote/archive/voicevox_core-ios-xcframework-cpu-0.16.0.zip",
      "product_memberships" : [
        "VOICEVOX"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "voicevox_common",
      "module_type" : "SwiftTarget",
      "name" : "voicevox_common",
      "path" : "Sources/voicevox_common",
      "product_memberships" : [
        "VOICEVOX"
      ],
      "sources" : [
        "Exported.swift"
      ],
      "target_dependencies" : [
        "onnxruntime",
        "voicevox_core_ios",
        "voicevox_core_macos"
      ],
      "type" : "library"
    },
    {
      "c99name" : "onnxruntime",
      "module_type" : "BinaryTarget",
      "name" : "onnxruntime",
      "path" : "remote/archive/voicevox_onnxruntime-ios-xcframework-1.17.3-modified.zip",
      "product_memberships" : [
        "VOICEVOX"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "VOICEVOXTests",
      "module_type" : "SwiftTarget",
      "name" : "VOICEVOXTests",
      "path" : "Tests/VOICEVOXTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/VOICEVOXTests/lib",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AccentPhrasesTests.swift",
        "AudioQueryTests.swift",
        "CoreSynthesizerTests.swift",
        "TestResources.swift",
        "UserDictionaryTests.swift",
        "VOICEVOXConfigurationTests.swift",
        "VOICEVOXCoreTests.swift",
        "VOICEVOXIntegrationTests.swift"
      ],
      "target_dependencies" : [
        "VOICEVOX"
      ],
      "type" : "test"
    },
    {
      "c99name" : "VOICEVOX",
      "module_type" : "SwiftTarget",
      "name" : "VOICEVOX",
      "path" : "Sources/VOICEVOX",
      "product_memberships" : [
        "VOICEVOX"
      ],
      "sources" : [
        "AccentPhrases.swift",
        "AudioQuery.swift",
        "CoreSynthesizer.swift",
        "OnnxRuntime.swift",
        "OpenJTalk.swift",
        "Speaker.swift",
        "Synthesizer.swift",
        "UserDictionary.swift",
        "VOICEVOXConfiguration.swift",
        "VOICEVOXError.swift",
        "VoiceModelFile.swift"
      ],
      "target_dependencies" : [
        "voicevox_common"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2094] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.47s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (2.81s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3454] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.38s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.23s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Downloading binary artifact https://github.com/VOICEVOX/voicevox_core/releases/download/0.16.0/voicevox_core-ios-xcframework-cpu-0.16.0.zip
Downloading binary artifact https://github.com/tattn/voicevox-client-onnxruntime/releases/download/v1.17.3/voicevox_onnxruntime-ios-xcframework-1.17.3-modified.zip
[1397/14377870] Downloading https://github.com/tattn/voicevox-client-onnxruntime/releases/download/v1.17.3/voicevox_onnxruntime-ios-xcframework-1.17.3-modified.zip
[148835/17964313] Downloading https://github.com/tattn/voicevox-client-onnxruntime/releases/download/v1.17.3/voicevox_onnxruntime-ios-xcframework-1.17.3-modified.zip, https://github.com/VOICEVOX/voicevox_core/releases/download/0.16.0/voicevox_core-ios-xcframework-cpu-0.16.0.zip
Downloaded https://github.com/VOICEVOX/voicevox_core/releases/download/0.16.0/voicevox_core-ios-xcframework-cpu-0.16.0.zip (1.03s)
Downloaded https://github.com/tattn/voicevox-client-onnxruntime/releases/download/v1.17.3/voicevox_onnxruntime-ios-xcframework-1.17.3-modified.zip (1.90s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/7] Emitting module voicevox_common
/host/spi-builder-workspace/Sources/voicevox_common/Exported.swift:4:19: error: no such module 'voicevox_core'
2 | @_exported import voicevox_core_macos
3 | #else
4 | @_exported import voicevox_core
  |                   `- error: no such module 'voicevox_core'
5 | #endif
6 |
[7/7] Compiling voicevox_common Exported.swift
/host/spi-builder-workspace/Sources/voicevox_common/Exported.swift:4:19: error: no such module 'voicevox_core'
2 | @_exported import voicevox_core_macos
3 | #else
4 | @_exported import voicevox_core
  |                   `- error: no such module 'voicevox_core'
5 | #endif
6 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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 Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module voicevox_common
/host/spi-builder-workspace/Sources/voicevox_common/Exported.swift:4:19: error: no such module 'voicevox_core'
2 | @_exported import voicevox_core_macos
3 | #else
4 | @_exported import voicevox_core
  |                   `- error: no such module 'voicevox_core'
5 | #endif
6 |
[5/5] Compiling voicevox_common Exported.swift
/host/spi-builder-workspace/Sources/voicevox_common/Exported.swift:4:19: error: no such module 'voicevox_core'
2 | @_exported import voicevox_core_macos
3 | #else
4 | @_exported import voicevox_core
  |                   `- error: no such module 'voicevox_core'
5 | #endif
6 |
BUILD FAILURE 6.1 wasm