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