Build Information
Successful build of Version-Control, reference 1.0.4 (95f4f3
), with Swift 5.9 for macOS (SPM) on 21 Jul 2024 19:08:50 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
if let gitErrorDescription = result.gitErrorDescription {
~~~~^~~~~~~~~~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(args: ["remote",
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
var lines = result.stdout.components(separatedBy: .newlines)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
case loaded(files: [GitFileItem])
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
let stash = try getStashes(directoryURL: directoryURL)
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
let branchName = branch
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
} else if let status = status as? UntrackedEntry {
~~~~^~~~~~~~~ ~~~
is
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
if let rebaseState = rebaseInternalState {
~~~~^~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
let status = stdout.substring(statusRange.lowerBound)
~~~~^~~~~~
_
[82/189] Compiling Version_Control Push.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
if let gitErrorDescription = result.gitErrorDescription {
~~~~^~~~~~~~~~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(args: ["remote",
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
var lines = result.stdout.components(separatedBy: .newlines)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
case loaded(files: [GitFileItem])
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
let stash = try getStashes(directoryURL: directoryURL)
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
let branchName = branch
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
} else if let status = status as? UntrackedEntry {
~~~~^~~~~~~~~ ~~~
is
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
if let rebaseState = rebaseInternalState {
~~~~^~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
let status = stdout.substring(statusRange.lowerBound)
~~~~^~~~~~
_
[83/189] Compiling Version_Control RM.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
if let gitErrorDescription = result.gitErrorDescription {
~~~~^~~~~~~~~~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(args: ["remote",
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
var lines = result.stdout.components(separatedBy: .newlines)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
case loaded(files: [GitFileItem])
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
let stash = try getStashes(directoryURL: directoryURL)
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
let branchName = branch
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
} else if let status = status as? UntrackedEntry {
~~~~^~~~~~~~~ ~~~
is
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
if let rebaseState = rebaseInternalState {
~~~~^~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
let status = stdout.substring(statusRange.lowerBound)
~~~~^~~~~~
_
[84/189] Compiling Version_Control Rebase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
if let gitErrorDescription = result.gitErrorDescription {
~~~~^~~~~~~~~~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(args: ["remote",
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
var lines = result.stdout.components(separatedBy: .newlines)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
case loaded(files: [GitFileItem])
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
let stash = try getStashes(directoryURL: directoryURL)
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
let branchName = branch
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
} else if let status = status as? UntrackedEntry {
~~~~^~~~~~~~~ ~~~
is
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
if let rebaseState = rebaseInternalState {
~~~~^~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
let status = stdout.substring(statusRange.lowerBound)
~~~~^~~~~~
_
[85/189] Compiling Version_Control Reflog.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
if let gitErrorDescription = result.gitErrorDescription {
~~~~^~~~~~~~~~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(args: ["remote",
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
var lines = result.stdout.components(separatedBy: .newlines)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
case loaded(files: [GitFileItem])
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
let stash = try getStashes(directoryURL: directoryURL)
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
let branchName = branch
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
} else if let status = status as? UntrackedEntry {
~~~~^~~~~~~~~ ~~~
is
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
if let rebaseState = rebaseInternalState {
~~~~^~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
let status = stdout.substring(statusRange.lowerBound)
~~~~^~~~~~
_
[86/189] Compiling Version_Control Refs.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
if let gitErrorDescription = result.gitErrorDescription {
~~~~^~~~~~~~~~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(args: ["remote",
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
var lines = result.stdout.components(separatedBy: .newlines)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
case loaded(files: [GitFileItem])
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
let stash = try getStashes(directoryURL: directoryURL)
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
let branchName = branch
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
} else if let status = status as? UntrackedEntry {
~~~~^~~~~~~~~ ~~~
is
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
if let rebaseState = rebaseInternalState {
~~~~^~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
let status = stdout.substring(statusRange.lowerBound)
~~~~^~~~~~
_
[87/189] Compiling Version_Control Remote.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
if let gitErrorDescription = result.gitErrorDescription {
~~~~^~~~~~~~~~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(args: ["remote",
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
var lines = result.stdout.components(separatedBy: .newlines)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
case loaded(files: [GitFileItem])
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
let stash = try getStashes(directoryURL: directoryURL)
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
let branchName = branch
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
} else if let status = status as? UntrackedEntry {
~~~~^~~~~~~~~ ~~~
is
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
if let rebaseState = rebaseInternalState {
~~~~^~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
let status = stdout.substring(statusRange.lowerBound)
~~~~^~~~~~
_
[88/189] Compiling Version_Control Reset.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
if let gitErrorDescription = result.gitErrorDescription {
~~~~^~~~~~~~~~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(args: ["remote",
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
var lines = result.stdout.components(separatedBy: .newlines)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
case loaded(files: [GitFileItem])
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
let stash = try getStashes(directoryURL: directoryURL)
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
let branchName = branch
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
} else if let status = status as? UntrackedEntry {
~~~~^~~~~~~~~ ~~~
is
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
if let rebaseState = rebaseInternalState {
~~~~^~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
let status = stdout.substring(statusRange.lowerBound)
~~~~^~~~~~
_
[89/189] Compiling Version_Control Rev-List.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
if let gitErrorDescription = result.gitErrorDescription {
~~~~^~~~~~~~~~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(args: ["remote",
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
var lines = result.stdout.components(separatedBy: .newlines)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
case loaded(files: [GitFileItem])
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
let stash = try getStashes(directoryURL: directoryURL)
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
let branchName = branch
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
} else if let status = status as? UntrackedEntry {
~~~~^~~~~~~~~ ~~~
is
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
if let rebaseState = rebaseInternalState {
~~~~^~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
let status = stdout.substring(statusRange.lowerBound)
~~~~^~~~~~
_
[90/189] Compiling Version_Control Rev-Parse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
if let gitErrorDescription = result.gitErrorDescription {
~~~~^~~~~~~~~~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(args: ["remote",
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
var lines = result.stdout.components(separatedBy: .newlines)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
case loaded(files: [GitFileItem])
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
let stash = try getStashes(directoryURL: directoryURL)
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
let branchName = branch
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
} else if let status = status as? UntrackedEntry {
~~~~^~~~~~~~~ ~~~
is
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
if let rebaseState = rebaseInternalState {
~~~~^~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
let status = stdout.substring(statusRange.lowerBound)
~~~~^~~~~~
_
[91/189] Compiling Version_Control Revert.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
if let gitErrorDescription = result.gitErrorDescription {
~~~~^~~~~~~~~~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(args: ["remote",
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
var lines = result.stdout.components(separatedBy: .newlines)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
case loaded(files: [GitFileItem])
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
let stash = try getStashes(directoryURL: directoryURL)
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
let branchName = branch
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
} else if let status = status as? UntrackedEntry {
~~~~^~~~~~~~~ ~~~
is
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
if let rebaseState = rebaseInternalState {
~~~~^~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
let status = stdout.substring(statusRange.lowerBound)
~~~~^~~~~~
_
[92/189] Compiling Version_Control Squash.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
if let gitErrorDescription = result.gitErrorDescription {
~~~~^~~~~~~~~~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(args: ["remote",
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
var lines = result.stdout.components(separatedBy: .newlines)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
case loaded(files: [GitFileItem])
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
let stash = try getStashes(directoryURL: directoryURL)
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
let branchName = branch
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
} else if let status = status as? UntrackedEntry {
~~~~^~~~~~~~~ ~~~
is
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
if let rebaseState = rebaseInternalState {
~~~~^~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
let status = stdout.substring(statusRange.lowerBound)
~~~~^~~~~~
_
[93/189] Compiling Version_Control Stage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
if let gitErrorDescription = result.gitErrorDescription {
~~~~^~~~~~~~~~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(args: ["remote",
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
var lines = result.stdout.components(separatedBy: .newlines)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
case loaded(files: [GitFileItem])
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
let stash = try getStashes(directoryURL: directoryURL)
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
let branchName = branch
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
} else if let status = status as? UntrackedEntry {
~~~~^~~~~~~~~ ~~~
is
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
if let rebaseState = rebaseInternalState {
~~~~^~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
let status = stdout.substring(statusRange.lowerBound)
~~~~^~~~~~
_
[94/189] Compiling Version_Control Stash.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
if let gitErrorDescription = result.gitErrorDescription {
~~~~^~~~~~~~~~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(args: ["remote",
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
var lines = result.stdout.components(separatedBy: .newlines)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
case loaded(files: [GitFileItem])
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
let stash = try getStashes(directoryURL: directoryURL)
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
let branchName = branch
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
} else if let status = status as? UntrackedEntry {
~~~~^~~~~~~~~ ~~~
is
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
if let rebaseState = rebaseInternalState {
~~~~^~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
let status = stdout.substring(statusRange.lowerBound)
~~~~^~~~~~
_
[95/189] Compiling Version_Control Status.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
if let gitErrorDescription = result.gitErrorDescription {
~~~~^~~~~~~~~~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(args: ["remote",
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
var lines = result.stdout.components(separatedBy: .newlines)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
case loaded(files: [GitFileItem])
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
let stash = try getStashes(directoryURL: directoryURL)
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
let branchName = branch
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
} else if let status = status as? UntrackedEntry {
~~~~^~~~~~~~~ ~~~
is
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
if let rebaseState = rebaseInternalState {
~~~~^~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
let status = stdout.substring(statusRange.lowerBound)
~~~~^~~~~~
_
[96/189] Compiling Version_Control Submodule.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test
if let gitErrorDescription = result.gitErrorDescription {
~~~~^~~~~~~~~~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(args: ["remote",
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
var lines = result.stdout.components(separatedBy: .newlines)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
case loaded(files: [GitFileItem])
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it
let stash = try getStashes(directoryURL: directoryURL)
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it
let branchName = branch
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it
let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test
} else if let status = status as? UntrackedEntry {
~~~~^~~~~~~~~ ~~~
is
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test
if let rebaseState = rebaseInternalState {
~~~~^~~~~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
let status = stdout.substring(statusRange.lowerBound)
~~~~^~~~~~
_
[97/189] Compiling Version_Control From-Process.swift
[98/189] Compiling Version_Control GitProgress.swift
[99/189] Compiling Version_Control LFSProgress.swift
[100/189] Compiling Version_Control CloneOptions.swift
[101/189] Compiling Version_Control DiffImage.swift
[102/189] Compiling Version_Control IBinaryDiff.swift
[103/189] Compiling Version_Control IImageDiff.swift
[104/189] Compiling Version_Control ILargeTextDiff.swift
[105/189] Compiling Version_Control ISubmoduleDiff.swift
[106/189] Compiling Version_Control ITextDiff.swift
[107/189] Compiling Version_Control IUnrenderableDiff.swift
[108/189] Compiling Version_Control DiffType.swift
[109/189] Compiling Version_Control IDiff.swift
[110/189] Compiling Version_Control IDiffTypes.swift
[111/189] Compiling Version_Control ITextDiffData.swift
[112/189] Compiling Version_Control IChangesetData.swift
[113/189] Compiling Version_Control ComputedAction.swift
[114/189] Compiling Version_Control GitRebaseSnapshot.swift
[115/189] Compiling Version_Control RebaseInternalState.swift
[116/189] Compiling Version_Control GitHubActions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
case .failure(let error):
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test
guard let noCommitsOnBranchRe = try? NSRegularExpression(
~~~~^~~~~~~~~~~~~~~~~~~~~~
(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test
if let callback = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options: IGitExecutionOptions = IGitExecutionOptions()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it
let opts = try getCheckoutOpts(
~~~~^~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test
if let progress = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it
let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it
var gitCommand: String
^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
[117/189] Compiling Version_Control Add.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
case .failure(let error):
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test
guard let noCommitsOnBranchRe = try? NSRegularExpression(
~~~~^~~~~~~~~~~~~~~~~~~~~~
(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test
if let callback = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options: IGitExecutionOptions = IGitExecutionOptions()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it
let opts = try getCheckoutOpts(
~~~~^~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test
if let progress = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it
let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it
var gitCommand: String
^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
[118/189] Compiling Version_Control Apply.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
case .failure(let error):
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test
guard let noCommitsOnBranchRe = try? NSRegularExpression(
~~~~^~~~~~~~~~~~~~~~~~~~~~
(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test
if let callback = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options: IGitExecutionOptions = IGitExecutionOptions()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it
let opts = try getCheckoutOpts(
~~~~^~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test
if let progress = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it
let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it
var gitCommand: String
^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
[119/189] Compiling Version_Control Branch.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
case .failure(let error):
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test
guard let noCommitsOnBranchRe = try? NSRegularExpression(
~~~~^~~~~~~~~~~~~~~~~~~~~~
(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test
if let callback = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options: IGitExecutionOptions = IGitExecutionOptions()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it
let opts = try getCheckoutOpts(
~~~~^~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test
if let progress = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it
let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it
var gitCommand: String
^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
[120/189] Compiling Version_Control Check.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
case .failure(let error):
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test
guard let noCommitsOnBranchRe = try? NSRegularExpression(
~~~~^~~~~~~~~~~~~~~~~~~~~~
(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test
if let callback = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options: IGitExecutionOptions = IGitExecutionOptions()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it
let opts = try getCheckoutOpts(
~~~~^~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test
if let progress = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it
let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it
var gitCommand: String
^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
[121/189] Compiling Version_Control Checkout-Index.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
case .failure(let error):
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test
guard let noCommitsOnBranchRe = try? NSRegularExpression(
~~~~^~~~~~~~~~~~~~~~~~~~~~
(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test
if let callback = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options: IGitExecutionOptions = IGitExecutionOptions()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it
let opts = try getCheckoutOpts(
~~~~^~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test
if let progress = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it
let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it
var gitCommand: String
^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
[122/189] Compiling Version_Control Checkout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
case .failure(let error):
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test
guard let noCommitsOnBranchRe = try? NSRegularExpression(
~~~~^~~~~~~~~~~~~~~~~~~~~~
(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test
if let callback = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options: IGitExecutionOptions = IGitExecutionOptions()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it
let opts = try getCheckoutOpts(
~~~~^~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test
if let progress = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it
let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it
var gitCommand: String
^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
[123/189] Compiling Version_Control Cherry-Pick.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
case .failure(let error):
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test
guard let noCommitsOnBranchRe = try? NSRegularExpression(
~~~~^~~~~~~~~~~~~~~~~~~~~~
(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test
if let callback = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options: IGitExecutionOptions = IGitExecutionOptions()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it
let opts = try getCheckoutOpts(
~~~~^~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test
if let progress = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it
let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it
var gitCommand: String
^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
[124/189] Compiling Version_Control Clone.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
case .failure(let error):
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test
guard let noCommitsOnBranchRe = try? NSRegularExpression(
~~~~^~~~~~~~~~~~~~~~~~~~~~
(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test
if let callback = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options: IGitExecutionOptions = IGitExecutionOptions()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it
let opts = try getCheckoutOpts(
~~~~^~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test
if let progress = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it
let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it
var gitCommand: String
^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
[125/189] Compiling Version_Control Commit.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
case .failure(let error):
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test
guard let noCommitsOnBranchRe = try? NSRegularExpression(
~~~~^~~~~~~~~~~~~~~~~~~~~~
(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test
if let callback = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options: IGitExecutionOptions = IGitExecutionOptions()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it
let opts = try getCheckoutOpts(
~~~~^~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test
if let progress = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it
let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it
var gitCommand: String
^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
[126/189] Compiling Version_Control Config.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
case .failure(let error):
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test
guard let noCommitsOnBranchRe = try? NSRegularExpression(
~~~~^~~~~~~~~~~~~~~~~~~~~~
(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test
if let callback = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options: IGitExecutionOptions = IGitExecutionOptions()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it
let opts = try getCheckoutOpts(
~~~~^~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test
if let progress = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it
let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it
var gitCommand: String
^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
[127/189] Compiling Version_Control Description.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
case .failure(let error):
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test
guard let noCommitsOnBranchRe = try? NSRegularExpression(
~~~~^~~~~~~~~~~~~~~~~~~~~~
(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test
if let callback = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options: IGitExecutionOptions = IGitExecutionOptions()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it
let opts = try getCheckoutOpts(
~~~~^~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test
if let progress = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it
let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it
var gitCommand: String
^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
[128/189] Compiling Version_Control Diff-Check.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
case .failure(let error):
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test
guard let noCommitsOnBranchRe = try? NSRegularExpression(
~~~~^~~~~~~~~~~~~~~~~~~~~~
(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test
if let callback = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options: IGitExecutionOptions = IGitExecutionOptions()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it
let opts = try getCheckoutOpts(
~~~~^~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test
if let progress = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it
let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it
var gitCommand: String
^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
[129/189] Compiling Version_Control Diff-Index.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
case .failure(let error):
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test
guard let noCommitsOnBranchRe = try? NSRegularExpression(
~~~~^~~~~~~~~~~~~~~~~~~~~~
(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test
if let callback = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options: IGitExecutionOptions = IGitExecutionOptions()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it
let opts = try getCheckoutOpts(
~~~~^~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test
if let progress = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it
let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it
var gitCommand: String
^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
[130/189] Compiling Version_Control Diff.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
case .failure(let error):
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test
guard let noCommitsOnBranchRe = try? NSRegularExpression(
~~~~^~~~~~~~~~~~~~~~~~~~~~
(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test
if let callback = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options: IGitExecutionOptions = IGitExecutionOptions()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it
let opts = try getCheckoutOpts(
~~~~^~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test
if let progress = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it
let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it
var gitCommand: String
^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
[131/189] Compiling Version_Control Format-Patch.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
case .failure(let error):
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test
guard let noCommitsOnBranchRe = try? NSRegularExpression(
~~~~^~~~~~~~~~~~~~~~~~~~~~
(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test
if let callback = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options: IGitExecutionOptions = IGitExecutionOptions()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it
let opts = try getCheckoutOpts(
~~~~^~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test
if let progress = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it
let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it
var gitCommand: String
^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
[132/189] Compiling Version_Control GitIgnore.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
case .failure(let error):
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test
guard let noCommitsOnBranchRe = try? NSRegularExpression(
~~~~^~~~~~~~~~~~~~~~~~~~~~
(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test
if let callback = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options: IGitExecutionOptions = IGitExecutionOptions()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it
let opts = try getCheckoutOpts(
~~~~^~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test
if let progress = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it
let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it
var gitCommand: String
^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
[133/189] Compiling Version_Control GitLog.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
case .failure(let error):
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test
guard let noCommitsOnBranchRe = try? NSRegularExpression(
~~~~^~~~~~~~~~~~~~~~~~~~~~
(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test
if let callback = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options: IGitExecutionOptions = IGitExecutionOptions()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it
let opts = try getCheckoutOpts(
~~~~^~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test
if let progress = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it
let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it
var gitCommand: String
^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
[134/189] Compiling Version_Control Init.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
case .failure(let error):
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test
guard let noCommitsOnBranchRe = try? NSRegularExpression(
~~~~^~~~~~~~~~~~~~~~~~~~~~
(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test
if let callback = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options: IGitExecutionOptions = IGitExecutionOptions()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it
let opts = try getCheckoutOpts(
~~~~^~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test
if let progress = progressCallback {
~~~~^~~~~~~~~~~
!= nil
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it
let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
~~~~^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it
var gitCommand: String
^~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
let result = try await GitShell().git(
^
[135/189] Compiling Version_Control Tag.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: use 'String(describing:)' to silence this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
String(describing: )
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: provide a default value to avoid this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
?? <#default value#>
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
~~~~^~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
let linesConfumed = 0
~~~~^~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
let previousHunk: DiffHunk? = nil
^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
var message = ""
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
default: // FIXME: default will never be executed
^
[136/189] Compiling Version_Control Update-Index.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: use 'String(describing:)' to silence this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
String(describing: )
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: provide a default value to avoid this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
?? <#default value#>
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
~~~~^~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
let linesConfumed = 0
~~~~^~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
let previousHunk: DiffHunk? = nil
^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
var message = ""
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
default: // FIXME: default will never be executed
^
[137/189] Compiling Version_Control Update-Ref.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: use 'String(describing:)' to silence this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
String(describing: )
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: provide a default value to avoid this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
?? <#default value#>
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
~~~~^~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
let linesConfumed = 0
~~~~^~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
let previousHunk: DiffHunk? = nil
^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
var message = ""
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
default: // FIXME: default will never be executed
^
[138/189] Compiling Version_Control Blob.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: use 'String(describing:)' to silence this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
String(describing: )
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: provide a default value to avoid this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
?? <#default value#>
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
~~~~^~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
let linesConfumed = 0
~~~~^~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
let previousHunk: DiffHunk? = nil
^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
var message = ""
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
default: // FIXME: default will never be executed
^
[139/189] Compiling Version_Control Core.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: use 'String(describing:)' to silence this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
String(describing: )
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: provide a default value to avoid this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
?? <#default value#>
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
~~~~^~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
let linesConfumed = 0
~~~~^~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
let previousHunk: DiffHunk? = nil
^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
var message = ""
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
default: // FIXME: default will never be executed
^
[140/189] Compiling Version_Control GitProcess.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: use 'String(describing:)' to silence this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
String(describing: )
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: provide a default value to avoid this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
?? <#default value#>
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
~~~~^~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
let linesConfumed = 0
~~~~^~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
let previousHunk: DiffHunk? = nil
^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
var message = ""
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
default: // FIXME: default will never be executed
^
[141/189] Compiling Version_Control GitShell.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: use 'String(describing:)' to silence this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
String(describing: )
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: provide a default value to avoid this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
?? <#default value#>
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
~~~~^~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
let linesConfumed = 0
~~~~^~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
let previousHunk: DiffHunk? = nil
^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
var message = ""
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
default: // FIXME: default will never be executed
^
[142/189] Compiling Version_Control IExecutionOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: use 'String(describing:)' to silence this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
String(describing: )
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: provide a default value to avoid this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
?? <#default value#>
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
~~~~^~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
let linesConfumed = 0
~~~~^~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
let previousHunk: DiffHunk? = nil
^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
var message = ""
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
default: // FIXME: default will never be executed
^
[143/189] Compiling Version_Control IGitExecutionOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: use 'String(describing:)' to silence this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
String(describing: )
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: provide a default value to avoid this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
?? <#default value#>
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
~~~~^~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
let linesConfumed = 0
~~~~^~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
let previousHunk: DiffHunk? = nil
^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
var message = ""
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
default: // FIXME: default will never be executed
^
[144/189] Compiling Version_Control IGitResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: use 'String(describing:)' to silence this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
String(describing: )
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: provide a default value to avoid this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
?? <#default value#>
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
~~~~^~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
let linesConfumed = 0
~~~~^~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
let previousHunk: DiffHunk? = nil
^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
var message = ""
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
default: // FIXME: default will never be executed
^
[145/189] Compiling Version_Control IResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: use 'String(describing:)' to silence this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
String(describing: )
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: provide a default value to avoid this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
?? <#default value#>
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
~~~~^~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
let linesConfumed = 0
~~~~^~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
let previousHunk: DiffHunk? = nil
^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
var message = ""
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
default: // FIXME: default will never be executed
^
[146/189] Compiling Version_Control DiffParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: use 'String(describing:)' to silence this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
String(describing: )
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: provide a default value to avoid this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
?? <#default value#>
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
~~~~^~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
let linesConfumed = 0
~~~~^~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
let previousHunk: DiffHunk? = nil
^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
var message = ""
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
default: // FIXME: default will never be executed
^
[147/189] Compiling Version_Control GitCherryPickParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: use 'String(describing:)' to silence this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
String(describing: )
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: provide a default value to avoid this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
?? <#default value#>
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
~~~~^~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
let linesConfumed = 0
~~~~^~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
let previousHunk: DiffHunk? = nil
^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
var message = ""
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
default: // FIXME: default will never be executed
^
[148/189] Compiling Version_Control GitDelimiterParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: use 'String(describing:)' to silence this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
String(describing: )
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: provide a default value to avoid this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
?? <#default value#>
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
~~~~^~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
let linesConfumed = 0
~~~~^~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
let previousHunk: DiffHunk? = nil
^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
var message = ""
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
default: // FIXME: default will never be executed
^
[149/189] Compiling Version_Control GitErrorParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: use 'String(describing:)' to silence this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
String(describing: )
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: provide a default value to avoid this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
?? <#default value#>
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
~~~~^~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
let linesConfumed = 0
~~~~^~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
let previousHunk: DiffHunk? = nil
^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
var message = ""
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
default: // FIXME: default will never be executed
^
[150/189] Compiling Version_Control GitRebaseParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: use 'String(describing:)' to silence this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
String(describing: )
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: provide a default value to avoid this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
?? <#default value#>
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
~~~~^~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
let linesConfumed = 0
~~~~^~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
let previousHunk: DiffHunk? = nil
^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
var message = ""
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
default: // FIXME: default will never be executed
^
[151/189] Compiling Version_Control GitStatusParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: use 'String(describing:)' to silence this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
String(describing: )
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: provide a default value to avoid this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
?? <#default value#>
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
~~~~^~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
let linesConfumed = 0
~~~~^~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
let previousHunk: DiffHunk? = nil
^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
var message = ""
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
default: // FIXME: default will never be executed
^
[152/189] Compiling Version_Control PatchFormatterParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: use 'String(describing:)' to silence this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
String(describing: )
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: provide a default value to avoid this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
?? <#default value#>
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
~~~~^~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
let linesConfumed = 0
~~~~^~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
let previousHunk: DiffHunk? = nil
^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
var message = ""
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
default: // FIXME: default will never be executed
^
[153/189] Compiling Version_Control ProcessError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:78: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: use 'String(describing:)' to silence this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
String(describing: )
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:155:98: note: provide a default value to avoid this warning
errorMessage.append("(The error was parsed as \(gitError): \(gitErrorDescription ?? ""))")
~~~~~~~~~~~~~~~~~~~~^~~~~
?? <#default value#>
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/GitShell.swift:92:13: warning: initialization of immutable value 'commandLineURL' was never used; consider replacing with assignment to '_' or removing it
let commandLineURL = "/usr/bin/env git " + args.joined(separator: " ")
~~~~^~~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:218:17: warning: initialization of immutable value 'linesConfumed' was never used; consider replacing with assignment to '_' or removing it
let linesConfumed = 0
~~~~^~~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/DiffParser.swift:219:17: warning: immutable value 'previousHunk' was never used; consider replacing with '_' or removing it
let previousHunk: DiffHunk? = nil
^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitErrorParser.swift:22:13: warning: variable 'message' was written to, but never read
var message = ""
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/GitStatusParser.swift:169:13: warning: variable 'submoduleStatus' was never mutated; consider changing to 'let' constant
var submoduleStatus = mapSubmoduleStatus(submoduleStatusCode: submoduleStatusCode)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Core/Parsers/PatchFormatterParser.swift:171:17: warning: default will never be executed
default: // FIXME: default will never be executed
^
[154/189] Compiling Version_Control APIPullRequestReviewState.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
^
[155/189] Compiling Version_Control APIRepoRuleMetadataOperator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
^
[156/189] Compiling Version_Control APIRepoRuleType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
^
[157/189] Compiling Version_Control APICheckConclusion.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
^
[158/189] Compiling Version_Control APICheckStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
^
[159/189] Compiling Version_Control APIRefState.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
^
[160/189] Compiling Version_Control GitlabAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
^
[161/189] Compiling Version_Control Gravatar.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
^
[162/189] Compiling Version_Control Job.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
^
[163/189] Compiling Version_Control JobSteps.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
^
[164/189] Compiling Version_Control Jobs.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
^
[165/189] Compiling Version_Control Workflow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
^
[166/189] Compiling Version_Control WorkflowRun.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
^
[167/189] Compiling Version_Control WorkflowRuns.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
^
[168/189] Compiling Version_Control Workflows.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
^
[169/189] Compiling Version_Control 2FA.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
^
[170/189] Compiling Version_Control GitHubEmail.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
^
[171/189] Compiling Version_Control AuroraNetworking.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
^
[172/189] Compiling Version_Control AuroraNetworkingConstants.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
} catch let error {
~~~~^~~~~
_
[173/189] Compiling Version_Control AuroraNetworkingDebug.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
} catch let error {
~~~~^~~~~
_
[174/189] Compiling Version_Control HTTPErrors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
} catch let error {
~~~~^~~~~
_
[175/189] Compiling Version_Control HTTPMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
} catch let error {
~~~~^~~~~
_
[176/189] Compiling Version_Control BranchUtil.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
} catch let error {
~~~~^~~~~
_
[177/189] Compiling Version_Control CommandError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
} catch let error {
~~~~^~~~~
_
[178/189] Compiling Version_Control Date.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
} catch let error {
~~~~^~~~~
_
[179/189] Compiling Version_Control FileManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
} catch let error {
~~~~^~~~~
_
[180/189] Compiling Version_Control String.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
} catch let error {
~~~~^~~~~
_
[181/189] Compiling Version_Control FileUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
} catch let error {
~~~~^~~~~
_
[182/189] Compiling Version_Control DefaultBranch.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
} catch let error {
~~~~^~~~~
_
[183/189] Compiling Version_Control GitAuthor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
} catch let error {
~~~~^~~~~
_
[184/189] Compiling Version_Control MediaDiff.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
} catch let error {
~~~~^~~~~
_
[185/189] Compiling Version_Control Regex.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
} catch let error {
~~~~^~~~~
_
[186/189] Compiling Version_Control RemoveRemotePrefix.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
} catch let error {
~~~~^~~~~
_
[187/189] Compiling Version_Control LiveShellClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
} catch let error {
~~~~^~~~~
_
[188/189] Compiling Version_Control ShellClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
} catch let error {
~~~~^~~~~
_
[189/189] Compiling Version_Control Version_Control.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it
} catch let error {
~~~~^~~~~
_
Build complete! (12.80s)
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Tests/Version-Control-Test/Services/API/GitHub/Mock Data/ProtectedBranchesResponse.json
/Users/admin/builder/spi-builder-workspace/Tests/Version-Control-Test/Services/API/GitHub/Mock Data/GitHubAccountResponse.json
/Users/admin/builder/spi-builder-workspace/Tests/Version-Control-Test/Services/API/GitHub/Mock Data/PushControlResponse.json
Build complete.
Done.