Build Information
Successful build of Version-Control, reference 1.0.4 (95f4f3
), with Swift 5.10 for macOS (SPM) on 21 Jul 2024 19:07:46 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
~~~~^~~~~~~~~~~~~~
_
/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
^
[84/191] 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
^
[85/191] 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
^
[86/191] 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
^
[87/191] 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
^
[88/191] 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
^
[89/191] 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
^
[90/191] 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
^
[91/191] 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
^
[92/191] 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
^
[93/191] 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
^
[94/191] 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
^
[95/191] 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
^
[96/191] 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
^
[97/191] 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
^
[98/191] 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
^
[99/191] Compiling Version_Control Interpret-Trailers.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)
~~~~^~~~~~
_
[100/191] Compiling Version_Control LFS.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)
~~~~^~~~~~
_
[101/191] Compiling Version_Control Merge.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)
~~~~^~~~~~
_
[102/191] Compiling Version_Control Pull.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)
~~~~^~~~~~
_
[103/191] 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)
~~~~^~~~~~
_
[104/191] 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)
~~~~^~~~~~
_
[105/191] 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)
~~~~^~~~~~
_
[106/191] 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)
~~~~^~~~~~
_
[107/191] 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)
~~~~^~~~~~
_
[108/191] 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)
~~~~^~~~~~
_
[109/191] 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)
~~~~^~~~~~
_
[110/191] 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)
~~~~^~~~~~
_
[111/191] 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)
~~~~^~~~~~
_
[112/191] 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)
~~~~^~~~~~
_
[113/191] 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)
~~~~^~~~~~
_
[114/191] 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)
~~~~^~~~~~
_
[115/191] 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)
~~~~^~~~~~
_
[116/191] 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)
~~~~^~~~~~
_
[117/191] 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)
~~~~^~~~~~
_
[118/191] 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(
^
[119/191] 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(
^
[120/191] 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(
^
[121/191] 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(
^
[122/191] 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(
^
[123/191] 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(
^
[124/191] 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(
^
[125/191] 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(
^
[126/191] 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(
^
[127/191] 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(
^
[128/191] 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(
^
[129/191] 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(
^
[130/191] 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(
^
[131/191] 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(
^
[132/191] 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(
^
[133/191] 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(
^
[134/191] 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(
^
[135/191] 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(
^
[136/191] 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(
^
[137/191] Compiling Version_Control From-Process.swift
[138/191] Compiling Version_Control GitProgress.swift
[139/191] Compiling Version_Control LFSProgress.swift
[140/191] Compiling Version_Control CloneOptions.swift
[141/191] Compiling Version_Control DiffImage.swift
[142/191] Compiling Version_Control IBinaryDiff.swift
[143/191] Compiling Version_Control IImageDiff.swift
[144/191] Compiling Version_Control ILargeTextDiff.swift
[145/191] Compiling Version_Control ISubmoduleDiff.swift
[146/191] Compiling Version_Control ITextDiff.swift
[147/191] Compiling Version_Control IUnrenderableDiff.swift
[148/191] Compiling Version_Control DiffType.swift
[149/191] Compiling Version_Control IDiff.swift
[150/191] Compiling Version_Control IDiffTypes.swift
[151/191] Compiling Version_Control ITextDiffData.swift
[152/191] Compiling Version_Control IChangesetData.swift
[153/191] Compiling Version_Control ComputedAction.swift
[154/191] Compiling Version_Control GitRebaseSnapshot.swift
[155/191] Compiling Version_Control RebaseInternalState.swift
[156/191] 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
^
[157/191] 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
^
[158/191] 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
^
[159/191] 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
^
[160/191] 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
^
[161/191] 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
^
[162/191] 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
^
[163/191] 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
^
[164/191] 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
^
[165/191] 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
^
[166/191] 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
^
[167/191] 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
^
[168/191] 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
^
[169/191] 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
^
[170/191] 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
^
[171/191] 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
^
[172/191] 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
^
[173/191] 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
^
[174/191] 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 {
~~~~^~~~~
_
[175/191] 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 {
~~~~^~~~~
_
[176/191] 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 {
~~~~^~~~~
_
[177/191] 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 {
~~~~^~~~~
_
[178/191] 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 {
~~~~^~~~~
_
[179/191] 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 {
~~~~^~~~~
_
[180/191] 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 {
~~~~^~~~~
_
[181/191] 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 {
~~~~^~~~~
_
[182/191] 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 {
~~~~^~~~~
_
[183/191] 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 {
~~~~^~~~~
_
[184/191] 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 {
~~~~^~~~~
_
[185/191] 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 {
~~~~^~~~~
_
[186/191] 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 {
~~~~^~~~~
_
[187/191] 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 {
~~~~^~~~~
_
[188/191] 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 {
~~~~^~~~~
_
[189/191] 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 {
~~~~^~~~~
_
[190/191] 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 {
~~~~^~~~~
_
[191/191] 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! (8.09s)
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/PushControlResponse.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/ProtectedBranchesResponse.json
Build complete.
Done.