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 Opus, reference 0.0.2 (5f0164), with Swift 5.10 for macOS (SPM) on 21 Nov 2025 07:24:24 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alta/swift-opus.git
Reference: 0.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alta/swift-opus
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at 5f0164b Merge pull request #12 from alta/dependabot/submodules/Sources/Copus-37aba6e
Submodule path 'Sources/Copus': checked out '37aba6e9b382f7dbdb7916adbc335704cf2992e8'
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 @):
5f0164b8915fb9001265c54413aa0f0efbd3df06
SUCCESS checkout https://github.com/alta/swift-opus.git at 0.0.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/alta/swift-opus.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/138] Compiling cwrs.c
[0/138] Compiling entdec.c
[1/138] Write sources
[3/138] Compiling celt.c
[4/138] Compiling celt_decoder.c
[5/138] Compiling entcode.c
[6/138] Compiling repacketizer.c
[7/138] Compiling bands.c
[8/138] Compiling opus_projection_decoder.c
[9/138] Compiling opus_projection_encoder.c
[10/138] Compiling opus_multistream_encoder.c
[11/138] Compiling opus_multistream.c
[12/138] Write swift-version-33747A42983211AE.txt
[13/138] Compiling opus_multistream_decoder.c
[14/138] Compiling celt_lpc.c
[15/138] Compiling entenc.c
[16/138] Compiling opus.c
/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]
# pragma message "You appear to be compiling without optimization, if so opus will be very slow."
         ^
1 warning generated.
[17/138] Compiling opus_decoder.c
[18/138] Compiling mlp_data.c
[19/138] Compiling mlp.c
[20/138] Compiling mapping_matrix.c
[21/138] Compiling opus_encoder.c
[22/138] Compiling tables_pulses_per_block.c
[23/138] Compiling tables_pitch_lag.c
[24/138] Compiling tables_other.c
[25/138] Compiling analysis.c
[26/138] Compiling tables_gain.c
[27/138] Compiling tables_NLSF_CB_WB.c
[28/138] Compiling tables_NLSF_CB_NB_MB.c
[29/138] Compiling tables_LTP.c
[30/138] Compiling table_LSF_cos.c
[31/138] Compiling sum_sqr_shift.c
[32/138] Compiling stereo_quant_pred.c
[33/138] Compiling stereo_encode_pred.c
[34/138] Compiling stereo_find_predictor.c
[35/138] Compiling stereo_decode_pred.c
[36/138] Compiling stereo_MS_to_LR.c
[37/138] Compiling stereo_LR_to_MS.c
[38/138] Compiling sort.c
[39/138] Compiling sigm_Q15.c
[40/138] Compiling shell_coder.c
[41/138] Compiling resampler_rom.c
[42/138] Compiling resampler_private_up2_HQ.c
[43/138] Compiling kiss_fft.c
[44/138] Compiling resampler_private_IIR_FIR.c
[45/138] Compiling resampler_private_down_FIR.c
[46/138] Compiling resampler_private_AR2.c
[47/138] Compiling resampler_down2_3.c
[48/138] Compiling resampler_down2.c
[49/138] Compiling celt_encoder.c
[50/138] Compiling pitch_est_tables.c
[51/138] Compiling quant_LTP_gains.c
[51/138] Compiling process_NLSFs.c
[53/138] Compiling resampler.c
[54/138] Compiling log2lin.c
[55/138] Compiling lin2log.c
[56/138] Compiling interpolate.c
[57/138] Compiling inner_prod_aligned.c
[58/138] Compiling init_encoder.c
[59/138] Compiling init_decoder.c
[60/138] Compiling gain_quant.c
[61/138] Compiling warped_autocorrelation_FLP.c
[62/138] Compiling sort_FLP.c
[63/138] Compiling wrappers_FLP.c
[64/138] Compiling scale_copy_vector_FLP.c
[65/138] Compiling schur_FLP.c
[66/138] Compiling scale_vector_FLP.c
[67/138] Compiling regularize_correlations_FLP.c
[68/138] Compiling residual_energy_FLP.c
[69/138] Compiling process_gains_FLP.c
[70/138] Compiling pitch_analysis_core_FLP.c
[71/138] Compiling k2a_FLP.c
[72/138] Compiling noise_shape_analysis_FLP.c
[73/138] Compiling inner_product_FLP.c
[74/138] Compiling find_pred_coefs_FLP.c
[75/138] Compiling find_LTP_FLP.c
[76/138] Compiling find_pitch_lags_FLP.c
[77/138] Compiling find_LPC_FLP.c
[78/138] Compiling energy_FLP.c
[79/138] Compiling bwexpander_FLP.c
[80/138] Compiling corrMatrix_FLP.c
[81/138] Compiling autocorrelation_FLP.c
[82/138] Compiling burg_modified_FLP.c
[83/138] Compiling encode_frame_FLP.c
[84/138] Compiling apply_sine_window_FLP.c
[85/138] Compiling LTP_analysis_filter_FLP.c
[86/138] Compiling LTP_scale_ctrl_FLP.c
[87/138] Compiling LPC_inv_pred_gain_FLP.c
[88/138] Compiling LPC_analysis_filter_FLP.c
[89/138] Compiling encode_pulses.c
[90/138] Compiling encode_indices.c
[91/138] Compiling decoder_set_fs.c
[92/138] Compiling decode_pulses.c
[93/138] Compiling enc_API.c
[94/138] Compiling decode_pitch.c
[95/138] Compiling decode_parameters.c
[96/138] Compiling decode_frame.c
[97/138] Compiling decode_indices.c
[98/138] Compiling debug.c
[99/138] Compiling decode_core.c
[100/138] Compiling dec_API.c
[101/138] Compiling control_codec.c
[102/138] Compiling control_audio_bandwidth.c
[103/138] Compiling control_SNR.c
[104/138] Compiling code_signs.c
[105/138] Compiling bwexpander.c
[106/138] Compiling bwexpander_32.c
[107/138] Compiling check_control_input.c
[108/138] Compiling biquad_alt.c
[109/138] Compiling ana_filt_bank_1.c
[110/138] Compiling VQ_WMat_EC.c
[111/138] Compiling VAD.c
[112/138] Compiling NSQ.c
[113/138] Compiling PLC.c
[114/138] Compiling NLSF_unpack.c
[115/138] Compiling NSQ_del_dec.c
[116/138] Compiling NLSF_stabilize.c
[117/138] Compiling NLSF_encode.c
[118/138] Compiling NLSF_del_dec_quant.c
[119/138] Compiling NLSF_decode.c
[120/138] Compiling NLSF_VQ_weights_laroia.c
[121/138] Compiling NLSF_VQ.c
[122/138] Compiling NLSF2A.c
[123/138] Compiling LP_variable_cutoff.c
[124/138] Compiling LPC_fit.c
[125/138] Compiling LPC_inv_pred_gain.c
[126/138] Compiling LPC_analysis_filter.c
[127/138] Compiling HP_variable_cutoff.c
[128/138] Compiling CNG.c
[129/138] Compiling A2NLSF.c
[130/138] Compiling vq.c
[131/138] Compiling rate.c
[132/138] Compiling mathops.c
[133/138] Compiling quant_bands.c
[134/138] Compiling mdct.c
[135/138] Compiling modes.c
[136/138] Compiling laplace.c
[137/138] Compiling pitch.c
[139/147] Compiling Opus Opus.swift
[140/147] Compiling Opus Opus.Error.swift
[141/147] Compiling Opus Opus.Application.swift
[142/147] Compiling Opus Opus.Encoder.swift
[143/147] Compiling Opus Double+Extensions.swift
[144/147] Compiling Opus AVAudioFormat+Extensions.swift
[145/147] Compiling Opus Opus.Decoder.swift
[146/147] Emitting module Opus
[147/147] Compiling Opus AVAudioFrameCount+Extensions.swift
Build complete! (10.66s)
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.