Build Information
Successful build of FDSoundActivatedRecorder, reference 3.2.1 (ff674a
), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 19:32:50 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fulldecent/FDSoundActivatedRecorder.git
Reference: 3.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fulldecent/FDSoundActivatedRecorder
* tag 3.2.1 -> FETCH_HEAD
HEAD is now at ff674a5 update for latest xcode
Cloned https://github.com/fulldecent/FDSoundActivatedRecorder.git
Revision (git rev-parse @):
ff674a5d8fe5c48b87d4739badcecbec7d50ad68
SUCCESS checkout https://github.com/fulldecent/FDSoundActivatedRecorder.git at 3.2.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "fdsoundactivatedrecorder",
"name": "FDSoundActivatedRecorder",
"url": "https://github.com/fulldecent/FDSoundActivatedRecorder.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FDSoundActivatedRecorder",
"dependencies": [
]
}
]
}
Fetching https://github.com/fulldecent/FDSoundActivatedRecorder.git
[1/599] Fetching fdsoundactivatedrecorder
Fetched https://github.com/fulldecent/FDSoundActivatedRecorder.git from cache (0.92s)
Creating working copy for https://github.com/fulldecent/FDSoundActivatedRecorder.git
Working copy of https://github.com/fulldecent/FDSoundActivatedRecorder.git resolved at 3.2.1 (ff674a5)
warning: '.resolve-product-dependencies': dependency 'fdsoundactivatedrecorder' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/fulldecent/FDSoundActivatedRecorder.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/4] Emitting module FDSoundActivatedRecorder
/Users/admin/builder/spi-builder-workspace/Sources/FDSoundActivatedRecorder/FDSoundActivatedRecorder.swift:63:12: warning: non-final class 'FDSoundActivatedRecorder' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
61 |
62 | /// An automated listener / recorder
63 | open class FDSoundActivatedRecorder: NSObject, AVAudioRecorderDelegate {
| `- warning: non-final class 'FDSoundActivatedRecorder' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
64 |
65 | /// Number of seconds until recording stops automatically
/Users/admin/builder/spi-builder-workspace/Sources/FDSoundActivatedRecorder/FDSoundActivatedRecorder.swift:66:16: warning: stored property 'timeoutSeconds' of 'Sendable'-conforming class 'FDSoundActivatedRecorder' is mutable; this is an error in the Swift 6 language mode
64 |
65 | /// Number of seconds until recording stops automatically
66 | public var timeoutSeconds = 10.0
| `- warning: stored property 'timeoutSeconds' of 'Sendable'-conforming class 'FDSoundActivatedRecorder' is mutable; this is an error in the Swift 6 language mode
67 |
68 | /// A time interval in seconds to base all `INTERVALS` below
[4/4] Compiling FDSoundActivatedRecorder FDSoundActivatedRecorder.swift
/Users/admin/builder/spi-builder-workspace/Sources/FDSoundActivatedRecorder/FDSoundActivatedRecorder.swift:63:12: warning: non-final class 'FDSoundActivatedRecorder' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
61 |
62 | /// An automated listener / recorder
63 | open class FDSoundActivatedRecorder: NSObject, AVAudioRecorderDelegate {
| `- warning: non-final class 'FDSoundActivatedRecorder' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
64 |
65 | /// Number of seconds until recording stops automatically
/Users/admin/builder/spi-builder-workspace/Sources/FDSoundActivatedRecorder/FDSoundActivatedRecorder.swift:66:16: warning: stored property 'timeoutSeconds' of 'Sendable'-conforming class 'FDSoundActivatedRecorder' is mutable; this is an error in the Swift 6 language mode
64 |
65 | /// Number of seconds until recording stops automatically
66 | public var timeoutSeconds = 10.0
| `- warning: stored property 'timeoutSeconds' of 'Sendable'-conforming class 'FDSoundActivatedRecorder' is mutable; this is an error in the Swift 6 language mode
67 |
68 | /// A time interval in seconds to base all `INTERVALS` below
/Users/admin/builder/spi-builder-workspace/Sources/FDSoundActivatedRecorder/FDSoundActivatedRecorder.swift:226:24: warning: capture of 'exportSession' with non-sendable type 'AVAssetExportSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
224 | self.status = .inactive
225 |
226 | switch exportSession.status {
| `- warning: capture of 'exportSession' with non-sendable type 'AVAssetExportSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
227 | case .completed:
228 | self.delegate?.soundActivatedRecorderDidFinishRecording(self, andSaved: trimmedAudioFileURL)
AVFoundation.AVAssetExportSession:2:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class AVAssetExportSession : NSObject {
| `- note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
3 | @available(*, unavailable)
4 | public convenience init()
Build complete! (8.77s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "FDSoundActivatedRecorder",
"name" : "FDSoundActivatedRecorder",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
}
],
"products" : [
{
"name" : "FDSoundActivatedRecorder",
"targets" : [
"FDSoundActivatedRecorder"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FDSoundActivatedRecorderTests",
"module_type" : "SwiftTarget",
"name" : "FDSoundActivatedRecorderTests",
"path" : "Tests/FDSoundActivatedRecorderTests",
"sources" : [
"FDSoundActivatedRecorderTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"FDSoundActivatedRecorder"
],
"type" : "test"
},
{
"c99name" : "FDSoundActivatedRecorder",
"module_type" : "SwiftTarget",
"name" : "FDSoundActivatedRecorder",
"path" : "Sources/FDSoundActivatedRecorder",
"product_memberships" : [
"FDSoundActivatedRecorder"
],
"sources" : [
"FDSoundActivatedRecorder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.