Build Information
Successful build of Manifest, reference 0.4.6 (21cf15
), with Swift 6.2 (beta) for Linux on 18 Jun 2025 12:46:37 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path: $PWD
https://github.com/Ether-CLI/Manifest.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/7] Emitting module Utilities
[5/7] Compiling Utilities Saveable.swift
[6/7] Compiling Utilities String+NSRange.swift
[7/7] Compiling Utilities Deletable.swift
[9/30] Emitting module Manifest
[10/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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
59 | try self.manifest.write(with: contents)
60 | }
[11/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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
59 | try self.manifest.write(with: contents)
60 | }
[12/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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
59 | try self.manifest.write(with: contents)
60 | }
[13/32] Compiling Manifest ManifestCodingKeys.swift
[14/32] Compiling Manifest ManifestElement.swift
[15/32] Compiling Manifest Manifest+Product.swift
[16/32] Compiling Manifest Pin.swift
[17/32] Compiling Manifest Resolved.swift
[18/32] Compiling Manifest Manifest+Target.swift
[19/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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
49 | try self.manifest.write(with: contents)
50 | }
[20/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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
49 | try self.manifest.write(with: contents)
50 | }
[21/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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
49 | try self.manifest.write(with: contents)
50 | }
[22/32] Compiling Manifest VersionType.swift
[23/32] Compiling Manifest Environment.swift
[24/32] Compiling Manifest Error.swift
[25/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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
66 | try self.manifest.write(with: contents)
67 | }
[26/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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
66 | try self.manifest.write(with: contents)
67 | }
[27/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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
66 | try self.manifest.write(with: contents)
67 | }
[28/32] Compiling Manifest Internal.swift
/host/spi-builder-workspace/Sources/Manifest/Manifest/Manifest+Mutations.swift:19:21: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
64 | }
65 |
[29/32] Compiling Manifest Manifest+Mutations.swift
/host/spi-builder-workspace/Sources/Manifest/Manifest/Manifest+Mutations.swift:19:21: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
64 | }
65 |
[30/32] Compiling Manifest Manifest.swift
/host/spi-builder-workspace/Sources/Manifest/Manifest/Manifest+Mutations.swift:19:21: warning: result of call to 'replaceMatches(in:options:range:withTemplate:)' is unused [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
64 | }
65 |
[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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
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 [#no-usage]
67 | try self.manifest.write(with: contents)
68 | }
Build complete! (12.07s)
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.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.