The Swift Package Index logo.Swift Package Index

Build Information

Successful build of GS1Encoders, reference 1.4.1 (7ebc6c), with Swift 6.4 for Linux on 25 Sep 2026 22:38:44 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gs1/gs1encoders-swift.git
Reference: 1.4.1
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
 * tag               1.4.1      -> FETCH_HEAD
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 1.4.1
========================================
Build
========================================
Selected platform:         linux
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-54344843-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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Pre-planning 1 / 125]
[1 / 80]
[48 / 80] CGS1Encoders
[71 / 81] CGS1Encoders
[74 / 83] CGS1Encoders
[75 / 83] GS1Encoders
[80 / 83] GS1Encoders
/host/spi-builder-workspace/Sources/GS1Encoders/GS1Encoder.swift:402:99: warning: 'utf8String' is deprecated: On platforms without Objective-C autorelease pools, use withCString instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
400 |     /// - SeeAlso: `getDataStr()`
401 |     public func setDataStr(_ value: String) throws {
402 |         if !gs1_encoder_setDataStr(ctx, UnsafeMutablePointer<CChar>(mutating: (value as NSString).utf8String)) {
    |                                                                                                   `- warning: 'utf8String' is deprecated: On platforms without Objective-C autorelease pools, use withCString instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
403 |             throw GS1EncoderError.parameterError(msg: self.getErrMsg())
404 |         }
/host/spi-builder-workspace/Sources/GS1Encoders/GS1Encoder.swift:431:101: warning: 'utf8String' is deprecated: On platforms without Objective-C autorelease pools, use withCString instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
429 |     /// - SeeAlso: `getAIdataStr()`
430 |     public func setAIdataStr(_ value: String) throws {
431 |         if !gs1_encoder_setAIdataStr(ctx, UnsafeMutablePointer<CChar>(mutating: (value as NSString).utf8String)) {
    |                                                                                                     `- warning: 'utf8String' is deprecated: On platforms without Objective-C autorelease pools, use withCString instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
432 |             throw GS1EncoderError.parameterError(msg: self.getErrMsg())
433 |         }
/host/spi-builder-workspace/Sources/GS1Encoders/GS1Encoder.swift:463:100: warning: 'utf8String' is deprecated: On platforms without Objective-C autorelease pools, use withCString instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
461 |     /// - SeeAlso: `getSym()`
462 |     public func setScanData(_ value: String) throws {
463 |         if !gs1_encoder_setScanData(ctx, UnsafeMutablePointer<CChar>(mutating: (value as NSString).utf8String)) {
    |                                                                                                    `- warning: 'utf8String' is deprecated: On platforms without Objective-C autorelease pools, use withCString instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
464 |             throw GS1EncoderError.scanDataError(msg: self.getErrMsg())
465 |         }
/host/spi-builder-workspace/Sources/GS1Encoders/GS1Encoder.swift:492:104: warning: 'utf8String' is deprecated: On platforms without Objective-C autorelease pools, use withCString instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
490 |         var cstr: UnsafeMutablePointer<CChar>?
491 |         if let ustem = stem {
492 |             cstr = gs1_encoder_getDLuri(ctx, UnsafeMutablePointer<CChar>(mutating: (ustem as NSString).utf8String))
    |                                                                                                        `- warning: 'utf8String' is deprecated: On platforms without Objective-C autorelease pools, use withCString instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
493 |         } else {
494 |             cstr = gs1_encoder_getDLuri(ctx, nil)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (5.36 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"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.