[INFO] cloning repository https://github.com/derinsh/avroast [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/derinsh/avroast" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fderinsh%2Favroast", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fderinsh%2Favroast'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3813a7a3b192fc12bf9e2a5d6ff087015ba77d84 [INFO] testing derinsh/avroast against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fderinsh%2Favroast" "/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/derinsh/avroast [INFO] finished tweaking git repo https://github.com/derinsh/avroast [INFO] tweaked toml for git repo https://github.com/derinsh/avroast written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/derinsh/avroast on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/derinsh/avroast 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "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 [ERROR] error running command: no output for 300 seconds [INFO] testing derinsh/avroast against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fderinsh%2Favroast" "/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/derinsh/avroast [INFO] finished tweaking git repo https://github.com/derinsh/avroast [INFO] tweaked toml for git repo https://github.com/derinsh/avroast written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/derinsh/avroast on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/derinsh/avroast 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "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] 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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d84fcaec31332871d8db128e0520cde7ac98e659fe2b537b25701f5fb706c3e [INFO] running `Command { std: "docker" "start" "-a" "9d84fcaec31332871d8db128e0520cde7ac98e659fe2b537b25701f5fb706c3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d84fcaec31332871d8db128e0520cde7ac98e659fe2b537b25701f5fb706c3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d84fcaec31332871d8db128e0520cde7ac98e659fe2b537b25701f5fb706c3e", kill_on_drop: false }` [INFO] [stdout] 9d84fcaec31332871d8db128e0520cde7ac98e659fe2b537b25701f5fb706c3e [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ffe2ec38a283628a7e2583ad9d6bb5c660f44dc44696af797975ba8fc833227 [INFO] running `Command { std: "docker" "start" "-a" "8ffe2ec38a283628a7e2583ad9d6bb5c660f44dc44696af797975ba8fc833227", kill_on_drop: false }` [INFO] [stderr] Compiling avroast v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::prelude; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/av/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/bit/pcm.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | data : &mut [i64], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `datasize` [INFO] [stdout] --> src/bit/pcm.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | datasize : &u64, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_datasize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/bit/pcm.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | params : &WavParams) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bit/pcm.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | let (mut n_ch, mut s_rate, mut b_depth, mut samples) : (i8, i32, i8, i64) = (0,0,0,0); [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/bit/pcm.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | let (mut n_ch, mut s_rate, mut b_depth, mut samples) : (i8, i32, i8, i64) = (0,0,0,0); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bit/pcm.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | let (mut n_ch, mut s_rate, mut b_depth, mut samples) : (i8, i32, i8, i64) = (0,0,0,0); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bit/pcm.rs:18:45 [INFO] [stdout] | [INFO] [stdout] 18 | let (mut n_ch, mut s_rate, mut b_depth, mut samples) : (i8, i32, i8, i64) = (0,0,0,0); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/bit/pcm.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | fn read_wav_header(reader : &BufReader, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_ch` [INFO] [stdout] --> src/bit/pcm.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | mut n_ch : &i8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_n_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_rate` [INFO] [stdout] --> src/bit/pcm.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | mut s_rate : &i32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_s_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_depth` [INFO] [stdout] --> src/bit/pcm.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | mut b_depth : &i8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `samples` [INFO] [stdout] --> src/bit/pcm.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | mut samples : &i64) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_samples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bit/pcm.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | mut n_ch : &i8, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bit/pcm.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | mut s_rate : &i32, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bit/pcm.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | mut b_depth : &i8, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bit/pcm.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | mut samples : &i64) [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/cli/mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn main(args : Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `command` [INFO] [stdout] --> src/main.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 22 | let command : Vec = env::args().collect(); [INFO] [stdout] | ------- move occurs because `command` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] 23 | let parsed = parse(command); [INFO] [stdout] | ------- value moved here [INFO] [stdout] ... [INFO] [stdout] 27 | cli::main(command) [INFO] [stdout] | ^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `parse` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/main.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | fn parse(cmd : Vec) -> HashMap { [INFO] [stdout] | ----- ^^^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 23 | let parsed = parse(command.clone()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/main.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | fn parse(cmd : Vec) -> HashMap { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `avroast` (bin "avroast") due to 1 previous error; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8ffe2ec38a283628a7e2583ad9d6bb5c660f44dc44696af797975ba8fc833227", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ffe2ec38a283628a7e2583ad9d6bb5c660f44dc44696af797975ba8fc833227", kill_on_drop: false }` [INFO] [stdout] 8ffe2ec38a283628a7e2583ad9d6bb5c660f44dc44696af797975ba8fc833227