The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of nanopb, reference maintenance_0.3 (c87a41), with Swift 6.0 for Linux on 21 Feb 2025 05:40:40 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/firebase/nanopb.git
Reference: maintenance_0.3
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/firebase/nanopb
 * branch            maintenance_0.3 -> FETCH_HEAD
 * [new branch]      maintenance_0.3 -> origin/maintenance_0.3
HEAD is now at c87a41d Update Python2 CI workflow to Ubuntu 20.04
Cloned https://github.com/firebase/nanopb.git
Revision (git rev-parse @):
c87a41d5bda5108f93efea5142db67b2e5d2af42
SUCCESS checkout https://github.com/firebase/nanopb.git at maintenance_0.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/firebase/nanopb.git
https://github.com/firebase/nanopb.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "nanopb",
  "name" : "nanopb",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "nanopb",
      "targets" : [
        "nanopb"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swift_test",
      "module_type" : "SwiftTarget",
      "name" : "swift-test",
      "path" : "spm-test/swift",
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "nanopb"
      ],
      "type" : "test"
    },
    {
      "c99name" : "objc_test",
      "module_type" : "ClangTarget",
      "name" : "objc-test",
      "path" : "spm-test/objc",
      "sources" : [
        "c-header.c",
        "objc-header.m",
        "objc-module.m",
        "objc-qualified.m"
      ],
      "target_dependencies" : [
        "nanopb"
      ],
      "type" : "test"
    },
    {
      "c99name" : "nanopb",
      "module_type" : "ClangTarget",
      "name" : "nanopb",
      "path" : ".",
      "product_memberships" : [
        "nanopb"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/spm_resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "pb_common.c",
        "pb_decode.c",
        "pb_encode.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
warning: 'spi-builder-workspace': ignoring target 'objc-test' in package 'spi-builder-workspace'; C language in tests is not yet supported
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
warning: 'spi-builder-workspace': ignoring target 'objc-test' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
[0/4] Copying PrivacyInfo.xcprivacy
[1/4] Compiling nanopb pb_common.c
[2/4] Compiling nanopb pb_encode.c
[3/4] Compiling nanopb pb_decode.c
Build complete! (0.51s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "nanopb",
  "name" : "nanopb",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "nanopb",
      "targets" : [
        "nanopb"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swift_test",
      "module_type" : "SwiftTarget",
      "name" : "swift-test",
      "path" : "spm-test/swift",
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "nanopb"
      ],
      "type" : "test"
    },
    {
      "c99name" : "objc_test",
      "module_type" : "ClangTarget",
      "name" : "objc-test",
      "path" : "spm-test/objc",
      "sources" : [
        "c-header.c",
        "objc-header.m",
        "objc-module.m",
        "objc-qualified.m"
      ],
      "target_dependencies" : [
        "nanopb"
      ],
      "type" : "test"
    },
    {
      "c99name" : "nanopb",
      "module_type" : "ClangTarget",
      "name" : "nanopb",
      "path" : ".",
      "product_memberships" : [
        "nanopb"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/spm_resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "pb_common.c",
        "pb_decode.c",
        "pb_encode.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
warning: 'spi-builder-workspace': ignoring target 'objc-test' in package 'spi-builder-workspace'; C language in tests is not yet supported
Done.