Build Information
Failed to build package-histogram, reference 0.1.3 (93a161
), with Swift 6.1 for Android on 30 May 2025 10:10:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/HdrHistogram/hdrhistogram-swift.git
Reference: 0.1.3
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/HdrHistogram/hdrhistogram-swift
* tag 0.1.3 -> FETCH_HEAD
HEAD is now at 93a1618 add Sendable conformance (#27)
Cloned https://github.com/HdrHistogram/hdrhistogram-swift.git
Revision (git rev-parse @):
93a1618c8aa20f6a521a9da656a3e0591889e9dc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/HdrHistogram/hdrhistogram-swift.git at 0.1.3
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/HdrHistogram/hdrhistogram-swift.git
https://github.com/HdrHistogram/hdrhistogram-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-numerics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-numerics"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "package-histogram",
"name" : "package-histogram",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Histogram",
"targets" : [
"Histogram"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HistogramExample",
"targets" : [
"HistogramExample"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "HistogramTests",
"module_type" : "SwiftTarget",
"name" : "HistogramTests",
"path" : "Tests/HistogramTests",
"product_dependencies" : [
"Numerics"
],
"sources" : [
"HistogramAutosizingTests.swift",
"HistogramDataAccessTests.swift",
"HistogramTests.swift"
],
"target_dependencies" : [
"Histogram"
],
"type" : "test"
},
{
"c99name" : "HistogramExample",
"module_type" : "SwiftTarget",
"name" : "HistogramExample",
"path" : "Sources/HistogramExample",
"product_memberships" : [
"HistogramExample"
],
"sources" : [
"HistogramExample.swift"
],
"target_dependencies" : [
"Histogram"
],
"type" : "executable"
},
{
"c99name" : "Histogram",
"module_type" : "SwiftTarget",
"name" : "Histogram",
"path" : "Sources/Histogram",
"product_dependencies" : [
"Numerics"
],
"product_memberships" : [
"Histogram",
"HistogramExample"
],
"sources" : [
"Histogram.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-numerics
[1/2049] Fetching swift-docc-plugin
[227/7755] Fetching swift-docc-plugin, swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.76s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.76s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (1.84s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.48s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.29s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.66s)
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.3
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/16] Write sources
[7/16] Compiling _NumericsShims _NumericsShims.c
[8/16] Write swift-version-24593BA9C3E375BF.txt
[10/26] Compiling RealModule AlgebraicField.swift
[11/26] Compiling RealModule ApproximateEquality.swift
[12/26] Emitting module RealModule
[13/27] Compiling RealModule Float+Real.swift
[14/27] Compiling RealModule ElementaryFunctions.swift
[15/27] Compiling RealModule Float16+Real.swift
[16/27] Compiling RealModule AugmentedArithmetic.swift
[17/27] Compiling RealModule Double+Real.swift
[18/27] Compiling RealModule RealFunctions.swift
[19/27] Compiling RealModule Float80+Real.swift
[20/27] Compiling RealModule Real.swift
[21/28] Wrapping AST for RealModule for debugging
[23/33] Compiling ComplexModule Complex.swift
[24/33] Compiling ComplexModule Arithmetic.swift
[25/33] Emitting module ComplexModule
[26/33] Compiling ComplexModule ElementaryFunctions.swift
[27/33] Compiling ComplexModule Differentiable.swift
[28/34] Wrapping AST for ComplexModule for debugging
[30/36] Emitting module Numerics
[31/36] Compiling Numerics Numerics.swift
[32/39] Wrapping AST for Numerics for debugging
[34/39] Emitting module Histogram
[35/39] Compiling Histogram Histogram.swift
/host/spi-builder-workspace/Sources/Histogram/Histogram.swift:1392:25: error: cannot find 'vsnprintf' in scope
1390 | // string.
1391 | 0..<bufferSize ~= format.withCString {
1392 | Int(vsnprintf(ptr.baseAddress, bufferSize, $0, va_list))
| `- error: cannot find 'vsnprintf' in scope
1393 | }
1394 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/10] Write swift-version-24593BA9C3E375BF.txt
[4/20] Compiling RealModule ElementaryFunctions.swift
[5/21] Compiling RealModule Float+Real.swift
[6/21] Compiling RealModule Float80+Real.swift
[7/21] Compiling RealModule Real.swift
[8/21] Compiling RealModule Float16+Real.swift
[9/21] Compiling RealModule RealFunctions.swift
[10/21] Compiling RealModule AlgebraicField.swift
[11/21] Compiling RealModule ApproximateEquality.swift
[12/21] Emitting module RealModule
[13/21] Compiling RealModule AugmentedArithmetic.swift
[14/21] Compiling RealModule Double+Real.swift
[15/22] Wrapping AST for RealModule for debugging
[17/27] Compiling ComplexModule Differentiable.swift
[18/27] Compiling ComplexModule ElementaryFunctions.swift
[19/27] Emitting module ComplexModule
[20/27] Compiling ComplexModule Complex.swift
[21/27] Compiling ComplexModule Arithmetic.swift
[22/28] Wrapping AST for ComplexModule for debugging
[24/30] Emitting module Numerics
[25/30] Compiling Numerics Numerics.swift
[27/32] Emitting module Histogram
[28/32] Compiling Histogram Histogram.swift
/host/spi-builder-workspace/Sources/Histogram/Histogram.swift:1392:25: error: cannot find 'vsnprintf' in scope
1390 | // string.
1391 | 0..<bufferSize ~= format.withCString {
1392 | Int(vsnprintf(ptr.baseAddress, bufferSize, $0, va_list))
| `- error: cannot find 'vsnprintf' in scope
1393 | }
1394 | }
BUILD FAILURE 6.1 android