Build Information
Failed to build foundation-dependencies, reference 5.0.0 (18bc16
), with Swift 5.10 for macOS (SPM) on 10 Jul 2025 07:26:40 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/foundation-dependencies.git
Reference: 5.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nashysolutions/foundation-dependencies
* tag 5.0.0 -> FETCH_HEAD
HEAD is now at 18bc163 Using main actor constrained closures to bridge to non sendable type UserDefaults.
Cloned https://github.com/nashysolutions/foundation-dependencies.git
Revision (git rev-parse @):
18bc163bc56607062b1e059bca1aea7b4b2f56cf
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nashysolutions/foundation-dependencies.git at 5.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/nashysolutions/foundation-dependencies.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/12] Write sources
[9/12] Copying Info.plist
[10/12] Copying Localizable.xcstrings
[11/12] Write swift-version-33747A42983211AE.txt
[13/56] Compiling IssueReporting TestContext.swift
[14/56] Compiling IssueReporting Unimplemented.swift
[15/58] Compiling IssueReporting WithExpectedIssue.swift
[16/58] Compiling IssueReporting WithIssueContext.swift
[17/58] Compiling Files SaveResource.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:49:13: error: expected declaration
) throws(SaveResourceError) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:65:13: error: expected declaration
) throws(SaveResourceError) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:42:10: error: expected '{' in body of function declaration
func saveResource<
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:61:10: error: expected '{' in body of function declaration
func saveData<Folder: Directory>(
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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 {
^
[18/59] Compiling IssueReporting Warn.swift
[19/59] Compiling IssueReporting XCTest.swift
[20/59] Compiling IssueReporting IsTesting.swift
[21/59] Compiling IssueReporting IssueReporter.swift
[22/59] Compiling IssueReporting BreakpointReporter.swift
[23/59] Compiling IssueReporting FatalErrorReporter.swift
[24/59] Compiling IssueReporting RuntimeWarningReporter.swift
[25/59] Compiling IssueReporting ReportIssue.swift
[26/59] Compiling IssueReporting SwiftTesting.swift
[27/59] Compiling IssueReporting UncheckedSendable.swift
[28/59] Compiling Files UpdateResource.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:45:13: error: expected declaration
) throws(UpdateResourceError) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:18:8: note: in declaration of 'UpdateResource'
struct UpdateResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:38:10: error: expected '{' in body of function declaration
func updateResource<
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:48:13: error: expected declaration
) throws(LoadResourceError) -> Resource {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:14:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:69:13: error: expected declaration
) throws(LoadResourceError) -> Data {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:14:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:49:13: error: expected declaration
) throws(SaveResourceError) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:65:13: error: expected declaration
) throws(SaveResourceError) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
[29/59] Compiling IssueReporting LockIsolated.swift
[30/59] Compiling IssueReporting Rethrows.swift
[31/59] Emitting module IssueReporting
[32/59] Compiling IssueReporting ErrorReporting.swift
[33/59] Compiling IssueReporting AppHostWarning.swift
[34/59] Emitting module Versioning
[35/59] Compiling Versioning SemanticVersion.swift
[36/59] Compiling Files Folder.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
[37/59] Compiling Files DeleteResource.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:34:13: error: expected declaration
) throws(DeleteResourceError) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:13:8: note: in declaration of 'DeleteResource'
struct DeleteResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:31:10: error: expected '{' in body of function declaration
func deleteResource<Folder: Directory>(
^
[38/59] Compiling ConcurrencyExtras Locking.swift
[39/59] Compiling Files LoadResource.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:48:13: error: expected declaration
) throws(LoadResourceError) -> Resource {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:14:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:69:13: error: expected declaration
) throws(LoadResourceError) -> Data {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:14:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:42:10: error: expected '{' in body of function declaration
func loadResource<
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:66:10: error: expected '{' in body of function declaration
func loadData<Folder: Directory>(
^
[40/59] Compiling Files resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
[41/60] Compiling IssueReporting Deprecations.swift
[42/60] Compiling IssueReporting FailureObserver.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/60] Emitting module Files
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:23: error: cannot find type 'Copyable' in scope
) -> some File & ~Copyable {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:10: error: 'some' types are only permitted in properties, subscripts, and functions
) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:93:38: error: cannot find type 'Copyable' in scope
) -> URL where Resource: File & ~Copyable {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:24: error: cannot find type 'Copyable' in scope
public protocol File: ~Copyable {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:102:16: error: type 'Resource<Folder>' does not conform to protocol 'File'
private struct Resource<Folder: Directory>: ~Copyable, File {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:103:9: note: candidate has non-matching type 'String' [with Folder = Folder]
let filename: String
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:104:9: note: candidate has non-matching type 'Folder' [with Folder = Folder]
let enclosingFolder: Folder
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:16:9: note: protocol requires property 'filename' with type 'String'
var filename: String { get }
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:19:9: note: protocol requires property 'enclosingFolder' with type 'Folder'
var enclosingFolder: Folder { get }
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:102:16: error: noncopyable generic struct 'Resource' cannot conform to 'File'
private struct Resource<Folder: Directory>: ~Copyable, File {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:36: error: cannot find type 'Copyable' in scope
public extension File where Self: ~Copyable {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:116:52: error: cannot suppress conformances here
func loadFile(filename: String) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:116:53: error: cannot find type 'Copyable' in scope
func loadFile(filename: String) -> some File & ~Copyable {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:116:40: error: 'some' types are only permitted in properties, subscripts, and functions
func loadFile(filename: String) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:34:13: error: expected declaration
) throws(DeleteResourceError) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:13:8: note: in declaration of 'DeleteResource'
struct DeleteResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:31:10: error: expected '{' in body of function declaration
func deleteResource<Folder: Directory>(
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:48:13: error: expected declaration
) throws(LoadResourceError) -> Resource {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:14:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:69:13: error: expected declaration
) throws(LoadResourceError) -> Data {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:14:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:42:10: error: expected '{' in body of function declaration
func loadResource<
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:66:10: error: expected '{' in body of function declaration
func loadData<Folder: Directory>(
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:49:13: error: expected declaration
) throws(SaveResourceError) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:65:13: error: expected declaration
) throws(SaveResourceError) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:42:10: error: expected '{' in body of function declaration
func saveResource<
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:61:10: error: expected '{' in body of function declaration
func saveData<Folder: Directory>(
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:45:13: error: expected declaration
) throws(UpdateResourceError) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:18:8: note: in declaration of 'UpdateResource'
struct UpdateResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:38:10: error: expected '{' in body of function declaration
func updateResource<
^
[44/60] Compiling Files FileSystemOperations.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:116:52: error: cannot suppress conformances here
func loadFile(filename: String) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:116:53: error: cannot find type 'Copyable' in scope
func loadFile(filename: String) -> some File & ~Copyable {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:116:40: error: 'some' types are only permitted in properties, subscripts, and functions
func loadFile(filename: String) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:49:13: error: expected declaration
) throws(SaveResourceError) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:65:13: error: expected declaration
) throws(SaveResourceError) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:14:8: note: in declaration of 'SaveResource'
struct SaveResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:48:13: error: expected declaration
) throws(LoadResourceError) -> Resource {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:14:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:69:13: error: expected declaration
) throws(LoadResourceError) -> Data {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:14:8: note: in declaration of 'LoadResource'
struct LoadResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:84:27: error: cannot convert return expression of type '()' to return type 'Resource'
return try loader.loadResource(named: filename, location: folder)
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as! Resource
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:84:27: error: generic parameter 'Resource' could not be inferred
return try loader.loadResource(named: filename, location: folder)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:42:10: note: in call to function 'loadResource(named:location:)'
func loadResource<
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:34:13: error: expected declaration
) throws(DeleteResourceError) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:13:8: note: in declaration of 'DeleteResource'
struct DeleteResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/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/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:45:13: error: expected declaration
) throws(UpdateResourceError) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:18:8: note: in declaration of 'UpdateResource'
struct UpdateResource<Context: FileSystemContext> {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:109:27: error: cannot convert return expression of type '()' to return type 'Data'
return try loader.loadData(named: name, location: folder)
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[45/60] Compiling Files FileSystemFolderStore.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/FileSystemOperations.swift:116:52: error: cannot suppress conformances here
func loadFile(filename: String) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:23: error: cannot find type 'Copyable' in scope
) -> some File & ~Copyable {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:10: error: 'some' types are only permitted in properties, subscripts, and functions
) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:93:38: error: cannot find type 'Copyable' in scope
) -> URL where Resource: File & ~Copyable {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:24: error: cannot find type 'Copyable' in scope
public protocol File: ~Copyable {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:102:16: error: type 'Resource<Folder>' does not conform to protocol 'File'
private struct Resource<Folder: Directory>: ~Copyable, File {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:103:9: note: candidate has non-matching type 'String' [with Folder = Folder]
let filename: String
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:104:9: note: candidate has non-matching type 'Folder' [with Folder = Folder]
let enclosingFolder: Folder
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:16:9: note: protocol requires property 'filename' with type 'String'
var filename: String { get }
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:19:9: note: protocol requires property 'enclosingFolder' with type 'Folder'
var enclosingFolder: Folder { get }
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:102:16: error: noncopyable generic struct 'Resource' cannot conform to 'File'
private struct Resource<Folder: Directory>: ~Copyable, File {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:36: error: cannot find type 'Copyable' in scope
public extension File where Self: ~Copyable {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:84:22: error: noncopyable type 'Resource<Self>' cannot be substituted for copyable generic parameter 'Self' in 'File'
try resource.write(data: data, using: context)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:96:37: error: value of type 'Resource' has no member 'filename'
component: resource.filename,
~~~~~~~~ ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:22: error: cannot suppress conformances here
) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:93:37: error: cannot suppress conformances here
) -> URL where Resource: File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:23: error: cannot find type 'Copyable' in scope
) -> some File & ~Copyable {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:63:10: error: 'some' types are only permitted in properties, subscripts, and functions
) -> some File & ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:93:38: error: cannot find type 'Copyable' in scope
) -> URL where Resource: File & ~Copyable {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:24: error: cannot find type 'Copyable' in scope
public protocol File: ~Copyable {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:102:16: error: type 'Resource<Folder>' does not conform to protocol 'File'
private struct Resource<Folder: Directory>: ~Copyable, File {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:103:9: note: candidate has non-matching type 'String' [with Folder = Folder]
let filename: String
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:104:9: note: candidate has non-matching type 'Folder' [with Folder = Folder]
let enclosingFolder: Folder
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:16:9: note: protocol requires property 'filename' with type 'String'
var filename: String { get }
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:19:9: note: protocol requires property 'enclosingFolder' with type 'Folder'
var enclosingFolder: Folder { get }
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:102:16: error: noncopyable generic struct 'Resource' cannot conform to 'File'
private struct Resource<Folder: Directory>: ~Copyable, File {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:36: error: cannot find type 'Copyable' in scope
public extension File where Self: ~Copyable {
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:84:22: error: noncopyable type 'Resource<Self>' cannot be substituted for copyable generic parameter 'Self' in 'File'
try resource.write(data: data, using: context)
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/Directory.swift:96:37: error: value of type 'Resource' has no member 'filename'
component: resource.filename,
~~~~~~~~ ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:11:23: error: cannot suppress conformances here
public protocol File: ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files/File.swift:22:35: error: cannot suppress conformances here
public extension File where Self: ~Copyable {
^
error: fatalError
Fetching https://github.com/nashysolutions/versioning.git
Fetching https://github.com/nashysolutions/files.git
Fetching https://github.com/pointfreeco/swift-dependencies.git
[1/80] Fetching versioning
[81/230] Fetching versioning, files
[231/6485] Fetching versioning, files, swift-dependencies
Fetched https://github.com/nashysolutions/files.git from cache (1.75s)
Fetched https://github.com/nashysolutions/versioning.git from cache (1.75s)
Fetched https://github.com/pointfreeco/swift-dependencies.git from cache (1.75s)
Computing version for https://github.com/nashysolutions/files.git
Computed https://github.com/nashysolutions/files.git at 2.2.0 (0.43s)
Computing version for https://github.com/nashysolutions/versioning.git
Computed https://github.com/nashysolutions/versioning.git at 2.1.0 (0.45s)
Computing version for https://github.com/pointfreeco/swift-dependencies.git
Computed https://github.com/pointfreeco/swift-dependencies.git at 1.8.1 (0.36s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/combine-schedulers
[1/1292] Fetching swift-clocks
[105/2153] Fetching swift-clocks, swift-concurrency-extras
[312/4563] Fetching swift-clocks, swift-concurrency-extras, combine-schedulers
[459/10030] Fetching swift-clocks, swift-concurrency-extras, combine-schedulers, xctest-dynamic-overlay
[9983/81345] Fetching swift-clocks, swift-concurrency-extras, combine-schedulers, xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (4.39s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (4.39s)
Fetched https://github.com/swiftlang/swift-syntax from cache (4.39s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (4.39s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (4.39s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.3 (0.35s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.35s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (0.36s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.36s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.55s)
Creating working copy for https://github.com/pointfreeco/swift-dependencies.git
Working copy of https://github.com/pointfreeco/swift-dependencies.git resolved at 1.8.1
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.1
Creating working copy for https://github.com/nashysolutions/files.git
Working copy of https://github.com/nashysolutions/files.git resolved at 2.2.0
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.0.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/nashysolutions/versioning.git
Working copy of https://github.com/nashysolutions/versioning.git resolved at 2.1.0
BUILD FAILURE 5.10 macosSpm