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 macOS (SPM) on 15 Sep 2024 11:51:07 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xcode-actions/json-logger.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/xcode-actions/json-logger.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-117DEE11B69C53C9.txt
[5/14] Compiling Logging MetadataProvider.swift
[6/14] Compiling Logging LogHandler.swift
[7/14] Compiling Logging Logging.swift
[8/14] Emitting module Logging
[9/14] Compiling Logging Locks.swift
[10/14] Compiling GenericJSON JSON.swift
[11/14] Compiling GenericJSON Merging.swift
[12/14] Compiling GenericJSON Querying.swift
[13/14] Emitting module GenericJSON
[14/14] Compiling GenericJSON Initialization.swift
[15/19] Compiling JSONLogger NSLock+Linux.swift
[16/19] Compiling JSONLogger String+Utils.swift
[17/19] Compiling JSONLogger LogLine.swift
[18/19] Emitting module JSONLogger
[19/19] Compiling JSONLogger JSONLogger.swift
Build complete! (13.54s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Frizlab/generic-json.git
[1/575] Fetching generic-json
[254/4161] Fetching generic-json, swift-log
Fetched https://github.com/Frizlab/generic-json.git from cache (1.13s)
Fetched https://github.com/apple/swift-log.git from cache (1.13s)
Computing version for https://github.com/Frizlab/generic-json.git
Computed https://github.com/Frizlab/generic-json.git at 3.0.0 (0.51s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.69s)
Creating working copy for https://github.com/Frizlab/generic-json.git
Working copy of https://github.com/Frizlab/generic-json.git resolved at 3.0.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.3
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" : "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" : "/Users/admin/builder/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"
      ],
      "product_memberships" : [
        "JSONLogger"
      ],
      "sources" : [
        "JSONLogger.swift",
        "LogLine.swift",
        "NSLock+Linux.swift",
        "String+Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.