The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-jni, reference 0.5.1 (71385f), with Swift 6.4 for Linux on 10 Oct 2026 07:18:51 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-1":/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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skiptools/swift-jni.git
Reference: 0.5.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/skiptools/swift-jni
 * tag               0.5.1      -> FETCH_HEAD
HEAD is now at 71385f8 Merge pull request #11 from skiptools/perf/string-newstringutf
Cloned https://github.com/skiptools/swift-jni.git
Revision (git rev-parse @):
71385f88cfff14409fe105e27fcad3ebd44348d0
SUCCESS checkout https://github.com/skiptools/swift-jni.git at 0.5.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/skiptools/swift-jni.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-1":/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:cb09f0c0d537a8668f02529c380785d189fc75032d54572211355a09e050e122
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Pre-planning 1 / 96]
[22 / 31] CJNI
[25 / 33] SwiftJNI
[30 / 33] SwiftJNI
/host/spi-builder-workspace/Sources/SwiftJNI/SwiftJNI.swift:1398:26: warning: 'init(validatingUTF8:)' is deprecated: replaced by 'String.init(validatingCString:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
1396 |             }
1397 |             defer { jni.ReleaseStringUTFChars(env, obj, chars) }
1398 |             if let str = String(validatingUTF8: chars) {
     |                          |- warning: 'init(validatingUTF8:)' is deprecated: replaced by 'String.init(validatingCString:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
     |                          `- note: use 'String.init(validatingCString:)' instead
1399 |                 return str
1400 |             }
/host/spi-builder-workspace/Sources/SwiftJNI/SwiftJNI.swift:1590:45: warning: 'init(validatingUTF8:)' is deprecated: replaced by 'String.init(validatingCString:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
1588 |         }
1589 |         let JAVA_HOME = getenv("JAVA_HOME")!
1590 |         let javaHome = URL(fileURLWithPath: String(validatingUTF8: JAVA_HOME)!)
     |                                             |- warning: 'init(validatingUTF8:)' is deprecated: replaced by 'String.init(validatingCString:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
     |                                             `- note: use 'String.init(validatingCString:)' instead
1591 |
1592 |         let ext: String
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[34 / 34] SwiftJNI-product
Build complete! (4.51 secs)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-jni",
  "name" : "swift-jni",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftJNI",
      "targets" : [
        "SwiftJNI"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftJNITests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftJNITests",
      "path" : "Tests/SwiftJNITests",
      "sources" : [
        "SwiftJNITests.swift"
      ],
      "target_dependencies" : [
        "SwiftJNI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftJNI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftJNI",
      "path" : "Sources/SwiftJNI",
      "product_memberships" : [
        "SwiftJNI"
      ],
      "sources" : [
        "SwiftJNI.swift"
      ],
      "target_dependencies" : [
        "CJNI"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CJNI",
      "module_type" : "ClangTarget",
      "name" : "CJNI",
      "path" : "Sources/CJNI",
      "product_memberships" : [
        "SwiftJNI"
      ],
      "sources" : [
        "cjni.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:cb09f0c0d537a8668f02529c380785d189fc75032d54572211355a09e050e122
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.