[INFO] fetching crate lc3-sys 0.1.0... [INFO] checking lc3-sys-0.1.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate lc3-sys 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate lc3-sys 0.1.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lc3-sys 0.1.0 [INFO] finished tweaking crates.io crate lc3-sys 0.1.0 [INFO] tweaked toml for crates.io crate lc3-sys 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 44 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.69.4 (available: v0.70.1) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding which v4.4.2 (available: v6.0.3) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71747aaf0678299cccbc946aba1a53438c23e0ea81010637e232672950fb5509 [INFO] running `Command { std: "docker" "start" "-a" "71747aaf0678299cccbc946aba1a53438c23e0ea81010637e232672950fb5509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71747aaf0678299cccbc946aba1a53438c23e0ea81010637e232672950fb5509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71747aaf0678299cccbc946aba1a53438c23e0ea81010637e232672950fb5509", kill_on_drop: false }` [INFO] [stdout] 71747aaf0678299cccbc946aba1a53438c23e0ea81010637e232672950fb5509 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe020e246c1f95d17c11d558c29ed3f23de552be92e86f0aee0946d1d957c0ff [INFO] running `Command { std: "docker" "start" "-a" "fe020e246c1f95d17c11d558c29ed3f23de552be92e86f0aee0946d1d957c0ff", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling lc3-sys v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stdout] warning: use of deprecated constant `bindgen::CargoCallbacks`: Use `CargoCallbacks::new()` instead. Please, check the documentation for further information. [INFO] [stdout] --> build.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use bindgen::{CargoCallbacks, MacroTypeVariation}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs (18 fixes) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.01s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling lc3-sys v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: use of deprecated constant `bindgen::CargoCallbacks`: Use `CargoCallbacks::new()` instead. Please, check the documentation for further information. [INFO] [stdout] --> build.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use bindgen::{CargoCallbacks, MacroTypeVariation}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:29258 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return the number of PCM samples in a frame\n hrmode Enable High-Resolution mode (48000 and 96000 sample rates)\n dt_us Frame duration in us, 2500, 5000, 7500 or 10000\n sr_hz Sample rate in Hz, 8000, 16000, 24000, 32000, 48000 or 96000\n return Number of PCM samples, -1 on bad parameters"] pub fn lc3_hr_frame_samples (hrmode : bool , dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:29770 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn lc3_frame_samples (dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:29922 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return the size of frames, from bitrate\n hrmode Enable High-Resolution mode (48000 and 96000 sample rates)\n dt_us Frame duration in us, 2500, 5000, 7500 or 10000\n sr_hz Sample rate in Hz, 8000, 16000, 24000, 32000, 48000 or 96000\n bitrate Target bitrate in bit per second, 0 or `INT_MAX` returns\n respectively the minimum and maximum allowed size.\n return The floor size in bytes of the frames, -1 on bad parameters"] pub fn lc3_hr_frame_bytes (hrmode : bool , dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int , bitrate : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:30629 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn lc3_frame_bytes (dt_us : :: std :: os :: raw :: c_int , bitrate : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:30781 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Resolve the bitrate, from the size of frames\n hrmode Enable High-Resolution mode (48000 and 96000 sample rates)\n dt_us Frame duration in us, 2500, 5000, 7500 or 10000\n sr_hz Sample rate in Hz, 8000, 16000, 24000, 32000, 48000 or 96000\n nbytes Size in bytes of the frames, 0 or `INT_MAX` returns\n respectively the minimum and maximum allowed bitrate.\n return The according bitrate in bps, -1 on bad parameters"] pub fn lc3_hr_resolve_bitrate (hrmode : bool , dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int , nbytes : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:31485 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn lc3_resolve_bitrate (dt_us : :: std :: os :: raw :: c_int , nbytes : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:31640 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return algorithmic delay, as a number of samples\n hrmode Enable High-Resolution mode (48000 and 96000 sample rates)\n dt_us Frame duration in us, 2500, 5000, 7500 or 10000\n sr_hz Sample rate in Hz, 8000, 16000, 24000, 32000, 48000 or 96000\n return Number of algorithmic delay samples, -1 on bad parameters"] pub fn lc3_hr_delay_samples (hrmode : bool , dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:29258 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return the number of PCM samples in a frame\n hrmode Enable High-Resolution mode (48000 and 96000 sample rates)\n dt_us Frame duration in us, 2500, 5000, 7500 or 10000\n sr_hz Sample rate in Hz, 8000, 16000, 24000, 32000, 48000 or 96000\n return Number of PCM samples, -1 on bad parameters"] pub fn lc3_hr_frame_samples (hrmode : bool , dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:32171 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn lc3_delay_samples (dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:29770 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn lc3_frame_samples (dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:32323 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return size needed for an encoder\n hrmode Enable High-Resolution mode (48000 and 96000 sample rates)\n dt_us Frame duration in us, 2500, 5000, 7500 or 10000\n sr_hz Sample rate in Hz, 8000, 16000, 24000, 32000, 48000 or 96000\n return Size of then encoder in bytes, 0 on bad parameters\n\n The `sr_hz` parameter is the sample rate of the PCM input stream,\n and will match `sr_pcm_hz` of `lc3_hr_setup_encoder()`."] pub fn lc3_hr_encoder_size (hrmode : bool , dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_uint ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:29922 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return the size of frames, from bitrate\n hrmode Enable High-Resolution mode (48000 and 96000 sample rates)\n dt_us Frame duration in us, 2500, 5000, 7500 or 10000\n sr_hz Sample rate in Hz, 8000, 16000, 24000, 32000, 48000 or 96000\n bitrate Target bitrate in bit per second, 0 or `INT_MAX` returns\n respectively the minimum and maximum allowed size.\n return The floor size in bytes of the frames, -1 on bad parameters"] pub fn lc3_hr_frame_bytes (hrmode : bool , dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int , bitrate : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:32960 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn lc3_encoder_size (dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_uint ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:30629 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn lc3_frame_bytes (dt_us : :: std :: os :: raw :: c_int , bitrate : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:33112 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Setup encoder\n hrmode Enable High-Resolution mode (48000 and 96000 sample rates)\n dt_us Frame duration in us, 2500, 5000, 7500 or 10000\n sr_hz Sample rate in Hz, 8000, 16000, 24000, 32000, 48000 or 96000\n sr_pcm_hz Input sample rate, downsampling option of input, or 0\n mem Encoder memory space, aligned to pointer type\n return Encoder as an handle, NULL on bad parameters\n\n The `sr_pcm_hz` parameter is a downsampling option of PCM input,\n the value `0` fallback to the sample rate of the encoded stream `sr_hz`.\n When used, `sr_pcm_hz` is intended to be higher or equal to the encoder\n sample rate `sr_hz`. The size of the context needed, given by\n `lc3_hr_encoder_size()` will be set accordingly to `sr_pcm_hz`."] pub fn lc3_hr_setup_encoder (hrmode : bool , dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int , sr_pcm_hz : :: std :: os :: raw :: c_int , mem : * mut :: std :: os :: raw :: c_void) -> lc3_encoder_t ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:30781 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Resolve the bitrate, from the size of frames\n hrmode Enable High-Resolution mode (48000 and 96000 sample rates)\n dt_us Frame duration in us, 2500, 5000, 7500 or 10000\n sr_hz Sample rate in Hz, 8000, 16000, 24000, 32000, 48000 or 96000\n nbytes Size in bytes of the frames, 0 or `INT_MAX` returns\n respectively the minimum and maximum allowed bitrate.\n return The according bitrate in bps, -1 on bad parameters"] pub fn lc3_hr_resolve_bitrate (hrmode : bool , dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int , nbytes : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:31485 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn lc3_resolve_bitrate (dt_us : :: std :: os :: raw :: c_int , nbytes : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:34151 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn lc3_setup_encoder (dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int , sr_pcm_hz : :: std :: os :: raw :: c_int , mem : * mut :: std :: os :: raw :: c_void) -> lc3_encoder_t ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:31640 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return algorithmic delay, as a number of samples\n hrmode Enable High-Resolution mode (48000 and 96000 sample rates)\n dt_us Frame duration in us, 2500, 5000, 7500 or 10000\n sr_hz Sample rate in Hz, 8000, 16000, 24000, 32000, 48000 or 96000\n return Number of algorithmic delay samples, -1 on bad parameters"] pub fn lc3_hr_delay_samples (hrmode : bool , dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:34375 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Encode a frame\n encoder Handle of the encoder\n fmt PCM input format\n pcm, stride Input PCM samples, and count between two consecutives\n nbytes Target size, in bytes, of the frame\n out Output buffer of `nbytes` size\n return 0: On success -1: Wrong parameters"] pub fn lc3_encode (encoder : lc3_encoder_t , fmt : lc3_pcm_format , pcm : * const :: std :: os :: raw :: c_void , stride : :: std :: os :: raw :: c_int , nbytes : :: std :: os :: raw :: c_int , out : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:32171 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn lc3_delay_samples (dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:34993 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return size needed for an decoder\n hrmode Enable High-Resolution mode (48000 and 96000 sample rates)\n dt_us Frame duration in us, 2500, 5000, 7500 or 10000\n sr_hz Sample rate in Hz, 8000, 16000, 24000, 32000, 48000 or 96000\n return Size of then decoder in bytes, 0 on bad parameters\n\n The `sr_hz` parameter is the sample rate of the PCM output stream,\n and will match `sr_pcm_hz` of `lc3_hr_setup_decoder()`."] pub fn lc3_hr_decoder_size (hrmode : bool , dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_uint ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:32323 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return size needed for an encoder\n hrmode Enable High-Resolution mode (48000 and 96000 sample rates)\n dt_us Frame duration in us, 2500, 5000, 7500 or 10000\n sr_hz Sample rate in Hz, 8000, 16000, 24000, 32000, 48000 or 96000\n return Size of then encoder in bytes, 0 on bad parameters\n\n The `sr_hz` parameter is the sample rate of the PCM input stream,\n and will match `sr_pcm_hz` of `lc3_hr_setup_encoder()`."] pub fn lc3_hr_encoder_size (hrmode : bool , dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_uint ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:35631 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn lc3_decoder_size (dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_uint ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:32960 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn lc3_encoder_size (dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_uint ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:35783 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Setup decoder\n hrmode Enable High-Resolution mode (48000 and 96000 sample rates)\n dt_us Frame duration in us, 2500, 5000, 7500 or 10000\n sr_hz Sample rate in Hz, 8000, 16000, 24000, 32000, 48000 or 96000\n sr_pcm_hz Output sample rate, upsampling option of output (or 0)\n mem Decoder memory space, aligned to pointer type\n return Decoder as an handle, NULL on bad parameters\n\n The `sr_pcm_hz` parameter is an upsampling option of PCM output,\n the value `0` fallback to the sample rate of the decoded stream `sr_hz`.\n When used, `sr_pcm_hz` is intended to be higher or equal to the decoder\n sample rate `sr_hz`. The size of the context needed, given by\n `lc3_hr_decoder_size()` will be set accordingly to `sr_pcm_hz`."] pub fn lc3_hr_setup_decoder (hrmode : bool , dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int , sr_pcm_hz : :: std :: os :: raw :: c_int , mem : * mut :: std :: os :: raw :: c_void) -> lc3_decoder_t ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:33112 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Setup encoder\n hrmode Enable High-Resolution mode (48000 and 96000 sample rates)\n dt_us Frame duration in us, 2500, 5000, 7500 or 10000\n sr_hz Sample rate in Hz, 8000, 16000, 24000, 32000, 48000 or 96000\n sr_pcm_hz Input sample rate, downsampling option of input, or 0\n mem Encoder memory space, aligned to pointer type\n return Encoder as an handle, NULL on bad parameters\n\n The `sr_pcm_hz` parameter is a downsampling option of PCM input,\n the value `0` fallback to the sample rate of the encoded stream `sr_hz`.\n When used, `sr_pcm_hz` is intended to be higher or equal to the encoder\n sample rate `sr_hz`. The size of the context needed, given by\n `lc3_hr_encoder_size()` will be set accordingly to `sr_pcm_hz`."] pub fn lc3_hr_setup_encoder (hrmode : bool , dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int , sr_pcm_hz : :: std :: os :: raw :: c_int , mem : * mut :: std :: os :: raw :: c_void) -> lc3_encoder_t ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:36823 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn lc3_setup_decoder (dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int , sr_pcm_hz : :: std :: os :: raw :: c_int , mem : * mut :: std :: os :: raw :: c_void) -> lc3_decoder_t ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:34151 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn lc3_setup_encoder (dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int , sr_pcm_hz : :: std :: os :: raw :: c_int , mem : * mut :: std :: os :: raw :: c_void) -> lc3_encoder_t ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:37047 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Decode a frame\n decoder Handle of the decoder\n in, nbytes Input bitstream, and size in bytes, NULL performs PLC\n fmt PCM output format\n pcm, stride Output PCM samples, and count between two consecutives\n return 0: On success 1: PLC operated -1: Wrong parameters"] pub fn lc3_decode (decoder : lc3_decoder_t , in_ : * const :: std :: os :: raw :: c_void , nbytes : :: std :: os :: raw :: c_int , fmt : lc3_pcm_format , pcm : * mut :: std :: os :: raw :: c_void , stride : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:34375 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Encode a frame\n encoder Handle of the encoder\n fmt PCM input format\n pcm, stride Input PCM samples, and count between two consecutives\n nbytes Target size, in bytes, of the frame\n out Output buffer of `nbytes` size\n return 0: On success -1: Wrong parameters"] pub fn lc3_encode (encoder : lc3_encoder_t , fmt : lc3_pcm_format , pcm : * const :: std :: os :: raw :: c_void , stride : :: std :: os :: raw :: c_int , nbytes : :: std :: os :: raw :: c_int , out : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:34993 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return size needed for an decoder\n hrmode Enable High-Resolution mode (48000 and 96000 sample rates)\n dt_us Frame duration in us, 2500, 5000, 7500 or 10000\n sr_hz Sample rate in Hz, 8000, 16000, 24000, 32000, 48000 or 96000\n return Size of then decoder in bytes, 0 on bad parameters\n\n The `sr_hz` parameter is the sample rate of the PCM output stream,\n and will match `sr_pcm_hz` of `lc3_hr_setup_decoder()`."] pub fn lc3_hr_decoder_size (hrmode : bool , dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_uint ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:35631 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn lc3_decoder_size (dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_uint ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:35783 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Setup decoder\n hrmode Enable High-Resolution mode (48000 and 96000 sample rates)\n dt_us Frame duration in us, 2500, 5000, 7500 or 10000\n sr_hz Sample rate in Hz, 8000, 16000, 24000, 32000, 48000 or 96000\n sr_pcm_hz Output sample rate, upsampling option of output (or 0)\n mem Decoder memory space, aligned to pointer type\n return Decoder as an handle, NULL on bad parameters\n\n The `sr_pcm_hz` parameter is an upsampling option of PCM output,\n the value `0` fallback to the sample rate of the decoded stream `sr_hz`.\n When used, `sr_pcm_hz` is intended to be higher or equal to the decoder\n sample rate `sr_hz`. The size of the context needed, given by\n `lc3_hr_decoder_size()` will be set accordingly to `sr_pcm_hz`."] pub fn lc3_hr_setup_decoder (hrmode : bool , dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int , sr_pcm_hz : :: std :: os :: raw :: c_int , mem : * mut :: std :: os :: raw :: c_void) -> lc3_decoder_t ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:36823 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn lc3_setup_decoder (dt_us : :: std :: os :: raw :: c_int , sr_hz : :: std :: os :: raw :: c_int , sr_pcm_hz : :: std :: os :: raw :: c_int , mem : * mut :: std :: os :: raw :: c_void) -> lc3_decoder_t ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lc3-sys-cbf28cd5c79bb20c/out/bindings.rs:3:37047 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Decode a frame\n decoder Handle of the decoder\n in, nbytes Input bitstream, and size in bytes, NULL performs PLC\n fmt PCM output format\n pcm, stride Output PCM samples, and count between two consecutives\n return 0: On success 1: PLC operated -1: Wrong parameters"] pub fn lc3_decode (decoder : lc3_decoder_t , in_ : * const :: std :: os :: raw :: c_void , nbytes : :: std :: os :: raw :: c_int , fmt : lc3_pcm_format , pcm : * mut :: std :: os :: raw :: c_void , stride : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lc3-sys` (lib) due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lc3-sys` (lib test) due to 19 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "fe020e246c1f95d17c11d558c29ed3f23de552be92e86f0aee0946d1d957c0ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe020e246c1f95d17c11d558c29ed3f23de552be92e86f0aee0946d1d957c0ff", kill_on_drop: false }` [INFO] [stdout] fe020e246c1f95d17c11d558c29ed3f23de552be92e86f0aee0946d1d957c0ff