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 swift-tts, reference 2.1.2 (01ed54), with Swift 6.1 for Android on 28 May 2025 14:05:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/renaudjenny/swift-tts.git
Reference: 2.1.2
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/renaudjenny/swift-tts
 * tag               2.1.2      -> FETCH_HEAD
HEAD is now at 01ed546 build(macOS): re-add macOS in the package but error if it's built for it
Cloned https://github.com/renaudjenny/swift-tts.git
Revision (git rev-parse @):
01ed546e43f75e45eee49ed91f5a449d86e48fa3
SUCCESS checkout https://github.com/renaudjenny/swift-tts.git at 2.1.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/renaudjenny/swift-tts.git
https://github.com/renaudjenny/swift-tts.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-dependencies",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-dependencies"
    }
  ],
  "manifest_display_name" : "swift-tts",
  "name" : "swift-tts",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftTTS",
      "targets" : [
        "SwiftTTS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftTTSDependency",
      "targets" : [
        "SwiftTTSDependency"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftTTSCombine",
      "targets" : [
        "SwiftTTSCombine"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftTTSTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftTTSTests",
      "path" : "Tests/SwiftTTSTests",
      "sources" : [
        "SwiftTTSTests.swift"
      ],
      "target_dependencies" : [
        "SwiftTTS"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftTTSDependency",
      "module_type" : "SwiftTarget",
      "name" : "SwiftTTSDependency",
      "path" : "Sources/SwiftTTSDependency",
      "product_dependencies" : [
        "Dependencies"
      ],
      "product_memberships" : [
        "SwiftTTSDependency"
      ],
      "sources" : [
        "SwiftTTSDependency.swift"
      ],
      "target_dependencies" : [
        "SwiftTTS"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftTTSCombine",
      "module_type" : "SwiftTarget",
      "name" : "SwiftTTSCombine",
      "path" : "Sources/SwiftTTSCombine",
      "product_memberships" : [
        "SwiftTTSCombine"
      ],
      "sources" : [
        "SwiftTTSCombine.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftTTS",
      "module_type" : "SwiftTarget",
      "name" : "SwiftTTS",
      "path" : "Sources/SwiftTTS",
      "product_memberships" : [
        "SwiftTTS",
        "SwiftTTSDependency"
      ],
      "sources" : [
        "SwiftTTS.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/pointfreeco/swift-dependencies
[1/6249] Fetching swift-dependencies
Fetched https://github.com/pointfreeco/swift-dependencies from cache (1.45s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 0.6.0 (2.49s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/combine-schedulers
[1/2410] Fetching combine-schedulers
[2411/7868] Fetching combine-schedulers, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/combine-schedulers from cache (1.05s)
[601/5458] Fetching xctest-dynamic-overlay
[5459/6310] Fetching xctest-dynamic-overlay, swift-concurrency-extras
[5494/7602] Fetching xctest-dynamic-overlay, swift-concurrency-extras, swift-clocks
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.70s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (1.73s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (1.75s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 0.4.0 (2.37s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.11.0 (0.59s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 0.1.2 (0.57s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.52s)
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 0.4.0
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 0.1.2
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 0.11.0
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 0.6.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.9.0
Building for debugging...
[0/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/29] Emitting module SwiftTTS
/host/spi-builder-workspace/Sources/SwiftTTS/SwiftTTS.swift:5:8: error: no such module 'AVFoundation'
  3 | #endif
  4 |
  5 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  6 |
  7 | public struct SwiftTTS {
[11/29] Compiling SwiftTTS SwiftTTS.swift
/host/spi-builder-workspace/Sources/SwiftTTS/SwiftTTS.swift:5:8: error: no such module 'AVFoundation'
  3 | #endif
  4 |
  5 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  6 |
  7 | public struct SwiftTTS {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/21] Compiling XCTestDynamicOverlay Deprecations.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/22] Emitting module ConcurrencyExtras
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/MainSerialExecutor.swift:77:5: error: cannot find 'dlsym' in scope
75 |   }
76 |   private let _swift_task_enqueueGlobal_hook: UnsafeMutablePointer<Hook?> =
77 |     dlsym(dlopen(nil, 0), "swift_task_enqueueGlobal_hook").assumingMemoryBound(to: Hook?.self)
   |     `- error: cannot find 'dlsym' in scope
78 | #endif
79 |
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/MainSerialExecutor.swift:77:11: error: cannot find 'dlopen' in scope
75 |   }
76 |   private let _swift_task_enqueueGlobal_hook: UnsafeMutablePointer<Hook?> =
77 |     dlsym(dlopen(nil, 0), "swift_task_enqueueGlobal_hook").assumingMemoryBound(to: Hook?.self)
   |           `- error: cannot find 'dlopen' in scope
78 | #endif
79 |
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/MainSerialExecutor.swift:77:18: error: 'nil' requires a contextual type
75 |   }
76 |   private let _swift_task_enqueueGlobal_hook: UnsafeMutablePointer<Hook?> =
77 |     dlsym(dlopen(nil, 0), "swift_task_enqueueGlobal_hook").assumingMemoryBound(to: Hook?.self)
   |                  `- error: 'nil' requires a contextual type
78 | #endif
79 |
[4/23] Compiling ConcurrencyExtras UncheckedSendable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/23] Emitting module SwiftTTS
/host/spi-builder-workspace/Sources/SwiftTTS/SwiftTTS.swift:5:8: error: no such module 'AVFoundation'
  3 | #endif
  4 |
  5 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  6 |
  7 | public struct SwiftTTS {
[6/23] Compiling SwiftTTS SwiftTTS.swift
/host/spi-builder-workspace/Sources/SwiftTTS/SwiftTTS.swift:5:8: error: no such module 'AVFoundation'
  3 | #endif
  4 |
  5 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  6 |
  7 | public struct SwiftTTS {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/23] Emitting module SwiftTTSCombine
/host/spi-builder-workspace/Sources/SwiftTTSCombine/SwiftTTSCombine.swift:6:8: error: no such module 'Combine'
 4 |
 5 | import Foundation
 6 | import Combine
   |        `- error: no such module 'Combine'
 7 | import AVFoundation
 8 |
[8/23] Compiling ConcurrencyExtras ActorIsolated.swift
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/MainSerialExecutor.swift:77:5: error: cannot find 'dlsym' in scope
75 |   }
76 |   private let _swift_task_enqueueGlobal_hook: UnsafeMutablePointer<Hook?> =
77 |     dlsym(dlopen(nil, 0), "swift_task_enqueueGlobal_hook").assumingMemoryBound(to: Hook?.self)
   |     `- error: cannot find 'dlsym' in scope
78 | #endif
79 |
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/MainSerialExecutor.swift:77:11: error: cannot find 'dlopen' in scope
75 |   }
76 |   private let _swift_task_enqueueGlobal_hook: UnsafeMutablePointer<Hook?> =
77 |     dlsym(dlopen(nil, 0), "swift_task_enqueueGlobal_hook").assumingMemoryBound(to: Hook?.self)
   |           `- error: cannot find 'dlopen' in scope
78 | #endif
79 |
BUILD FAILURE 6.1 android