Build Information
Failed to build files, reference main (b674b4
), with Swift 5.10 for macOS (SPM) on 5 Jul 2025 06:53:23 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nashysolutions/files.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nashysolutions/files
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/nashysolutions/files.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[1/4] Copying Localizable.xcstrings
[1/4] Copying Info.plist
[3/4] Write swift-version-33747A42983211AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/16] Emitting module Files
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:63:23: error: cannot find type 'Copyable' in scope
) -> some File & ~Copyable {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:63:10: error: 'some' types are only permitted in properties, subscripts, and functions
) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:93:38: error: cannot find type 'Copyable' in scope
) -> URL where Resource: File & ~Copyable {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:11:24: error: cannot find type 'Copyable' in scope
public protocol File: ~Copyable {
^~~~~~~~
/Users/admin/builder/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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:103:9: note: candidate has non-matching type 'String' [with Folder = Folder]
let filename: String
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:104:9: note: candidate has non-matching type 'Folder' [with Folder = Folder]
let enclosingFolder: Folder
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:16:9: note: protocol requires property 'filename' with type 'String'
var filename: String { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:19:9: note: protocol requires property 'enclosingFolder' with type 'Folder'
var enclosingFolder: Folder { get }
^
/Users/admin/builder/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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:22:36: error: cannot find type 'Copyable' in scope
public extension File where Self: ~Copyable {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Files/FileSystemOperations.swift:116:52: error: cannot suppress conformances here
func loadFile(filename: String) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/FileSystemOperations.swift:116:53: error: cannot find type 'Copyable' in scope
func loadFile(filename: String) -> some File & ~Copyable {
^~~~~~~~
/Users/admin/builder/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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:34:13: error: consecutive declarations on a line must be separated by ';'
) throws(DeleteResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:34:13: error: expected declaration
) throws(DeleteResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:13:8: note: in declaration of 'DeleteResource'
struct DeleteResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:31:10: error: expected '{' in body of function declaration
func deleteResource<Folder: Directory>(
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:48:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Resource {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:48:13: error: expected declaration
) throws(LoadResourceError) -> Resource {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:14:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:69:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Data {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:69:13: error: expected declaration
) throws(LoadResourceError) -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:14:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:43:9: error: generic parameter 'Resource' is not used in function signature
Resource: Decodable,
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:42:10: error: expected '{' in body of function declaration
func loadResource<
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:66:10: error: expected '{' in body of function declaration
func loadData<Folder: Directory>(
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:49:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:49:13: error: expected declaration
) throws(SaveResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:65:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:65:13: error: expected declaration
) throws(SaveResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/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 {
^
;
/Users/admin/builder/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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:42:10: error: expected '{' in body of function declaration
func saveResource<
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:61:10: error: expected '{' in body of function declaration
func saveData<Folder: Directory>(
^
/Users/admin/builder/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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:45:13: error: consecutive declarations on a line must be separated by ';'
) throws(UpdateResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:45:13: error: expected declaration
) throws(UpdateResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:18:8: note: in declaration of 'UpdateResource'
struct UpdateResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:38:10: error: expected '{' in body of function declaration
func updateResource<
^
[6/16] Compiling Files DeleteResource.swift
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:34:13: error: consecutive declarations on a line must be separated by ';'
) throws(DeleteResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:34:13: error: expected declaration
) throws(DeleteResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:13:8: note: in declaration of 'DeleteResource'
struct DeleteResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:31:10: error: expected '{' in body of function declaration
func deleteResource<Folder: Directory>(
^
[7/16] Compiling Files FileSystemOperations.swift
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/FileSystemOperations.swift:116:52: error: cannot suppress conformances here
func loadFile(filename: String) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/FileSystemOperations.swift:116:53: error: cannot find type 'Copyable' in scope
func loadFile(filename: String) -> some File & ~Copyable {
^~~~~~~~
/Users/admin/builder/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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:49:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:49:13: error: expected declaration
) throws(SaveResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:65:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:65:13: error: expected declaration
) throws(SaveResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/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 {
^
;
/Users/admin/builder/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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:48:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Resource {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:48:13: error: expected declaration
) throws(LoadResourceError) -> Resource {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:14:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:69:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Data {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:69:13: error: expected declaration
) throws(LoadResourceError) -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:14:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/Users/admin/builder/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
/Users/admin/builder/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)
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:42:10: note: in call to function 'loadResource(named:location:)'
func loadResource<
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:34:13: error: consecutive declarations on a line must be separated by ';'
) throws(DeleteResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:34:13: error: expected declaration
) throws(DeleteResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:13:8: note: in declaration of 'DeleteResource'
struct DeleteResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:45:13: error: consecutive declarations on a line must be separated by ';'
) throws(UpdateResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:45:13: error: expected declaration
) throws(UpdateResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:18:8: note: in declaration of 'UpdateResource'
struct UpdateResource<Context: FileSystemContext> {
^
/Users/admin/builder/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)
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[8/16] Compiling Files Folder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
[9/16] Compiling Files LoadResource.swift
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:48:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Resource {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:48:13: error: expected declaration
) throws(LoadResourceError) -> Resource {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:14:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:69:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Data {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:69:13: error: expected declaration
) throws(LoadResourceError) -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:14:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:43:9: error: generic parameter 'Resource' is not used in function signature
Resource: Decodable,
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:42:10: error: expected '{' in body of function declaration
func loadResource<
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:66:10: error: expected '{' in body of function declaration
func loadData<Folder: Directory>(
^
[10/16] Compiling Files UpdateResource.swift
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:45:13: error: consecutive declarations on a line must be separated by ';'
) throws(UpdateResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:45:13: error: expected declaration
) throws(UpdateResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:18:8: note: in declaration of 'UpdateResource'
struct UpdateResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:38:10: error: expected '{' in body of function declaration
func updateResource<
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:48:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Resource {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:48:13: error: expected declaration
) throws(LoadResourceError) -> Resource {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:14:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:69:13: error: consecutive declarations on a line must be separated by ';'
) throws(LoadResourceError) -> Data {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:69:13: error: expected declaration
) throws(LoadResourceError) -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:14:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:49:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:49:13: error: expected declaration
) throws(SaveResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:65:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:65:13: error: expected declaration
) throws(SaveResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/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 {
^
;
/Users/admin/builder/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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
[11/16] Compiling Files SaveResource.swift
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:49:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:49:13: error: expected declaration
) throws(SaveResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:65:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:65:13: error: expected declaration
) throws(SaveResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/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 {
^
;
/Users/admin/builder/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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:42:10: error: expected '{' in body of function declaration
func saveResource<
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:61:10: error: expected '{' in body of function declaration
func saveData<Folder: Directory>(
^
/Users/admin/builder/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 {
^
[12/16] Compiling Files FileSystemFolderStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/FileSystemOperations.swift:116:52: error: cannot suppress conformances here
func loadFile(filename: String) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
[13/16] Compiling Files Directory.swift
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:63:23: error: cannot find type 'Copyable' in scope
) -> some File & ~Copyable {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:63:10: error: 'some' types are only permitted in properties, subscripts, and functions
) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:93:38: error: cannot find type 'Copyable' in scope
) -> URL where Resource: File & ~Copyable {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:11:24: error: cannot find type 'Copyable' in scope
public protocol File: ~Copyable {
^~~~~~~~
/Users/admin/builder/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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:103:9: note: candidate has non-matching type 'String' [with Folder = Folder]
let filename: String
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:104:9: note: candidate has non-matching type 'Folder' [with Folder = Folder]
let enclosingFolder: Folder
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:16:9: note: protocol requires property 'filename' with type 'String'
var filename: String { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:19:9: note: protocol requires property 'enclosingFolder' with type 'Folder'
var enclosingFolder: Folder { get }
^
/Users/admin/builder/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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:22:36: error: cannot find type 'Copyable' in scope
public extension File where Self: ~Copyable {
^~~~~~~~
/Users/admin/builder/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)
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:96:37: error: value of type 'Resource' has no member 'filename'
component: resource.filename,
~~~~~~~~ ^~~~~~~~
[14/16] Compiling Files File.swift
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:63:23: error: cannot find type 'Copyable' in scope
) -> some File & ~Copyable {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:63:10: error: 'some' types are only permitted in properties, subscripts, and functions
) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:93:38: error: cannot find type 'Copyable' in scope
) -> URL where Resource: File & ~Copyable {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:11:24: error: cannot find type 'Copyable' in scope
public protocol File: ~Copyable {
^~~~~~~~
/Users/admin/builder/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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:103:9: note: candidate has non-matching type 'String' [with Folder = Folder]
let filename: String
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:104:9: note: candidate has non-matching type 'Folder' [with Folder = Folder]
let enclosingFolder: Folder
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:16:9: note: protocol requires property 'filename' with type 'String'
var filename: String { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:19:9: note: protocol requires property 'enclosingFolder' with type 'Folder'
var enclosingFolder: Folder { get }
^
/Users/admin/builder/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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:22:36: error: cannot find type 'Copyable' in scope
public extension File where Self: ~Copyable {
^~~~~~~~
/Users/admin/builder/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)
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Directory.swift:96:37: error: value of type 'Resource' has no member 'filename'
component: resource.filename,
~~~~~~~~ ^~~~~~~~
[15/16] Compiling Files FileSystemContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
[16/16] Compiling Files FileSystemDirectory.swift
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
[17/17] Compiling Files resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/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.10 macosSpm