Build Information
Successful build of DynuREST, reference main (de5d03
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 09:41:41 UTC.
Swift 6 data race errors: 5
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/richardpiazza/DynuREST.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/richardpiazza/DynuREST
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at de5d038 Equatable conformance on IPAddress (#6)
Cloned https://github.com/richardpiazza/DynuREST.git
Revision (git rev-parse @):
de5d038b426cb5c639a0edad1911ddbe6a291f2c
SUCCESS checkout https://github.com/richardpiazza/DynuREST.git at main
Fetching https://github.com/richardpiazza/SessionPlus.git
Fetching https://github.com/johnsundell/ShellOut.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/960] Fetching shellout
[193/1373] Fetching shellout, sessionplus
[1317/13726] Fetching shellout, sessionplus, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.51s)
Fetched https://github.com/johnsundell/ShellOut.git from cache (1.51s)
Fetched https://github.com/richardpiazza/SessionPlus.git from cache (1.51s)
Computing version for https://github.com/johnsundell/ShellOut.git
Computed https://github.com/johnsundell/ShellOut.git at 2.3.0 (2.66s)
Computing version for https://github.com/richardpiazza/SessionPlus.git
Computed https://github.com/richardpiazza/SessionPlus.git at 2.2.0 (0.68s)
Fetching https://github.com/richardpiazza/AsyncPlus.git
[1/124] Fetching asyncplus
Fetched https://github.com/richardpiazza/AsyncPlus.git from cache (0.64s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.53s)
Computing version for https://github.com/richardpiazza/AsyncPlus.git
Computed https://github.com/richardpiazza/AsyncPlus.git at 0.3.2 (0.53s)
Creating working copy for https://github.com/johnsundell/ShellOut.git
Working copy of https://github.com/johnsundell/ShellOut.git resolved at 2.3.0
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 1.5.0
Creating working copy for https://github.com/richardpiazza/AsyncPlus.git
Working copy of https://github.com/richardpiazza/AsyncPlus.git resolved at 0.3.2
Creating working copy for https://github.com/richardpiazza/SessionPlus.git
Working copy of https://github.com/richardpiazza/SessionPlus.git 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": "dynurest",
"name": "DynuREST",
"url": "https://github.com/richardpiazza/DynuREST.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DynuREST",
"dependencies": [
{
"identity": "sessionplus",
"name": "SessionPlus",
"url": "https://github.com/richardpiazza/SessionPlus.git",
"version": "2.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SessionPlus",
"dependencies": [
{
"identity": "asyncplus",
"name": "AsyncPlus",
"url": "https://github.com/richardpiazza/AsyncPlus.git",
"version": "0.3.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AsyncPlus",
"dependencies": [
]
}
]
},
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser.git",
"version": "1.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
},
{
"identity": "shellout",
"name": "ShellOut",
"url": "https://github.com/johnsundell/ShellOut.git",
"version": "2.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ShellOut",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/richardpiazza/DynuREST.git
[1/496] Fetching dynurest
Fetched https://github.com/richardpiazza/DynuREST.git from cache (0.87s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/richardpiazza/SessionPlus.git from cache
Fetching https://github.com/johnsundell/ShellOut.git from cache
Fetched https://github.com/richardpiazza/SessionPlus.git from cache (0.64s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.64s)
Fetched https://github.com/johnsundell/ShellOut.git from cache (0.64s)
Computing version for https://github.com/johnsundell/ShellOut.git
Computed https://github.com/johnsundell/ShellOut.git at 2.3.0 (0.03s)
Computing version for https://github.com/richardpiazza/SessionPlus.git
Computed https://github.com/richardpiazza/SessionPlus.git at 2.2.0 (0.02s)
Fetching https://github.com/richardpiazza/AsyncPlus.git from cache
Fetched https://github.com/richardpiazza/AsyncPlus.git from cache (0.56s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.04s)
Computing version for https://github.com/richardpiazza/AsyncPlus.git
Computed https://github.com/richardpiazza/AsyncPlus.git at 0.3.2 (0.02s)
Creating working copy for https://github.com/johnsundell/ShellOut.git
Working copy of https://github.com/johnsundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/richardpiazza/AsyncPlus.git
Working copy of https://github.com/richardpiazza/AsyncPlus.git resolved at 0.3.2
Creating working copy for https://github.com/richardpiazza/DynuREST.git
Working copy of https://github.com/richardpiazza/DynuREST.git resolved at main (de5d038)
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 1.5.0
Creating working copy for https://github.com/richardpiazza/SessionPlus.git
Working copy of https://github.com/richardpiazza/SessionPlus.git resolved at 2.2.0
Found 3 product dependencies
- SessionPlus
- swift-argument-parser
- ShellOut
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/richardpiazza/DynuREST.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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/14] Write sources
[3/14] Write dynu-entitlement.plist
[5/14] Write sources
[10/14] Write swift-version--7754E27361AE5C74.txt
[12/25] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/25] Emitting module ArgumentParserToolInfo
[14/64] Compiling ArgumentParser NameSpecification.swift
[15/64] Compiling ArgumentParser Option.swift
[16/64] Compiling ArgumentParser OptionGroup.swift
[17/64] Compiling ArgumentParser AsyncParsableCommand.swift
[18/68] Compiling ArgumentParser CommandConfiguration.swift
[19/68] Compiling ArgumentParser CommandGroup.swift
[20/68] Compiling ArgumentParser EnumerableFlag.swift
[21/68] Compiling ArgumentParser ExpressibleByArgument.swift
[22/68] Compiling ArgumentParser BashCompletionsGenerator.swift
[23/68] Compiling ArgumentParser CompletionsGenerator.swift
[24/68] Compiling ArgumentParser FishCompletionsGenerator.swift
[25/68] Compiling ArgumentParser ZshCompletionsGenerator.swift
[26/68] Compiling ArgumentParser Argument.swift
[27/68] Emitting module ArgumentParser
[28/68] Emitting module ShellOut
[29/68] Compiling ShellOut ShellOut.swift
[30/68] Compiling AsyncPlus PassthroughAsyncSequence.swift
[31/68] Compiling AsyncPlus CurrentValueAsyncSubject.swift
[32/68] Emitting module AsyncPlus
[33/68] Compiling AsyncPlus PassthroughAsyncThrowingSequence.swift
[34/68] Compiling AsyncPlus PassthroughAsyncThrowingSubject.swift
[35/68] Compiling AsyncPlus PassthroughAsyncSubject.swift
[36/68] Compiling AsyncPlus CurrentValueAsyncThrowingSubject.swift
[37/68] Compiling ArgumentParser Platform.swift
[38/68] Compiling ArgumentParser SequenceExtensions.swift
[39/68] Compiling ArgumentParser StringExtensions.swift
[40/68] Compiling ArgumentParser Tree.swift
[41/68] Compiling ArgumentParser ParsableArguments.swift
[42/68] Compiling ArgumentParser ParsableArgumentsValidation.swift
[43/68] Compiling ArgumentParser ParsableCommand.swift
[44/68] Compiling ArgumentParser ArgumentDecoder.swift
[45/102] Compiling SessionPlus Get.swift
[46/102] Compiling SessionPlus PNGImageFormDataRequest.swift
[47/102] Compiling SessionPlus HTTPInjectable.swift
[48/102] Compiling SessionPlus WebAPI.swift
[49/102] Compiling SessionPlus URLCache+SessionPlus.swift
[50/102] Compiling SessionPlus URLResponse+SessionPlus.swift
[51/102] Compiling SessionPlus URLSessionConfiguration+SessionPlus.swift
[52/102] Compiling SessionPlus URLSessionDelegate+SessionPlus.swift
[53/102] Compiling SessionPlus Method.swift
[54/102] Compiling SessionPlus Request.swift
[55/102] Compiling SessionPlus Response.swift
[56/102] Compiling SessionPlus Patch.swift
[57/102] Compiling SessionPlus Post.swift
[61/105] Compiling SessionPlus Authorization.swift
[62/105] Compiling SessionPlus Client+Decoding.swift
[63/105] Compiling SessionPlus Client.swift
[64/105] Compiling SessionPlus Header.swift
[65/105] Compiling SessionPlus Headers.swift
[66/105] Compiling SessionPlus MIMEType.swift
[67/105] Compiling SessionPlus URLRequest+SessionPlus.swift
[71/105] Compiling SessionPlus URLQueryItem+SessionPlus.swift
[78/105] Compiling SessionPlus Socket.swift
[79/105] Compiling SessionPlus Downloader.swift
[80/105] Compiling SessionPlus HTTP.swift
[81/105] Compiling SessionPlus HTTPClient.swift
[82/105] Compiling SessionPlus HTTPCodable.swift
[83/105] Compiling SessionPlus BaseURLSessionClient.swift
[84/105] Compiling SessionPlus Delete.swift
[89/105] Compiling SessionPlus Put.swift
[90/105] Compiling SessionPlus Address.swift
[95/105] Emitting module SessionPlus
[96/105] Compiling SessionPlus AbsoluteURLSessionClient.swift
[97/105] Compiling SessionPlus AbsoluteURLWebSocket.swift
[98/105] Compiling SessionPlus AnyRequest.swift
[99/105] Compiling SessionPlus AnyResponse.swift
[101/105] Compiling SessionPlus StatusCode.swift
[102/105] Compiling SessionPlus WebSocket.swift
[103/107] Emitting module SessionPlusEmulation
[104/107] Compiling SessionPlusEmulation EmulatedClient.swift
[105/117] Compiling DynuREST DynuClient.swift
[106/117] Compiling DynuREST DynuRESTError.swift
[107/118] Compiling DynuREST IFConfigCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/DynuREST/IFConfigCommand.swift:12:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public class IFConfigCommand: IPSource {
11 |
12 | public static var shared: IFConfigCommand = .init()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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 | private init() {
[108/118] Compiling DynuREST DynuIPUpdater.swift
/Users/admin/builder/spi-builder-workspace/Sources/DynuREST/DynuIPUpdater.swift:9:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public final class DynuIPUpdater: BaseURLSessionClient, DynuClient {
8 |
9 | public static var shared: DynuIPUpdater = .init()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
10 |
11 | /// Default sources for `IPAddress` lookup.
/Users/admin/builder/spi-builder-workspace/Sources/DynuREST/DynuIPUpdater.swift:14:23: warning: static property 'sources' is not concurrency-safe because non-'Sendable' type '[any IPSource]' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 | /// This order prefers IPv4 before IPv6
14 | public static let sources: [IPSource] = [
| |- warning: static property 'sources' is not concurrency-safe because non-'Sendable' type '[any IPSource]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sources' 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
15 | IPIfyClient.shared,
16 | IFConfigClient.shared,
/Users/admin/builder/spi-builder-workspace/Sources/DynuREST/IPSource.swift:3:17: note: protocol 'IPSource' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol IPSource {
| `- note: protocol 'IPSource' does not conform to the 'Sendable' protocol
4 | func ipAddress() async throws -> IPAddress
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/DynuREST/IPifyClient.swift:16:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public static var shared: IPIfyClient = .init()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
17 |
18 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/DynuREST/IFConfigClient.swift:44:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public static var shared: IFConfigClient = .init()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
45 |
46 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/DynuREST/IFConfigCommand.swift:12:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public class IFConfigCommand: IPSource {
11 |
12 | public static var shared: IFConfigCommand = .init()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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 | private init() {
[109/118] Emitting module DynuREST
/Users/admin/builder/spi-builder-workspace/Sources/DynuREST/DynuIPUpdater.swift:9:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public final class DynuIPUpdater: BaseURLSessionClient, DynuClient {
8 |
9 | public static var shared: DynuIPUpdater = .init()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
10 |
11 | /// Default sources for `IPAddress` lookup.
/Users/admin/builder/spi-builder-workspace/Sources/DynuREST/DynuIPUpdater.swift:14:23: warning: static property 'sources' is not concurrency-safe because non-'Sendable' type '[any IPSource]' may have shared mutable state; this is an error in the Swift 6 language mode
12 | ///
13 | /// This order prefers IPv4 before IPv6
14 | public static let sources: [IPSource] = [
| |- warning: static property 'sources' is not concurrency-safe because non-'Sendable' type '[any IPSource]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sources' 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
15 | IPIfyClient.shared,
16 | IFConfigClient.shared,
/Users/admin/builder/spi-builder-workspace/Sources/DynuREST/IPSource.swift:3:17: note: protocol 'IPSource' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol IPSource {
| `- note: protocol 'IPSource' does not conform to the 'Sendable' protocol
4 | func ipAddress() async throws -> IPAddress
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/DynuREST/IPifyClient.swift:16:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public static var shared: IPIfyClient = .init()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
17 |
18 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/DynuREST/IFConfigClient.swift:44:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public static var shared: IFConfigClient = .init()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
45 |
46 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/DynuREST/IFConfigCommand.swift:12:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public class IFConfigCommand: IPSource {
11 |
12 | public static var shared: IFConfigCommand = .init()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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 | private init() {
[110/118] Compiling DynuREST IPifyClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/DynuREST/IPifyClient.swift:16:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public static var shared: IPIfyClient = .init()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
17 |
18 | private init() {
[111/118] Compiling DynuREST IPSource.swift
[112/118] Compiling DynuREST IFConfigClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/DynuREST/IFConfigClient.swift:44:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public static var shared: IFConfigClient = .init()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
45 |
46 | private init() {
[113/118] Compiling DynuREST ResponseCode.swift
[114/118] Compiling DynuREST IPAddress.swift
[115/118] Compiling DynuREST URL+DynuREST.swift
[116/122] Compiling cli IPCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/cli/IPCommand.swift:7:9: warning: 'init(commandName:abstract:usage:discussion:version:shouldDisplay:subcommands:defaultSubcommand:helpNames:)' is deprecated: Use the memberwise initializer with the aliases parameter.
5 |
6 | static var configuration: CommandConfiguration {
7 | CommandConfiguration(
| `- warning: 'init(commandName:abstract:usage:discussion:version:shouldDisplay:subcommands:defaultSubcommand:helpNames:)' is deprecated: Use the memberwise initializer with the aliases parameter.
8 | commandName: "ip",
9 | abstract: "Query sources for IP information",
/Users/admin/builder/spi-builder-workspace/Sources/cli/IPCommand.swift:38:49: warning: reference to class property 'shared' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
36 | switch source {
37 | case .ipifyApi:
38 | let address = try await IPIfyClient.shared.ipAddress()
| `- warning: reference to class property 'shared' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
39 | print(address.description)
40 | case .ifconfigApi:
/Users/admin/builder/spi-builder-workspace/Sources/DynuREST/IPifyClient.swift:16:23: note: class property declared here
14 | }
15 |
16 | public static var shared: IPIfyClient = .init()
| `- note: class property declared here
17 |
18 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/cli/IPCommand.swift:41:52: warning: reference to class property 'shared' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
39 | print(address.description)
40 | case .ifconfigApi:
41 | let address = try await IFConfigClient.shared.ipAddress()
| `- warning: reference to class property 'shared' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 | print(address.description)
43 | case .ifconfigCommand:
/Users/admin/builder/spi-builder-workspace/Sources/DynuREST/IFConfigClient.swift:44:23: note: class property declared here
42 | }
43 |
44 | public static var shared: IFConfigClient = .init()
| `- note: class property declared here
45 |
46 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/cli/IPCommand.swift:44:53: warning: reference to class property 'shared' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 | print(address.description)
43 | case .ifconfigCommand:
44 | let address = try await IFConfigCommand.shared.ipAddress()
| `- warning: reference to class property 'shared' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
45 | print(address.description)
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/DynuREST/IFConfigCommand.swift:12:23: note: class property declared here
10 | public class IFConfigCommand: IPSource {
11 |
12 | public static var shared: IFConfigCommand = .init()
| `- note: class property declared here
13 |
14 | private init() {
[117/122] Compiling cli UpdateCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/cli/UpdateCommand.swift:8:9: warning: 'init(commandName:abstract:usage:discussion:version:shouldDisplay:subcommands:defaultSubcommand:helpNames:)' is deprecated: Use the memberwise initializer with the aliases parameter.
6 |
7 | static var configuration: CommandConfiguration {
8 | CommandConfiguration(
| `- warning: 'init(commandName:abstract:usage:discussion:version:shouldDisplay:subcommands:defaultSubcommand:helpNames:)' is deprecated: Use the memberwise initializer with the aliases parameter.
9 | commandName: "update",
10 | abstract: "Perform an IP update against the Dynu.com API",
/Users/admin/builder/spi-builder-workspace/Sources/cli/UpdateCommand.swift:46:45: warning: reference to class property 'shared' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
44 | let authorization = Authorization.basic(username: username, password: password)
45 |
46 | let addresses = await DynuIPUpdater.shared.requestIP(preferIPv6: v6)
| `- warning: reference to class property 'shared' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
47 | guard let address = addresses.first else {
48 | throw ValidationError("Failed to retrieve IP Address")
/Users/admin/builder/spi-builder-workspace/Sources/DynuREST/DynuIPUpdater.swift:9:23: note: class property declared here
7 | public final class DynuIPUpdater: BaseURLSessionClient, DynuClient {
8 |
9 | public static var shared: DynuIPUpdater = .init()
| `- note: class property declared here
10 |
11 | /// Default sources for `IPAddress` lookup.
/Users/admin/builder/spi-builder-workspace/Sources/cli/UpdateCommand.swift:51:52: warning: reference to class property 'shared' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | let responseCode = try await DynuIPUpdater.shared.updateAddress(
| `- warning: reference to class property 'shared' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
52 | address,
53 | using: authorization,
/Users/admin/builder/spi-builder-workspace/Sources/DynuREST/DynuIPUpdater.swift:9:23: note: class property declared here
7 | public final class DynuIPUpdater: BaseURLSessionClient, DynuClient {
8 |
9 | public static var shared: DynuIPUpdater = .init()
| `- note: class property declared here
10 |
11 | /// Default sources for `IPAddress` lookup.
[118/122] Compiling cli MainCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/cli/MainCommand.swift:6:9: warning: 'init(commandName:abstract:usage:discussion:version:shouldDisplay:subcommands:defaultSubcommand:helpNames:)' is deprecated: Use the memberwise initializer with the aliases parameter.
4 | @main struct MainCommand: AsyncParsableCommand {
5 | static var configuration: CommandConfiguration {
6 | CommandConfiguration(
| `- warning: 'init(commandName:abstract:usage:discussion:version:shouldDisplay:subcommands:defaultSubcommand:helpNames:)' is deprecated: Use the memberwise initializer with the aliases parameter.
7 | commandName: "dynu",
8 | abstract: "CLI to the DynuREST swift package.",
[119/122] Emitting module cli
[119/122] Write Objects.LinkFileList
[120/122] Linking dynu
[121/122] Applying dynu
Build complete! (17.61s)
Build complete.
{
"dependencies" : [
{
"identity" : "sessionplus",
"requirement" : {
"range" : [
{
"lower_bound" : "2.2.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/richardpiazza/SessionPlus.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "shellout",
"requirement" : {
"range" : [
{
"lower_bound" : "2.3.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/johnsundell/ShellOut.git"
}
],
"manifest_display_name" : "DynuREST",
"name" : "DynuREST",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "DynuREST",
"targets" : [
"DynuREST"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "dynu",
"targets" : [
"cli"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "cli",
"module_type" : "SwiftTarget",
"name" : "cli",
"path" : "Sources/cli",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"dynu"
],
"sources" : [
"IPCommand.swift",
"MainCommand.swift",
"UpdateCommand.swift"
],
"target_dependencies" : [
"DynuREST"
],
"type" : "executable"
},
{
"c99name" : "DynuRESTTests",
"module_type" : "SwiftTarget",
"name" : "DynuRESTTests",
"path" : "Tests/DynuRESTTests",
"sources" : [
"DynuAPITests.swift",
"IPAddressTests.swift"
],
"target_dependencies" : [
"DynuREST"
],
"type" : "test"
},
{
"c99name" : "DynuREST",
"module_type" : "SwiftTarget",
"name" : "DynuREST",
"path" : "Sources/DynuREST",
"product_dependencies" : [
"SessionPlus",
"ShellOut"
],
"product_memberships" : [
"DynuREST",
"dynu"
],
"sources" : [
"DynuClient.swift",
"DynuIPUpdater.swift",
"DynuRESTError.swift",
"IFConfigClient.swift",
"IFConfigCommand.swift",
"IPAddress.swift",
"IPSource.swift",
"IPifyClient.swift",
"ResponseCode.swift",
"URL+DynuREST.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.