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 json-logger, reference main (264e42), with Swift 6.0 for Linux on 4 Nov 2024 11:05:27 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xcode-actions/json-logger.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/xcode-actions/json-logger
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 264e420 Dummy code style fix
Cloned https://github.com/xcode-actions/json-logger.git
Revision (git rev-parse @):
264e420a7647ea21d37a10d0d2868d5cbf68fdf4
SUCCESS checkout https://github.com/xcode-actions/json-logger.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/xcode-actions/json-logger.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/Frizlab/generic-json.git
Fetching https://github.com/apple/swift-log.git
[1/575] Fetching generic-json
[576/4235] Fetching generic-json, swift-log
[4236/8136] Fetching generic-json, swift-log, swift-system
Fetched https://github.com/Frizlab/generic-json.git from cache (0.35s)
Fetched https://github.com/apple/swift-system.git from cache (0.38s)
Fetched https://github.com/apple/swift-log.git from cache (0.38s)
Computing version for https://github.com/Frizlab/generic-json.git
Computed https://github.com/Frizlab/generic-json.git at 3.1.1 (0.44s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.44s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.44s)
Creating working copy for https://github.com/Frizlab/generic-json.git
Working copy of https://github.com/Frizlab/generic-json.git resolved at 3.1.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Building for debugging...
[0/6] Write sources
[4/6] Compiling CSystem shims.c
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/47] Emitting module SystemPackage
[8/50] Emitting module GenericJSON
[9/51] Compiling SystemPackage Errno.swift
[10/51] Compiling SystemPackage ErrnoWindows.swift
[11/51] Compiling SystemPackage FileDescriptor.swift
[12/51] Compiling SystemPackage FileHelpers.swift
[13/51] Compiling SystemPackage MachPort.swift
[14/51] Compiling SystemPackage PlatformString.swift
[15/51] Compiling SystemPackage SystemString.swift
[16/51] Compiling SystemPackage FilePathParsing.swift
[17/51] Compiling SystemPackage FilePathString.swift
[18/51] Compiling SystemPackage FilePathSyntax.swift
[19/51] Compiling SystemPackage FilePathTemp.swift
[20/51] Compiling SystemPackage FileOperations.swift
[21/51] Compiling SystemPackage FilePath.swift
[22/51] Compiling SystemPackage FilePathComponentView.swift
[23/51] Compiling SystemPackage FilePathComponents.swift
[24/51] Compiling SystemPackage Util+StringArray.swift
[25/51] Compiling SystemPackage Util.swift
[26/51] Compiling SystemPackage UtilConsumers.swift
[27/51] Compiling Logging MetadataProvider.swift
[28/51] Compiling SystemPackage Mocking.swift
[29/51] Compiling SystemPackage RawBuffer.swift
[30/51] Compiling SystemPackage Syscalls.swift
[31/51] Compiling SystemPackage WindowsSyscallAdapters.swift
[32/51] Compiling SystemPackage FilePathTempPosix.swift
[33/51] Compiling SystemPackage FilePathTempWindows.swift
[34/51] Compiling SystemPackage FilePathWindows.swift
[35/51] Compiling SystemPackage FilePermissions.swift
[36/51] Compiling SystemPackage Backcompat.swift
[37/51] Compiling SystemPackage CInterop.swift
[38/51] Compiling SystemPackage Constants.swift
[39/51] Compiling SystemPackage Exports.swift
[40/51] Compiling Logging LogHandler.swift
[41/51] Compiling Logging Locks.swift
[42/51] Compiling Logging Logging.swift
[43/51] Emitting module Logging
[46/53] Compiling GenericJSON JSON+Merging.swift
[47/53] Compiling GenericJSON JSON+Init.swift
[48/53] Compiling GenericJSON JSON+Codable.swift
[49/53] Compiling GenericJSON JSON+Querying.swift
[50/53] Compiling GenericJSON JSON.swift
[51/53] Compiling GenericJSON JSON+CustomDebugStringConvertible.swift
[52/53] Compiling GenericJSON JSON+Decoding.swift
[53/53] Compiling GenericJSON JSONErrors.swift
[55/59] Compiling JSONLogger NSLock+Linux.swift
[56/59] Compiling JSONLogger String+Utils.swift
[57/59] Compiling JSONLogger LogLine.swift
[58/59] Emitting module JSONLogger
[59/59] Compiling JSONLogger JSONLogger.swift
Build complete! (16.45s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system.git"
    },
    {
      "identity" : "generic-json",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Frizlab/generic-json.git"
    }
  ],
  "manifest_display_name" : "json-logger",
  "name" : "json-logger",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "JSONLogger",
      "targets" : [
        "JSONLogger"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JSONLoggerTests",
      "module_type" : "SwiftTarget",
      "name" : "JSONLoggerTests",
      "path" : "Tests",
      "sources" : [
        "JSONLoggerTests.swift"
      ],
      "target_dependencies" : [
        "JSONLogger"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JSONLogger",
      "module_type" : "SwiftTarget",
      "name" : "JSONLogger",
      "path" : "Sources",
      "product_dependencies" : [
        "GenericJSON",
        "Logging",
        "SystemPackage"
      ],
      "product_memberships" : [
        "JSONLogger"
      ],
      "sources" : [
        "JSONLogger.swift",
        "LogLine.swift",
        "NSLock+Linux.swift",
        "String+Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.