The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-jni, reference main (71385f), with Swift 6.1 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-2":/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.1-latest swift build --triple x86_64-unknown-linux-gnu -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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skiptools/swift-jni.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/skiptools/swift-jni
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/skiptools/swift-jni.git
https://github.com/skiptools/swift-jni.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-2":/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.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:13a529f31207afe6597b18f20995fc2db944100da935819188c653038756cb1b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Building for debugging...
[0/6] Write sources
[1/6] Compiling CJNI cjni.c
[1/6] Write swift-version-24593BA9C3E375BF.txt
[4/8] Emitting module SwiftJNI
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[5/8] Compiling SwiftJNI SwiftJNI.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/SwiftJNI/SwiftJNI.swift:1398:26: warning: 'init(validatingUTF8:)' is deprecated: replaced by 'String.init(validatingCString:)'
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:)'
     |                          `- 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:)'
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:)'
     |                                             `- note: use 'String.init(validatingCString:)' instead
1591 |
1592 |         let ext: String
[6/9] Wrapping AST for SwiftJNI for debugging
[7/9] Write Objects.LinkFileList
[8/9] Linking libSwiftJNI.so
Build complete! (3.52s)
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.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:13a529f31207afe6597b18f20995fc2db944100da935819188c653038756cb1b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Done.