Build Information
Failed to build BlurView, reference master (a01fe7
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 20:28:45 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/BlurView.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ericlewis/BlurView
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a01fe7c public init
Cloned https://github.com/ericlewis/BlurView.git
Revision (git rev-parse @):
a01fe7cd6a06d1b7bd3d76a0ab144a4fea79f5de
SUCCESS checkout https://github.com/ericlewis/BlurView.git at master
========================================
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": "blurview",
"name": "BlurView",
"url": "https://github.com/ericlewis/BlurView.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BlurView",
"dependencies": [
]
}
]
}
Fetching https://github.com/ericlewis/BlurView.git
[1/51] Fetching blurview
Fetched https://github.com/ericlewis/BlurView.git from cache (0.60s)
Creating working copy for https://github.com/ericlewis/BlurView.git
Working copy of https://github.com/ericlewis/BlurView.git resolved at master (a01fe7c)
warning: '.resolve-product-dependencies': dependency 'blurview' 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/BlurView.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 BlurView
<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/BlurView/BlurView.swift:4:23: error: cannot find type 'UIBlurEffect' in scope
2 |
3 | public struct BlurView: UIViewRepresentable {
4 | public var style: UIBlurEffect.Style
| `- error: cannot find type 'UIBlurEffect' in scope
5 | public var cornerRadius: CGFloat?
6 |
/Users/admin/builder/spi-builder-workspace/Sources/BlurView/BlurView.swift:7:26: error: cannot find type 'UIBlurEffect' in scope
5 | public var cornerRadius: CGFloat?
6 |
7 | public init(_ style: UIBlurEffect.Style, cornerRadius: CGFloat? = nil) {
| `- error: cannot find type 'UIBlurEffect' in scope
8 | self.style = style
9 | self.cornerRadius = cornerRadius
/Users/admin/builder/spi-builder-workspace/Sources/BlurView/BlurView.swift:12:49: error: cannot find type 'UIVisualEffectView' in scope
10 | }
11 |
12 | public func makeUIView(context: Context) -> UIVisualEffectView {
| `- error: cannot find type 'UIVisualEffectView' in scope
13 | UIVisualEffectView(effect: UIBlurEffect(style: style))
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlurView/BlurView.swift:12:37: error: cannot find type 'Context' in scope
10 | }
11 |
12 | public func makeUIView(context: Context) -> UIVisualEffectView {
| `- error: cannot find type 'Context' in scope
13 | UIVisualEffectView(effect: UIBlurEffect(style: style))
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlurView/BlurView.swift:16:40: error: cannot find type 'UIVisualEffectView' in scope
14 | }
15 |
16 | public func updateUIView(_ uiView: UIVisualEffectView, context: Context) {
| `- error: cannot find type 'UIVisualEffectView' in scope
17 | if let cornerRadius = self.cornerRadius {
18 | uiView.clipsToBounds = true
/Users/admin/builder/spi-builder-workspace/Sources/BlurView/BlurView.swift:16:69: error: cannot find type 'Context' in scope
14 | }
15 |
16 | public func updateUIView(_ uiView: UIVisualEffectView, context: Context) {
| `- error: cannot find type 'Context' in scope
17 | if let cornerRadius = self.cornerRadius {
18 | uiView.clipsToBounds = true
/Users/admin/builder/spi-builder-workspace/Sources/BlurView/BlurView.swift:3:25: error: cannot find type 'UIViewRepresentable' in scope
1 | import SwiftUI
2 |
3 | public struct BlurView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
4 | public var style: UIBlurEffect.Style
5 | public var cornerRadius: CGFloat?
[4/4] Compiling BlurView BlurView.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/BlurView/BlurView.swift:4:23: error: cannot find type 'UIBlurEffect' in scope
2 |
3 | public struct BlurView: UIViewRepresentable {
4 | public var style: UIBlurEffect.Style
| `- error: cannot find type 'UIBlurEffect' in scope
5 | public var cornerRadius: CGFloat?
6 |
/Users/admin/builder/spi-builder-workspace/Sources/BlurView/BlurView.swift:7:26: error: cannot find type 'UIBlurEffect' in scope
5 | public var cornerRadius: CGFloat?
6 |
7 | public init(_ style: UIBlurEffect.Style, cornerRadius: CGFloat? = nil) {
| `- error: cannot find type 'UIBlurEffect' in scope
8 | self.style = style
9 | self.cornerRadius = cornerRadius
/Users/admin/builder/spi-builder-workspace/Sources/BlurView/BlurView.swift:12:49: error: cannot find type 'UIVisualEffectView' in scope
10 | }
11 |
12 | public func makeUIView(context: Context) -> UIVisualEffectView {
| `- error: cannot find type 'UIVisualEffectView' in scope
13 | UIVisualEffectView(effect: UIBlurEffect(style: style))
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlurView/BlurView.swift:12:37: error: cannot find type 'Context' in scope
10 | }
11 |
12 | public func makeUIView(context: Context) -> UIVisualEffectView {
| `- error: cannot find type 'Context' in scope
13 | UIVisualEffectView(effect: UIBlurEffect(style: style))
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlurView/BlurView.swift:16:40: error: cannot find type 'UIVisualEffectView' in scope
14 | }
15 |
16 | public func updateUIView(_ uiView: UIVisualEffectView, context: Context) {
| `- error: cannot find type 'UIVisualEffectView' in scope
17 | if let cornerRadius = self.cornerRadius {
18 | uiView.clipsToBounds = true
/Users/admin/builder/spi-builder-workspace/Sources/BlurView/BlurView.swift:16:69: error: cannot find type 'Context' in scope
14 | }
15 |
16 | public func updateUIView(_ uiView: UIVisualEffectView, context: Context) {
| `- error: cannot find type 'Context' in scope
17 | if let cornerRadius = self.cornerRadius {
18 | uiView.clipsToBounds = true
/Users/admin/builder/spi-builder-workspace/Sources/BlurView/BlurView.swift:3:25: error: cannot find type 'UIViewRepresentable' in scope
1 | import SwiftUI
2 |
3 | public struct BlurView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
4 | public var style: UIBlurEffect.Style
5 | public var cornerRadius: CGFloat?
BUILD FAILURE 6.0 macosSpm