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 Manifest, reference 0.4.6 (21cf15), with Swift 6.0 for Linux on 27 Nov 2024 12:34:06 UTC.

Swift 6 data race errors: 4

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Ether-CLI/Manifest.git
Reference: 0.4.6
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Ether-CLI/Manifest
 * tag               0.4.6      -> FETCH_HEAD
HEAD is now at 21cf15c Updated CHANGLELOG for dependency write fixes
Cloned https://github.com/Ether-CLI/Manifest.git
Revision (git rev-parse @):
21cf15c2ce50a630aed3a7d353c77d3a6dc953b1
SUCCESS checkout https://github.com/Ether-CLI/Manifest.git at 0.4.6
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Ether-CLI/Manifest.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/7] Compiling Utilities Deletable.swift
[5/7] Emitting module Utilities
[6/7] Compiling Utilities String+NSRange.swift
[7/7] Compiling Utilities Saveable.swift
[9/30] Compiling Manifest VersionType.swift
/host/spi-builder-workspace/Sources/Manifest/Helpers/Environment.swift:9:23: warning: static property 'commandline' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// Used for telling the current manifest instance what environment it is being used in.
 2 | public struct Environment: Equatable {
   |               `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
 3 |
 4 |     /// The name of the environmnt
   :
 7 |
 8 |     /// Used to tell the manifest instance that it is being used in the command-line.
 9 |     public static let commandline = Environment(name: "command-line")
   |                       |- warning: static property 'commandline' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'commandline' 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 |     /// Used to tell the manifest it is being used to test it's methods on a string.
/host/spi-builder-workspace/Sources/Manifest/Helpers/Environment.swift:12:23: warning: static property 'testing' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// Used for telling the current manifest instance what environment it is being used in.
 2 | public struct Environment: Equatable {
   |               `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
 3 |
 4 |     /// The name of the environmnt
   :
10 |
11 |     /// Used to tell the manifest it is being used to test it's methods on a string.
12 |     public static let testing = Environment(name: "testing")
   |                       |- warning: static property 'testing' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'testing' 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 |
[10/30] Compiling Manifest Environment.swift
/host/spi-builder-workspace/Sources/Manifest/Helpers/Environment.swift:9:23: warning: static property 'commandline' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// Used for telling the current manifest instance what environment it is being used in.
 2 | public struct Environment: Equatable {
   |               `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
 3 |
 4 |     /// The name of the environmnt
   :
 7 |
 8 |     /// Used to tell the manifest instance that it is being used in the command-line.
 9 |     public static let commandline = Environment(name: "command-line")
   |                       |- warning: static property 'commandline' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'commandline' 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 |     /// Used to tell the manifest it is being used to test it's methods on a string.
/host/spi-builder-workspace/Sources/Manifest/Helpers/Environment.swift:12:23: warning: static property 'testing' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// Used for telling the current manifest instance what environment it is being used in.
 2 | public struct Environment: Equatable {
   |               `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
 3 |
 4 |     /// The name of the environmnt
   :
10 |
11 |     /// Used to tell the manifest it is being used to test it's methods on a string.
12 |     public static let testing = Environment(name: "testing")
   |                       |- warning: static property 'testing' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'testing' 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 |
[11/30] Compiling Manifest Error.swift
/host/spi-builder-workspace/Sources/Manifest/Helpers/Environment.swift:9:23: warning: static property 'commandline' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// Used for telling the current manifest instance what environment it is being used in.
 2 | public struct Environment: Equatable {
   |               `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
 3 |
 4 |     /// The name of the environmnt
   :
 7 |
 8 |     /// Used to tell the manifest instance that it is being used in the command-line.
 9 |     public static let commandline = Environment(name: "command-line")
   |                       |- warning: static property 'commandline' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'commandline' 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 |     /// Used to tell the manifest it is being used to test it's methods on a string.
/host/spi-builder-workspace/Sources/Manifest/Helpers/Environment.swift:12:23: warning: static property 'testing' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// Used for telling the current manifest instance what environment it is being used in.
 2 | public struct Environment: Equatable {
   |               `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
 3 |
 4 |     /// The name of the environmnt
   :
10 |
11 |     /// Used to tell the manifest it is being used to test it's methods on a string.
12 |     public static let testing = Environment(name: "testing")
   |                       |- warning: static property 'testing' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'testing' 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 |
[12/32] Emitting module Manifest
/host/spi-builder-workspace/Sources/Manifest/Helpers/Environment.swift:9:23: warning: static property 'commandline' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// Used for telling the current manifest instance what environment it is being used in.
 2 | public struct Environment: Equatable {
   |               `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
 3 |
 4 |     /// The name of the environmnt
   :
 7 |
 8 |     /// Used to tell the manifest instance that it is being used in the command-line.
 9 |     public static let commandline = Environment(name: "command-line")
   |                       |- warning: static property 'commandline' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'commandline' 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 |     /// Used to tell the manifest it is being used to test it's methods on a string.
/host/spi-builder-workspace/Sources/Manifest/Helpers/Environment.swift:12:23: warning: static property 'testing' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// Used for telling the current manifest instance what environment it is being used in.
 2 | public struct Environment: Equatable {
   |               `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
 3 |
 4 |     /// The name of the environmnt
   :
10 |
11 |     /// Used to tell the manifest it is being used to test it's methods on a string.
12 |     public static let testing = Environment(name: "testing")
   |                       |- warning: static property 'testing' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'testing' 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 |
/host/spi-builder-workspace/Sources/Manifest/Helpers/Internal.swift:11:14: warning: var 'testManifest' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 | }
10 |
11 | internal var testManifest = """
   |              |- warning: var 'testManifest' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'testManifest' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'testManifest' 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
12 | // swift-tools-version:4.0
13 |
/host/spi-builder-workspace/Sources/Manifest/Manifest/Manifest.swift:7:23: warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  5 |
  6 |     /// The current environment that the `Manifest` is being used in.
  7 |     public static var environment: Environment = .commandline
    |                       |- warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'environment' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'environment' 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
  8 |
  9 |     /// Gets the current project's manifest.
[13/32] Compiling Manifest Dependency+CUD.swift
/host/spi-builder-workspace/Sources/Manifest/Dependency/Dependency+CUD.swift:30:24: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
28 |         if array.matches(in: String(contents), options: [], range: contents.range).count > 0 {
29 |             if stored.matches(in: String(contents), options: [], range: contents.range).count > 0 {
30 |                 stored.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: self.description)
   |                        `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
31 |             } else {
32 |                 let match = dependencies.firstMatch(in: String(contents), options: [], range: contents.range)
/host/spi-builder-workspace/Sources/Manifest/Dependency/Dependency+CUD.swift:36:34: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
34 |
35 |                 if space == "" {
36 |                     dependencies.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "$1\n$2$2\(self.description)\n$2]")
   |                                  `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
37 |                 } else {
38 |                     dependencies.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "$1\(self.description),$9$10")
/host/spi-builder-workspace/Sources/Manifest/Dependency/Dependency+CUD.swift:38:34: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
36 |                     dependencies.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "$1\n$2$2\(self.description)\n$2]")
37 |                 } else {
38 |                     dependencies.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "$1\(self.description),$9$10")
   |                                  `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
39 |                 }
40 |             }
/host/spi-builder-workspace/Sources/Manifest/Dependency/Dependency+CUD.swift:42:20: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
40 |             }
41 |         } else {
42 |             before.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: """
   |                    `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
43 |                 $1,
44 |                 $2dependenciesw: [
/host/spi-builder-workspace/Sources/Manifest/Dependency/Dependency+CUD.swift:65:17: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
63 |         let contents: NSMutableString = try self.manifest.contents()
64 |
65 |         pattern.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "")
   |                 `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
66 |         try self.manifest.write(with: contents)
67 |     }
[14/32] Compiling Manifest Dependency.swift
/host/spi-builder-workspace/Sources/Manifest/Dependency/Dependency+CUD.swift:30:24: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
28 |         if array.matches(in: String(contents), options: [], range: contents.range).count > 0 {
29 |             if stored.matches(in: String(contents), options: [], range: contents.range).count > 0 {
30 |                 stored.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: self.description)
   |                        `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
31 |             } else {
32 |                 let match = dependencies.firstMatch(in: String(contents), options: [], range: contents.range)
/host/spi-builder-workspace/Sources/Manifest/Dependency/Dependency+CUD.swift:36:34: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
34 |
35 |                 if space == "" {
36 |                     dependencies.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "$1\n$2$2\(self.description)\n$2]")
   |                                  `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
37 |                 } else {
38 |                     dependencies.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "$1\(self.description),$9$10")
/host/spi-builder-workspace/Sources/Manifest/Dependency/Dependency+CUD.swift:38:34: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
36 |                     dependencies.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "$1\n$2$2\(self.description)\n$2]")
37 |                 } else {
38 |                     dependencies.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "$1\(self.description),$9$10")
   |                                  `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
39 |                 }
40 |             }
/host/spi-builder-workspace/Sources/Manifest/Dependency/Dependency+CUD.swift:42:20: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
40 |             }
41 |         } else {
42 |             before.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: """
   |                    `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
43 |                 $1,
44 |                 $2dependenciesw: [
/host/spi-builder-workspace/Sources/Manifest/Dependency/Dependency+CUD.swift:65:17: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
63 |         let contents: NSMutableString = try self.manifest.contents()
64 |
65 |         pattern.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "")
   |                 `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
66 |         try self.manifest.write(with: contents)
67 |     }
[15/32] Compiling Manifest Manifest+Dependency.swift
/host/spi-builder-workspace/Sources/Manifest/Dependency/Dependency+CUD.swift:30:24: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
28 |         if array.matches(in: String(contents), options: [], range: contents.range).count > 0 {
29 |             if stored.matches(in: String(contents), options: [], range: contents.range).count > 0 {
30 |                 stored.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: self.description)
   |                        `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
31 |             } else {
32 |                 let match = dependencies.firstMatch(in: String(contents), options: [], range: contents.range)
/host/spi-builder-workspace/Sources/Manifest/Dependency/Dependency+CUD.swift:36:34: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
34 |
35 |                 if space == "" {
36 |                     dependencies.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "$1\n$2$2\(self.description)\n$2]")
   |                                  `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
37 |                 } else {
38 |                     dependencies.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "$1\(self.description),$9$10")
/host/spi-builder-workspace/Sources/Manifest/Dependency/Dependency+CUD.swift:38:34: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
36 |                     dependencies.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "$1\n$2$2\(self.description)\n$2]")
37 |                 } else {
38 |                     dependencies.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "$1\(self.description),$9$10")
   |                                  `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
39 |                 }
40 |             }
/host/spi-builder-workspace/Sources/Manifest/Dependency/Dependency+CUD.swift:42:20: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
40 |             }
41 |         } else {
42 |             before.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: """
   |                    `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
43 |                 $1,
44 |                 $2dependenciesw: [
/host/spi-builder-workspace/Sources/Manifest/Dependency/Dependency+CUD.swift:65:17: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
63 |         let contents: NSMutableString = try self.manifest.contents()
64 |
65 |         pattern.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "")
   |                 `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
66 |         try self.manifest.write(with: contents)
67 |     }
[16/32] Compiling Manifest Manifest+Providers.swift
/host/spi-builder-workspace/Sources/Manifest/Providers/Providers+CUD.swift:17:22: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
15 |
16 |         if provider.matches(in: String(contents), options: [], range: contents.range).count > 0 {
17 |             provider.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: self.description)
   |                      `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
18 |             try self.manifest.write(with: contents)
19 |             return
/host/spi-builder-workspace/Sources/Manifest/Providers/Providers+CUD.swift:23:23: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
21 |
22 |         if providers.matches(in: String(contents), options: [], range: contents.range).count > 0 {
23 |             providers.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "$0\n$1$1\(self.description),")
   |                       `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
24 |         } else {
25 |             let products = try NSRegularExpression(pattern: "\n?(\\s*)products: \\[", options: [])
/host/spi-builder-workspace/Sources/Manifest/Providers/Providers+CUD.swift:26:22: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
24 |         } else {
25 |             let products = try NSRegularExpression(pattern: "\n?(\\s*)products: \\[", options: [])
26 |             products.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: """
   |                      `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
27 |
28 |                 $1providers: [
/host/spi-builder-workspace/Sources/Manifest/Providers/Providers+CUD.swift:48:17: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
46 |         let contents: NSMutableString = try self.manifest.contents()
47 |
48 |         pattern.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "")
   |                 `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
49 |         try self.manifest.write(with: contents)
50 |     }
[17/32] Compiling Manifest Providers+CUD.swift
/host/spi-builder-workspace/Sources/Manifest/Providers/Providers+CUD.swift:17:22: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
15 |
16 |         if provider.matches(in: String(contents), options: [], range: contents.range).count > 0 {
17 |             provider.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: self.description)
   |                      `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
18 |             try self.manifest.write(with: contents)
19 |             return
/host/spi-builder-workspace/Sources/Manifest/Providers/Providers+CUD.swift:23:23: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
21 |
22 |         if providers.matches(in: String(contents), options: [], range: contents.range).count > 0 {
23 |             providers.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "$0\n$1$1\(self.description),")
   |                       `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
24 |         } else {
25 |             let products = try NSRegularExpression(pattern: "\n?(\\s*)products: \\[", options: [])
/host/spi-builder-workspace/Sources/Manifest/Providers/Providers+CUD.swift:26:22: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
24 |         } else {
25 |             let products = try NSRegularExpression(pattern: "\n?(\\s*)products: \\[", options: [])
26 |             products.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: """
   |                      `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
27 |
28 |                 $1providers: [
/host/spi-builder-workspace/Sources/Manifest/Providers/Providers+CUD.swift:48:17: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
46 |         let contents: NSMutableString = try self.manifest.contents()
47 |
48 |         pattern.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "")
   |                 `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
49 |         try self.manifest.write(with: contents)
50 |     }
[18/32] Compiling Manifest Providers.swift
/host/spi-builder-workspace/Sources/Manifest/Providers/Providers+CUD.swift:17:22: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
15 |
16 |         if provider.matches(in: String(contents), options: [], range: contents.range).count > 0 {
17 |             provider.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: self.description)
   |                      `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
18 |             try self.manifest.write(with: contents)
19 |             return
/host/spi-builder-workspace/Sources/Manifest/Providers/Providers+CUD.swift:23:23: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
21 |
22 |         if providers.matches(in: String(contents), options: [], range: contents.range).count > 0 {
23 |             providers.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "$0\n$1$1\(self.description),")
   |                       `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
24 |         } else {
25 |             let products = try NSRegularExpression(pattern: "\n?(\\s*)products: \\[", options: [])
/host/spi-builder-workspace/Sources/Manifest/Providers/Providers+CUD.swift:26:22: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
24 |         } else {
25 |             let products = try NSRegularExpression(pattern: "\n?(\\s*)products: \\[", options: [])
26 |             products.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: """
   |                      `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
27 |
28 |                 $1providers: [
/host/spi-builder-workspace/Sources/Manifest/Providers/Providers+CUD.swift:48:17: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
46 |         let contents: NSMutableString = try self.manifest.contents()
47 |
48 |         pattern.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "")
   |                 `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
49 |         try self.manifest.write(with: contents)
50 |     }
[19/32] Compiling Manifest Pin.swift
[20/32] Compiling Manifest Resolved.swift
[21/32] Compiling Manifest Manifest+Target.swift
[22/32] Compiling Manifest ManifestCodingKeys.swift
[23/32] Compiling Manifest ManifestElement.swift
[24/32] Compiling Manifest Manifest+Product.swift
[25/32] Compiling Manifest Product+CUD.swift
/host/spi-builder-workspace/Sources/Manifest/Product/Product+CUD.swift:39:17: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
37 |         }
38 |
39 |         pattern.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: replacement)
   |                 `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
40 |         try self.manifest.write(with: contents)
41 |     }
/host/spi-builder-workspace/Sources/Manifest/Product/Product+CUD.swift:58:17: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
56 |         let contents: NSMutableString = try self.manifest.contents()
57 |
58 |         pattern.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "")
   |                 `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
59 |         try self.manifest.write(with: contents)
60 |     }
[26/32] Compiling Manifest Product.swift
/host/spi-builder-workspace/Sources/Manifest/Product/Product+CUD.swift:39:17: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
37 |         }
38 |
39 |         pattern.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: replacement)
   |                 `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
40 |         try self.manifest.write(with: contents)
41 |     }
/host/spi-builder-workspace/Sources/Manifest/Product/Product+CUD.swift:58:17: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
56 |         let contents: NSMutableString = try self.manifest.contents()
57 |
58 |         pattern.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "")
   |                 `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
59 |         try self.manifest.write(with: contents)
60 |     }
[27/32] Compiling Manifest ProductSubTypes.swift
/host/spi-builder-workspace/Sources/Manifest/Product/Product+CUD.swift:39:17: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
37 |         }
38 |
39 |         pattern.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: replacement)
   |                 `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
40 |         try self.manifest.write(with: contents)
41 |     }
/host/spi-builder-workspace/Sources/Manifest/Product/Product+CUD.swift:58:17: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
56 |         let contents: NSMutableString = try self.manifest.contents()
57 |
58 |         pattern.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "")
   |                 `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
59 |         try self.manifest.write(with: contents)
60 |     }
[28/32] Compiling Manifest Internal.swift
/host/spi-builder-workspace/Sources/Manifest/Helpers/Internal.swift:11:14: warning: var 'testManifest' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 | }
10 |
11 | internal var testManifest = """
   |              |- warning: var 'testManifest' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'testManifest' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'testManifest' 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
12 | // swift-tools-version:4.0
13 |
/host/spi-builder-workspace/Sources/Manifest/Manifest/Manifest+Mutations.swift:19:21: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
17 |
18 |         if let name = name {
19 |             pattern.replaceMatches(in: content, options: [], range: content.range, withTemplate: "$1\(name)$3")
   |                     `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
20 |             try self.write(with: content)
21 |             return name
/host/spi-builder-workspace/Sources/Manifest/Manifest/Manifest+Mutations.swift:60:21: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
58 |         if pattern.matches(in: String(content), options: [], range: content.range).count > 0 {
59 |             let newValue = string == nil ? "" : "$1\(string!)$3"
60 |             pattern.replaceMatches(in: content, options: [], range: content.range, withTemplate: newValue)
   |                     `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
61 |         } else if let string = string {
62 |             let namePattern = try NSRegularExpression(pattern: "(Package\\(\\n?(\\s*)name:\\s*\".*?\"),?", options: [])
/host/spi-builder-workspace/Sources/Manifest/Manifest/Manifest+Mutations.swift:63:25: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
61 |         } else if let string = string {
62 |             let namePattern = try NSRegularExpression(pattern: "(Package\\(\\n?(\\s*)name:\\s*\".*?\"),?", options: [])
63 |             namePattern.replaceMatches(in: content, options: [], range: content.range, withTemplate: "$1,\n$2pkgConfig: \"\(string)\",")
   |                         `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
64 |         }
65 |
/host/spi-builder-workspace/Sources/Manifest/Manifest/Manifest.swift:7:23: warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  5 |
  6 |     /// The current environment that the `Manifest` is being used in.
  7 |     public static var environment: Environment = .commandline
    |                       |- warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'environment' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'environment' 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
  8 |
  9 |     /// Gets the current project's manifest.
/host/spi-builder-workspace/Sources/Manifest/Helpers/Environment.swift:9:23: warning: static property 'commandline' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// Used for telling the current manifest instance what environment it is being used in.
 2 | public struct Environment: Equatable {
   |               `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
 3 |
 4 |     /// The name of the environmnt
   :
 7 |
 8 |     /// Used to tell the manifest instance that it is being used in the command-line.
 9 |     public static let commandline = Environment(name: "command-line")
   |                       |- warning: static property 'commandline' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'commandline' 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 |     /// Used to tell the manifest it is being used to test it's methods on a string.
/host/spi-builder-workspace/Sources/Manifest/Helpers/Environment.swift:12:23: warning: static property 'testing' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// Used for telling the current manifest instance what environment it is being used in.
 2 | public struct Environment: Equatable {
   |               `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
 3 |
 4 |     /// The name of the environmnt
   :
10 |
11 |     /// Used to tell the manifest it is being used to test it's methods on a string.
12 |     public static let testing = Environment(name: "testing")
   |                       |- warning: static property 'testing' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'testing' 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 |
[29/32] Compiling Manifest Manifest+Mutations.swift
/host/spi-builder-workspace/Sources/Manifest/Helpers/Internal.swift:11:14: warning: var 'testManifest' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 | }
10 |
11 | internal var testManifest = """
   |              |- warning: var 'testManifest' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'testManifest' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'testManifest' 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
12 | // swift-tools-version:4.0
13 |
/host/spi-builder-workspace/Sources/Manifest/Manifest/Manifest+Mutations.swift:19:21: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
17 |
18 |         if let name = name {
19 |             pattern.replaceMatches(in: content, options: [], range: content.range, withTemplate: "$1\(name)$3")
   |                     `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
20 |             try self.write(with: content)
21 |             return name
/host/spi-builder-workspace/Sources/Manifest/Manifest/Manifest+Mutations.swift:60:21: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
58 |         if pattern.matches(in: String(content), options: [], range: content.range).count > 0 {
59 |             let newValue = string == nil ? "" : "$1\(string!)$3"
60 |             pattern.replaceMatches(in: content, options: [], range: content.range, withTemplate: newValue)
   |                     `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
61 |         } else if let string = string {
62 |             let namePattern = try NSRegularExpression(pattern: "(Package\\(\\n?(\\s*)name:\\s*\".*?\"),?", options: [])
/host/spi-builder-workspace/Sources/Manifest/Manifest/Manifest+Mutations.swift:63:25: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
61 |         } else if let string = string {
62 |             let namePattern = try NSRegularExpression(pattern: "(Package\\(\\n?(\\s*)name:\\s*\".*?\"),?", options: [])
63 |             namePattern.replaceMatches(in: content, options: [], range: content.range, withTemplate: "$1,\n$2pkgConfig: \"\(string)\",")
   |                         `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
64 |         }
65 |
/host/spi-builder-workspace/Sources/Manifest/Manifest/Manifest.swift:7:23: warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  5 |
  6 |     /// The current environment that the `Manifest` is being used in.
  7 |     public static var environment: Environment = .commandline
    |                       |- warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'environment' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'environment' 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
  8 |
  9 |     /// Gets the current project's manifest.
/host/spi-builder-workspace/Sources/Manifest/Helpers/Environment.swift:9:23: warning: static property 'commandline' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// Used for telling the current manifest instance what environment it is being used in.
 2 | public struct Environment: Equatable {
   |               `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
 3 |
 4 |     /// The name of the environmnt
   :
 7 |
 8 |     /// Used to tell the manifest instance that it is being used in the command-line.
 9 |     public static let commandline = Environment(name: "command-line")
   |                       |- warning: static property 'commandline' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'commandline' 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 |     /// Used to tell the manifest it is being used to test it's methods on a string.
/host/spi-builder-workspace/Sources/Manifest/Helpers/Environment.swift:12:23: warning: static property 'testing' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// Used for telling the current manifest instance what environment it is being used in.
 2 | public struct Environment: Equatable {
   |               `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
 3 |
 4 |     /// The name of the environmnt
   :
10 |
11 |     /// Used to tell the manifest it is being used to test it's methods on a string.
12 |     public static let testing = Environment(name: "testing")
   |                       |- warning: static property 'testing' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'testing' 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 |
[30/32] Compiling Manifest Manifest.swift
/host/spi-builder-workspace/Sources/Manifest/Helpers/Internal.swift:11:14: warning: var 'testManifest' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 | }
10 |
11 | internal var testManifest = """
   |              |- warning: var 'testManifest' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'testManifest' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'testManifest' 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
12 | // swift-tools-version:4.0
13 |
/host/spi-builder-workspace/Sources/Manifest/Manifest/Manifest+Mutations.swift:19:21: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
17 |
18 |         if let name = name {
19 |             pattern.replaceMatches(in: content, options: [], range: content.range, withTemplate: "$1\(name)$3")
   |                     `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
20 |             try self.write(with: content)
21 |             return name
/host/spi-builder-workspace/Sources/Manifest/Manifest/Manifest+Mutations.swift:60:21: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
58 |         if pattern.matches(in: String(content), options: [], range: content.range).count > 0 {
59 |             let newValue = string == nil ? "" : "$1\(string!)$3"
60 |             pattern.replaceMatches(in: content, options: [], range: content.range, withTemplate: newValue)
   |                     `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
61 |         } else if let string = string {
62 |             let namePattern = try NSRegularExpression(pattern: "(Package\\(\\n?(\\s*)name:\\s*\".*?\"),?", options: [])
/host/spi-builder-workspace/Sources/Manifest/Manifest/Manifest+Mutations.swift:63:25: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
61 |         } else if let string = string {
62 |             let namePattern = try NSRegularExpression(pattern: "(Package\\(\\n?(\\s*)name:\\s*\".*?\"),?", options: [])
63 |             namePattern.replaceMatches(in: content, options: [], range: content.range, withTemplate: "$1,\n$2pkgConfig: \"\(string)\",")
   |                         `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
64 |         }
65 |
/host/spi-builder-workspace/Sources/Manifest/Manifest/Manifest.swift:7:23: warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  5 |
  6 |     /// The current environment that the `Manifest` is being used in.
  7 |     public static var environment: Environment = .commandline
    |                       |- warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'environment' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'environment' 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
  8 |
  9 |     /// Gets the current project's manifest.
/host/spi-builder-workspace/Sources/Manifest/Helpers/Environment.swift:9:23: warning: static property 'commandline' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// Used for telling the current manifest instance what environment it is being used in.
 2 | public struct Environment: Equatable {
   |               `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
 3 |
 4 |     /// The name of the environmnt
   :
 7 |
 8 |     /// Used to tell the manifest instance that it is being used in the command-line.
 9 |     public static let commandline = Environment(name: "command-line")
   |                       |- warning: static property 'commandline' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'commandline' 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 |     /// Used to tell the manifest it is being used to test it's methods on a string.
/host/spi-builder-workspace/Sources/Manifest/Helpers/Environment.swift:12:23: warning: static property 'testing' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// Used for telling the current manifest instance what environment it is being used in.
 2 | public struct Environment: Equatable {
   |               `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
 3 |
 4 |     /// The name of the environmnt
   :
10 |
11 |     /// Used to tell the manifest it is being used to test it's methods on a string.
12 |     public static let testing = Environment(name: "testing")
   |                       |- warning: static property 'testing' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'testing' 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 |
[31/32] Compiling Manifest Target+CUD.swift
/host/spi-builder-workspace/Sources/Manifest/Target/Target+CUD.swift:26:19: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
24 |                 pattern: "(Package\\(\\n?(\\s*)name\\s*:\\s*\".*?\"\\s*,?\\s*(providers\\s*:\\s*\\[(.|\\n)*?\\](?!\\s*\\)),?\\s*)?(products\\s*:\\s*\\[(.|\\n)*?\\](?!\\s*\\)),?\\s*)?(dependencies\\s*:\\s*\\[(.|\\n)*?\\])?)",
25 |                 options: []
26 |                 ).replaceMatches(
   |                   `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
27 |                     in: contents,
28 |                     options: [],
/host/spi-builder-workspace/Sources/Manifest/Target/Target+CUD.swift:41:21: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
39 |
40 |         if pattern.matches(in: String(contents), options: [], range: contents.range).count > 0 {
41 |             pattern.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: self.description)
   |                     `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
42 |         } else if self.isTest {
43 |             let replacement = try NSRegularExpression(pattern: "(?<=\\n|\\[)(\\s*)(\\.testTarget\\(.*?\\))(,?)(?=\\s*\\])", options: [])
/host/spi-builder-workspace/Sources/Manifest/Target/Target+CUD.swift:44:25: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
42 |         } else if self.isTest {
43 |             let replacement = try NSRegularExpression(pattern: "(?<=\\n|\\[)(\\s*)(\\.testTarget\\(.*?\\))(,?)(?=\\s*\\])", options: [])
44 |             replacement.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "$1$2,\n$1\(self.description)")
   |                         `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
45 |         } else {
46 |             let replacement = try NSRegularExpression(pattern: "(?<=\\n|\\[)(\\s*)(\\.target\\(.*?\\))(,?)(?=\\s*(\\.testTarget|\\]))", options: [])
/host/spi-builder-workspace/Sources/Manifest/Target/Target+CUD.swift:47:25: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
45 |         } else {
46 |             let replacement = try NSRegularExpression(pattern: "(?<=\\n|\\[)(\\s*)(\\.target\\(.*?\\))(,?)(?=\\s*(\\.testTarget|\\]))", options: [])
47 |             replacement.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "$1$2,\n$1\(self.description),")
   |                         `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
48 |         }
49 |
/host/spi-builder-workspace/Sources/Manifest/Target/Target+CUD.swift:66:17: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
64 |         let contents: NSMutableString = try self.manifest.contents()
65 |
66 |         pattern.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "")
   |                 `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
67 |         try self.manifest.write(with: contents)
68 |     }
[32/32] Compiling Manifest Target.swift
/host/spi-builder-workspace/Sources/Manifest/Target/Target+CUD.swift:26:19: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
24 |                 pattern: "(Package\\(\\n?(\\s*)name\\s*:\\s*\".*?\"\\s*,?\\s*(providers\\s*:\\s*\\[(.|\\n)*?\\](?!\\s*\\)),?\\s*)?(products\\s*:\\s*\\[(.|\\n)*?\\](?!\\s*\\)),?\\s*)?(dependencies\\s*:\\s*\\[(.|\\n)*?\\])?)",
25 |                 options: []
26 |                 ).replaceMatches(
   |                   `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
27 |                     in: contents,
28 |                     options: [],
/host/spi-builder-workspace/Sources/Manifest/Target/Target+CUD.swift:41:21: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
39 |
40 |         if pattern.matches(in: String(contents), options: [], range: contents.range).count > 0 {
41 |             pattern.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: self.description)
   |                     `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
42 |         } else if self.isTest {
43 |             let replacement = try NSRegularExpression(pattern: "(?<=\\n|\\[)(\\s*)(\\.testTarget\\(.*?\\))(,?)(?=\\s*\\])", options: [])
/host/spi-builder-workspace/Sources/Manifest/Target/Target+CUD.swift:44:25: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
42 |         } else if self.isTest {
43 |             let replacement = try NSRegularExpression(pattern: "(?<=\\n|\\[)(\\s*)(\\.testTarget\\(.*?\\))(,?)(?=\\s*\\])", options: [])
44 |             replacement.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "$1$2,\n$1\(self.description)")
   |                         `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
45 |         } else {
46 |             let replacement = try NSRegularExpression(pattern: "(?<=\\n|\\[)(\\s*)(\\.target\\(.*?\\))(,?)(?=\\s*(\\.testTarget|\\]))", options: [])
/host/spi-builder-workspace/Sources/Manifest/Target/Target+CUD.swift:47:25: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
45 |         } else {
46 |             let replacement = try NSRegularExpression(pattern: "(?<=\\n|\\[)(\\s*)(\\.target\\(.*?\\))(,?)(?=\\s*(\\.testTarget|\\]))", options: [])
47 |             replacement.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "$1$2,\n$1\(self.description),")
   |                         `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
48 |         }
49 |
/host/spi-builder-workspace/Sources/Manifest/Target/Target+CUD.swift:66:17: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
64 |         let contents: NSMutableString = try self.manifest.contents()
65 |
66 |         pattern.replaceMatches(in: contents, options: [], range: contents.range, withTemplate: "")
   |                 `- warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused
67 |         try self.manifest.write(with: contents)
68 |     }
Build complete! (10.59s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Manifest",
  "name" : "Manifest",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Manifest",
      "targets" : [
        "Manifest"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Utilities",
      "module_type" : "SwiftTarget",
      "name" : "Utilities",
      "path" : "Sources/Utilities",
      "product_memberships" : [
        "Manifest"
      ],
      "sources" : [
        "Deletable.swift",
        "Saveable.swift",
        "String+NSRange.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ManifestTests",
      "module_type" : "SwiftTarget",
      "name" : "ManifestTests",
      "path" : "Tests/ManifestTests",
      "sources" : [
        "ManifestTests.swift"
      ],
      "target_dependencies" : [
        "Manifest",
        "Utilities"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Manifest",
      "module_type" : "SwiftTarget",
      "name" : "Manifest",
      "path" : "Sources/Manifest",
      "product_memberships" : [
        "Manifest"
      ],
      "sources" : [
        "Dependency/Dependency+CUD.swift",
        "Dependency/Dependency.swift",
        "Dependency/Manifest+Dependency.swift",
        "Dependency/VersionType.swift",
        "Helpers/Environment.swift",
        "Helpers/Error.swift",
        "Helpers/Internal.swift",
        "Manifest/Manifest+Mutations.swift",
        "Manifest/Manifest.swift",
        "Manifest/ManifestCodingKeys.swift",
        "Manifest/ManifestElement.swift",
        "Product/Manifest+Product.swift",
        "Product/Product+CUD.swift",
        "Product/Product.swift",
        "Product/ProductSubTypes.swift",
        "Providers/Manifest+Providers.swift",
        "Providers/Providers+CUD.swift",
        "Providers/Providers.swift",
        "Resolved/Pin.swift",
        "Resolved/Resolved.swift",
        "Target/Manifest+Target.swift",
        "Target/Target+CUD.swift",
        "Target/Target.swift"
      ],
      "target_dependencies" : [
        "Utilities"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.