Build Information
Failed to build files, reference main (9c7630
), with Swift 5.10 for macOS (SPM) on 14 Jun 2025 09:18:46 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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 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 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/5] Write sources
[1/5] Copying Localizable.xcstrings
[2/5] Copying Info.plist
[4/5] Write swift-version-33747A42983211AE.txt
[6/7] Emitting module ErrorPresentation
[7/7] Compiling ErrorPresentation LocalizedCustomerFacingError.swift
[8/19] 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:35:13: error: consecutive declarations on a line must be separated by ';'
) throws(DeleteResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:35:13: error: expected declaration
) throws(DeleteResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:14:8: note: in declaration of 'DeleteResource'
struct DeleteResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:32:10: error: expected '{' in body of function declaration
func deleteResource<Folder: Directory>(
^
[9/19] 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:46:13: error: consecutive declarations on a line must be separated by ';'
) throws(UpdateResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:46:13: error: expected declaration
) throws(UpdateResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:19:8: note: in declaration of 'UpdateResource'
struct UpdateResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:39:10: error: expected '{' in body of function declaration
func updateResource<
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:49: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:49:13: error: expected declaration
) throws(LoadResourceError) -> Resource {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:70: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:70:13: error: expected declaration
) throws(LoadResourceError) -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:50:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:50:13: error: expected declaration
) throws(SaveResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:66:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:66:13: error: expected declaration
) throws(SaveResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/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 {
^
;
/Users/admin/builder/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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/20] 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:35:13: error: consecutive declarations on a line must be separated by ';'
) throws(DeleteResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:35:13: error: expected declaration
) throws(DeleteResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:14:8: note: in declaration of 'DeleteResource'
struct DeleteResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:32:10: error: expected '{' in body of function declaration
func deleteResource<Folder: Directory>(
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:49: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:49:13: error: expected declaration
) throws(LoadResourceError) -> Resource {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:70: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:70:13: error: expected declaration
) throws(LoadResourceError) -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:44:9: error: generic parameter 'Resource' is not used in function signature
Resource: Decodable,
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:43:10: error: expected '{' in body of function declaration
func loadResource<
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:67:10: error: expected '{' in body of function declaration
func loadData<Folder: Directory>(
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:50:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:50:13: error: expected declaration
) throws(SaveResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:66:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:66:13: error: expected declaration
) throws(SaveResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/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 {
^
;
/Users/admin/builder/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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:43:10: error: expected '{' in body of function declaration
func saveResource<
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:62:10: error: expected '{' in body of function declaration
func saveData<Folder: Directory>(
^
/Users/admin/builder/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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:46:13: error: consecutive declarations on a line must be separated by ';'
) throws(UpdateResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:46:13: error: expected declaration
) throws(UpdateResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:19:8: note: in declaration of 'UpdateResource'
struct UpdateResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:39:10: error: expected '{' in body of function declaration
func updateResource<
^
[11/20] 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 {
^
[12/20] 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 {
^
[13/20] 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/20] 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/20] 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 {
^
[16/20] 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 {
^
[17/20] 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 {
^
[18/20] 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:50:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:50:13: error: expected declaration
) throws(SaveResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:66:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:66:13: error: expected declaration
) throws(SaveResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/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 {
^
;
/Users/admin/builder/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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:49: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:49:13: error: expected declaration
) throws(LoadResourceError) -> Resource {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:70: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:70:13: error: expected declaration
) throws(LoadResourceError) -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/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:43:10: note: in call to function 'loadResource(named:location:)'
func loadResource<
^
/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/Operations/DeleteResource.swift:35:13: error: consecutive declarations on a line must be separated by ';'
) throws(DeleteResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:35:13: error: expected declaration
) throws(DeleteResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:14:8: note: in declaration of 'DeleteResource'
struct DeleteResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:46:13: error: consecutive declarations on a line must be separated by ';'
) throws(UpdateResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:46:13: error: expected declaration
) throws(UpdateResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:19: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)
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[19/20] 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:49: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:49:13: error: expected declaration
) throws(LoadResourceError) -> Resource {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:70: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:70:13: error: expected declaration
) throws(LoadResourceError) -> Data {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:15:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:44:9: error: generic parameter 'Resource' is not used in function signature
Resource: Decodable,
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:43:10: error: expected '{' in body of function declaration
func loadResource<
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:67:10: error: expected '{' in body of function declaration
func loadData<Folder: Directory>(
^
[20/20] 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:50:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:50:13: error: expected declaration
) throws(SaveResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:66:13: error: consecutive declarations on a line must be separated by ';'
) throws(SaveResourceError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:66:13: error: expected declaration
) throws(SaveResourceError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/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 {
^
;
/Users/admin/builder/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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:15:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:43:10: error: expected '{' in body of function declaration
func saveResource<
^
/Users/admin/builder/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:62:10: error: expected '{' in body of function declaration
func saveData<Folder: Directory>(
^
/Users/admin/builder/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 {
^
error: fatalError
Fetching https://github.com/nashysolutions/error-presentation.git
[1/22] Fetching error-presentation
Fetched https://github.com/nashysolutions/error-presentation.git from cache (1.01s)
Computing version for https://github.com/nashysolutions/error-presentation.git
Computed https://github.com/nashysolutions/error-presentation.git at 1.0.0 (0.45s)
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
BUILD FAILURE 5.10 macosSpm