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 swift-log, reference 1.6.3 (3d8596), with Swift 5.10 for Linux on 13 Mar 2025 11:16:41 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-log.git
Reference: 1.6.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/apple/swift-log
 * tag               1.6.3      -> FETCH_HEAD
HEAD is now at 3d8596e Fix building on Fedora 39 and Ubuntu 24.04 (#354)
Cloned https://github.com/apple/swift-log.git
Revision (git rev-parse @):
3d8596ed08bd13520157f0355e35caed215ffbfa
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-log.git at 1.6.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/apple/swift-log.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/7] Compiling Logging MetadataProvider.swift
[4/7] Compiling Logging Locks.swift
[5/7] Emitting module Logging
/host/spi-builder-workspace/Sources/Logging/Logging.swift:1263:34: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        let systemStderr = Glibc.stderr!
                                 ^
SwiftGlibc.stderr:1:12: note: var declared here
public var stderr: UnsafeMutablePointer<FILE>!
           ^
/host/spi-builder-workspace/Sources/Logging/Logging.swift:1283:34: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        let systemStdout = Glibc.stdout!
                                 ^
SwiftGlibc.stdout:1:12: note: var declared here
public var stdout: UnsafeMutablePointer<FILE>!
           ^
[6/7] Compiling Logging LogHandler.swift
[7/7] Compiling Logging Logging.swift
/host/spi-builder-workspace/Sources/Logging/Logging.swift:1263:34: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        let systemStderr = Glibc.stderr!
                                 ^
SwiftGlibc.stderr:1:12: note: var declared here
public var stderr: UnsafeMutablePointer<FILE>!
           ^
/host/spi-builder-workspace/Sources/Logging/Logging.swift:1283:34: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        let systemStdout = Glibc.stdout!
                                 ^
SwiftGlibc.stdout:1:12: note: var declared here
public var stdout: UnsafeMutablePointer<FILE>!
           ^
Build complete! (4.43s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-log",
  "name" : "swift-log",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Logging",
      "targets" : [
        "Logging"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LoggingTests",
      "module_type" : "SwiftTarget",
      "name" : "LoggingTests",
      "path" : "Tests/LoggingTests",
      "sources" : [
        "CompatibilityTest.swift",
        "GlobalLoggingTest.swift",
        "LocalLoggingTest.swift",
        "LoggingTest.swift",
        "MDCTest.swift",
        "MetadataProviderTest.swift",
        "SubDirectoryOfLoggingTests/EmitALogFromSubDirectory.swift",
        "TestLogger.swift",
        "TestSendable.swift"
      ],
      "target_dependencies" : [
        "Logging"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Logging",
      "module_type" : "SwiftTarget",
      "name" : "Logging",
      "path" : "Sources/Logging",
      "product_memberships" : [
        "Logging"
      ],
      "sources" : [
        "Locks.swift",
        "LogHandler.swift",
        "Logging.swift",
        "MetadataProvider.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Done.