Build Information
Failed to build Storages, reference main (de8305), with Swift 6.3 for macOS (SPM) on 13 Apr 2026 10:35:12 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/naru-jpn/Storages.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/naru-jpn/Storages
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at de83055 Merge pull request #1 from naru-jpn/add_plist_preview
Cloned https://github.com/naru-jpn/Storages.git
Revision (git rev-parse @):
de8305587a542b220d2ada522bd87903d139af99
SUCCESS checkout https://github.com/naru-jpn/Storages.git at main
========================================
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",
"traits": [
"default"
],
"dependencies": [
{
"identity": "storages",
"name": "Storages",
"url": "https://github.com/naru-jpn/Storages.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Storages",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/naru-jpn/Storages.git
[1/110] Fetching storages
Fetched https://github.com/naru-jpn/Storages.git from cache (0.68s)
Creating working copy for https://github.com/naru-jpn/Storages.git
Working copy of https://github.com/naru-jpn/Storages.git resolved at main (de83055)
warning: '.resolve-product-dependencies': dependency 'storages' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/naru-jpn/Storages.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/15] Compiling Storages Directory.swift
[4/15] Compiling Storages File.swift
[5/15] Emitting module Storages
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/FileView.swift:129:52: error: cannot find type 'UIActivityViewController' in scope
127 | }
128 |
129 | func makeUIViewController(context: Context) -> UIActivityViewController {
| `- error: cannot find type 'UIActivityViewController' in scope
130 | .init(activityItems: activityItems, applicationActivities: nil)
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/FileView.swift:129:40: error: cannot find type 'Context' in scope
127 | }
128 |
129 | func makeUIViewController(context: Context) -> UIActivityViewController {
| `- error: cannot find type 'Context' in scope
130 | .init(activityItems: activityItems, applicationActivities: nil)
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/FileView.swift:133:53: error: cannot find type 'UIActivityViewController' in scope
131 | }
132 |
133 | func updateUIViewController(_ uiViewController: UIActivityViewController, context: Context) {
| `- error: cannot find type 'UIActivityViewController' in scope
134 | }
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/FileView.swift:133:88: error: cannot find type 'Context' in scope
131 | }
132 |
133 | func updateUIViewController(_ uiViewController: UIActivityViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
134 | }
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/FileView.swift:122:40: error: cannot find type 'UIViewControllerRepresentable' in scope
120 | }
121 |
122 | private struct ActivityViewController: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
123 | private let activityItems: [Any]
124 |
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/WebView.swift:12:30: error: cannot find type 'Context' in scope
10 | }
11 |
12 | func makeUIView(context: Context) -> WKWebView {
| `- error: cannot find type 'Context' in scope
13 | webView
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/WebView.swift:16:53: error: cannot find type 'Context' in scope
14 | }
15 |
16 | func updateUIView(_ uiView: WKWebView, context: Context) {
| `- error: cannot find type 'Context' in scope
17 | }
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/WebView.swift:4:17: error: cannot find type 'UIViewRepresentable' in scope
2 | import WebKit
3 |
4 | struct WebView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
5 | private let webView: WKWebView
6 |
[6/15] Compiling Storages FilePreview.swift
[7/15] Compiling Storages FileRepresentable.swift
[8/15] Compiling Storages HomeDirectory.swift
[9/15] Compiling Storages StorageBrowser.swift
[10/15] Compiling Storages DirectoryContentsProvider.swift
[11/15] Compiling Storages FilePreviewView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/FilePreviewView.swift:29:31: error: cannot find 'UIImage' in scope
27 | switch preview {
28 | case let .png(data):
29 | guard let image = UIImage(data: data) else {
| `- error: cannot find 'UIImage' in scope
30 | break
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/FilePreviewView.swift:33:22: error: extraneous argument label 'uiImage:' in call
31 | }
32 | return AnyView(
33 | Image(uiImage: image)
| `- error: extraneous argument label 'uiImage:' in call
34 | .resizable()
35 | .scaledToFit()
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/FilePreviewView.swift:38:31: error: cannot find 'UIImage' in scope
36 | )
37 | case let .jpeg(data):
38 | guard let image = UIImage(data: data) else {
| `- error: cannot find 'UIImage' in scope
39 | break
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/FilePreviewView.swift:42:22: error: extraneous argument label 'uiImage:' in call
40 | }
41 | return AnyView(
42 | Image(uiImage: image)
| `- error: extraneous argument label 'uiImage:' in call
43 | .resizable()
44 | .scaledToFit()
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/FilePreviewView.swift:47:20: error: initializer 'init(_:)' requires that 'WebView' conform to 'View'
45 | )
46 | case let .webp(url):
47 | return AnyView(
| `- error: initializer 'init(_:)' requires that 'WebView' conform to 'View'
48 | WebView(fileUrl: url)
49 | )
SwiftUI.AnyView.init:2:8: note: where 'V' = 'WebView'
1 | struct AnyView {
2 | public init<V>(_ view: V) where V : View}
| `- note: where 'V' = 'WebView'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/FilePreviewView.swift:62:94: error: cannot find 'UIImage' in scope
60 | break
61 | }
62 | guard let uiimage = CIContext().createCGImage(ciimage, from: ciimage.extent).map(UIImage.init(cgImage:)) else {
| `- error: cannot find 'UIImage' in scope
63 | break
64 | }
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/FilePreviewView.swift:62:102: error: converting non-escaping value to '(CGImage) throws(E) -> U' may allow it to escape
60 | break
61 | }
62 | guard let uiimage = CIContext().createCGImage(ciimage, from: ciimage.extent).map(UIImage.init(cgImage:)) else {
| `- error: converting non-escaping value to '(CGImage) throws(E) -> U' may allow it to escape
63 | break
64 | }
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/FilePreviewView.swift:62:90: error: generic parameter 'E' could not be inferred
60 | break
61 | }
62 | guard let uiimage = CIContext().createCGImage(ciimage, from: ciimage.extent).map(UIImage.init(cgImage:)) else {
| `- error: generic parameter 'E' could not be inferred
63 | break
64 | }
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/FilePreviewView.swift:62:90: error: generic parameter 'U' could not be inferred
60 | break
61 | }
62 | guard let uiimage = CIContext().createCGImage(ciimage, from: ciimage.extent).map(UIImage.init(cgImage:)) else {
| `- error: generic parameter 'U' could not be inferred
63 | break
64 | }
Swift.Optional.map:2:13: note: in call to function 'map'
1 | generic enum Optional {
2 | public func map<E, U>(_ transform: (Wrapped) throws(E) -> U) throws(E) -> U? where E : Error, U : ~Copyable}
| `- note: in call to function 'map'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/FilePreviewView.swift:66:22: error: extraneous argument label 'uiImage:' in call
64 | }
65 | return AnyView(
66 | Image(uiImage: uiimage)
| `- error: extraneous argument label 'uiImage:' in call
67 | .resizable()
68 | .scaledToFit()
[12/15] Compiling Storages FileView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/FileView.swift:129:52: error: cannot find type 'UIActivityViewController' in scope
127 | }
128 |
129 | func makeUIViewController(context: Context) -> UIActivityViewController {
| `- error: cannot find type 'UIActivityViewController' in scope
130 | .init(activityItems: activityItems, applicationActivities: nil)
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/FileView.swift:129:40: error: cannot find type 'Context' in scope
127 | }
128 |
129 | func makeUIViewController(context: Context) -> UIActivityViewController {
| `- error: cannot find type 'Context' in scope
130 | .init(activityItems: activityItems, applicationActivities: nil)
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/FileView.swift:133:53: error: cannot find type 'UIActivityViewController' in scope
131 | }
132 |
133 | func updateUIViewController(_ uiViewController: UIActivityViewController, context: Context) {
| `- error: cannot find type 'UIActivityViewController' in scope
134 | }
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/FileView.swift:133:88: error: cannot find type 'Context' in scope
131 | }
132 |
133 | func updateUIViewController(_ uiViewController: UIActivityViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
134 | }
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/FileView.swift:122:40: error: cannot find type 'UIViewControllerRepresentable' in scope
120 | }
121 |
122 | private struct ActivityViewController: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
123 | private let activityItems: [Any]
124 |
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/FileView.swift:66:21: error: static method 'buildExpression' requires that 'ActivityViewController' conform to 'View'
64 | }
65 | .sheet(isPresented: $isShareSheetPresented) {
66 | ActivityViewController(activityItems: [URL(fileURLWithPath: viewModel.file.path)])
| `- error: static method 'buildExpression' requires that 'ActivityViewController' conform to 'View'
67 | }
68 | }
SwiftUI.ViewBuilder.buildExpression:2:20: note: where 'Content' = 'ActivityViewController'
1 | struct ViewBuilder {
2 | public static func buildExpression<Content>(_ content: Content) -> Content where Content : View}
| `- note: where 'Content' = 'ActivityViewController'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/FileView.swift:130:68: error: 'nil' requires a contextual type
128 |
129 | func makeUIViewController(context: Context) -> UIActivityViewController {
130 | .init(activityItems: activityItems, applicationActivities: nil)
| `- error: 'nil' requires a contextual type
131 | }
132 |
[13/15] Compiling Storages DirectoryContentsView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/DirectoryContentsView.swift:39:10: error: 'navigationBarTitleDisplayMode' is unavailable in macOS
37 | }
38 | )
39 | .navigationBarTitleDisplayMode(.inline)
| `- error: 'navigationBarTitleDisplayMode' is unavailable in macOS
40 | .navigationTitle(viewModel.directory.name)
41 | }
SwiftUI.View.navigationBarTitleDisplayMode:2:25: note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
1 | protocol View {
2 | nonisolated public func navigationBarTitleDisplayMode(_ displayMode: NavigationBarItem.TitleDisplayMode) -> some View
| `- note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
3 | }
4 |
[14/15] Compiling Storages RootDirectoryErrorView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/RootDirectoryErrorView.swift:24:10: error: 'navigationBarTitleDisplayMode' is unavailable in macOS
22 | Spacer()
23 | }
24 | .navigationBarTitleDisplayMode(.inline)
| `- error: 'navigationBarTitleDisplayMode' is unavailable in macOS
25 | .navigationTitle("Error")
26 | }
SwiftUI.View.navigationBarTitleDisplayMode:2:25: note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
1 | protocol View {
2 | nonisolated public func navigationBarTitleDisplayMode(_ displayMode: NavigationBarItem.TitleDisplayMode) -> some View
| `- note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
3 | }
4 |
[15/15] Compiling Storages WebView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/WebView.swift:12:30: error: cannot find type 'Context' in scope
10 | }
11 |
12 | func makeUIView(context: Context) -> WKWebView {
| `- error: cannot find type 'Context' in scope
13 | webView
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/WebView.swift:16:53: error: cannot find type 'Context' in scope
14 | }
15 |
16 | func updateUIView(_ uiView: WKWebView, context: Context) {
| `- error: cannot find type 'Context' in scope
17 | }
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Storages/UI/Preview/WebView.swift:4:17: error: cannot find type 'UIViewRepresentable' in scope
2 | import WebKit
3 |
4 | struct WebView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
5 | private let webView: WKWebView
6 |
[16/16] Compiling Storages SortingStrategy.swift
BUILD FAILURE 6.3 macosSpm