Build Information
Failed to build foundation-dependencies, reference 4.0.1 (9db118
), with Swift 5.9 for Linux on 15 Jun 2025 02:37:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nashysolutions/foundation-dependencies.git
Reference: 4.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/nashysolutions/foundation-dependencies
* tag 4.0.1 -> FETCH_HEAD
HEAD is now at 9db1183 Adjusting documentation.
Cloned https://github.com/nashysolutions/foundation-dependencies.git
Revision (git rev-parse @):
9db1183c4933d54c7093ccd8ce496676ce2cbc93
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nashysolutions/foundation-dependencies.git at 4.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/nashysolutions/foundation-dependencies.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
e1a89dea01a6: Already exists
c5faaef9feac: Already exists
41b4d2cf3a61: Already exists
735657b12c7e: Already exists
a7dc0eb9fa4e: Already exists
fa5cded0f701: Pulling fs layer
fa5cded0f701: Pull complete
Digest: sha256:943c57f5f023c04804daf623375860c13f93d33d0cb4f0a89054871e5f11529c
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/nashysolutions/files.git
Fetching https://github.com/nashysolutions/versioning.git
Fetching https://github.com/pointfreeco/swift-dependencies.git
[1/77] Fetching versioning
[78/216] Fetching versioning, files
Fetched https://github.com/nashysolutions/files.git (0.30s)
[78/6326] Fetching versioning, swift-dependencies
Fetched https://github.com/nashysolutions/versioning.git (0.72s)
Fetched https://github.com/pointfreeco/swift-dependencies.git (0.73s)
Computing version for https://github.com/nashysolutions/files.git
Computed https://github.com/nashysolutions/files.git at 2.1.0 (0.55s)
Fetching https://github.com/nashysolutions/error-presentation.git
[1/25] Fetching error-presentation
Fetched https://github.com/nashysolutions/error-presentation.git (0.29s)
Computing version for https://github.com/nashysolutions/versioning.git
Computed https://github.com/nashysolutions/versioning.git at 2.1.0 (0.51s)
Computing version for https://github.com/pointfreeco/swift-dependencies.git
Computed https://github.com/pointfreeco/swift-dependencies.git at 1.8.1 (0.62s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-concurrency-extras
[1/861] Fetching swift-concurrency-extras
[862/6328] Fetching swift-concurrency-extras, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-concurrency-extras (0.38s)
[1914/5467] Fetching xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-clocks
[5468/6759] Fetching xctest-dynamic-overlay, swift-clocks
[6760/77552] Fetching xctest-dynamic-overlay, swift-clocks, swift-syntax
Fetched https://github.com/pointfreeco/swift-clocks (0.46s)
Fetching https://github.com/pointfreeco/combine-schedulers
[8299/76260] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay (0.89s)
[4956/70793] Fetching swift-syntax
[9205/73203] Fetching swift-syntax, combine-schedulers
Fetched https://github.com/pointfreeco/combine-schedulers (0.38s)
[12743/70793] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (7.02s)
Computing version for https://github.com/nashysolutions/error-presentation.git
Computed https://github.com/nashysolutions/error-presentation.git at 1.0.0 (0.48s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.3 (0.49s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.42s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (0.47s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.47s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.74s)
Creating working copy for https://github.com/pointfreeco/swift-dependencies.git
Working copy of https://github.com/pointfreeco/swift-dependencies.git resolved at 1.8.1
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.1
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.0.3
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/nashysolutions/files.git
Working copy of https://github.com/nashysolutions/files.git resolved at 2.1.0
Creating working copy for https://github.com/nashysolutions/error-presentation.git
Working copy of https://github.com/nashysolutions/error-presentation.git resolved at 1.0.0
Creating working copy for https://github.com/nashysolutions/versioning.git
Working copy of https://github.com/nashysolutions/versioning.git resolved at 2.1.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Building for debugging...
[0/2] Copying Localizable.xcstrings
[1/2] Copying Info.plist
[3/36] Emitting module IssueReporting
[4/38] Compiling IssueReporting WithExpectedIssue.swift
[5/38] Compiling IssueReporting WithIssueContext.swift
[6/38] Emitting module ConcurrencyExtras
[7/39] Compiling IssueReporting TestContext.swift
[8/39] Compiling IssueReporting Unimplemented.swift
[9/39] Compiling IssueReporting BreakpointReporter.swift
[10/39] Compiling IssueReporting FatalErrorReporter.swift
[11/39] Compiling ConcurrencyExtras UncheckedSendable.swift
[12/39] Compiling ConcurrencyExtras MainSerialExecutor.swift
[13/39] Compiling ConcurrencyExtras ActorIsolated.swift
[14/39] Compiling ConcurrencyExtras AnyHashableSendable.swift
[15/39] Compiling ConcurrencyExtras Locking.swift
[18/39] Compiling ErrorPresentation LocalizedCustomerFacingError.swift
[19/39] Emitting module ErrorPresentation
[20/39] Compiling ConcurrencyExtras AsyncStream.swift
[21/39] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[23/39] Compiling ConcurrencyExtras UncheckedBox.swift
[24/39] Compiling ConcurrencyExtras LockIsolated.swift
[25/40] Compiling IssueReporting RuntimeWarningReporter.swift
[26/40] Compiling IssueReporting ReportIssue.swift
[27/40] Emitting module Versioning
[28/40] Compiling Versioning SemanticVersion.swift
[29/40] Compiling ConcurrencyExtras Task.swift
[30/40] Compiling ConcurrencyExtras Result.swift
[40/45] Compiling IssueReporting XCTest.swift
[41/45] Compiling IssueReporting IsTesting.swift
[42/45] Compiling IssueReporting IssueReporter.swift
[43/45] Compiling IssueReporting SwiftTesting.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/Warn.swift:2:19: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import Foundation
~~~~~~~~~~~~~~~~^
[44/45] Compiling IssueReporting UncheckedSendable.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/Warn.swift:2:19: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import Foundation
~~~~~~~~~~~~~~~~^
[45/45] Compiling IssueReporting Warn.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReporting/Internal/Warn.swift:2:19: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import Foundation
~~~~~~~~~~~~~~~~^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/59] Emitting module Files
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:23: error: cannot find type 'Copyable' in scope
) -> some File & ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:10: error: 'some' types are only permitted in properties, subscripts, and functions
) -> some File & ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:93:38: error: cannot find type 'Copyable' in scope
) -> URL where Resource: File & ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:24: error: cannot find type 'Copyable' in scope
public protocol File: ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:102:16: error: type 'Resource<Folder>' does not conform to protocol 'File'
private struct Resource<Folder: Directory>: ~Copyable, File {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:103:9: note: candidate has non-matching type 'String' [with Folder = Folder]
let filename: String
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:104:9: note: candidate has non-matching type 'Folder' [with Folder = Folder]
let enclosingFolder: Folder
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:16:9: note: protocol requires property 'filename' with type 'String'
var filename: String { get }
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:19:9: note: protocol requires property 'enclosingFolder' with type 'Folder'
var enclosingFolder: Folder { get }
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:102:16: error: noncopyable generic struct 'Resource' cannot conform to 'File'
private struct Resource<Folder: Directory>: ~Copyable, File {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:36: error: cannot find type 'Copyable' in scope
public extension File where Self: ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:116:52: error: cannot suppress conformances here
func loadFile(filename: String) -> some File & ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:116:53: error: cannot find type 'Copyable' in scope
func loadFile(filename: String) -> some File & ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:116:40: error: 'some' types are only permitted in properties, subscripts, and functions
func loadFile(filename: String) -> some File & ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:35:13: error: consecutive declarations on a line must be separated by ';'
) throws(DeleteResourceError) {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:35:13: error: expected declaration
) throws(DeleteResourceError) {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:14:8: note: in declaration of 'DeleteResource'
struct DeleteResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:32:10: error: expected '{' in body of function declaration
func deleteResource<Folder: Directory>(
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:49:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Resource {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:49:13: error: expected declaration
) throws(LoadResourceError) -> Resource {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:70:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Data {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:70:13: error: expected declaration
) throws(LoadResourceError) -> Data {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:44:9: error: generic parameter 'Resource' is not used in function signature
Resource: Decodable,
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:43:10: error: expected '{' in body of function declaration
func loadResource<
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:67:10: error: expected '{' in body of function declaration
func loadData<Folder: Directory>(
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:50:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:50:13: error: expected declaration
) throws(SaveResourceError) {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:66:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:66:13: error: expected declaration
) throws(SaveResourceError) {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:81:80: error: consecutive declarations on a line must be separated by ';'
private func createData<R: Encodable>(from resource: R, key: String) throws(SaveResourceError) -> Data {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:81:80: error: expected declaration
private func createData<R: Encodable>(from resource: R, key: String) throws(SaveResourceError) -> Data {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:43:10: error: expected '{' in body of function declaration
func saveResource<
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:62:10: error: expected '{' in body of function declaration
func saveData<Folder: Directory>(
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:81:18: error: expected '{' in body of function declaration
private func createData<R: Encodable>(from resource: R, key: String) throws(SaveResourceError) -> Data {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:46:13: error: consecutive declarations on a line must be separated by ';'
) throws(UpdateResourceError) {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:46:13: error: expected declaration
) throws(UpdateResourceError) {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:19:8: note: in declaration of 'UpdateResource'
struct UpdateResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:39:10: error: expected '{' in body of function declaration
func updateResource<
^
[49/60] Compiling Files FileSystemContext.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
[50/60] Compiling Files FileSystemDirectory.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
[51/60] Compiling Files Directory.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:23: error: cannot find type 'Copyable' in scope
) -> some File & ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:10: error: 'some' types are only permitted in properties, subscripts, and functions
) -> some File & ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:93:38: error: cannot find type 'Copyable' in scope
) -> URL where Resource: File & ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:24: error: cannot find type 'Copyable' in scope
public protocol File: ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:102:16: error: type 'Resource<Folder>' does not conform to protocol 'File'
private struct Resource<Folder: Directory>: ~Copyable, File {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:103:9: note: candidate has non-matching type 'String' [with Folder = Folder]
let filename: String
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:104:9: note: candidate has non-matching type 'Folder' [with Folder = Folder]
let enclosingFolder: Folder
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:16:9: note: protocol requires property 'filename' with type 'String'
var filename: String { get }
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:19:9: note: protocol requires property 'enclosingFolder' with type 'Folder'
var enclosingFolder: Folder { get }
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:102:16: error: noncopyable generic struct 'Resource' cannot conform to 'File'
private struct Resource<Folder: Directory>: ~Copyable, File {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:36: error: cannot find type 'Copyable' in scope
public extension File where Self: ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:84:22: error: noncopyable type 'Resource<Self>' cannot be substituted for copyable generic parameter 'Self' in 'File'
try resource.write(data: data, using: context)
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:95:14: error: value of type 'URL' has no member 'appending'
.appending(
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:96:37: error: value of type 'Resource' has no member 'filename'
component: resource.filename,
~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:97:33: error: cannot infer contextual base in reference to member 'notDirectory'
directoryHint: .notDirectory
~^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:26:34: error: value of type 'URL' has no member 'appending'
enclosingFolder.location.appending(component: filename, directoryHint: .notDirectory)
~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:26:81: error: cannot infer contextual base in reference to member 'notDirectory'
enclosingFolder.location.appending(component: filename, directoryHint: .notDirectory)
~^~~~~~~~~~~~
[52/60] Compiling Files File.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:23: error: cannot find type 'Copyable' in scope
) -> some File & ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:10: error: 'some' types are only permitted in properties, subscripts, and functions
) -> some File & ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:93:38: error: cannot find type 'Copyable' in scope
) -> URL where Resource: File & ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:24: error: cannot find type 'Copyable' in scope
public protocol File: ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:102:16: error: type 'Resource<Folder>' does not conform to protocol 'File'
private struct Resource<Folder: Directory>: ~Copyable, File {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:103:9: note: candidate has non-matching type 'String' [with Folder = Folder]
let filename: String
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:104:9: note: candidate has non-matching type 'Folder' [with Folder = Folder]
let enclosingFolder: Folder
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:16:9: note: protocol requires property 'filename' with type 'String'
var filename: String { get }
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:19:9: note: protocol requires property 'enclosingFolder' with type 'Folder'
var enclosingFolder: Folder { get }
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:102:16: error: noncopyable generic struct 'Resource' cannot conform to 'File'
private struct Resource<Folder: Directory>: ~Copyable, File {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:36: error: cannot find type 'Copyable' in scope
public extension File where Self: ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:84:22: error: noncopyable type 'Resource<Self>' cannot be substituted for copyable generic parameter 'Self' in 'File'
try resource.write(data: data, using: context)
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:95:14: error: value of type 'URL' has no member 'appending'
.appending(
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:96:37: error: value of type 'Resource' has no member 'filename'
component: resource.filename,
~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:97:33: error: cannot infer contextual base in reference to member 'notDirectory'
directoryHint: .notDirectory
~^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:26:34: error: value of type 'URL' has no member 'appending'
enclosingFolder.location.appending(component: filename, directoryHint: .notDirectory)
~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:26:81: error: cannot infer contextual base in reference to member 'notDirectory'
enclosingFolder.location.appending(component: filename, directoryHint: .notDirectory)
~^~~~~~~~~~~~
[53/60] Compiling Files UpdateResource.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:46:13: error: consecutive declarations on a line must be separated by ';'
) throws(UpdateResourceError) {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:46:13: error: expected declaration
) throws(UpdateResourceError) {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:19:8: note: in declaration of 'UpdateResource'
struct UpdateResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:39:10: error: expected '{' in body of function declaration
func updateResource<
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:49:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Resource {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:49:13: error: expected declaration
) throws(LoadResourceError) -> Resource {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:70:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Data {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:70:13: error: expected declaration
) throws(LoadResourceError) -> Data {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:50:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:50:13: error: expected declaration
) throws(SaveResourceError) {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:66:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:66:13: error: expected declaration
) throws(SaveResourceError) {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:81:80: error: consecutive declarations on a line must be separated by ';'
private func createData<R: Encodable>(from resource: R, key: String) throws(SaveResourceError) -> Data {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:81:80: error: expected declaration
private func createData<R: Encodable>(from resource: R, key: String) throws(SaveResourceError) -> Data {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:107:26: error: extra arguments at positions #2, #3, #4 in call
return String(
^
Swift.String:4:23: note: 'init(_:)' declared here
@inlinable public init<T>(_ value: T) where T : LosslessStringConvertible
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:110:26: error: cannot infer contextual base in reference to member 'module'
bundle: .module,
~^~~~~~
[54/60] Compiling Files SaveResource.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:50:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:50:13: error: expected declaration
) throws(SaveResourceError) {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:66:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:66:13: error: expected declaration
) throws(SaveResourceError) {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:81:80: error: consecutive declarations on a line must be separated by ';'
private func createData<R: Encodable>(from resource: R, key: String) throws(SaveResourceError) -> Data {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:81:80: error: expected declaration
private func createData<R: Encodable>(from resource: R, key: String) throws(SaveResourceError) -> Data {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:43:10: error: expected '{' in body of function declaration
func saveResource<
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:62:10: error: expected '{' in body of function declaration
func saveData<Folder: Directory>(
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:81:18: error: expected '{' in body of function declaration
private func createData<R: Encodable>(from resource: R, key: String) throws(SaveResourceError) -> Data {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:123:26: error: extra arguments at positions #2, #3, #4 in call
return String(
^
Swift.String:4:23: note: 'init(_:)' declared here
@inlinable public init<T>(_ value: T) where T : LosslessStringConvertible
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:126:26: error: cannot infer contextual base in reference to member 'module'
bundle: .module,
~^~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:131:26: error: extra arguments at positions #2, #3, #4 in call
return String(
^
Swift.String:4:23: note: 'init(_:)' declared here
@inlinable public init<T>(_ value: T) where T : LosslessStringConvertible
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:134:26: error: cannot infer contextual base in reference to member 'module'
bundle: .module,
~^~~~~~
[55/60] Compiling Files LoadResource.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:49:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Resource {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:49:13: error: expected declaration
) throws(LoadResourceError) -> Resource {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:70:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Data {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:70:13: error: expected declaration
) throws(LoadResourceError) -> Data {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:44:9: error: generic parameter 'Resource' is not used in function signature
Resource: Decodable,
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:43:10: error: expected '{' in body of function declaration
func loadResource<
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:67:10: error: expected '{' in body of function declaration
func loadData<Folder: Directory>(
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:129:26: error: extra arguments at positions #2, #3, #4 in call
return String(
^
Swift.String:4:23: note: 'init(_:)' declared here
@inlinable public init<T>(_ value: T) where T : LosslessStringConvertible
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:132:26: error: cannot infer contextual base in reference to member 'module'
bundle: .module,
~^~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:137:26: error: extra arguments at positions #2, #3, #4 in call
return String(
^
Swift.String:4:23: note: 'init(_:)' declared here
@inlinable public init<T>(_ value: T) where T : LosslessStringConvertible
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:140:26: error: cannot infer contextual base in reference to member 'module'
bundle: .module,
~^~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:145:26: error: extra arguments at positions #2, #3, #4 in call
return String(
^
Swift.String:4:23: note: 'init(_:)' declared here
@inlinable public init<T>(_ value: T) where T : LosslessStringConvertible
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:148:26: error: cannot infer contextual base in reference to member 'module'
bundle: .module,
~^~~~~~
[56/60] Compiling Files Folder.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:35:13: error: consecutive declarations on a line must be separated by ';'
) throws(DeleteResourceError) {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:35:13: error: expected declaration
) throws(DeleteResourceError) {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:14:8: note: in declaration of 'DeleteResource'
struct DeleteResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:32:10: error: expected '{' in body of function declaration
func deleteResource<Folder: Directory>(
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:72:26: error: extra arguments at positions #2, #3, #4 in call
return String(
^
Swift.String:4:23: note: 'init(_:)' declared here
@inlinable public init<T>(_ value: T) where T : LosslessStringConvertible
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:75:26: error: cannot infer contextual base in reference to member 'module'
bundle: .module,
~^~~~~~
[57/60] Compiling Files DeleteResource.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:35:13: error: consecutive declarations on a line must be separated by ';'
) throws(DeleteResourceError) {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:35:13: error: expected declaration
) throws(DeleteResourceError) {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:14:8: note: in declaration of 'DeleteResource'
struct DeleteResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:32:10: error: expected '{' in body of function declaration
func deleteResource<Folder: Directory>(
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:72:26: error: extra arguments at positions #2, #3, #4 in call
return String(
^
Swift.String:4:23: note: 'init(_:)' declared here
@inlinable public init<T>(_ value: T) where T : LosslessStringConvertible
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:75:26: error: cannot infer contextual base in reference to member 'module'
bundle: .module,
~^~~~~~
[58/60] Compiling Files FileSystemFolderStore.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:116:52: error: cannot suppress conformances here
func loadFile(filename: String) -> some File & ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:116:53: error: cannot find type 'Copyable' in scope
func loadFile(filename: String) -> some File & ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:116:40: error: 'some' types are only permitted in properties, subscripts, and functions
func loadFile(filename: String) -> some File & ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:50:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:50:13: error: expected declaration
) throws(SaveResourceError) {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:66:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:66:13: error: expected declaration
) throws(SaveResourceError) {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:81:80: error: consecutive declarations on a line must be separated by ';'
private func createData<R: Encodable>(from resource: R, key: String) throws(SaveResourceError) -> Data {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:81:80: error: expected declaration
private func createData<R: Encodable>(from resource: R, key: String) throws(SaveResourceError) -> Data {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:49:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Resource {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:49:13: error: expected declaration
) throws(LoadResourceError) -> Resource {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:70:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Data {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:70:13: error: expected declaration
) throws(LoadResourceError) -> Data {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:84:27: error: generic parameter 'Resource' could not be inferred
return try loader.loadResource(named: filename, location: folder)
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:43:10: note: in call to function 'loadResource(named:location:)'
func loadResource<
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:84:27: error: cannot convert return expression of type '()' to return type 'Resource'
return try loader.loadResource(named: filename, location: folder)
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as! Resource
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:35:13: error: consecutive declarations on a line must be separated by ';'
) throws(DeleteResourceError) {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:35:13: error: expected declaration
) throws(DeleteResourceError) {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:14:8: note: in declaration of 'DeleteResource'
struct DeleteResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:46:13: error: consecutive declarations on a line must be separated by ';'
) throws(UpdateResourceError) {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:46:13: error: expected declaration
) throws(UpdateResourceError) {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:19:8: note: in declaration of 'UpdateResource'
struct UpdateResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:109:27: error: cannot convert return expression of type '()' to return type 'Data'
return try loader.loadData(named: name, location: folder)
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[59/60] Compiling Files FileSystemOperations.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:116:52: error: cannot suppress conformances here
func loadFile(filename: String) -> some File & ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:116:53: error: cannot find type 'Copyable' in scope
func loadFile(filename: String) -> some File & ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:116:40: error: 'some' types are only permitted in properties, subscripts, and functions
func loadFile(filename: String) -> some File & ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:50:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:50:13: error: expected declaration
) throws(SaveResourceError) {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:66:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:66:13: error: expected declaration
) throws(SaveResourceError) {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:81:80: error: consecutive declarations on a line must be separated by ';'
private func createData<R: Encodable>(from resource: R, key: String) throws(SaveResourceError) -> Data {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:81:80: error: expected declaration
private func createData<R: Encodable>(from resource: R, key: String) throws(SaveResourceError) -> Data {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:49:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Resource {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:49:13: error: expected declaration
) throws(LoadResourceError) -> Resource {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:70:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Data {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:70:13: error: expected declaration
) throws(LoadResourceError) -> Data {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:84:27: error: generic parameter 'Resource' could not be inferred
return try loader.loadResource(named: filename, location: folder)
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:43:10: note: in call to function 'loadResource(named:location:)'
func loadResource<
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:84:27: error: cannot convert return expression of type '()' to return type 'Resource'
return try loader.loadResource(named: filename, location: folder)
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as! Resource
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:35:13: error: consecutive declarations on a line must be separated by ';'
) throws(DeleteResourceError) {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:35:13: error: expected declaration
) throws(DeleteResourceError) {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:14:8: note: in declaration of 'DeleteResource'
struct DeleteResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:46:13: error: consecutive declarations on a line must be separated by ';'
) throws(UpdateResourceError) {
^
;
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:46:13: error: expected declaration
) throws(UpdateResourceError) {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:19:8: note: in declaration of 'UpdateResource'
struct UpdateResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:109:27: error: cannot convert return expression of type '()' to return type 'Data'
return try loader.loadData(named: name, location: folder)
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[60/60] Compiling Files resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
error: fatalError
BUILD FAILURE 5.9 linux