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 DynuREST, reference main (de5d03), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 22:59:01 UTC.

Swift 6 data race errors: 5

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.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 from cache
[1/960] Fetching shellout
[184/1458] Fetching shellout, sessionplus
Fetched https://github.com/richardpiazza/SessionPlus.git from cache (0.74s)
Fetched https://github.com/johnsundell/ShellOut.git from cache (0.74s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.75s)
Computing version for https://github.com/johnsundell/ShellOut.git
Computed https://github.com/johnsundell/ShellOut.git at 2.3.0 (3.71s)
Computing version for https://github.com/richardpiazza/SessionPlus.git
Computed https://github.com/richardpiazza/SessionPlus.git at 2.2.0 (0.57s)
Fetching https://github.com/richardpiazza/AsyncPlus.git
[1/124] Fetching asyncplus
Fetched https://github.com/richardpiazza/AsyncPlus.git from cache (0.62s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (1.14s)
Computing version for https://github.com/richardpiazza/AsyncPlus.git
Computed https://github.com/richardpiazza/AsyncPlus.git at 0.3.2 (0.44s)
Creating working copy for https://github.com/richardpiazza/SessionPlus.git
Working copy of https://github.com/richardpiazza/SessionPlus.git resolved at 2.2.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/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
========================================
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.74s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/johnsundell/ShellOut.git from cache
Fetching https://github.com/richardpiazza/SessionPlus.git from cache
Fetched https://github.com/johnsundell/ShellOut.git from cache (0.41s)
Fetched https://github.com/richardpiazza/SessionPlus.git from cache (0.53s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.53s)
Computing version for https://github.com/johnsundell/ShellOut.git
Computed https://github.com/johnsundell/ShellOut.git at 2.3.0 (0.58s)
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.41s)
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.47s)
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/richardpiazza/SessionPlus.git
Working copy of https://github.com/richardpiazza/SessionPlus.git resolved at 2.2.0
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/DynuREST.git
Working copy of https://github.com/richardpiazza/DynuREST.git resolved at main (de5d038)
Found 3 product dependencies
  - SessionPlus
  - swift-argument-parser
  - ShellOut
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/richardpiazza/DynuREST.git
https://github.com/richardpiazza/DynuREST.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/14] Write sources
[3/14] Write dynu-entitlement.plist
[4/14] Write sources
[10/14] Write swift-version-2F0A5646E1D333AE.txt
[12/25] Emitting module ArgumentParserToolInfo
[13/25] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/64] Emitting module ArgumentParser
[15/68] Compiling ArgumentParser CommandConfiguration.swift
[16/68] Compiling ArgumentParser CommandGroup.swift
[17/68] Compiling ArgumentParser EnumerableFlag.swift
[18/68] Compiling ArgumentParser ExpressibleByArgument.swift
[19/68] Compiling ArgumentParser ArgumentHelp.swift
[20/68] Compiling ArgumentParser ArgumentVisibility.swift
[21/68] Compiling ArgumentParser CompletionKind.swift
[22/68] Compiling ArgumentParser Errors.swift
[23/68] Compiling ArgumentParser Flag.swift
[24/68] Compiling ArgumentParser InputOrigin.swift
[25/68] Compiling ArgumentParser Name.swift
[26/68] Compiling ArgumentParser Parsed.swift
[27/68] Compiling ArgumentParser ParsedValues.swift
[28/68] Compiling ArgumentParser NameSpecification.swift
[29/68] Compiling ArgumentParser Option.swift
[30/68] Compiling ArgumentParser OptionGroup.swift
[31/68] Compiling ArgumentParser AsyncParsableCommand.swift
[32/68] Compiling ArgumentParser BashCompletionsGenerator.swift
[33/68] Compiling ArgumentParser CompletionsGenerator.swift
[34/68] Compiling ArgumentParser FishCompletionsGenerator.swift
[35/68] Compiling ArgumentParser ZshCompletionsGenerator.swift
[36/68] Compiling ArgumentParser Argument.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/68] Compiling ArgumentParser ArgumentDefinition.swift
[46/68] Compiling ArgumentParser ArgumentSet.swift
[47/68] Compiling ArgumentParser CommandParser.swift
[48/68] Compiling ArgumentParser InputKey.swift
[49/68] Emitting module ShellOut
[50/68] Compiling ShellOut ShellOut.swift
[51/68] Compiling AsyncPlus PassthroughAsyncSubject.swift
[52/68] Compiling AsyncPlus CurrentValueAsyncThrowingSubject.swift
[53/68] Compiling AsyncPlus PassthroughAsyncThrowingSequence.swift
[54/68] Emitting module AsyncPlus
[55/68] Compiling AsyncPlus PassthroughAsyncSequence.swift
[56/68] Compiling AsyncPlus PassthroughAsyncThrowingSubject.swift
[57/68] Compiling AsyncPlus CurrentValueAsyncSubject.swift
[58/102] Compiling SessionPlus Delete.swift
[59/102] Compiling SessionPlus Get.swift
[60/102] Compiling SessionPlus PNGImageFormDataRequest.swift
[61/102] Compiling SessionPlus HTTPInjectable.swift
[62/102] Compiling SessionPlus AbsoluteURLWebSocket.swift
[63/102] Compiling SessionPlus AnyRequest.swift
[64/102] Compiling SessionPlus AnyResponse.swift
[65/102] Compiling SessionPlus BaseURLSessionClient.swift
[66/102] Emitting module SessionPlus
[67/105] Compiling SessionPlus Method.swift
[68/105] Compiling SessionPlus Request.swift
[69/105] Compiling SessionPlus Response.swift
[70/105] Compiling SessionPlus Authorization.swift
[71/105] Compiling SessionPlus Client+Decoding.swift
[72/105] Compiling SessionPlus Client.swift
[73/105] Compiling SessionPlus Patch.swift
[74/105] Compiling SessionPlus Post.swift
[75/105] Compiling SessionPlus Put.swift
[76/105] Compiling SessionPlus Address.swift
[77/105] Compiling SessionPlus Header.swift
[78/105] Compiling SessionPlus Headers.swift
[79/105] Compiling SessionPlus MIMEType.swift
[80/105] Compiling SessionPlus URLRequest+SessionPlus.swift
[81/105] Compiling SessionPlus URLResponse+SessionPlus.swift
[82/105] Compiling SessionPlus URLSessionConfiguration+SessionPlus.swift
[83/105] Compiling SessionPlus URLSessionDelegate+SessionPlus.swift
[84/105] Compiling SessionPlus Downloader.swift
[85/105] Compiling SessionPlus HTTP.swift
[86/105] Compiling SessionPlus HTTPClient.swift
[87/105] Compiling SessionPlus HTTPCodable.swift
[93/105] Compiling SessionPlus WebAPI.swift
[94/105] Compiling SessionPlus URLCache+SessionPlus.swift
[95/105] Compiling SessionPlus URLQueryItem+SessionPlus.swift
[96/105] Compiling SessionPlus Socket.swift
[97/105] Compiling SessionPlus StatusCode.swift
[98/105] Compiling SessionPlus WebSocket.swift
[99/105] Compiling SessionPlus AbsoluteURLSessionClient.swift
[103/107] Emitting module SessionPlusEmulation
[104/107] Compiling SessionPlusEmulation EmulatedClient.swift
[105/117] 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'sources' part of global actor 'MainActor'
   |                       `- 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 | }
[106/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     private init() {
[107/118] Compiling DynuREST ResponseCode.swift
[108/118] Compiling DynuREST IPSource.swift
[109/118] Compiling DynuREST DynuRESTError.swift
[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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 |     private init() {
[111/118] Compiling DynuREST DynuClient.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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 |     private init() {
[113/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'sources' part of global actor 'MainActor'
   |                       `- 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/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     private init() {
/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 |     private init() {
[114/118] Compiling DynuREST IPAddress.swift
[115/118] Compiling DynuREST URL+DynuREST.swift
[116/122] Emitting module cli
[117/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() {
[118/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.
[119/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] Write Objects.LinkFileList
[120/122] Linking dynu
[121/122] Applying dynu
Build complete! (10.17s)
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.