The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-log-sentry, reference 2.1.0 (d523bd), with Swift 6.3 for Linux on 16 Apr 2026 20:47:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/idolize/swift-log-sentry.git
Reference: 2.1.0
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/idolize/swift-log-sentry
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at d523bd9 Update version in README
Cloned https://github.com/idolize/swift-log-sentry.git
Revision (git rev-parse @):
d523bd969fa833e3866990d86221e3b8280d18a7
SUCCESS checkout https://github.com/idolize/swift-log-sentry.git at 2.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/idolize/swift-log-sentry.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/getsentry/sentry-cocoa.git
[1/6611] Fetching swift-log
[6612/229176] Fetching swift-log, sentry-cocoa
Fetched https://github.com/apple/swift-log.git from cache (13.78s)
Fetched https://github.com/getsentry/sentry-cocoa.git from cache (13.95s)
Computing version for https://github.com/getsentry/sentry-cocoa.git
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.1i1PWB/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "6", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "6.1.0", "/Package@swift-6.1.swift", "-o", "/tmp/TemporaryDirectory.cVk97K/sentry-cocoa-manifest"])
/Package@swift-6.1.swift:72:51: error: extra argument 'encoding' in call
 70 |
 71 | let env = getenv("EXPERIMENTAL_SPM_BUILDS")
 72 | if let env = env, String(cString: env, encoding: .utf8) == "1" {
    |                                                   `- error: extra argument 'encoding' in call
 73 |     products.append(.library(name: "SentrySPM", type: .dynamic, targets: ["SentryObjc"]))
 74 |     targets.append(contentsOf: [
/Package@swift-6.1.swift:72:51: error: cannot infer contextual base in reference to member 'utf8'
 70 |
 71 | let env = getenv("EXPERIMENTAL_SPM_BUILDS")
 72 | if let env = env, String(cString: env, encoding: .utf8) == "1" {
    |                                                   `- error: cannot infer contextual base in reference to member 'utf8'
 73 |     products.append(.library(name: "SentrySPM", type: .dynamic, targets: ["SentryObjc"]))
 74 |     targets.append(contentsOf: [
/Package@swift-6.1.swift:120:23: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
118 | let package = Package(
119 |     name: "Sentry",
120 |     platforms: [.iOS(.v11), .macOS(.v10_13), .tvOS(.v11), .watchOS(.v4)],
    |                       `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
121 |     products: products,
122 |     traits: [
/Package@swift-6.1.swift:120:53: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
118 | let package = Package(
119 |     name: "Sentry",
120 |     platforms: [.iOS(.v11), .macOS(.v10_13), .tvOS(.v11), .watchOS(.v4)],
    |                                                     `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
121 |     products: products,
122 |     traits: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration> in https://github.com/getsentry/sentry-cocoa.git
BUILD FAILURE 6.3 linux