Build Information
Successful build of Version-Control, reference main (95f4f3
), with Swift 5.10 for macOS (SPM) on 21 Jul 2024 19:09:47 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/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
^
[60/191] Compiling Version_Control RebaseProgressOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
[61/191] Compiling Version_Control RebaseResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
[62/191] Compiling Version_Control ConflictFilesDetails.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
[63/191] Compiling Version_Control IStatusEntry.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
[64/191] Compiling Version_Control IStatusHeader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
[65/191] Compiling Version_Control StatusHeadersData.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
[66/191] Compiling Version_Control StatusResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
[67/191] Compiling Version_Control WorkingDirectoryStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
[68/191] Compiling Version_Control CommitHistory.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
[69/191] Compiling Version_Control CommitIdentity.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
[70/191] Compiling Version_Control Diff-Data.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
[71/191] Compiling Version_Control Diff-Line.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
[72/191] Compiling Version_Control Diff-Selection.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
[73/191] Compiling Version_Control Diff-Helper.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
[74/191] Compiling Version_Control Raw-Diff.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
[75/191] Compiling Version_Control AppFileStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
[76/191] Compiling Version_Control CommittedFileChange.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
[77/191] Compiling Version_Control FileChange.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
[78/191] Compiling Version_Control WorkingDirectoryFileChange.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:120:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'kind' case to silence this warning
let kind: String = "conflicted"
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Files/AppFileStatus.swift:126:9: note: make the property mutable instead
let kind: String = "conflicted"
~~~ ^
var
[79/191] Compiling Version_Control GitBranch.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:20:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem? { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:30:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem?
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:37:17: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
files: GitFileItem?,
^
[80/191] Compiling Version_Control GitCommit.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:20:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem? { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:30:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem?
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:37:17: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
files: GitFileItem?,
^
[81/191] Compiling Version_Control GitFileItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:20:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem? { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:30:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem?
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:37:17: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
files: GitFileItem?,
^
[82/191] Compiling Version_Control GitType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:20:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem? { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:30:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem?
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:37:17: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
files: GitFileItem?,
^
[83/191] Compiling Version_Control IGitAccount.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:20:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem? { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:30:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem?
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:37:17: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
files: GitFileItem?,
^
[84/191] Compiling Version_Control IProgress.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:20:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem? { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:30:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem?
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:37:17: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
files: GitFileItem?,
^
[85/191] Compiling Version_Control IRemote.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:20:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem? { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:30:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem?
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:37:17: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
files: GitFileItem?,
^
[86/191] Compiling Version_Control ManualConflictResolution.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:20:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem? { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:30:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem?
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:37:17: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
files: GitFileItem?,
^
[87/191] Compiling Version_Control Stash-Entry.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:20:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem? { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:30:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem?
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:37:17: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
files: GitFileItem?,
^
[88/191] Compiling Version_Control GitError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:20:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem? { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:30:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem?
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:37:17: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
files: GitFileItem?,
^
[89/191] Compiling Version_Control IndexError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:20:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem? { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:30:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem?
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:37:17: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
files: GitFileItem?,
^
[90/191] Compiling Version_Control NetworkingError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:20:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem? { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:30:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem?
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:37:17: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
files: GitFileItem?,
^
[91/191] Compiling Version_Control ShellErrors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:20:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem? { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:30:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem?
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:37:17: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
files: GitFileItem?,
^
[92/191] Compiling Version_Control BitBucketAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:20:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem? { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:30:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem?
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:37:17: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
files: GitFileItem?,
^
[93/191] Compiling Version_Control IBitBucketAPIPullRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:20:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem? { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:30:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem?
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:37:17: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
files: GitFileItem?,
^
[94/191] Compiling Version_Control IBitbucketComment.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:20:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem? { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:30:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem?
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:37:17: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
files: GitFileItem?,
^
[95/191] Compiling Version_Control IBitbucketRendered.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:20:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem? { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:30:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem?
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:37:17: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
files: GitFileItem?,
^
[96/191] Compiling Version_Control AuthorizationResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:20:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem? { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:30:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem?
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:37:17: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
files: GitFileItem?,
^
[97/191] Compiling Version_Control AuthorizationResponseKind.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:20:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem? { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:30:16: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
var files: GitFileItem?
^
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Models/Stash-Entry.swift:37:17: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead
files: GitFileItem?,
^
[98/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(
^
[99/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(
^
[100/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(
^
[101/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(
^
[102/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(
^
[103/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(
^
[104/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(
^
[105/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(
^
[106/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(
^
[107/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(
^
[108/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(
^
[109/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(
^
[110/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(
^
[111/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(
^
[112/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(
^
[113/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(
^
[114/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(
^
[115/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(
^
[116/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(
^
[117/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)
~~~~^~~~~~
_
[118/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)
~~~~^~~~~~
_
[119/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)
~~~~^~~~~~
_
[120/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)
~~~~^~~~~~
_
[121/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)
~~~~^~~~~~
_
[122/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)
~~~~^~~~~~
_
[123/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)
~~~~^~~~~~
_
[124/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)
~~~~^~~~~~
_
[125/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)
~~~~^~~~~~
_
[126/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)
~~~~^~~~~~
_
[127/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)
~~~~^~~~~~
_
[128/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)
~~~~^~~~~~
_
[129/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)
~~~~^~~~~~
_
[130/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)
~~~~^~~~~~
_
[131/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)
~~~~^~~~~~
_
[132/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)
~~~~^~~~~~
_
[133/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)
~~~~^~~~~~
_
[134/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)
~~~~^~~~~~
_
[135/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)
~~~~^~~~~~
_
[136/191] Compiling Version_Control From-Process.swift
[137/191] Compiling Version_Control GitProgress.swift
[138/191] Compiling Version_Control LFSProgress.swift
[139/191] Compiling Version_Control CloneOptions.swift
[140/191] Compiling Version_Control DiffImage.swift
[141/191] Compiling Version_Control IBinaryDiff.swift
[142/191] Compiling Version_Control IImageDiff.swift
[143/191] Compiling Version_Control ILargeTextDiff.swift
[144/191] Compiling Version_Control ISubmoduleDiff.swift
[145/191] Compiling Version_Control ITextDiff.swift
[146/191] Compiling Version_Control IUnrenderableDiff.swift
[147/191] Compiling Version_Control DiffType.swift
[148/191] Compiling Version_Control IDiff.swift
[149/191] Compiling Version_Control IDiffTypes.swift
[150/191] Compiling Version_Control ITextDiffData.swift
[151/191] Compiling Version_Control IChangesetData.swift
[152/191] Compiling Version_Control ComputedAction.swift
[153/191] Compiling Version_Control GitRebaseSnapshot.swift
[154/191] Compiling Version_Control RebaseInternalState.swift
[155/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
^
[156/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
^
[157/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
^
[158/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
^
[159/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
^
[160/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
^
[161/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
^
[162/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
^
[163/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
^
[164/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
^
[165/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
^
[166/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
^
[167/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
^
[168/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
^
[169/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
^
[170/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
^
[171/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
^
[172/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
^
[173/191] Compiling Version_Control GitHubAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/API/GitHub/GitHubAPI.swift:215:42: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
case .success(let (data, headers)):
^~~~~~~
_
[174/191] Compiling Version_Control GithubNetworkingConstants.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/API/GitHub/GitHubAPI.swift:215:42: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
case .success(let (data, headers)):
^~~~~~~
_
[175/191] Compiling Version_Control IAPIEmail.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/API/GitHub/GitHubAPI.swift:215:42: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
case .success(let (data, headers)):
^~~~~~~
_
[176/191] Compiling Version_Control IAPIFullIdentity.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/API/GitHub/GitHubAPI.swift:215:42: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
case .success(let (data, headers)):
^~~~~~~
_
[177/191] Compiling Version_Control IAPIIdentity.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/API/GitHub/GitHubAPI.swift:215:42: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
case .success(let (data, headers)):
^~~~~~~
_
[178/191] Compiling Version_Control IAPIOrganization.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/API/GitHub/GitHubAPI.swift:215:42: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
case .success(let (data, headers)):
^~~~~~~
_
[179/191] Compiling Version_Control IAPIBranch.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/API/GitHub/GitHubAPI.swift:215:42: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
case .success(let (data, headers)):
^~~~~~~
_
[180/191] Compiling Version_Control IAPIFullRepository.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/API/GitHub/GitHubAPI.swift:215:42: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
case .success(let (data, headers)):
^~~~~~~
_
[181/191] Compiling Version_Control IAPIMentionableResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/API/GitHub/GitHubAPI.swift:215:42: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
case .success(let (data, headers)):
^~~~~~~
_
[182/191] Compiling Version_Control IAPIRepository.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/API/GitHub/GitHubAPI.swift:215:42: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
case .success(let (data, headers)):
^~~~~~~
_
[183/191] Compiling Version_Control IAPIRepositoryCloneInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/API/GitHub/GitHubAPI.swift:215:42: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
case .success(let (data, headers)):
^~~~~~~
_
[184/191] Compiling Version_Control IAPIRepositoryPermissions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/API/GitHub/GitHubAPI.swift:215:42: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
case .success(let (data, headers)):
^~~~~~~
_
[185/191] Compiling Version_Control IAPIIssue.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/API/GitHub/GitHubAPI.swift:215:42: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
case .success(let (data, headers)):
^~~~~~~
_
[186/191] Compiling Version_Control IAPIComment.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/API/GitHub/GitHubAPI.swift:215:42: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
case .success(let (data, headers)):
^~~~~~~
_
[187/191] Compiling Version_Control IAPIPullRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/API/GitHub/GitHubAPI.swift:215:42: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
case .success(let (data, headers)):
^~~~~~~
_
[188/191] Compiling Version_Control IAPIPullRequestRef.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/API/GitHub/GitHubAPI.swift:215:42: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
case .success(let (data, headers)):
^~~~~~~
_
[189/191] Compiling Version_Control IAPIPullRequestReview.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/API/GitHub/GitHubAPI.swift:215:42: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
case .success(let (data, headers)):
^~~~~~~
_
[190/191] Compiling Version_Control IAPIPushControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/API/GitHub/GitHubAPI.swift:215:42: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
case .success(let (data, headers)):
^~~~~~~
_
[191/191] Compiling Version_Control IAPIRepoRule.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/API/GitHub/GitHubAPI.swift:215:42: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
case .success(let (data, headers)):
^~~~~~~
_
Build complete! (7.96s)
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/GitHubAccountResponse.json
/Users/admin/builder/spi-builder-workspace/Tests/Version-Control-Test/Services/API/GitHub/Mock Data/ProtectedBranchesResponse.json
/Users/admin/builder/spi-builder-workspace/Tests/Version-Control-Test/Services/API/GitHub/Mock Data/PushControlResponse.json
Build complete.
Done.