[INFO] fetching crate audio_samples 0.1.0... [INFO] checking audio_samples-0.1.0 against master#42f4793e5a514858221b07ac379029d90353913e for pr-148952 [INFO] extracting crate audio_samples 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate audio_samples 0.1.0 [INFO] finished tweaking crates.io crate audio_samples 0.1.0 [INFO] tweaked toml for crates.io crate audio_samples 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate audio_samples 0.1.0 on toolchain 42f4793e5a514858221b07ac379029d90353913e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate audio_samples 0.1.0 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" "+42f4793e5a514858221b07ac379029d90353913e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-build-config v0.24.2 [INFO] [stderr] Downloaded approx_eq v0.1.8 [INFO] [stderr] Downloaded inventory v0.3.20 [INFO] [stderr] Downloaded pyo3-macros v0.24.2 [INFO] [stderr] Downloaded pyo3-ffi v0.24.2 [INFO] [stderr] Downloaded pyo3-macros-backend v0.24.2 [INFO] [stderr] Downloaded numpy v0.24.0 [INFO] [stderr] Downloaded rustfft v6.4.0 [INFO] [stderr] Downloaded i24 v2.1.0 [INFO] [stderr] Downloaded pyo3 v0.24.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4996caf22504703d4d4e162b4cf24546b92cc34aef69a4640abc42fc2aa4af00 [INFO] running `Command { std: "docker" "start" "-a" "4996caf22504703d4d4e162b4cf24546b92cc34aef69a4640abc42fc2aa4af00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4996caf22504703d4d4e162b4cf24546b92cc34aef69a4640abc42fc2aa4af00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4996caf22504703d4d4e162b4cf24546b92cc34aef69a4640abc42fc2aa4af00", kill_on_drop: false }` [INFO] [stdout] 4996caf22504703d4d4e162b4cf24546b92cc34aef69a4640abc42fc2aa4af00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45c25b8ad4e405508d26133f4a2a9954255aba21a6450b1c7a6fdbcddeffaf9d [INFO] running `Command { std: "docker" "start" "-a" "45c25b8ad4e405508d26133f4a2a9954255aba21a6450b1c7a6fdbcddeffaf9d", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking inventory v0.3.20 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Checking approx_eq v0.1.8 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking primal-check v0.3.4 [INFO] [stderr] Checking transpose v0.2.3 [INFO] [stderr] Checking rustfft v6.4.0 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Compiling pyo3-build-config v0.24.2 [INFO] [stderr] Compiling pyo3-ffi v0.24.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.24.2 [INFO] [stderr] Compiling pyo3 v0.24.2 [INFO] [stderr] Compiling numpy v0.24.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling pyo3-macros v0.24.2 [INFO] [stderr] Checking i24 v2.1.0 [INFO] [stderr] Checking audio_samples v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `copy` [INFO] [stdout] --> src/python/mod.rs:772:55 [INFO] [stdout] | [INFO] [stdout] 772 | fn from_numpy(array: &Bound, sample_rate: u32, copy: bool) -> PyResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_copy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I24` is never constructed [INFO] [stdout] --> src/python/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) enum AudioSamplesData { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 28 | I24(AudioSamples), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AudioSamplesData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `data` is never used [INFO] [stdout] --> src/python/mod.rs:1051:19 [INFO] [stdout] | [INFO] [stdout] 1049 | impl PyAudioSamples { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 1050 | /// Get a reference to the inner AudioSamplesData for use in submodules [INFO] [stdout] 1051 | pub(crate) fn data(&self) -> &crate::python::AudioSamplesData { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dtype_impl` is never used [INFO] [stdout] --> src/python/conversions.rs:340:19 [INFO] [stdout] | [INFO] [stdout] 49 | impl PyAudioSamples { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 340 | pub(crate) fn dtype_impl(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec_to_pylist_f64` is never used [INFO] [stdout] --> src/python/utils.rs:371:8 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn vec_to_pylist_f64(py: Python, vec: Vec) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/operations/types.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Clone, PartialEq, Copy)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 62 | Custom(fn(f64) -> f64), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `copy` [INFO] [stdout] --> src/python/mod.rs:772:55 [INFO] [stdout] | [INFO] [stdout] 772 | fn from_numpy(array: &Bound, sample_rate: u32, copy: bool) -> PyResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_copy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I24` is never constructed [INFO] [stdout] --> src/python/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) enum AudioSamplesData { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 28 | I24(AudioSamples), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AudioSamplesData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `data` is never used [INFO] [stdout] --> src/python/mod.rs:1051:19 [INFO] [stdout] | [INFO] [stdout] 1049 | impl PyAudioSamples { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 1050 | /// Get a reference to the inner AudioSamplesData for use in submodules [INFO] [stdout] 1051 | pub(crate) fn data(&self) -> &crate::python::AudioSamplesData { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dtype_impl` is never used [INFO] [stdout] --> src/python/conversions.rs:340:19 [INFO] [stdout] | [INFO] [stdout] 49 | impl PyAudioSamples { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 340 | pub(crate) fn dtype_impl(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec_to_pylist_f64` is never used [INFO] [stdout] --> src/python/utils.rs:371:8 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn vec_to_pylist_f64(py: Python, vec: Vec) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/operations/types.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug, Clone, PartialEq, Copy)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 62 | Custom(fn(f64) -> f64), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.47s [INFO] running `Command { std: "docker" "inspect" "45c25b8ad4e405508d26133f4a2a9954255aba21a6450b1c7a6fdbcddeffaf9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45c25b8ad4e405508d26133f4a2a9954255aba21a6450b1c7a6fdbcddeffaf9d", kill_on_drop: false }` [INFO] [stdout] 45c25b8ad4e405508d26133f4a2a9954255aba21a6450b1c7a6fdbcddeffaf9d