Build Information
Successful build of SimpleSwiftServer, reference master (7c799e
), with Swift 6.0 for macOS (SPM) on 5 Jan 2025 03:39:42 UTC.
Swift 6 data race errors: 1
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/Samasaur1/SimpleSwiftServer.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Samasaur1/SimpleSwiftServer
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 7c799e6 Bump flake inputs
Cloned https://github.com/Samasaur1/SimpleSwiftServer.git
Revision (git rev-parse @):
7c799e654425d64b304a8fa11bac4d5fb05b76ed
SUCCESS checkout https://github.com/Samasaur1/SimpleSwiftServer.git at master
Fetching https://github.com/httpswift/swifter
Fetching https://github.com/Samasaur1/SwiftIP
Fetching https://github.com/apple/swift-argument-parser.git
[1/295] Fetching swiftip
[66/6331] Fetching swiftip, swifter
[1064/18732] Fetching swiftip, swifter, swift-argument-parser
Fetched https://github.com/Samasaur1/SwiftIP from cache (1.83s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.83s)
Fetched https://github.com/httpswift/swifter from cache (1.83s)
Computing version for https://github.com/httpswift/swifter
Computed https://github.com/httpswift/swifter at 1.4.5 (2.47s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.3.1 (2.43s)
Computing version for https://github.com/Samasaur1/SwiftIP
Computed https://github.com/Samasaur1/SwiftIP at 2.2.0 (0.59s)
Creating working copy for https://github.com/httpswift/swifter
Working copy of https://github.com/httpswift/swifter resolved at 1.4.5
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 0.3.1
Creating working copy for https://github.com/Samasaur1/SwiftIP
Working copy of https://github.com/Samasaur1/SwiftIP resolved at 2.2.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": "simpleswiftserver",
"name": "SimpleSwiftServer",
"url": "https://github.com/Samasaur1/SimpleSwiftServer.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SimpleSwiftServer",
"dependencies": [
{
"identity": "swiftip",
"name": "SwiftIP",
"url": "https://github.com/Samasaur1/SwiftIP",
"version": "2.2.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftIP",
"dependencies": [
]
},
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser.git",
"version": "0.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
},
{
"identity": "swifter",
"name": "Swifter",
"url": "https://github.com/httpswift/swifter",
"version": "1.4.5",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swifter",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/Samasaur1/SimpleSwiftServer.git
[1/236] Fetching simpleswiftserver
Fetched https://github.com/Samasaur1/SimpleSwiftServer.git from cache (0.75s)
Fetching https://github.com/Samasaur1/SwiftIP from cache
Fetching https://github.com/httpswift/swifter from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/Samasaur1/SwiftIP from cache (0.57s)
Fetched https://github.com/httpswift/swifter from cache (0.57s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.59s)
Computing version for https://github.com/httpswift/swifter
Computed https://github.com/httpswift/swifter at 1.4.5 (0.02s)
Computing version for https://github.com/Samasaur1/SwiftIP
Computed https://github.com/Samasaur1/SwiftIP at 2.2.2 (0.02s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.5.0 (0.58s)
Creating working copy for https://github.com/Samasaur1/SimpleSwiftServer.git
Working copy of https://github.com/Samasaur1/SimpleSwiftServer.git resolved at master (7c799e6)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 0.5.0
Creating working copy for https://github.com/Samasaur1/SwiftIP
Working copy of https://github.com/Samasaur1/SwiftIP resolved at 2.2.2
Creating working copy for https://github.com/httpswift/swifter
Working copy of https://github.com/httpswift/swifter resolved at 1.4.5
Found 3 product dependencies
- SwiftIP
- swift-argument-parser
- Swifter
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/Samasaur1/SimpleSwiftServer.git
https://github.com/Samasaur1/SimpleSwiftServer.git
{
"dependencies" : [
{
"identity" : "swiftip",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Samasaur1/SwiftIP"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swifter",
"requirement" : {
"exact" : [
"1.4.5"
]
},
"type" : "sourceControl",
"url" : "https://github.com/httpswift/swifter"
}
],
"manifest_display_name" : "SimpleSwiftServer",
"name" : "SimpleSwiftServer",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "server",
"targets" : [
"SimpleSwiftServer"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SimpleSwiftServer",
"module_type" : "SwiftTarget",
"name" : "SimpleSwiftServer",
"path" : "Sources/SimpleSwiftServer",
"product_dependencies" : [
"ArgumentParser",
"SwiftIP",
"Swifter"
],
"product_memberships" : [
"server"
],
"sources" : [
"main.swift"
],
"type" : "executable"
}
],
"tools_version" : "4.2"
}
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/9] Write sources
[2/9] Write server-entitlement.plist
[5/9] Write swift-version-5BDAB9E9C0126B9D.txt
[7/63] Emitting module ArgumentParser
[8/66] Compiling ArgumentParser ParserError.swift
[9/66] Compiling ArgumentParser SplitArguments.swift
[10/66] Compiling ArgumentParser HelpCommand.swift
[11/66] Compiling ArgumentParser CommandConfiguration.swift
[12/66] Compiling ArgumentParser EnumerableFlag.swift
[13/66] Compiling ArgumentParser ExpressibleByArgument.swift
[14/66] Compiling ArgumentParser ParsableArguments.swift
[15/66] Compiling ArgumentParser ArgumentSet.swift
[16/66] Compiling ArgumentParser CommandParser.swift
[17/66] Compiling ArgumentParser InputOrigin.swift
[18/66] Compiling ArgumentParser BashCompletionsGenerator.swift
[19/66] Compiling ArgumentParser CompletionsGenerator.swift
[20/66] Compiling ArgumentParser FishCompletionsGenerator.swift
[21/66] Compiling ArgumentParser ZshCompletionsGenerator.swift
[22/66] Compiling ArgumentParser ParsableArgumentsValidation.swift
[23/66] Compiling ArgumentParser ParsableCommand.swift
[24/66] Compiling ArgumentParser ArgumentDecoder.swift
[25/66] Compiling ArgumentParser ArgumentDefinition.swift
[26/66] Compiling ArgumentParser SequenceExtensions.swift
[27/66] Compiling ArgumentParser StringExtensions.swift
[28/66] Compiling ArgumentParser Tree.swift
[29/66] Emitting module SwiftIP
[30/66] Compiling SwiftIP SwiftIP.swift
[31/66] Compiling ArgumentParser HelpGenerator.swift
[32/66] Compiling ArgumentParser MessageInfo.swift
[37/68] Emitting module Swifter
[42/68] Compiling ArgumentParser CompletionKind.swift
[43/68] Compiling ArgumentParser Errors.swift
[44/68] Compiling ArgumentParser Argument.swift
[45/68] Compiling ArgumentParser ArgumentHelp.swift
[46/68] Compiling ArgumentParser Option.swift
[47/68] Compiling ArgumentParser OptionGroup.swift
[48/68] Compiling ArgumentParser Flag.swift
[49/68] Compiling ArgumentParser NameSpecification.swift
[50/68] Compiling Swifter WebSockets.swift
[51/68] Compiling ArgumentParser Parsed.swift
[52/68] Compiling ArgumentParser ParsedValues.swift
[59/68] Compiling Swifter String+SHA1.swift
[66/70] Compiling SimpleSwiftServer main.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleSwiftServer/main.swift:19:16: 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
17 |
18 | struct Server: ParsableCommand {
19 | 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
20 | commandName: "server",
21 | abstract: "Host a little server.",
[67/70] Emitting module SimpleSwiftServer
/Users/admin/builder/spi-builder-workspace/Sources/SimpleSwiftServer/main.swift:19:16: 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
17 |
18 | struct Server: ParsableCommand {
19 | 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
20 | commandName: "server",
21 | abstract: "Host a little server.",
[67/70] Write Objects.LinkFileList
[68/70] Linking server
[69/70] Applying server
Build complete! (27.51s)
Build complete.
{
"dependencies" : [
{
"identity" : "swiftip",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Samasaur1/SwiftIP"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swifter",
"requirement" : {
"exact" : [
"1.4.5"
]
},
"type" : "sourceControl",
"url" : "https://github.com/httpswift/swifter"
}
],
"manifest_display_name" : "SimpleSwiftServer",
"name" : "SimpleSwiftServer",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "server",
"targets" : [
"SimpleSwiftServer"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SimpleSwiftServer",
"module_type" : "SwiftTarget",
"name" : "SimpleSwiftServer",
"path" : "Sources/SimpleSwiftServer",
"product_dependencies" : [
"ArgumentParser",
"SwiftIP",
"Swifter"
],
"product_memberships" : [
"server"
],
"sources" : [
"main.swift"
],
"type" : "executable"
}
],
"tools_version" : "4.2"
}
Done.