[INFO] cloning repository https://github.com/tuna2134/krnksampler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tuna2134/krnksampler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuna2134%2Fkrnksampler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuna2134%2Fkrnksampler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3526a0d9158f29d67b0f38065aa16ba1720eaaed [INFO] checking tuna2134/krnksampler against try#028201683a76a5cd349729c6819c46607119c4e8 for pr-144157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuna2134%2Fkrnksampler" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tuna2134/krnksampler [INFO] finished tweaking git repo https://github.com/tuna2134/krnksampler [INFO] tweaked toml for git repo https://github.com/tuna2134/krnksampler written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tuna2134/krnksampler on toolchain 028201683a76a5cd349729c6819c46607119c4e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tuna2134/krnksampler 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" "+028201683a76a5cd349729c6819c46607119c4e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking tuna2134/krnksampler against try#028201683a76a5cd349729c6819c46607119c4e8 for pr-144157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuna2134%2Fkrnksampler" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tuna2134/krnksampler [INFO] finished tweaking git repo https://github.com/tuna2134/krnksampler [INFO] tweaked toml for git repo https://github.com/tuna2134/krnksampler written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tuna2134/krnksampler on toolchain 028201683a76a5cd349729c6819c46607119c4e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tuna2134/krnksampler 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" "+028201683a76a5cd349729c6819c46607119c4e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ac-ffmpeg v0.18.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] feac229e7a31fa258ffa1b3804c2eb2d3dc4a1eb71cc0babe58120df755f918b [INFO] running `Command { std: "docker" "start" "-a" "feac229e7a31fa258ffa1b3804c2eb2d3dc4a1eb71cc0babe58120df755f918b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "feac229e7a31fa258ffa1b3804c2eb2d3dc4a1eb71cc0babe58120df755f918b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feac229e7a31fa258ffa1b3804c2eb2d3dc4a1eb71cc0babe58120df755f918b", kill_on_drop: false }` [INFO] [stdout] feac229e7a31fa258ffa1b3804c2eb2d3dc4a1eb71cc0babe58120df755f918b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1da776e862499ab1eb6389665c4f1a4fd287f095777bcc9b32b88d84913daeb4 [INFO] running `Command { std: "docker" "start" "-a" "1da776e862499ab1eb6389665c4f1a4fd287f095777bcc9b32b88d84913daeb4", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling pyo3-build-config v0.19.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling ac-ffmpeg v0.18.1 [INFO] [stderr] Compiling pyo3-ffi v0.19.2 [INFO] [stderr] Compiling pyo3 v0.19.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.2 [INFO] [stderr] Compiling pyo3-macros v0.19.2 [INFO] [stderr] Checking krnksampler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `AudioFrameMut` [INFO] [stdout] --> src/sampler.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use ac_ffmpeg::codec::audio::{AudioDecoder, AudioFrameMut, AudioResampler, ChannelLayout}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyo3::types::PyBytes` [INFO] [stdout] --> src/sampler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use pyo3::types::PyBytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AudioFrameMut` [INFO] [stdout] --> src/sampler.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use ac_ffmpeg::codec::audio::{AudioDecoder, AudioFrameMut, AudioResampler, ChannelLayout}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyo3::types::PyBytes` [INFO] [stdout] --> src/sampler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use pyo3::types::PyBytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/sampler.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn resample<'a>(py: Python<'a>, data: &'a [u8]) -> PyResult<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/sampler.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn resample<'a>(py: Python<'a>, data: &'a [u8]) -> PyResult<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sampler.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut data = Cursor::new(data); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sampler.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut io = IO::from_seekable_read_stream(data.clone()); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `frame` does not live long enough [INFO] [stdout] --> src/sampler.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 50 | while let Some(frame) = resampler.take().unwrap() { [INFO] [stdout] | ----- binding `frame` declared here [INFO] [stdout] 51 | for plane in frame.planes().iter() { [INFO] [stdout] | ^^^^^ borrowed value does not live long enough [INFO] [stdout] 52 | result.push(plane.data().clone()); [INFO] [stdout] | ------ borrow later used here [INFO] [stdout] 53 | } [INFO] [stdout] 54 | } [INFO] [stdout] | - `frame` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sampler.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut data = Cursor::new(data); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/sampler.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | for plane in frame.planes().iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 52 | result.push(plane.data().clone()); [INFO] [stdout] | ------ borrow later used here [INFO] [stdout] 53 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sampler.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut io = IO::from_seekable_read_stream(data.clone()); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `frame` does not live long enough [INFO] [stdout] --> src/sampler.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 50 | while let Some(frame) = resampler.take().unwrap() { [INFO] [stdout] | ----- binding `frame` declared here [INFO] [stdout] 51 | for plane in frame.planes().iter() { [INFO] [stdout] | ^^^^^ borrowed value does not live long enough [INFO] [stdout] 52 | result.push(plane.data().clone()); [INFO] [stdout] | ------ borrow later used here [INFO] [stdout] 53 | } [INFO] [stdout] 54 | } [INFO] [stdout] | - `frame` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/sampler.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | for plane in frame.planes().iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 52 | result.push(plane.data().clone()); [INFO] [stdout] | ------ borrow later used here [INFO] [stdout] 53 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0597, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0597, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `krnksampler` (lib test) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `krnksampler` (lib) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1da776e862499ab1eb6389665c4f1a4fd287f095777bcc9b32b88d84913daeb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1da776e862499ab1eb6389665c4f1a4fd287f095777bcc9b32b88d84913daeb4", kill_on_drop: false }` [INFO] [stdout] 1da776e862499ab1eb6389665c4f1a4fd287f095777bcc9b32b88d84913daeb4