Build Information
Successful build of GS1Encoders, reference main (7ebc6c), with Swift 6.4 for Android on 25 Sep 2026 22:38:45 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gs1/gs1encoders-swift.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/gs1/gs1encoders-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7ebc6cd GS1 Barcode Syntax Engine Swift package 1.4.1
Cloned https://github.com/gs1/gs1encoders-swift.git
Revision (git rev-parse @):
7ebc6cd6998cfd8004f69466dbbeb8bc98512888
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/gs1/gs1encoders-swift.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/gs1/gs1encoders-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Building for debugging...
[Pre-planning 15 / 125]
[50 / 80] CGS1Encoders
[74 / 83] CGS1Encoders
[75 / 83] GS1Encoders
[80 / 83] GS1Encoders
/host/spi-builder-workspace/Sources/GS1Encoders/GS1Encoder.swift:402:99: [1;33mwarning: [1;39m'utf8String' is deprecated: On platforms without Objective-C autorelease pools, use withCString instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m400 |[0;0m /// - SeeAlso: `getDataStr()`
[0;36m401 |[0;0m public func setDataStr(_ value: String) throws {
[0;36m402 |[0;0m if !gs1_encoder_setDataStr(ctx, UnsafeMutablePointer<CChar>(mutating: (value as NSString).utf8String)) {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'utf8String' is deprecated: On platforms without Objective-C autorelease pools, use withCString instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m403 |[0;0m throw GS1EncoderError.parameterError(msg: self.getErrMsg())
[0;36m404 |[0;0m }
/host/spi-builder-workspace/Sources/GS1Encoders/GS1Encoder.swift:431:101: [1;33mwarning: [1;39m'utf8String' is deprecated: On platforms without Objective-C autorelease pools, use withCString instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m429 |[0;0m /// - SeeAlso: `getAIdataStr()`
[0;36m430 |[0;0m public func setAIdataStr(_ value: String) throws {
[0;36m431 |[0;0m if !gs1_encoder_setAIdataStr(ctx, UnsafeMutablePointer<CChar>(mutating: (value as NSString).utf8String)) {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'utf8String' is deprecated: On platforms without Objective-C autorelease pools, use withCString instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m432 |[0;0m throw GS1EncoderError.parameterError(msg: self.getErrMsg())
[0;36m433 |[0;0m }
/host/spi-builder-workspace/Sources/GS1Encoders/GS1Encoder.swift:463:100: [1;33mwarning: [1;39m'utf8String' is deprecated: On platforms without Objective-C autorelease pools, use withCString instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m461 |[0;0m /// - SeeAlso: `getSym()`
[0;36m462 |[0;0m public func setScanData(_ value: String) throws {
[0;36m463 |[0;0m if !gs1_encoder_setScanData(ctx, UnsafeMutablePointer<CChar>(mutating: (value as NSString).utf8String)) {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'utf8String' is deprecated: On platforms without Objective-C autorelease pools, use withCString instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m464 |[0;0m throw GS1EncoderError.scanDataError(msg: self.getErrMsg())
[0;36m465 |[0;0m }
/host/spi-builder-workspace/Sources/GS1Encoders/GS1Encoder.swift:492:104: [1;33mwarning: [1;39m'utf8String' is deprecated: On platforms without Objective-C autorelease pools, use withCString instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m490 |[0;0m var cstr: UnsafeMutablePointer<CChar>?
[0;36m491 |[0;0m if let ustem = stem {
[0;36m492 |[0;0m cstr = gs1_encoder_getDLuri(ctx, UnsafeMutablePointer<CChar>(mutating: (ustem as NSString).utf8String))
[0;36m|[0;0m `- [1;33mwarning: [1;39m'utf8String' is deprecated: On platforms without Objective-C autorelease pools, use withCString instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m493 |[0;0m } else {
[0;36m494 |[0;0m cstr = gs1_encoder_getDLuri(ctx, nil)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (5.89 secs)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "GS1Encoders",
"name" : "GS1Encoders",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "GS1Encoders",
"targets" : [
"GS1Encoders"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GS1EncodersTests",
"module_type" : "SwiftTarget",
"name" : "GS1EncodersTests",
"path" : "Tests/GS1EncodersTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/GS1EncodersTests/gs1-syntax-dictionary.txt",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"GS1EncoderTests.swift"
],
"target_dependencies" : [
"GS1Encoders"
],
"type" : "test"
},
{
"c99name" : "GS1Encoders",
"module_type" : "SwiftTarget",
"name" : "GS1Encoders",
"path" : "Sources/GS1Encoders",
"product_memberships" : [
"GS1Encoders"
],
"sources" : [
"GS1Encoder.swift"
],
"target_dependencies" : [
"CGS1Encoders"
],
"type" : "library"
},
{
"c99name" : "CGS1Encoders",
"module_type" : "ClangTarget",
"name" : "CGS1Encoders",
"path" : "Sources/CGS1Encoders",
"product_memberships" : [
"GS1Encoders"
],
"sources" : [
"c-lib/ai.c",
"c-lib/dl.c",
"c-lib/gs1encoders.c",
"c-lib/scandata.c",
"c-lib/syn.c",
"c-lib/syntax/gs1syntaxdictionary.c",
"c-lib/syntax/lint__stubs.c",
"c-lib/syntax/lint_couponcode.c",
"c-lib/syntax/lint_couponposoffer.c",
"c-lib/syntax/lint_cset39.c",
"c-lib/syntax/lint_cset64.c",
"c-lib/syntax/lint_cset82.c",
"c-lib/syntax/lint_csetnumeric.c",
"c-lib/syntax/lint_csum.c",
"c-lib/syntax/lint_csumalpha.c",
"c-lib/syntax/lint_gcppos1.c",
"c-lib/syntax/lint_gcppos2.c",
"c-lib/syntax/lint_hasnondigit.c",
"c-lib/syntax/lint_hh.c",
"c-lib/syntax/lint_hhmi.c",
"c-lib/syntax/lint_hyphen.c",
"c-lib/syntax/lint_iban.c",
"c-lib/syntax/lint_importeridx.c",
"c-lib/syntax/lint_iso3166.c",
"c-lib/syntax/lint_iso3166999.c",
"c-lib/syntax/lint_iso3166alpha2.c",
"c-lib/syntax/lint_iso4217.c",
"c-lib/syntax/lint_iso5218.c",
"c-lib/syntax/lint_latitude.c",
"c-lib/syntax/lint_longitude.c",
"c-lib/syntax/lint_mediatype.c",
"c-lib/syntax/lint_mi.c",
"c-lib/syntax/lint_nonzero.c",
"c-lib/syntax/lint_nozeroprefix.c",
"c-lib/syntax/lint_packagetype.c",
"c-lib/syntax/lint_pcenc.c",
"c-lib/syntax/lint_pieceoftotal.c",
"c-lib/syntax/lint_posinseqslash.c",
"c-lib/syntax/lint_ss.c",
"c-lib/syntax/lint_winding.c",
"c-lib/syntax/lint_yesno.c",
"c-lib/syntax/lint_yymmd0.c",
"c-lib/syntax/lint_yymmdd.c",
"c-lib/syntax/lint_yyyymmd0.c",
"c-lib/syntax/lint_yyyymmdd.c",
"c-lib/syntax/lint_zero.c"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Done.