[INFO] fetching crate audio_samples 0.1.0... [INFO] checking audio_samples-0.1.0 against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] extracting crate audio_samples 0.1.0 into /workspace/builds/worker-0-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate audio_samples 0.1.0 on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a6c031cb1da41651bab3b7f318c1df945695f9277ec8935ff9ae75cc894f23b [INFO] running `Command { std: "docker" "start" "-a" "6a6c031cb1da41651bab3b7f318c1df945695f9277ec8935ff9ae75cc894f23b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a6c031cb1da41651bab3b7f318c1df945695f9277ec8935ff9ae75cc894f23b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a6c031cb1da41651bab3b7f318c1df945695f9277ec8935ff9ae75cc894f23b", kill_on_drop: false }` [INFO] [stdout] 6a6c031cb1da41651bab3b7f318c1df945695f9277ec8935ff9ae75cc894f23b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b7c1507a4a0a468bc6a4ca5f85269023a6d5d7b3019ae36e25f72695f451c16 [INFO] running `Command { std: "docker" "start" "-a" "2b7c1507a4a0a468bc6a4ca5f85269023a6d5d7b3019ae36e25f72695f451c16", 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 strength_reduce v0.2.4 [INFO] [stderr] Checking rustc-hash v2.1.1 [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 tracing v0.1.41 [INFO] [stderr] Checking thiserror v2.0.12 [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] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/python/mod.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/python/mod.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [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] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `audio_samples` (lib) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `audio_samples` (lib test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "2b7c1507a4a0a468bc6a4ca5f85269023a6d5d7b3019ae36e25f72695f451c16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b7c1507a4a0a468bc6a4ca5f85269023a6d5d7b3019ae36e25f72695f451c16", kill_on_drop: false }` [INFO] [stdout] 2b7c1507a4a0a468bc6a4ca5f85269023a6d5d7b3019ae36e25f72695f451c16