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.9 for Linux on 13 Mar 2025 11:16:36 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.9
Building package at path:  $PWD
https://github.com/apple/swift-log.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[1/5] Compiling Logging MetadataProvider.swift
[2/5] Compiling Logging Locks.swift
[3/5] Compiling Logging LogHandler.swift
[4/5] 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
        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
        let systemStdout = Glibc.stdout!
                                 ^
SwiftGlibc.stdout:1:12: note: var declared here
public var stdout: UnsafeMutablePointer<FILE>!
           ^
[5/5] 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
        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
        let systemStdout = Glibc.stdout!
                                 ^
SwiftGlibc.stdout:1:12: note: var declared here
public var stdout: UnsafeMutablePointer<FILE>!
           ^
Build complete! (5.55s)
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.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Done.