The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build files, reference 2.2.0 (b674b4), with Swift 5.10 for Linux on 5 Jul 2025 06:51:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nashysolutions/files.git
Reference: 2.2.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.2.0      -> FETCH_HEAD
HEAD is now at b674b4f Removing dependency.
Cloned https://github.com/nashysolutions/files.git
Revision (git rev-parse @):
b674b4f0eaae8c2519d921bb6f5fe7e41e036e75
SUCCESS checkout https://github.com/nashysolutions/files.git at 2.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/nashysolutions/files.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:c30bb8beee7254e839cc0142f4ae78578b8fc8e8159324cc3637097cc1b395b6
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/4] Write sources
[0/4] Copying Localizable.xcstrings
[1/4] Copying Info.plist
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/16] 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:48:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(LoadResourceError) -> Resource {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:48:13: error: expected declaration
    ) throws(LoadResourceError) -> Resource {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:14:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:69:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(LoadResourceError) -> Data {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:69:13: error: expected declaration
    ) throws(LoadResourceError) -> Data {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:14:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:43:9: error: generic parameter 'Resource' is not used in function signature
        Resource: Decodable,
        ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:42:10: error: expected '{' in body of function declaration
    func loadResource<
         ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:66:10: error: expected '{' in body of function declaration
    func loadData<Folder: Directory>(
         ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:128: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:131:26: error: cannot infer contextual base in reference to member 'module'
                bundle: .module,
                        ~^~~~~~
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:136: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:139:26: error: cannot infer contextual base in reference to member 'module'
                bundle: .module,
                        ~^~~~~~
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:144: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:147:26: error: cannot infer contextual base in reference to member 'module'
                bundle: .module,
                        ~^~~~~~
[6/17] 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:49:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(SaveResourceError) {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:49:13: error: expected declaration
    ) throws(SaveResourceError) {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:65:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(SaveResourceError) {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:65:13: error: expected declaration
    ) throws(SaveResourceError) {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:80: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:80: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:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:42:10: error: expected '{' in body of function declaration
    func saveResource<
         ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:61:10: error: expected '{' in body of function declaration
    func saveData<Folder: Directory>(
         ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:80: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:122: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:125:26: error: cannot infer contextual base in reference to member 'module'
                bundle: .module,
                        ~^~~~~~
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:130: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:133:26: error: cannot infer contextual base in reference to member 'module'
                bundle: .module,
                        ~^~~~~~
[7/17] 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:45:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(UpdateResourceError) {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:45:13: error: expected declaration
    ) throws(UpdateResourceError) {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:18:8: note: in declaration of 'UpdateResource'
struct UpdateResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:38:10: error: expected '{' in body of function declaration
    func updateResource<
         ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:48:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(LoadResourceError) -> Resource {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:48:13: error: expected declaration
    ) throws(LoadResourceError) -> Resource {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:14:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:69:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(LoadResourceError) -> Data {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:69:13: error: expected declaration
    ) throws(LoadResourceError) -> Data {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:14:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:49:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(SaveResourceError) {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:49:13: error: expected declaration
    ) throws(SaveResourceError) {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:65:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(SaveResourceError) {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:65:13: error: expected declaration
    ) throws(SaveResourceError) {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:80: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:80: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:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:106: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:109:26: error: cannot infer contextual base in reference to member 'module'
                bundle: .module,
                        ~^~~~~~
[8/17] 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 {
                                  ^

[9/17] 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:49:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(SaveResourceError) {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:49:13: error: expected declaration
    ) throws(SaveResourceError) {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:65:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(SaveResourceError) {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:65:13: error: expected declaration
    ) throws(SaveResourceError) {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:80: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:80: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:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:48:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(LoadResourceError) -> Resource {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:48:13: error: expected declaration
    ) throws(LoadResourceError) -> Resource {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:14:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:69:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(LoadResourceError) -> Data {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:69:13: error: expected declaration
    ) throws(LoadResourceError) -> Data {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:14: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:42:10: note: in call to function 'loadResource(named:location:)'
    func loadResource<
         ^
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:34:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(DeleteResourceError) {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:34:13: error: expected declaration
    ) throws(DeleteResourceError) {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:13:8: note: in declaration of 'DeleteResource'
struct DeleteResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:45:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(UpdateResourceError) {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:45:13: error: expected declaration
    ) throws(UpdateResourceError) {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:18: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)
               ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[10/17] 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:49:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(SaveResourceError) {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:49:13: error: expected declaration
    ) throws(SaveResourceError) {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:65:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(SaveResourceError) {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:65:13: error: expected declaration
    ) throws(SaveResourceError) {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:80: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:80: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:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:48:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(LoadResourceError) -> Resource {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:48:13: error: expected declaration
    ) throws(LoadResourceError) -> Resource {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:14:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:69:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(LoadResourceError) -> Data {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:69:13: error: expected declaration
    ) throws(LoadResourceError) -> Data {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:14: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:42:10: note: in call to function 'loadResource(named:location:)'
    func loadResource<
         ^
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:34:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(DeleteResourceError) {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:34:13: error: expected declaration
    ) throws(DeleteResourceError) {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:13:8: note: in declaration of 'DeleteResource'
struct DeleteResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:45:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(UpdateResourceError) {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:45:13: error: expected declaration
    ) throws(UpdateResourceError) {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:18: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)
               ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[11/17] 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 {
                                  ^

[12/17] 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 {
                                  ^

[13/17] 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:34:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(DeleteResourceError) {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:34:13: error: expected declaration
    ) throws(DeleteResourceError) {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:13: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:31:10: error: expected '{' in body of function declaration
    func deleteResource<Folder: Directory>(
         ^
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:71: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:74:26: error: cannot infer contextual base in reference to member 'module'
                bundle: .module,
                        ~^~~~~~
[14/17] 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:34:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(DeleteResourceError) {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:34:13: error: expected declaration
    ) throws(DeleteResourceError) {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:13: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:31:10: error: expected '{' in body of function declaration
    func deleteResource<Folder: Directory>(
         ^
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:71: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:74:26: error: cannot infer contextual base in reference to member 'module'
                bundle: .module,
                        ~^~~~~~
[15/17] 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)
                                                                               ~^~~~~~~~~~~~
[16/17] 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)
                                                                               ~^~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/17] 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:34:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(DeleteResourceError) {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:34:13: error: expected declaration
    ) throws(DeleteResourceError) {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:13:8: note: in declaration of 'DeleteResource'
struct DeleteResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:31:10: error: expected '{' in body of function declaration
    func deleteResource<Folder: Directory>(
         ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:48:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(LoadResourceError) -> Resource {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:48:13: error: expected declaration
    ) throws(LoadResourceError) -> Resource {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:14:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:69:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(LoadResourceError) -> Data {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:69:13: error: expected declaration
    ) throws(LoadResourceError) -> Data {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:14:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:43:9: error: generic parameter 'Resource' is not used in function signature
        Resource: Decodable,
        ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:42:10: error: expected '{' in body of function declaration
    func loadResource<
         ^
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:66:10: error: expected '{' in body of function declaration
    func loadData<Folder: Directory>(
         ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:49:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(SaveResourceError) {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:49:13: error: expected declaration
    ) throws(SaveResourceError) {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:65:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(SaveResourceError) {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:65:13: error: expected declaration
    ) throws(SaveResourceError) {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:80: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:80: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:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:42:10: error: expected '{' in body of function declaration
    func saveResource<
         ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:61:10: error: expected '{' in body of function declaration
    func saveData<Folder: Directory>(
         ^
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:80: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:45:13: error: consecutive declarations on a line must be separated by ';'
    ) throws(UpdateResourceError) {
            ^
            ;
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:45:13: error: expected declaration
    ) throws(UpdateResourceError) {
            ^
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:18:8: note: in declaration of 'UpdateResource'
struct UpdateResource<Context: FileSystemContext> {
       ^
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:38:10: error: expected '{' in body of function declaration
    func updateResource<
         ^
error: fatalError
BUILD FAILURE 5.10 linux