The Swift Package Index logo.Swift Package Index

Build Information

Successful build of GS1Encoders, reference main (7ebc6c), with Swift 6.2 for Wasm on 11 Jul 2026 22:30:44 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
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:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/gs1/gs1encoders-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Building for debugging...
[0/48] Compiling lint_cset39.c
[0/48] Write sources
[1/48] Compiling lint__stubs.c
[1/48] Compiling lint_cset64.c
[4/48] Compiling gs1syntaxdictionary.c
[5/48] Compiling lint_couponposoffer.c
[6/48] Compiling lint_zero.c
[7/48] Compiling lint_yyyymmdd.c
[7/48] Compiling lint_yyyymmd0.c
[9/48] Compiling lint_yymmdd.c
[10/48] Compiling lint_yymmd0.c
[10/48] Compiling lint_couponcode.c
[12/48] Write swift-version-24593BA9C3E375BF.txt
[13/48] Compiling syn.c
[14/48] Compiling lint_yesno.c
[15/48] Compiling lint_ss.c
[16/48] Compiling lint_winding.c
[17/48] Compiling lint_packagetype.c
[18/48] Compiling lint_pieceoftotal.c
[19/48] Compiling lint_pcenc.c
[20/48] Compiling lint_posinseqslash.c
[21/48] Compiling lint_nonzero.c
[22/48] Compiling lint_nozeroprefix.c
[23/48] Compiling lint_mi.c
[23/48] Compiling lint_mediatype.c
[25/48] Compiling lint_longitude.c
[26/48] Compiling lint_latitude.c
[26/48] Compiling lint_iso5218.c
[28/48] Compiling lint_iso4217.c
[29/48] Compiling lint_iso3166alpha2.c
[30/48] Compiling lint_iso3166999.c
[31/48] Compiling lint_importeridx.c
[32/48] Compiling lint_iso3166.c
[33/48] Compiling lint_hyphen.c
[34/48] Compiling lint_hasnondigit.c
[35/48] Compiling lint_hh.c
[36/48] Compiling lint_iban.c
[37/48] Compiling lint_hhmi.c
[38/48] Compiling lint_gcppos2.c
[39/48] Compiling lint_csumalpha.c
[40/48] Compiling lint_gcppos1.c
[41/48] Compiling lint_csetnumeric.c
[42/48] Compiling lint_csum.c
[43/48] Compiling lint_cset82.c
[44/48] Compiling scandata.c
[45/48] Compiling gs1encoders.c
[46/48] Compiling dl.c
[47/48] Compiling ai.c
[49/50] Emitting module GS1Encoders
[50/50] Compiling GS1Encoders GS1Encoder.swift
/host/spi-builder-workspace/Sources/GS1Encoders/GS1Encoder.swift:402:99: warning: 'utf8String' is deprecated: On platforms without Objective-C autorelease pools, use withCString instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
493 |         } else {
494 |             cstr = gs1_encoder_getDLuri(ctx, nil)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (3.22s)
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"
}
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Done.