The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of FDSoundActivatedRecorder, reference 3.2.1 (ff674a), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 04:50:14 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.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
[6/599] Fetching fdsoundactivatedrecorder
Fetched https://github.com/fulldecent/FDSoundActivatedRecorder.git from cache (0.96s)
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.1
Building package at path:  $PWD
https://github.com/fulldecent/FDSoundActivatedRecorder.git
https://github.com/fulldecent/FDSoundActivatedRecorder.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.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
224 |                 self.status = .inactive
225 |
226 |                 switch exportSession.status {
    |                        `- warning: capture of 'exportSession' with non-sendable type 'AVAssetExportSession' in a '@Sendable' closure
227 |                 case .completed:
228 |                     self.delegate?.soundActivatedRecorderDidFinishRecording(self, andSaved: trimmedAudioFileURL)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h:156:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
154 | NS_SWIFT_NONSENDABLE
155 | API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
156 | @interface AVAssetExportSession : NSObject
    |            `- note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
157 | {
158 | @private
Build complete! (6.80s)
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.