The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Opus, reference main (6f3cb6), with Swift 6.4 for macOS (SPM) on 23 Sep 2026 10:54:06 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alta/swift-opus.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alta/swift-opus
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6f3cb6b Merge pull request #37 from msdrigg/main
Submodule path 'Sources/Copus': checked out '101a71e03bbf860aaafb7090a0e440675cb27660'
Submodule 'Sources/Copus' (https://github.com/xiph/opus.git) registered for path 'Sources/Copus'
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/Copus'...
Cloned https://github.com/alta/swift-opus.git
Revision (git rev-parse @):
6f3cb6bd3ffed1fe5f06d00a962d5c191a50daf8
SUCCESS checkout https://github.com/alta/swift-opus.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/alta/swift-opus.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 154]
[Planning deferred tasks]
[27 / 319] Opus
[36 / 319]
[46 / 320] Copus
[88 / 330] Copus
[151 / 330] Copus
[183 / 330]
[202 / 330] Copus
[220 / 330] Copus
[244 / 330] Copus
[261 / 330] Copus
[279 / 330] Copus
[288 / 330]
[306 / 330] Copus
[319 / 330] Copus
[321 / 348]
[331 / 400]
[337 / 400]
[342 / 400]
[344 / 400]
[349 / 400]
[350 / 400]
[352 / 400]
[354 / 400]
[359 / 400]
[362 / 400]
[364 / 400]
[365 / 400]
[372 / 400]
[373 / 400]
[374 / 400]
[378 / 400]
[381 / 400]
[382 / 400]
[391 / 400] Opus
[397 / 400] Opus
Build complete! (11.05 sec)
/Users/admin/builder/spi-builder-workspace/Sources/Copus/src/opus_multistream_encoder.c:724:133: warning: implicit conversion loses integer precision: 'opus_int64' (aka 'long long') to 'opus_int32' (aka 'int') [-Wshorten-64-to-32]
  724 |    channel_rate = 256*(opus_int64)(bitrate - lfe_offset*nb_lfe - stream_offset*(nb_coupled+nb_uncoupled) - channel_offset*nb_normal)/total;
      |                 ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
1 warning generated.
/Users/admin/builder/spi-builder-workspace/Sources/Copus/src/opus_decoder.c:37:10: warning: You appear to be compiling without optimization, if so opus will be very slow. [-W#pragma-messages]
   37 | # pragma message "You appear to be compiling without optimization, if so opus will be very slow."
      |          ^
1 warning generated.
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Opus",
  "name" : "Opus",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Copus",
      "targets" : [
        "Copus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Opus",
      "targets" : [
        "Opus",
        "Copus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OpusTests",
      "module_type" : "SwiftTarget",
      "name" : "OpusTests",
      "path" : "Tests/OpusTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/OpusTests/Resources",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AVAudioFormatTests.swift",
        "OpusApplicationTests.swift",
        "OpusDecoderTests.swift",
        "OpusEncoderTests.swift",
        "OpusErrorTests.swift",
        "OpusRoundTripTests.swift",
        "OpusTests.swift"
      ],
      "target_dependencies" : [
        "Opus"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Opus",
      "module_type" : "SwiftTarget",
      "name" : "Opus",
      "path" : "Sources/Opus",
      "product_memberships" : [
        "Opus"
      ],
      "sources" : [
        "AVAudioFormat+Extensions.swift",
        "AVAudioFrameCount+Extensions.swift",
        "Double+Extensions.swift",
        "Opus.Application.swift",
        "Opus.Decoder.swift",
        "Opus.Encoder.swift",
        "Opus.Error.swift",
        "Opus.swift"
      ],
      "target_dependencies" : [
        "Copus"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Copus",
      "module_type" : "ClangTarget",
      "name" : "Copus",
      "path" : "Sources/Copus",
      "product_memberships" : [
        "Copus",
        "Opus"
      ],
      "sources" : [
        "celt/bands.c",
        "celt/celt.c",
        "celt/celt_decoder.c",
        "celt/celt_encoder.c",
        "celt/celt_lpc.c",
        "celt/cwrs.c",
        "celt/entcode.c",
        "celt/entdec.c",
        "celt/entenc.c",
        "celt/kiss_fft.c",
        "celt/laplace.c",
        "celt/mathops.c",
        "celt/mdct.c",
        "celt/modes.c",
        "celt/pitch.c",
        "celt/quant_bands.c",
        "celt/rate.c",
        "celt/vq.c",
        "silk/A2NLSF.c",
        "silk/CNG.c",
        "silk/HP_variable_cutoff.c",
        "silk/LPC_analysis_filter.c",
        "silk/LPC_fit.c",
        "silk/LPC_inv_pred_gain.c",
        "silk/LP_variable_cutoff.c",
        "silk/NLSF2A.c",
        "silk/NLSF_VQ.c",
        "silk/NLSF_VQ_weights_laroia.c",
        "silk/NLSF_decode.c",
        "silk/NLSF_del_dec_quant.c",
        "silk/NLSF_encode.c",
        "silk/NLSF_stabilize.c",
        "silk/NLSF_unpack.c",
        "silk/NSQ.c",
        "silk/NSQ_del_dec.c",
        "silk/PLC.c",
        "silk/VAD.c",
        "silk/VQ_WMat_EC.c",
        "silk/ana_filt_bank_1.c",
        "silk/biquad_alt.c",
        "silk/bwexpander.c",
        "silk/bwexpander_32.c",
        "silk/check_control_input.c",
        "silk/code_signs.c",
        "silk/control_SNR.c",
        "silk/control_audio_bandwidth.c",
        "silk/control_codec.c",
        "silk/debug.c",
        "silk/dec_API.c",
        "silk/decode_core.c",
        "silk/decode_frame.c",
        "silk/decode_indices.c",
        "silk/decode_parameters.c",
        "silk/decode_pitch.c",
        "silk/decode_pulses.c",
        "silk/decoder_set_fs.c",
        "silk/enc_API.c",
        "silk/encode_indices.c",
        "silk/encode_pulses.c",
        "silk/float/LPC_analysis_filter_FLP.c",
        "silk/float/LPC_inv_pred_gain_FLP.c",
        "silk/float/LTP_analysis_filter_FLP.c",
        "silk/float/LTP_scale_ctrl_FLP.c",
        "silk/float/apply_sine_window_FLP.c",
        "silk/float/autocorrelation_FLP.c",
        "silk/float/burg_modified_FLP.c",
        "silk/float/bwexpander_FLP.c",
        "silk/float/corrMatrix_FLP.c",
        "silk/float/encode_frame_FLP.c",
        "silk/float/energy_FLP.c",
        "silk/float/find_LPC_FLP.c",
        "silk/float/find_LTP_FLP.c",
        "silk/float/find_pitch_lags_FLP.c",
        "silk/float/find_pred_coefs_FLP.c",
        "silk/float/inner_product_FLP.c",
        "silk/float/k2a_FLP.c",
        "silk/float/noise_shape_analysis_FLP.c",
        "silk/float/pitch_analysis_core_FLP.c",
        "silk/float/process_gains_FLP.c",
        "silk/float/regularize_correlations_FLP.c",
        "silk/float/residual_energy_FLP.c",
        "silk/float/scale_copy_vector_FLP.c",
        "silk/float/scale_vector_FLP.c",
        "silk/float/schur_FLP.c",
        "silk/float/sort_FLP.c",
        "silk/float/warped_autocorrelation_FLP.c",
        "silk/float/wrappers_FLP.c",
        "silk/gain_quant.c",
        "silk/init_decoder.c",
        "silk/init_encoder.c",
        "silk/inner_prod_aligned.c",
        "silk/interpolate.c",
        "silk/lin2log.c",
        "silk/log2lin.c",
        "silk/pitch_est_tables.c",
        "silk/process_NLSFs.c",
        "silk/quant_LTP_gains.c",
        "silk/resampler.c",
        "silk/resampler_down2.c",
        "silk/resampler_down2_3.c",
        "silk/resampler_private_AR2.c",
        "silk/resampler_private_IIR_FIR.c",
        "silk/resampler_private_down_FIR.c",
        "silk/resampler_private_up2_HQ.c",
        "silk/resampler_rom.c",
        "silk/shell_coder.c",
        "silk/sigm_Q15.c",
        "silk/sort.c",
        "silk/stereo_LR_to_MS.c",
        "silk/stereo_MS_to_LR.c",
        "silk/stereo_decode_pred.c",
        "silk/stereo_encode_pred.c",
        "silk/stereo_find_predictor.c",
        "silk/stereo_quant_pred.c",
        "silk/sum_sqr_shift.c",
        "silk/table_LSF_cos.c",
        "silk/tables_LTP.c",
        "silk/tables_NLSF_CB_NB_MB.c",
        "silk/tables_NLSF_CB_WB.c",
        "silk/tables_gain.c",
        "silk/tables_other.c",
        "silk/tables_pitch_lag.c",
        "silk/tables_pulses_per_block.c",
        "src/analysis.c",
        "src/mapping_matrix.c",
        "src/mlp.c",
        "src/mlp_data.c",
        "src/opus.c",
        "src/opus_decoder.c",
        "src/opus_encoder.c",
        "src/opus_multistream.c",
        "src/opus_multistream_decoder.c",
        "src/opus_multistream_encoder.c",
        "src/opus_projection_decoder.c",
        "src/opus_projection_encoder.c",
        "src/repacketizer.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.