The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FileManagerProtocol, reference main (64a9b3), with Swift 6.0 for macOS (SPM) on 26 Apr 2026 07:12:27 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Ryu0118/FileManagerProtocol.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Ryu0118/FileManagerProtocol
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 64a9b36 Run SwiftFormat
Cloned https://github.com/Ryu0118/FileManagerProtocol.git
Revision (git rev-parse @):
64a9b362f9dcd933f6dad82603c2ab0ff23863fc
SUCCESS checkout https://github.com/Ryu0118/FileManagerProtocol.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Ryu0118/FileManagerProtocol.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module FileManagerProtocol
/Users/admin/builder/spi-builder-workspace/Sources/FileManagerProtocol/FileManagerProtocol.swift:135:5: warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
133 |     }
134 |
135 |     extension FileManager: FileManagerProtocolMacOS {}
    |     |- warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    |     `- note: add '@retroactive' to silence this warning
136 | #else
137 |     extension FileManager: FileManagerProtocol {}
/Users/admin/builder/spi-builder-workspace/Sources/FileManagerProtocol/FileManagerProtocol.swift:135:5: error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
133 |     }
134 |
135 |     extension FileManager: FileManagerProtocolMacOS {}
    |     `- error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
136 | #else
137 |     extension FileManager: FileManagerProtocol {}
[4/4] Compiling FileManagerProtocol FileManagerProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/FileManagerProtocol/FileManagerProtocol.swift:135:5: warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
133 |     }
134 |
135 |     extension FileManager: FileManagerProtocolMacOS {}
    |     |- warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    |     `- note: add '@retroactive' to silence this warning
136 | #else
137 |     extension FileManager: FileManagerProtocol {}
/Users/admin/builder/spi-builder-workspace/Sources/FileManagerProtocol/FileManagerProtocol.swift:135:5: error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
133 |     }
134 |
135 |     extension FileManager: FileManagerProtocolMacOS {}
    |     `- error: conformance to 'Sendable' must occur in the same source file as class 'FileManager'; use '@unchecked Sendable' for retroactive conformance
136 | #else
137 |     extension FileManager: FileManagerProtocol {}
BUILD FAILURE 6.0 macosSpm