Build Information
Failed to build swift-argument-parser, reference main (72bf21
), with Swift 5.8 for macOS (SPM) on 7 Oct 2024 20:20:41 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-argument-parser.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apple/swift-argument-parser
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 72bf212 extend ToolInfoV0 with command visibility (#669)
Cloned https://github.com/apple/swift-argument-parser.git
Revision (git rev-parse @):
72bf21248fb6fbc146dc992fbf01c2e935377455
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-argument-parser.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $PWD
https://github.com/apple/swift-argument-parser.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateManual
Building for debugging...
[2/10] Emitting module ArgumentParserToolInfo
[3/10] Compiling ArgumentParserToolInfo ToolInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/ArgumentParserToolInfo/ToolInfo.swift:189:35: error: expected initial value after '='
let discussion: Discussion? = if let discussion { .init(discussion) } else { nil }
^
/Users/admin/builder/spi-builder-workspace/Sources/ArgumentParserToolInfo/ToolInfo.swift:189:34: error: consecutive statements on a line must be separated by ';'
let discussion: Discussion? = if let discussion { .init(discussion) } else { nil }
^
;
/Users/admin/builder/spi-builder-workspace/Sources/ArgumentParserToolInfo/ToolInfo.swift:352:35: error: expected initial value after '='
let discussion: Discussion? = if let discussion { .init(discussion) } else { nil }
^
/Users/admin/builder/spi-builder-workspace/Sources/ArgumentParserToolInfo/ToolInfo.swift:352:34: error: consecutive statements on a line must be separated by ';'
let discussion: Discussion? = if let discussion { .init(discussion) } else { nil }
^
;
/Users/admin/builder/spi-builder-workspace/Sources/ArgumentParserToolInfo/ToolInfo.swift:189:56: error: reference to member 'init' cannot be resolved without a contextual type
let discussion: Discussion? = if let discussion { .init(discussion) } else { nil }
~^~~~
/Users/admin/builder/spi-builder-workspace/Sources/ArgumentParserToolInfo/ToolInfo.swift:189:82: error: 'nil' requires a contextual type
let discussion: Discussion? = if let discussion { .init(discussion) } else { nil }
^
/Users/admin/builder/spi-builder-workspace/Sources/ArgumentParserToolInfo/ToolInfo.swift:352:56: error: reference to member 'init' cannot be resolved without a contextual type
let discussion: Discussion? = if let discussion { .init(discussion) } else { nil }
~^~~~
/Users/admin/builder/spi-builder-workspace/Sources/ArgumentParserToolInfo/ToolInfo.swift:352:82: error: 'nil' requires a contextual type
let discussion: Discussion? = if let discussion { .init(discussion) } else { nil }
^
BUILD FAILURE 5.8 macosSpm