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 Linux on 15 Sep 2024 11:43:25 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.53.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 /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
 * 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
========================================
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:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Frizlab/generic-json.git
Fetching https://github.com/apple/swift-system.git
[1/575] Fetching generic-json
[576/4161] Fetching generic-json, swift-log
[2298/7799] 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.36s)
Fetched https://github.com/apple/swift-log.git from cache (0.36s)
Computing version for https://github.com/Frizlab/generic-json.git
Computed https://github.com/Frizlab/generic-json.git at 3.0.0 (0.63s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.73s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.3.2 (0.92s)
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
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.3.2
Building for debugging...
[0/6] Write sources
[4/6] Compiling CSystem shims.c
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/37] Emitting module Logging
[8/37] Compiling SystemPackage PlatformString.swift
[9/37] Compiling SystemPackage SystemString.swift
[10/39] Emitting module SystemPackage
[11/39] Compiling SystemPackage Errno.swift
[12/39] Compiling SystemPackage FileDescriptor.swift
[13/39] Compiling SystemPackage FileHelpers.swift
[14/39] Compiling SystemPackage Util.swift
[15/39] Compiling SystemPackage UtilConsumers.swift
[16/39] Compiling Logging MetadataProvider.swift
[17/39] Compiling SystemPackage Mocking.swift
[18/39] Compiling SystemPackage Syscalls.swift
[19/39] Compiling SystemPackage WindowsSyscallAdapters.swift
[20/39] Compiling SystemPackage FilePathComponents.swift
[21/39] Compiling Logging Locks.swift
[22/39] Compiling SystemPackage FilePathParsing.swift
[23/39] Compiling SystemPackage FilePathString.swift
[24/39] Compiling SystemPackage FilePathSyntax.swift
[25/39] Compiling SystemPackage FilePathWindows.swift
[26/39] Compiling SystemPackage FilePermissions.swift
[27/39] Compiling SystemPackage FileOperations.swift
[28/39] Compiling SystemPackage FilePath.swift
[29/39] Compiling SystemPackage FilePathComponentView.swift
[30/39] Compiling SystemPackage CInterop.swift
[31/39] Compiling SystemPackage Constants.swift
[32/39] Compiling SystemPackage Exports.swift
[33/39] Compiling Logging LogHandler.swift
[34/39] Compiling Logging Logging.swift
[37/41] Compiling GenericJSON Querying.swift
[38/41] Compiling GenericJSON Merging.swift
[39/41] Emitting module GenericJSON
[40/41] Compiling GenericJSON JSON.swift
[41/41] Compiling GenericJSON Initialization.swift
[43/47] Emitting module JSONLogger
[44/47] Compiling JSONLogger NSLock+Linux.swift
[45/47] Compiling JSONLogger String+Utils.swift
[46/47] Compiling JSONLogger LogLine.swift
[47/47] Compiling JSONLogger JSONLogger.swift
Build complete! (27.65s)
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:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.