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 0.2.0 (502d98), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 11:13:30 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xcode-actions/json-logger.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/xcode-actions/json-logger
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 502d98b Fix Swift 5.10 concurrency warnings
Cloned https://github.com/xcode-actions/json-logger.git
Revision (git rev-parse @):
502d98b1ca4ff83497dfed2791d6a438e785b66e
SUCCESS checkout https://github.com/xcode-actions/json-logger.git at 0.2.0
Fetching https://github.com/Frizlab/generic-json.git
Fetching https://github.com/apple/swift-log.git
[1/575] Fetching generic-json
[145/4235] Fetching generic-json, swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.18s)
Fetched https://github.com/Frizlab/generic-json.git from cache (1.18s)
Computing version for https://github.com/Frizlab/generic-json.git
Computed https://github.com/Frizlab/generic-json.git at 3.0.0 (0.50s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.67s)
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "json-logger",
      "name": "json-logger",
      "url": "https://github.com/xcode-actions/json-logger.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/json-logger",
      "dependencies": [
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log.git",
          "version": "1.6.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "dependencies": [
          ]
        },
        {
          "identity": "generic-json",
          "name": "GenericJSON",
          "url": "https://github.com/Frizlab/generic-json.git",
          "version": "3.1.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/generic-json",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/xcode-actions/json-logger.git
[1/98] Fetching json-logger
Fetched https://github.com/xcode-actions/json-logger.git from cache (0.66s)
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/Frizlab/generic-json.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.55s)
Fetched https://github.com/Frizlab/generic-json.git from cache (0.55s)
Computing version for https://github.com/Frizlab/generic-json.git
Computed https://github.com/Frizlab/generic-json.git at 3.1.1 (0.02s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.51s)
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/xcode-actions/json-logger.git
Working copy of https://github.com/xcode-actions/json-logger.git resolved at 0.2.0 (502d98b)
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
warning: '.resolve-product-dependencies': dependency 'json-logger' is not used by any target
Found 2 product dependencies
  - swift-log
  - GenericJSON
========================================
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.1.0.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--7754E27361AE5C74.txt
[5/14] Compiling Logging LogHandler.swift
[6/14] Compiling Logging Locks.swift
[7/14] Compiling Logging MetadataProvider.swift
[8/14] Compiling Logging Logging.swift
[9/14] Emitting module Logging
[10/14] Compiling GenericJSON Merging.swift
[11/14] Compiling GenericJSON Querying.swift
[12/14] Compiling GenericJSON JSON.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] Emitting module JSONLogger
[18/19] Compiling JSONLogger LogLine.swift
[19/19] Compiling JSONLogger JSONLogger.swift
Build complete! (11.55s)
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.