Build Information
Successful build of Benchmarking, reference master (5fb268
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 23:09:13 UTC.
Swift 6 data race errors: 1
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/attaswift/Benchmarking.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/attaswift/Benchmarking
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 5fb2680 Merge pull request #1 from kareman/Swift4.1
Cloned https://github.com/attaswift/Benchmarking.git
Revision (git rev-parse @):
5fb2680a1a3d6197f5dbba29d9d57c2c1c56799e
SUCCESS checkout https://github.com/attaswift/Benchmarking.git at master
Fetching https://github.com/attaswift/OptionParser
[3/82] Fetching optionparser
Fetched https://github.com/attaswift/OptionParser from cache (0.67s)
Computing version for https://github.com/attaswift/OptionParser
Computed https://github.com/attaswift/OptionParser at 1.0.0 (0.62s)
Creating working copy for https://github.com/attaswift/OptionParser
Working copy of https://github.com/attaswift/OptionParser resolved at 1.0.0
========================================
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": "benchmarking",
"name": "Benchmarking",
"url": "https://github.com/attaswift/Benchmarking.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Benchmarking",
"dependencies": [
{
"identity": "optionparser",
"name": "OptionParser",
"url": "https://github.com/attaswift/OptionParser",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OptionParser",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/attaswift/Benchmarking.git
[3/65] Fetching benchmarking
Fetched https://github.com/attaswift/Benchmarking.git from cache (0.67s)
Fetching https://github.com/attaswift/OptionParser from cache
Fetched https://github.com/attaswift/OptionParser from cache (0.46s)
Computing version for https://github.com/attaswift/OptionParser
Computed https://github.com/attaswift/OptionParser at 1.0.0 (0.02s)
Creating working copy for https://github.com/attaswift/OptionParser
Working copy of https://github.com/attaswift/OptionParser resolved at 1.0.0
Creating working copy for https://github.com/attaswift/Benchmarking.git
Working copy of https://github.com/attaswift/Benchmarking.git resolved at master (5fb2680)
warning: '.resolve-product-dependencies': dependency 'benchmarking' is not used by any target
Found 1 product dependencies
- OptionParser
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/attaswift/Benchmarking.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/6] Write sources
[3/6] Write swift-version--7754E27361AE5C74.txt
[5/18] Compiling OptionParser Help.swift
[6/18] Compiling OptionParser Command.swift
[7/18] Emitting module BenchmarkIPC
[8/18] Compiling BenchmarkIPC BenchmarkIPC.swift
[9/18] Compiling OptionParser OptionParser.swift
[10/18] Compiling OptionParser Syntax.swift
[11/18] Compiling OptionParser Parameter.swift
[12/18] Compiling OptionParser OptionValue.swift
[13/18] Compiling OptionParser Option.swift
[14/18] Compiling OptionParser ParseContext.swift
[15/18] Emitting module OptionParser
[16/18] Compiling OptionParser Argument.swift
[16/18] Write Objects.LinkFileList
[17/18] Archiving libOptionParser.a
[19/27] Compiling Benchmarking Shuffle.swift
[20/27] Compiling Benchmarking Run.swift
/Users/admin/builder/spi-builder-workspace/Benchmarking/Run.swift:9:1: warning: extension declares a conformance of imported type 'OutputFormat' to imported protocol 'OptionValue'; this will not behave correctly if the owners of 'BenchmarkIPC' introduce this conformance in the future
7 | import BenchmarkIPC
8 |
9 | extension RunOptions.OutputFormat: OptionValue {}
| |- warning: extension declares a conformance of imported type 'OutputFormat' to imported protocol 'OptionValue'; this will not behave correctly if the owners of 'BenchmarkIPC' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
10 |
11 | struct AttabenchOptions {
/Users/admin/builder/spi-builder-workspace/Benchmarking/Run.swift:70:13: warning: variable 'sizes' was never mutated; consider changing to 'let' constant
68 | tasks = taskTitles.map { self.tasks[$0]! }
69 | }
70 | var sizes = options.sizes
| `- warning: variable 'sizes' was never mutated; consider changing to 'let' constant
71 | guard !sizes.isEmpty else {
72 | throw OptionError("Need at least one size")
[21/27] Compiling Benchmarking Noop.swift
[22/27] Compiling Benchmarking Output.swift
[23/27] Compiling Benchmarking InputGenerator.swift
[24/27] Compiling Benchmarking Timer.swift
[25/27] Compiling Benchmarking Complain.swift
/Users/admin/builder/spi-builder-workspace/Benchmarking/Complain.swift:12:13: warning: var 'standardErrorStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | }
11 | }
12 | private var standardErrorStream = ErrorStream()
| |- warning: var 'standardErrorStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardErrorStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standardErrorStream' 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
13 |
14 | public func complain(_ things: Any..., separator: String = " ", terminator: String = "\n") {
[26/27] Compiling Benchmarking Benchmark.swift
[27/27] Emitting module Benchmarking
/Users/admin/builder/spi-builder-workspace/Benchmarking/Complain.swift:12:13: warning: var 'standardErrorStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | }
11 | }
12 | private var standardErrorStream = ErrorStream()
| |- warning: var 'standardErrorStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardErrorStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standardErrorStream' 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
13 |
14 | public func complain(_ things: Any..., separator: String = " ", terminator: String = "\n") {
/Users/admin/builder/spi-builder-workspace/Benchmarking/Run.swift:9:1: warning: extension declares a conformance of imported type 'OutputFormat' to imported protocol 'OptionValue'; this will not behave correctly if the owners of 'BenchmarkIPC' introduce this conformance in the future
7 | import BenchmarkIPC
8 |
9 | extension RunOptions.OutputFormat: OptionValue {}
| |- warning: extension declares a conformance of imported type 'OutputFormat' to imported protocol 'OptionValue'; this will not behave correctly if the owners of 'BenchmarkIPC' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
10 |
11 | struct AttabenchOptions {
Build complete! (19.28s)
Build complete.
{
"dependencies" : [
{
"identity" : "optionparser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/attaswift/OptionParser"
}
],
"manifest_display_name" : "Benchmarking",
"name" : "Benchmarking",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Benchmarking",
"targets" : [
"Benchmarking",
"BenchmarkIPC"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4"
],
"targets" : [
{
"c99name" : "Benchmarking",
"module_type" : "SwiftTarget",
"name" : "Benchmarking",
"path" : "Benchmarking",
"product_dependencies" : [
"OptionParser"
],
"product_memberships" : [
"Benchmarking"
],
"sources" : [
"Benchmark.swift",
"Complain.swift",
"InputGenerator.swift",
"Noop.swift",
"Output.swift",
"Run.swift",
"Shuffle.swift",
"Timer.swift"
],
"target_dependencies" : [
"BenchmarkIPC"
],
"type" : "library"
},
{
"c99name" : "BenchmarkIPC",
"module_type" : "SwiftTarget",
"name" : "BenchmarkIPC",
"path" : "BenchmarkIPC",
"product_memberships" : [
"Benchmarking"
],
"sources" : [
"BenchmarkIPC.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.