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 InstanaAgent, reference 1.9.5 (b01e36), with Swift 6.2 for Linux on 11 Nov 2025 05:11:07 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/instana/iOSAgent.git
Reference: 1.9.5
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/instana/iOSAgent
 * tag               1.9.5      -> FETCH_HEAD
HEAD is now at b01e365 check network/battery condition before beacon flush to avoid beacon accidentally get deleted (#98)
Cloned https://github.com/instana/iOSAgent.git
Revision (git rev-parse @):
b01e36507a02a7c880c2ec5098063d4645fc3a58
SUCCESS checkout https://github.com/instana/iOSAgent.git at 1.9.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/instana/iOSAgent.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b3eaa5734a03a9b8084848018342ef6c4e4ec1a618756d8de460b693a5f488ea
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/1024jp/GzipSwift.git
[1/1557] Fetching gzipswift
Fetched https://github.com/1024jp/GzipSwift.git from cache (0.24s)
Computing version for https://github.com/1024jp/GzipSwift.git
warning: 'gzipswift': /Package.swift:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
 3 | import PackageDescription
 4 |
 5 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 6 |     name: "GzipSwift",
 7 |     products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/1024jp/GzipSwift.git at 6.1.0 (0.66s)
Creating working copy for https://github.com/1024jp/GzipSwift.git
Working copy of https://github.com/1024jp/GzipSwift.git resolved at 6.1.0
warning: 'gzipswift': /host/spi-builder-workspace/.build/checkouts/GzipSwift/Package.swift:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
 3 | import PackageDescription
 4 |
 5 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 6 |     name: "GzipSwift",
 7 |     products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Building for debugging...
[0/6] Write sources
[0/6] Copying PrivacyInfo.xcprivacy
[2/6] Write sources
[3/6] Compiling system-zlib anchor.c
In file included from /host/spi-builder-workspace/Sources/ImageTracker/ImageDetail.m:5:
/host/spi-builder-workspace/Sources/ImageTracker/ImageDetail.h:7:9: fatal error: 'Foundation/Foundation.h' file not found
    7 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/6] Compiling ImageTracker ImageDetail.m
[4/6] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 linux