[INFO] cloning repository https://github.com/benjaminmishra/file_mgmt_cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/benjaminmishra/file_mgmt_cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjaminmishra%2Ffile_mgmt_cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjaminmishra%2Ffile_mgmt_cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c661481544154c080be4128252e5761c864b52fd [INFO] checking benjaminmishra/file_mgmt_cli against master#3139ff09e9d07f7700f8d15ed25a231e29c43627 for pr-121848-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjaminmishra%2Ffile_mgmt_cli" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/benjaminmishra/file_mgmt_cli on toolchain 3139ff09e9d07f7700f8d15ed25a231e29c43627 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3139ff09e9d07f7700f8d15ed25a231e29c43627" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/benjaminmishra/file_mgmt_cli [INFO] finished tweaking git repo https://github.com/benjaminmishra/file_mgmt_cli [INFO] tweaked toml for git repo https://github.com/benjaminmishra/file_mgmt_cli written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/benjaminmishra/file_mgmt_cli 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" "+3139ff09e9d07f7700f8d15ed25a231e29c43627" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking benjaminmishra/file_mgmt_cli against try#a2cff3b7a9661c90ec0d581d3f3a69bb97c11138 for pr-121848-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjaminmishra%2Ffile_mgmt_cli" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/benjaminmishra/file_mgmt_cli on toolchain a2cff3b7a9661c90ec0d581d3f3a69bb97c11138 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2cff3b7a9661c90ec0d581d3f3a69bb97c11138" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/benjaminmishra/file_mgmt_cli [INFO] finished tweaking git repo https://github.com/benjaminmishra/file_mgmt_cli [INFO] tweaked toml for git repo https://github.com/benjaminmishra/file_mgmt_cli written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/benjaminmishra/file_mgmt_cli 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" "+a2cff3b7a9661c90ec0d581d3f3a69bb97c11138" "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] checking benjaminmishra/file_mgmt_cli against try#a2cff3b7a9661c90ec0d581d3f3a69bb97c11138 for pr-121848-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenjaminmishra%2Ffile_mgmt_cli" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/benjaminmishra/file_mgmt_cli on toolchain a2cff3b7a9661c90ec0d581d3f3a69bb97c11138 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2cff3b7a9661c90ec0d581d3f3a69bb97c11138" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/benjaminmishra/file_mgmt_cli [INFO] finished tweaking git repo https://github.com/benjaminmishra/file_mgmt_cli [INFO] tweaked toml for git repo https://github.com/benjaminmishra/file_mgmt_cli written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/benjaminmishra/file_mgmt_cli 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" "+a2cff3b7a9661c90ec0d581d3f3a69bb97c11138" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+a2cff3b7a9661c90ec0d581d3f3a69bb97c11138" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 544b20f48b0aee603de86d9857bb4f7b6ba21792604554247452459865769e7c [INFO] running `Command { std: "docker" "start" "-a" "544b20f48b0aee603de86d9857bb4f7b6ba21792604554247452459865769e7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "544b20f48b0aee603de86d9857bb4f7b6ba21792604554247452459865769e7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "544b20f48b0aee603de86d9857bb4f7b6ba21792604554247452459865769e7c", kill_on_drop: false }` [INFO] [stdout] 544b20f48b0aee603de86d9857bb4f7b6ba21792604554247452459865769e7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+a2cff3b7a9661c90ec0d581d3f3a69bb97c11138" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f331574f5de8ef6053ba948a0f6a252957e07d023db5001dc7fb133c2e7599f6 [INFO] running `Command { std: "docker" "start" "-a" "f331574f5de8ef6053ba948a0f6a252957e07d023db5001dc7fb133c2e7599f6", kill_on_drop: false }` [INFO] [stderr] Checking file_mgmt_cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/main.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | let commad_args : T; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/main.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | let commad_args : T; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `first_arg` in this scope [INFO] [stdout] --> src/main.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | match first_arg { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `first_arg` in this scope [INFO] [stdout] --> src/main.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | match first_arg { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `command_args` in this scope [INFO] [stdout] --> src/main.rs:73:36 [INFO] [stdout] | [INFO] [stdout] 73 | let _ = mv::move_items(command_args); [INFO] [stdout] | ^^^^^^^^^^^^ help: a local variable with a similar name exists: `commad_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `command_args` in this scope [INFO] [stdout] --> src/main.rs:73:36 [INFO] [stdout] | [INFO] [stdout] 73 | let _ = mv::move_items(command_args); [INFO] [stdout] | ^^^^^^^^^^^^ help: a local variable with a similar name exists: `commad_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParsableCommand` and `self` [INFO] [stdout] --> src/main.rs:8:65 [INFO] [stdout] | [INFO] [stdout] 8 | use commands::{ls, mv::{self, MoveItemArgs}, parsable_command::{self, ParsableCommand}, rm}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParsableCommand` and `self` [INFO] [stdout] --> src/main.rs:8:65 [INFO] [stdout] | [INFO] [stdout] 8 | use commands::{ls, mv::{self, MoveItemArgs}, parsable_command::{self, ParsableCommand}, rm}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `str_vec` [INFO] [stdout] --> src/commands/mv.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | return MoveItemArgs { [INFO] [stdout] | ________________^ [INFO] [stdout] 18 | | source_path : str_vec[0].as_ref(), [INFO] [stdout] | | ------- `str_vec` is borrowed here [INFO] [stdout] 19 | | destination_path : str_vec[1].as_ref() [INFO] [stdout] 20 | | } [INFO] [stdout] | |_________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `str_vec` [INFO] [stdout] --> src/commands/mv.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | return MoveItemArgs { [INFO] [stdout] | ________________^ [INFO] [stdout] 18 | | source_path : str_vec[0].as_ref(), [INFO] [stdout] | | ------- `str_vec` is borrowed here [INFO] [stdout] 19 | | destination_path : str_vec[1].as_ref() [INFO] [stdout] 20 | | } [INFO] [stdout] | |_________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `str_vec` [INFO] [stdout] --> src/commands/mv.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | return MoveItemArgs { [INFO] [stdout] | ________________^ [INFO] [stdout] 18 | | source_path : str_vec[0].as_ref(), [INFO] [stdout] 19 | | destination_path : str_vec[1].as_ref() [INFO] [stdout] | | ------- `str_vec` is borrowed here [INFO] [stdout] 20 | | } [INFO] [stdout] | |_________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `str_vec` [INFO] [stdout] --> src/commands/mv.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | return MoveItemArgs { [INFO] [stdout] | ________________^ [INFO] [stdout] 18 | | source_path : str_vec[0].as_ref(), [INFO] [stdout] 19 | | destination_path : str_vec[1].as_ref() [INFO] [stdout] | | ------- `str_vec` is borrowed here [INFO] [stdout] 20 | | } [INFO] [stdout] | |_________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/args_parser.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut command_name: String; [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/args_parser.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut command: T; [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/args_parser.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut command_name: String; [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/args_parser.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut command: T; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0515. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0515. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `file_mgmt_cli` (bin "file_mgmt_cli" test) due to 6 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `file_mgmt_cli` (bin "file_mgmt_cli") due to 6 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f331574f5de8ef6053ba948a0f6a252957e07d023db5001dc7fb133c2e7599f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f331574f5de8ef6053ba948a0f6a252957e07d023db5001dc7fb133c2e7599f6", kill_on_drop: false }` [INFO] [stdout] f331574f5de8ef6053ba948a0f6a252957e07d023db5001dc7fb133c2e7599f6