Build Information
Failed to build files, reference 2.1.0 (9c7630
), with Swift 5.9 for Linux on 14 Jun 2025 09:17:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/files.git
Reference: 2.1.0
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/files
* tag 2.1.0 -> FETCH_HEAD
HEAD is now at 9c76306 Merge branch 'main' of github.com:nashysolutions/files
Cloned https://github.com/nashysolutions/files.git
Revision (git rev-parse @):
9c76306050115394e69c7b05ff289d2d11135bea
SUCCESS checkout https://github.com/nashysolutions/files.git at 2.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/nashysolutions/files.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
Digest: sha256:943c57f5f023c04804daf623375860c13f93d33d0cb4f0a89054871e5f11529c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/nashysolutions/error-presentation.git
[1/22] Fetching error-presentation
Fetched https://github.com/nashysolutions/error-presentation.git (0.85s)
Computing version for https://github.com/nashysolutions/error-presentation.git
Computed https://github.com/nashysolutions/error-presentation.git at 1.0.0 (0.41s)
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
Building for debugging...
[0/2] Copying Info.plist
[0/2] Copying Localizable.xcstrings
[3/4] Emitting module ErrorPresentation
[4/4] Compiling ErrorPresentation LocalizedCustomerFacingError.swift
[7/18] Compiling Files FileSystemContext.swift
/host/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
[8/18] Compiling Files FileSystemDirectory.swift
/host/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
[9/18] Compiling Files Folder.swift
/host/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:35:13: error: consecutive declarations on a line must be separated by ';'
) throws(DeleteResourceError) {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:35:13: error: expected declaration
) throws(DeleteResourceError) {
^
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:14:8: note: in declaration of 'DeleteResource'
struct DeleteResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:32:10: error: expected '{' in body of function declaration
func deleteResource<Folder: Directory>(
^
/host/spi-builder-workspace/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/Sources/Files/Operations/DeleteResource.swift:75:26: error: cannot infer contextual base in reference to member 'module'
bundle: .module,
~^~~~~~
[10/18] Compiling Files DeleteResource.swift
/host/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:35:13: error: consecutive declarations on a line must be separated by ';'
) throws(DeleteResourceError) {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:35:13: error: expected declaration
) throws(DeleteResourceError) {
^
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:14:8: note: in declaration of 'DeleteResource'
struct DeleteResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:32:10: error: expected '{' in body of function declaration
func deleteResource<Folder: Directory>(
^
/host/spi-builder-workspace/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/Sources/Files/Operations/DeleteResource.swift:75:26: error: cannot infer contextual base in reference to member 'module'
bundle: .module,
~^~~~~~
[11/19] Compiling Files SaveResource.swift
/host/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:50:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:50:13: error: expected declaration
) throws(SaveResourceError) {
^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:66:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:66:13: error: expected declaration
) throws(SaveResourceError) {
^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/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/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/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:43:10: error: expected '{' in body of function declaration
func saveResource<
^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:62:10: error: expected '{' in body of function declaration
func saveData<Folder: Directory>(
^
/host/spi-builder-workspace/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/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/Sources/Files/Operations/SaveResource.swift:126:26: error: cannot infer contextual base in reference to member 'module'
bundle: .module,
~^~~~~~
/host/spi-builder-workspace/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/Sources/Files/Operations/SaveResource.swift:134:26: error: cannot infer contextual base in reference to member 'module'
bundle: .module,
~^~~~~~
[12/19] Compiling Files UpdateResource.swift
/host/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:46:13: error: consecutive declarations on a line must be separated by ';'
) throws(UpdateResourceError) {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:46:13: error: expected declaration
) throws(UpdateResourceError) {
^
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:19:8: note: in declaration of 'UpdateResource'
struct UpdateResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:39:10: error: expected '{' in body of function declaration
func updateResource<
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:49:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Resource {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:49:13: error: expected declaration
) throws(LoadResourceError) -> Resource {
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:70:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Data {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:70:13: error: expected declaration
) throws(LoadResourceError) -> Data {
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:50:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:50:13: error: expected declaration
) throws(SaveResourceError) {
^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:66:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:66:13: error: expected declaration
) throws(SaveResourceError) {
^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/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/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/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/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/Sources/Files/Operations/UpdateResource.swift:110:26: error: cannot infer contextual base in reference to member 'module'
bundle: .module,
~^~~~~~
[13/19] Compiling Files LoadResource.swift
/host/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:49:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Resource {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:49:13: error: expected declaration
) throws(LoadResourceError) -> Resource {
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:70:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Data {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:70:13: error: expected declaration
) throws(LoadResourceError) -> Data {
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:44:9: error: generic parameter 'Resource' is not used in function signature
Resource: Decodable,
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:43:10: error: expected '{' in body of function declaration
func loadResource<
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:67:10: error: expected '{' in body of function declaration
func loadData<Folder: Directory>(
^
/host/spi-builder-workspace/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/Sources/Files/Operations/LoadResource.swift:132:26: error: cannot infer contextual base in reference to member 'module'
bundle: .module,
~^~~~~~
/host/spi-builder-workspace/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/Sources/Files/Operations/LoadResource.swift:140:26: error: cannot infer contextual base in reference to member 'module'
bundle: .module,
~^~~~~~
/host/spi-builder-workspace/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/Sources/Files/Operations/LoadResource.swift:148:26: error: cannot infer contextual base in reference to member 'module'
bundle: .module,
~^~~~~~
[14/19] Compiling Files FileSystemFolderStore.swift
/host/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/FileSystemOperations.swift:116:52: error: cannot suppress conformances here
func loadFile(filename: String) -> some File & ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/FileSystemOperations.swift:116:53: error: cannot find type 'Copyable' in scope
func loadFile(filename: String) -> some File & ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/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/Sources/Files/Operations/SaveResource.swift:50:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:50:13: error: expected declaration
) throws(SaveResourceError) {
^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:66:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:66:13: error: expected declaration
) throws(SaveResourceError) {
^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/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/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/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:49:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Resource {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:49:13: error: expected declaration
) throws(LoadResourceError) -> Resource {
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:70:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Data {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:70:13: error: expected declaration
) throws(LoadResourceError) -> Data {
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/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/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/Sources/Files/Operations/LoadResource.swift:43:10: note: in call to function 'loadResource(named:location:)'
func loadResource<
^
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:35:13: error: consecutive declarations on a line must be separated by ';'
) throws(DeleteResourceError) {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:35:13: error: expected declaration
) throws(DeleteResourceError) {
^
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:14:8: note: in declaration of 'DeleteResource'
struct DeleteResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:46:13: error: consecutive declarations on a line must be separated by ';'
) throws(UpdateResourceError) {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:46:13: error: expected declaration
) throws(UpdateResourceError) {
^
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:19:8: note: in declaration of 'UpdateResource'
struct UpdateResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/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)
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[15/19] Compiling Files FileSystemOperations.swift
/host/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/FileSystemOperations.swift:116:52: error: cannot suppress conformances here
func loadFile(filename: String) -> some File & ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/FileSystemOperations.swift:116:53: error: cannot find type 'Copyable' in scope
func loadFile(filename: String) -> some File & ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/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/Sources/Files/Operations/SaveResource.swift:50:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:50:13: error: expected declaration
) throws(SaveResourceError) {
^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:66:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:66:13: error: expected declaration
) throws(SaveResourceError) {
^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/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/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/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:49:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Resource {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:49:13: error: expected declaration
) throws(LoadResourceError) -> Resource {
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:70:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Data {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:70:13: error: expected declaration
) throws(LoadResourceError) -> Data {
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/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/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/Sources/Files/Operations/LoadResource.swift:43:10: note: in call to function 'loadResource(named:location:)'
func loadResource<
^
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:35:13: error: consecutive declarations on a line must be separated by ';'
) throws(DeleteResourceError) {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:35:13: error: expected declaration
) throws(DeleteResourceError) {
^
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:14:8: note: in declaration of 'DeleteResource'
struct DeleteResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:46:13: error: consecutive declarations on a line must be separated by ';'
) throws(UpdateResourceError) {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:46:13: error: expected declaration
) throws(UpdateResourceError) {
^
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:19:8: note: in declaration of 'UpdateResource'
struct UpdateResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/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)
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/19] Emitting module Files
/host/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/Directory.swift:63:23: error: cannot find type 'Copyable' in scope
) -> some File & ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/Sources/Files/Directory.swift:63:10: error: 'some' types are only permitted in properties, subscripts, and functions
) -> some File & ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/Directory.swift:93:38: error: cannot find type 'Copyable' in scope
) -> URL where Resource: File & ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/Sources/Files/File.swift:11:24: error: cannot find type 'Copyable' in scope
public protocol File: ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/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/Sources/Files/Directory.swift:103:9: note: candidate has non-matching type 'String' [with Folder = Folder]
let filename: String
^
/host/spi-builder-workspace/Sources/Files/Directory.swift:104:9: note: candidate has non-matching type 'Folder' [with Folder = Folder]
let enclosingFolder: Folder
^
/host/spi-builder-workspace/Sources/Files/File.swift:16:9: note: protocol requires property 'filename' with type 'String'
var filename: String { get }
^
/host/spi-builder-workspace/Sources/Files/File.swift:19:9: note: protocol requires property 'enclosingFolder' with type 'Folder'
var enclosingFolder: Folder { get }
^
/host/spi-builder-workspace/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/Sources/Files/File.swift:22:36: error: cannot find type 'Copyable' in scope
public extension File where Self: ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/Sources/Files/FileSystemOperations.swift:116:52: error: cannot suppress conformances here
func loadFile(filename: String) -> some File & ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/FileSystemOperations.swift:116:53: error: cannot find type 'Copyable' in scope
func loadFile(filename: String) -> some File & ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/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/Sources/Files/Operations/DeleteResource.swift:35:13: error: consecutive declarations on a line must be separated by ';'
) throws(DeleteResourceError) {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:35:13: error: expected declaration
) throws(DeleteResourceError) {
^
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:14:8: note: in declaration of 'DeleteResource'
struct DeleteResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:32:10: error: expected '{' in body of function declaration
func deleteResource<Folder: Directory>(
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:49:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Resource {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:49:13: error: expected declaration
) throws(LoadResourceError) -> Resource {
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:70:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Data {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:70:13: error: expected declaration
) throws(LoadResourceError) -> Data {
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:44:9: error: generic parameter 'Resource' is not used in function signature
Resource: Decodable,
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:43:10: error: expected '{' in body of function declaration
func loadResource<
^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:67:10: error: expected '{' in body of function declaration
func loadData<Folder: Directory>(
^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:50:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:50:13: error: expected declaration
) throws(SaveResourceError) {
^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:66:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:66:13: error: expected declaration
) throws(SaveResourceError) {
^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/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/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/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:43:10: error: expected '{' in body of function declaration
func saveResource<
^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:62:10: error: expected '{' in body of function declaration
func saveData<Folder: Directory>(
^
/host/spi-builder-workspace/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/Sources/Files/Operations/UpdateResource.swift:46:13: error: consecutive declarations on a line must be separated by ';'
) throws(UpdateResourceError) {
^
;
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:46:13: error: expected declaration
) throws(UpdateResourceError) {
^
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:19:8: note: in declaration of 'UpdateResource'
struct UpdateResource<Context: FileSystemContext> {
^
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:39:10: error: expected '{' in body of function declaration
func updateResource<
^
[17/19] Compiling Files Directory.swift
/host/spi-builder-workspace/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/Directory.swift:63:23: error: cannot find type 'Copyable' in scope
) -> some File & ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/Sources/Files/Directory.swift:63:10: error: 'some' types are only permitted in properties, subscripts, and functions
) -> some File & ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/Directory.swift:93:38: error: cannot find type 'Copyable' in scope
) -> URL where Resource: File & ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/Sources/Files/File.swift:11:24: error: cannot find type 'Copyable' in scope
public protocol File: ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/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/Sources/Files/Directory.swift:103:9: note: candidate has non-matching type 'String' [with Folder = Folder]
let filename: String
^
/host/spi-builder-workspace/Sources/Files/Directory.swift:104:9: note: candidate has non-matching type 'Folder' [with Folder = Folder]
let enclosingFolder: Folder
^
/host/spi-builder-workspace/Sources/Files/File.swift:16:9: note: protocol requires property 'filename' with type 'String'
var filename: String { get }
^
/host/spi-builder-workspace/Sources/Files/File.swift:19:9: note: protocol requires property 'enclosingFolder' with type 'Folder'
var enclosingFolder: Folder { get }
^
/host/spi-builder-workspace/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/Sources/Files/File.swift:22:36: error: cannot find type 'Copyable' in scope
public extension File where Self: ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/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/Sources/Files/Directory.swift:95:14: error: value of type 'URL' has no member 'appending'
.appending(
^~~~~~~~~
/host/spi-builder-workspace/Sources/Files/Directory.swift:96:37: error: value of type 'Resource' has no member 'filename'
component: resource.filename,
~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Files/Directory.swift:97:33: error: cannot infer contextual base in reference to member 'notDirectory'
directoryHint: .notDirectory
~^~~~~~~~~~~~
/host/spi-builder-workspace/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/Sources/Files/File.swift:26:81: error: cannot infer contextual base in reference to member 'notDirectory'
enclosingFolder.location.appending(component: filename, directoryHint: .notDirectory)
~^~~~~~~~~~~~
[18/19] Compiling Files File.swift
/host/spi-builder-workspace/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/Directory.swift:63:23: error: cannot find type 'Copyable' in scope
) -> some File & ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/Sources/Files/Directory.swift:63:10: error: 'some' types are only permitted in properties, subscripts, and functions
) -> some File & ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/Directory.swift:93:38: error: cannot find type 'Copyable' in scope
) -> URL where Resource: File & ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/Sources/Files/File.swift:11:24: error: cannot find type 'Copyable' in scope
public protocol File: ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/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/Sources/Files/Directory.swift:103:9: note: candidate has non-matching type 'String' [with Folder = Folder]
let filename: String
^
/host/spi-builder-workspace/Sources/Files/Directory.swift:104:9: note: candidate has non-matching type 'Folder' [with Folder = Folder]
let enclosingFolder: Folder
^
/host/spi-builder-workspace/Sources/Files/File.swift:16:9: note: protocol requires property 'filename' with type 'String'
var filename: String { get }
^
/host/spi-builder-workspace/Sources/Files/File.swift:19:9: note: protocol requires property 'enclosingFolder' with type 'Folder'
var enclosingFolder: Folder { get }
^
/host/spi-builder-workspace/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/Sources/Files/File.swift:22:36: error: cannot find type 'Copyable' in scope
public extension File where Self: ~Copyable {
^~~~~~~~
/host/spi-builder-workspace/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/Sources/Files/Directory.swift:95:14: error: value of type 'URL' has no member 'appending'
.appending(
^~~~~~~~~
/host/spi-builder-workspace/Sources/Files/Directory.swift:96:37: error: value of type 'Resource' has no member 'filename'
component: resource.filename,
~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Files/Directory.swift:97:33: error: cannot infer contextual base in reference to member 'notDirectory'
directoryHint: .notDirectory
~^~~~~~~~~~~~
/host/spi-builder-workspace/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/Sources/Files/File.swift:26:81: error: cannot infer contextual base in reference to member 'notDirectory'
enclosingFolder.location.appending(component: filename, directoryHint: .notDirectory)
~^~~~~~~~~~~~
[19/19] Compiling Files resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/host/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
error: fatalError
BUILD FAILURE 5.9 linux