Build Information
Successful build of SwiftLAME, reference develop (e8256a
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 12:17:30 UTC.
Swift 6 data race errors: 1
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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hidden-spectrum/SwiftLAME.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hidden-spectrum/SwiftLAME
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at e8256a8 Update banner
Cloned https://github.com/hidden-spectrum/SwiftLAME.git
Revision (git rev-parse @):
e8256a8151594f47f103c742f684253c6c44871d
SUCCESS checkout https://github.com/hidden-spectrum/SwiftLAME.git at develop
========================================
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": "swiftlame",
"name": "SwiftLAME",
"url": "https://github.com/hidden-spectrum/SwiftLAME.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftLAME",
"dependencies": [
]
}
]
}
Fetching https://github.com/hidden-spectrum/SwiftLAME.git
[1/282] Fetching swiftlame
Fetched https://github.com/hidden-spectrum/SwiftLAME.git from cache (0.95s)
Creating working copy for https://github.com/hidden-spectrum/SwiftLAME.git
Working copy of https://github.com/hidden-spectrum/SwiftLAME.git resolved at develop (e8256a8)
warning: '.resolve-product-dependencies': dependency 'swiftlame' 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/hidden-spectrum/SwiftLAME.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
Building for debugging...
[0/31] Write swift-version--7754E27361AE5C74.txt
[1/31] Write sources
[2/31] Compiling tabinit.c
[3/31] Compiling lame.c
[4/31] Compiling encoder.c
[5/31] Compiling newmdct.c
[6/31] Compiling layer1.c
[7/31] Compiling layer2.c
[8/31] Compiling layer3.c
[9/31] Compiling interface.c
[10/31] Compiling decode_i386.c
[11/31] Compiling dct64_i386.c
[12/31] Compiling common.c
[13/31] Compiling bitstream.c
[14/31] Compiling version.c
[15/31] Compiling mpglib_interface.c
[16/31] Compiling gain_analysis.c
[17/31] Compiling xmm_quantize_sub.c
[18/31] Compiling util.c
[19/31] Compiling fft.c
[20/31] Compiling vbrquantize.c
[21/31] Compiling takehiro.c
[22/31] Compiling tables.c
[23/31] Compiling presets.c
[24/31] Compiling reservoir.c
[25/31] Compiling set_get.c
[26/31] Compiling quantize_pvt.c
[27/31] Compiling VbrTag.c
[28/31] Compiling id3tag.c
[29/31] Compiling quantize.c
[30/31] Compiling psymodel.c
[32/40] Compiling SwiftLAME LameSampleRate.swift
[33/40] Compiling SwiftLAME Lame.swift
[34/40] Compiling SwiftLAME SwiftLameError.swift
[35/40] Compiling SwiftLAME SwiftLameEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLAME/SwiftLameEncoder.swift:28:44: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
26 |
27 | public func encode(priority: TaskPriority = .medium) async throws {
28 | try await Task(priority: priority) {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
29 | try _encode()
| `- note: closure captures 'self' which is accessible to code in the current task
30 | }.value
31 | }
[36/40] Compiling SwiftLAME LameQuality.swift
[37/40] Emitting module SwiftLAME
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLAME/Wrappers/LameBitrateMode.swift:31:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LameVbrMode' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 |
25 | public enum LameVbrMode: UInt32 {
| `- note: consider making enum 'LameVbrMode' conform to the 'Sendable' protocol
26 | case off = 0
27 | case rh = 2
:
29 | case modernRH = 4
30 |
31 | public static let `default`: Self = .modernRH
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LameVbrMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | var lameRepresentation: vbr_mode {
[38/40] Compiling SwiftLAME AVAudioBufferData.swift
[39/40] Compiling SwiftLAME LameConfiguration.swift
[40/40] Compiling SwiftLAME LameBitrateMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLAME/Wrappers/LameBitrateMode.swift:31:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LameVbrMode' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 |
25 | public enum LameVbrMode: UInt32 {
| `- note: consider making enum 'LameVbrMode' conform to the 'Sendable' protocol
26 | case off = 0
27 | case rh = 2
:
29 | case modernRH = 4
30 |
31 | public static let `default`: Self = .modernRH
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LameVbrMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | var lameRepresentation: vbr_mode {
Build complete! (13.12s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftLAME",
"name" : "SwiftLAME",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "SwiftLAME",
"targets" : [
"SwiftLAME"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftLAMETests",
"module_type" : "SwiftTarget",
"name" : "SwiftLAMETests",
"path" : "Tests/SwiftLAMETests",
"sources" : [
"SwiftLAMETests.swift"
],
"target_dependencies" : [
"SwiftLAME"
],
"type" : "test"
},
{
"c99name" : "SwiftLAME",
"module_type" : "SwiftTarget",
"name" : "SwiftLAME",
"path" : "Sources/SwiftLAME",
"product_memberships" : [
"SwiftLAME"
],
"sources" : [
"Models/AVAudioBufferData.swift",
"Models/SwiftLameError.swift",
"SwiftLameEncoder.swift",
"Wrappers/Lame.swift",
"Wrappers/LameBitrateMode.swift",
"Wrappers/LameConfiguration.swift",
"Wrappers/LameQuality.swift",
"Wrappers/LameSampleRate.swift"
],
"target_dependencies" : [
"LAME"
],
"type" : "library"
},
{
"c99name" : "LAME",
"module_type" : "ClangTarget",
"name" : "LAME",
"path" : "Sources/LAME",
"product_memberships" : [
"SwiftLAME"
],
"sources" : [
"libmp3lame/VbrTag.c",
"libmp3lame/bitstream.c",
"libmp3lame/encoder.c",
"libmp3lame/fft.c",
"libmp3lame/gain_analysis.c",
"libmp3lame/id3tag.c",
"libmp3lame/lame.c",
"libmp3lame/mpglib_interface.c",
"libmp3lame/newmdct.c",
"libmp3lame/presets.c",
"libmp3lame/psymodel.c",
"libmp3lame/quantize.c",
"libmp3lame/quantize_pvt.c",
"libmp3lame/reservoir.c",
"libmp3lame/set_get.c",
"libmp3lame/tables.c",
"libmp3lame/takehiro.c",
"libmp3lame/util.c",
"libmp3lame/vbrquantize.c",
"libmp3lame/vector/xmm_quantize_sub.c",
"libmp3lame/version.c",
"mpglib/common.c",
"mpglib/dct64_i386.c",
"mpglib/decode_i386.c",
"mpglib/interface.c",
"mpglib/layer1.c",
"mpglib/layer2.c",
"mpglib/layer3.c",
"mpglib/tabinit.c"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.