[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] checking derinsh/avroast against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fderinsh%2Favroast" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/derinsh/avroast on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc2/source/Cargo.toml [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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e0333377fdf1fa3fb7bfab77fc527d96fb02841d79430bc117158d55154ab91 [INFO] running `Command { std: "docker" "start" "-a" "1e0333377fdf1fa3fb7bfab77fc527d96fb02841d79430bc117158d55154ab91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e0333377fdf1fa3fb7bfab77fc527d96fb02841d79430bc117158d55154ab91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e0333377fdf1fa3fb7bfab77fc527d96fb02841d79430bc117158d55154ab91", kill_on_drop: false }` [INFO] [stdout] 1e0333377fdf1fa3fb7bfab77fc527d96fb02841d79430bc117158d55154ab91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfa67e1dc1c932254e8b98c0052a6c3a14f580b9fbec460e318b6b5654ab150f [INFO] running `Command { std: "docker" "start" "-a" "dfa67e1dc1c932254e8b98c0052a6c3a14f580b9fbec460e318b6b5654ab150f", kill_on_drop: false }` [INFO] [stderr] Checking 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 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] 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] 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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `avroast` (bin "avroast" test) due to 1 previous error; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "dfa67e1dc1c932254e8b98c0052a6c3a14f580b9fbec460e318b6b5654ab150f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfa67e1dc1c932254e8b98c0052a6c3a14f580b9fbec460e318b6b5654ab150f", kill_on_drop: false }` [INFO] [stdout] dfa67e1dc1c932254e8b98c0052a6c3a14f580b9fbec460e318b6b5654ab150f