The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of chacl, reference main (afe4f7), with Swift 6.0 for macOS (SPM) on 5 Jan 2025 09:44:13 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.60.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Frizlab/chacl.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Frizlab/chacl
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at afe4f7e Update the Readme
Cloned https://github.com/Frizlab/chacl.git
Revision (git rev-parse @):
afe4f7e8deae9c2dbb162c446a1015cb97669a7f
SUCCESS checkout https://github.com/Frizlab/chacl.git at main
Fetching https://github.com/Frizlab/stream-reader.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/xcode-actions/clt-logger.git
Fetching https://github.com/apple/swift-log
[1/1051] Fetching stream-reader
[23/5011] Fetching stream-reader, swift-system
[283/5572] Fetching stream-reader, swift-system, clt-logger
[2304/9304] Fetching stream-reader, swift-system, clt-logger, swift-log
[2491/21705] Fetching stream-reader, swift-system, clt-logger, swift-log, swift-argument-parser
Fetched https://github.com/Frizlab/stream-reader.git from cache (0.89s)
[2480/20654] Fetching swift-system, clt-logger, swift-log, swift-argument-parser
Fetched https://github.com/apple/swift-log from cache (1.25s)
Fetched https://github.com/xcode-actions/clt-logger.git from cache (1.25s)
[9541/16361] Fetching swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-system.git from cache (1.53s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.53s)
Computing version for https://github.com/xcode-actions/clt-logger.git
Computed https://github.com/xcode-actions/clt-logger.git at 0.3.4 (0.56s)
Computing version for https://github.com/Frizlab/stream-reader.git
Computed https://github.com/Frizlab/stream-reader.git at 3.2.1 (0.54s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.4.2 (0.53s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.4.3 (0.54s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 0.0.2 (0.54s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.4.3
Creating working copy for https://github.com/Frizlab/stream-reader.git
Working copy of https://github.com/Frizlab/stream-reader.git resolved at 3.2.1
Creating working copy for https://github.com/xcode-actions/clt-logger.git
Working copy of https://github.com/xcode-actions/clt-logger.git resolved at 0.3.4
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 0.0.2
========================================
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": "chacl",
      "name": "chacl",
      "url": "https://github.com/Frizlab/chacl.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/chacl",
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser",
          "version": "0.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log",
          "version": "1.6.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "dependencies": [
          ]
        },
        {
          "identity": "stream-reader",
          "name": "stream-reader",
          "url": "https://github.com/Frizlab/stream-reader.git",
          "version": "3.6.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/stream-reader",
          "dependencies": [
          ]
        },
        {
          "identity": "clt-logger",
          "name": "clt-logger",
          "url": "https://github.com/xcode-actions/clt-logger.git",
          "version": "0.9.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/clt-logger",
          "dependencies": [
            {
              "identity": "swift-log",
              "name": "swift-log",
              "url": "https://github.com/apple/swift-log",
              "version": "1.6.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Frizlab/chacl.git
[1/279] Fetching chacl
Fetched https://github.com/Frizlab/chacl.git from cache (0.68s)
Fetching https://github.com/xcode-actions/clt-logger.git from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/Frizlab/stream-reader.git from cache
Fetching https://github.com/apple/swift-log from cache
Fetched https://github.com/Frizlab/stream-reader.git from cache (0.55s)
Fetched https://github.com/apple/swift-log from cache (0.57s)
Fetched https://github.com/xcode-actions/clt-logger.git from cache (0.57s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.57s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.57s)
Computing version for https://github.com/Frizlab/stream-reader.git
Computed https://github.com/Frizlab/stream-reader.git at 3.6.1 (0.44s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.2 (0.45s)
Computing version for https://github.com/xcode-actions/clt-logger.git
Computed https://github.com/xcode-actions/clt-logger.git at 0.9.0 (0.58s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.2
Creating working copy for https://github.com/Frizlab/chacl.git
Working copy of https://github.com/Frizlab/chacl.git resolved at main (afe4f7e)
Creating working copy for https://github.com/Frizlab/stream-reader.git
Working copy of https://github.com/Frizlab/stream-reader.git resolved at 3.6.1
Creating working copy for https://github.com/xcode-actions/clt-logger.git
Working copy of https://github.com/xcode-actions/clt-logger.git resolved at 0.9.0
Found 4 product dependencies
  - swift-argument-parser
  - swift-log
  - stream-reader
  - clt-logger
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Frizlab/chacl.git
https://github.com/Frizlab/chacl.git
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log"
    },
    {
      "identity" : "stream-reader",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.2.1",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Frizlab/stream-reader.git"
    },
    {
      "identity" : "clt-logger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.4",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/xcode-actions/clt-logger.git"
    }
  ],
  "manifest_display_name" : "chacl",
  "name" : "chacl",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "chacl",
      "targets" : [
        "chacl"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "chacl",
      "module_type" : "SwiftTarget",
      "name" : "chacl",
      "path" : "Sources/chacl",
      "product_dependencies" : [
        "ArgumentParser",
        "CLTLogger",
        "Logging",
        "StreamReader"
      ],
      "product_memberships" : [
        "chacl"
      ],
      "sources" : [
        "Chacl.swift",
        "ChaclConfigEntry.swift",
        "SimpleError.swift",
        "Utils.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.4"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/12] Write sources
[5/12] Write chacl-entitlement.plist
[6/12] Write sources
[7/12] Compiling CSystem shims.c
[8/12] Write swift-version-5BDAB9E9C0126B9D.txt
[10/70] Emitting module SystemPackage
[11/72] Compiling ArgumentParser ArgumentDecoder.swift
[12/72] Compiling ArgumentParser ArgumentDefinition.swift
[13/72] Compiling ArgumentParser Option.swift
[14/72] Compiling ArgumentParser OptionGroup.swift
[15/72] Compiling ArgumentParser ParsableArgumentsValidation.swift
[16/72] Compiling ArgumentParser ParsableCommand.swift
[17/72] Compiling Logging LogHandler.swift
[18/72] Compiling Logging Locks.swift
[19/72] Emitting module Logging
[20/72] Compiling Logging Logging.swift
[21/72] Compiling ArgumentParser ArgumentHelp.swift
[22/72] Compiling ArgumentParser CompletionKind.swift
[23/72] Compiling ArgumentParser CompletionsGenerator.swift
[24/72] Compiling ArgumentParser FishCompletionsGenerator.swift
[25/72] Compiling ArgumentParser Errors.swift
[26/72] Compiling ArgumentParser BashCompletionsGenerator.swift
[27/72] Compiling ArgumentParser ZshCompletionsGenerator.swift
[28/72] Compiling ArgumentParser Flag.swift
[29/72] Compiling ArgumentParser NameSpecification.swift
[30/72] Compiling ArgumentParser ParsableArguments.swift
[31/72] Compiling ArgumentParser Argument.swift
[32/72] Compiling ArgumentParser CommandConfiguration.swift
[33/72] Compiling ArgumentParser EnumerableFlag.swift
[34/72] Compiling ArgumentParser ExpressibleByArgument.swift
[39/75] Compiling SystemPackage Util.swift
[40/75] Compiling SystemPackage UtilConsumers.swift
[47/87] Compiling ArgumentParser InputOrigin.swift
[52/87] Emitting module ArgumentParser
[61/87] Compiling ArgumentParser SequenceExtensions.swift
[62/87] Compiling ArgumentParser StringExtensions.swift
[63/87] Compiling ArgumentParser Tree.swift
[64/87] Emitting module StreamReader
[65/87] Compiling StreamReader StreamReaderError.swift
[66/87] Compiling StreamReader Utils.swift
[67/87] Compiling StreamReader InputStreamReader.swift
[68/87] Compiling StreamReader GenericStreamReader.swift
[69/87] Compiling StreamReader DataReader.swift
[70/87] Compiling StreamReader StreamReader.swift
[71/87] Compiling StreamReader FileHandleReader.swift
[72/87] Compiling StreamReader FileDescriptorReader.swift
[73/87] Compiling ArgumentParser Name.swift
[74/87] Compiling ArgumentParser Parsed.swift
[75/87] Compiling ArgumentParser ParsedValues.swift
[76/87] Compiling ArgumentParser ParserError.swift
[77/87] Compiling ArgumentParser SplitArguments.swift
[78/87] Compiling ArgumentParser HelpCommand.swift
[79/87] Compiling ArgumentParser HelpGenerator.swift
[80/87] Compiling ArgumentParser MessageInfo.swift
[81/87] Compiling ArgumentParser UsageGenerator.swift
[82/87] Compiling CLTLogger SGR.swift
[83/87] Compiling CLTLogger CLTLogger.swift
[84/87] Emitting module CLTLogger
[85/92] Compiling chacl SimpleError.swift
[86/92] Compiling chacl Utils.swift
[87/92] Compiling chacl ChaclConfigEntry.swift
[88/92] Compiling chacl Chacl.swift
/Users/admin/builder/spi-builder-workspace/Sources/chacl/Chacl.swift:21:13: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 | struct Chacl : ParsableCommand {
 20 |
 21 | 	static var configuration = CommandConfiguration(
    |             |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 | 		commandName: "chacl",
 23 | 		abstract: "Apply ACLs in a hierarchy of files and folders given a list of rules.",
/Users/admin/builder/spi-builder-workspace/Sources/chacl/Chacl.swift:139:21: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
137 |
138 | 	/** Must not be accessed before the logging system has been bootstrapped. */
139 | 	private static var logger: Logger = {
    |                     |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 | 		var ret = Logger(label: "me.frizlab.chacl")
141 | 		ret.logLevel = .warning
[89/92] Emitting module chacl
/Users/admin/builder/spi-builder-workspace/Sources/chacl/Chacl.swift:21:13: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 | struct Chacl : ParsableCommand {
 20 |
 21 | 	static var configuration = CommandConfiguration(
    |             |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 | 		commandName: "chacl",
 23 | 		abstract: "Apply ACLs in a hierarchy of files and folders given a list of rules.",
/Users/admin/builder/spi-builder-workspace/Sources/chacl/Chacl.swift:139:21: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
137 |
138 | 	/** Must not be accessed before the logging system has been bootstrapped. */
139 | 	private static var logger: Logger = {
    |                     |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 | 		var ret = Logger(label: "me.frizlab.chacl")
141 | 		ret.logLevel = .warning
[89/92] Write Objects.LinkFileList
[90/92] Linking chacl
[91/92] Applying chacl
Build complete! (28.58s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log"
    },
    {
      "identity" : "stream-reader",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.2.1",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Frizlab/stream-reader.git"
    },
    {
      "identity" : "clt-logger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.4",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/xcode-actions/clt-logger.git"
    }
  ],
  "manifest_display_name" : "chacl",
  "name" : "chacl",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "chacl",
      "targets" : [
        "chacl"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "chacl",
      "module_type" : "SwiftTarget",
      "name" : "chacl",
      "path" : "Sources/chacl",
      "product_dependencies" : [
        "ArgumentParser",
        "CLTLogger",
        "Logging",
        "StreamReader"
      ],
      "product_memberships" : [
        "chacl"
      ],
      "sources" : [
        "Chacl.swift",
        "ChaclConfigEntry.swift",
        "SimpleError.swift",
        "Utils.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.4"
}
Done.