Build Information
Failed to build ProgressView, reference 1.0.0 (35632d
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 20:47:47 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ericlewis/ProgressView.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ericlewis/ProgressView
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 35632db meh
Cloned https://github.com/ericlewis/ProgressView.git
Revision (git rev-parse @):
35632db363662d951bb06b299659a4d29c8d94c8
SUCCESS checkout https://github.com/ericlewis/ProgressView.git at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "progressview",
"name": "ProgressView",
"url": "https://github.com/ericlewis/ProgressView.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ProgressView",
"dependencies": [
]
}
]
}
Fetching https://github.com/ericlewis/ProgressView.git
[1/51] Fetching progressview
Fetched https://github.com/ericlewis/ProgressView.git from cache (0.59s)
Creating working copy for https://github.com/ericlewis/ProgressView.git
Working copy of https://github.com/ericlewis/ProgressView.git resolved at 1.0.0 (35632db)
warning: '.resolve-product-dependencies': dependency 'progressview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/ericlewis/ProgressView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module ProgressView
<unknown>:0: error: invalid value '5.1' in '-swift-version 5.1'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
/Users/admin/builder/spi-builder-workspace/Sources/ProgressView/ProgressView.swift:10:49: error: cannot find type 'UIProgressView' in scope
8 | }
9 |
10 | public func makeUIView(context: Context) -> UIProgressView {
| `- error: cannot find type 'UIProgressView' in scope
11 | UIProgressView()
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProgressView/ProgressView.swift:10:37: error: cannot find type 'Context' in scope
8 | }
9 |
10 | public func makeUIView(context: Context) -> UIProgressView {
| `- error: cannot find type 'Context' in scope
11 | UIProgressView()
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProgressView/ProgressView.swift:14:40: error: cannot find type 'UIProgressView' in scope
12 | }
13 |
14 | public func updateUIView(_ uiView: UIProgressView, context: Context) {
| `- error: cannot find type 'UIProgressView' in scope
15 | uiView.setProgress(Float(value), animated: true)
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProgressView/ProgressView.swift:14:65: error: cannot find type 'Context' in scope
12 | }
13 |
14 | public func updateUIView(_ uiView: UIProgressView, context: Context) {
| `- error: cannot find type 'Context' in scope
15 | uiView.setProgress(Float(value), animated: true)
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProgressView/ProgressView.swift:3:29: error: cannot find type 'UIViewRepresentable' in scope
1 | import SwiftUI
2 |
3 | public struct ProgressView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
4 | @Binding public var value: CGFloat
5 |
[4/4] Compiling ProgressView ProgressView.swift
<unknown>:0: error: invalid value '5.1' in '-swift-version 5.1'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
/Users/admin/builder/spi-builder-workspace/Sources/ProgressView/ProgressView.swift:10:49: error: cannot find type 'UIProgressView' in scope
8 | }
9 |
10 | public func makeUIView(context: Context) -> UIProgressView {
| `- error: cannot find type 'UIProgressView' in scope
11 | UIProgressView()
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProgressView/ProgressView.swift:10:37: error: cannot find type 'Context' in scope
8 | }
9 |
10 | public func makeUIView(context: Context) -> UIProgressView {
| `- error: cannot find type 'Context' in scope
11 | UIProgressView()
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProgressView/ProgressView.swift:14:40: error: cannot find type 'UIProgressView' in scope
12 | }
13 |
14 | public func updateUIView(_ uiView: UIProgressView, context: Context) {
| `- error: cannot find type 'UIProgressView' in scope
15 | uiView.setProgress(Float(value), animated: true)
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProgressView/ProgressView.swift:14:65: error: cannot find type 'Context' in scope
12 | }
13 |
14 | public func updateUIView(_ uiView: UIProgressView, context: Context) {
| `- error: cannot find type 'Context' in scope
15 | uiView.setProgress(Float(value), animated: true)
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProgressView/ProgressView.swift:3:29: error: cannot find type 'UIViewRepresentable' in scope
1 | import SwiftUI
2 |
3 | public struct ProgressView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
4 | @Binding public var value: CGFloat
5 |
BUILD FAILURE 6.0 macosSpm