[INFO] cloning repository https://github.com/kon172verma/porcupine_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kon172verma/porcupine_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkon172verma%2Fporcupine_demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkon172verma%2Fporcupine_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f38a0c8f3d3fc86fe7b10532eb41029935d6873 [INFO] checking kon172verma/porcupine_demo against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkon172verma%2Fporcupine_demo" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kon172verma/porcupine_demo [INFO] finished tweaking git repo https://github.com/kon172verma/porcupine_demo [INFO] tweaked toml for git repo https://github.com/kon172verma/porcupine_demo written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kon172verma/porcupine_demo on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kon172verma/porcupine_demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded objc2-core-audio v0.3.1 [INFO] [stderr] Downloaded cpal v0.16.0 [INFO] [stderr] Downloaded objc2-core-audio-types v0.3.1 [INFO] [stderr] Downloaded objc2 v0.6.1 [INFO] [stderr] Downloaded coreaudio-rs v0.13.0 [INFO] [stderr] Downloaded objc2-audio-toolbox v0.3.1 [INFO] [stderr] Downloaded objc2-foundation v0.3.1 [INFO] [stderr] Downloaded pv_porcupine v1.9.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b6e3fb294101ddc7b637ba92ebd170f482e6723d072bf2e241d18ed3e4994c1 [INFO] running `Command { std: "docker" "start" "-a" "1b6e3fb294101ddc7b637ba92ebd170f482e6723d072bf2e241d18ed3e4994c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b6e3fb294101ddc7b637ba92ebd170f482e6723d072bf2e241d18ed3e4994c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b6e3fb294101ddc7b637ba92ebd170f482e6723d072bf2e241d18ed3e4994c1", kill_on_drop: false }` [INFO] [stdout] 1b6e3fb294101ddc7b637ba92ebd170f482e6723d072bf2e241d18ed3e4994c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03da54cbfaafa09069790994f5b7c5841331306fe973728c662c3139f19aaf27 [INFO] running `Command { std: "docker" "start" "-a" "03da54cbfaafa09069790994f5b7c5841331306fe973728c662c3139f19aaf27", kill_on_drop: false }` [INFO] [stderr] Compiling pv_porcupine v1.9.3 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling cpal v0.16.0 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking porcupine_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `sample_buffer`, `frame_count`, and `frame_length` are never read [INFO] [stdout] --> src/audio.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AudioProcessor { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | sample_buffer: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | frame_count: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | frame_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `device_info` and `config_info` are never used [INFO] [stdout] --> src/audio.rs:413:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl AudioProcessor { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 413 | pub fn device_info(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn config_info(&self) -> (u32, u16, SampleFormat) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `start_capture`, `process_samples_i16`, `process_samples_f32`, `process_samples_u8`, and `process_samples` are never used [INFO] [stdout] --> src/audio.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl AudioProcessor { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn start_capture( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | fn process_samples_i16( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | fn process_samples_f32( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | fn process_samples_u8( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | fn process_samples( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_all_keywords` is never used [INFO] [stdout] --> src/wake_word.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl WakeWordDetector { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn new_all_keywords() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sample_buffer`, `frame_count`, and `frame_length` are never read [INFO] [stdout] --> src/audio.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AudioProcessor { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | sample_buffer: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | frame_count: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | frame_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `start_capture`, `process_samples_i16`, `process_samples_f32`, `process_samples_u8`, and `process_samples` are never used [INFO] [stdout] --> src/audio.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl AudioProcessor { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn start_capture( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | fn process_samples_i16( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | fn process_samples_f32( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | fn process_samples_u8( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | fn process_samples( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `device_info` and `config_info` are never used [INFO] [stdout] --> src/audio.rs:413:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl AudioProcessor { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 413 | pub fn device_info(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn config_info(&self) -> (u32, u16, SampleFormat) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_audio_devices` is never used [INFO] [stdout] --> src/audio.rs:428:8 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn list_audio_devices() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_default`, `new_all_keywords`, and `list_available_keywords` are never used [INFO] [stdout] --> src/wake_word.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl WakeWordDetector { [INFO] [stdout] | --------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn new_default() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn new_all_keywords() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn list_available_keywords() -> Vec<(BuiltinKeywords, &'static str)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.64s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: pv_porcupine v1.9.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "03da54cbfaafa09069790994f5b7c5841331306fe973728c662c3139f19aaf27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03da54cbfaafa09069790994f5b7c5841331306fe973728c662c3139f19aaf27", kill_on_drop: false }` [INFO] [stdout] 03da54cbfaafa09069790994f5b7c5841331306fe973728c662c3139f19aaf27