[INFO] fetching crate rusty-cli 0.1.0... [INFO] building rusty-cli-0.1.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate rusty-cli 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate rusty-cli 0.1.0 [INFO] finished tweaking crates.io crate rusty-cli 0.1.0 [INFO] tweaked toml for crates.io crate rusty-cli 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rusty-cli 0.1.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rusty-cli 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd66db1be5a009856f343e7958b627a0f22db04b48870fbdcb1a7bf8461274f3 [INFO] running `Command { std: "docker" "start" "-a" "dd66db1be5a009856f343e7958b627a0f22db04b48870fbdcb1a7bf8461274f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd66db1be5a009856f343e7958b627a0f22db04b48870fbdcb1a7bf8461274f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd66db1be5a009856f343e7958b627a0f22db04b48870fbdcb1a7bf8461274f3", kill_on_drop: false }` [INFO] [stdout] dd66db1be5a009856f343e7958b627a0f22db04b48870fbdcb1a7bf8461274f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3711ed80cbac136ecb03c0cf730814b57099990804e24a705dffaf3034b4588b [INFO] running `Command { std: "docker" "start" "-a" "3711ed80cbac136ecb03c0cf730814b57099990804e24a705dffaf3034b4588b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling zeroize v1.5.6 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling dirs-next v1.0.2 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling platform-dirs v0.3.0 [INFO] [stderr] Compiling dialoguer v0.10.1 [INFO] [stderr] Compiling rusty-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/file_reader.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | fs::create_dir(path.clone()).expect("Cannot create root data directory"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 25 - fs::create_dir(path.clone()).expect("Cannot create root data directory"); [INFO] [stdout] 25 + fs::create_dir(path).expect("Cannot create root data directory"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/path.rs" }) } [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.75s [INFO] running `Command { std: "docker" "inspect" "3711ed80cbac136ecb03c0cf730814b57099990804e24a705dffaf3034b4588b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3711ed80cbac136ecb03c0cf730814b57099990804e24a705dffaf3034b4588b", kill_on_drop: false }` [INFO] [stdout] 3711ed80cbac136ecb03c0cf730814b57099990804e24a705dffaf3034b4588b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3581e41a0331a4dd03a5efe41f337e2cff85235be4fe753f55ff9c6384f69be3 [INFO] running `Command { std: "docker" "start" "-a" "3581e41a0331a4dd03a5efe41f337e2cff85235be4fe753f55ff9c6384f69be3", kill_on_drop: false }` [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/path.rs" }) } [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/file_reader.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | fs::create_dir(path.clone()).expect("Cannot create root data directory"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 25 - fs::create_dir(path.clone()).expect("Cannot create root data directory"); [INFO] [stdout] 25 + fs::create_dir(path).expect("Cannot create root data directory"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rusty-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> examples/pong_default.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> examples/pong_default.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::Args` [INFO] [stdout] --> examples/pong_default.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env::Args; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> examples/pong_default.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> examples/pong_default.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | fn executor(flags: Flags) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> examples/default_no_argument_message.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | fn default_callback(flags: Flags) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/path.rs" }) } [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/file_reader.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | fs::create_dir(path.clone()).expect("Cannot create root data directory"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 25 - fs::create_dir(path.clone()).expect("Cannot create root data directory"); [INFO] [stdout] 25 + fs::create_dir(path).expect("Cannot create root data directory"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "3581e41a0331a4dd03a5efe41f337e2cff85235be4fe753f55ff9c6384f69be3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3581e41a0331a4dd03a5efe41f337e2cff85235be4fe753f55ff9c6384f69be3", kill_on_drop: false }` [INFO] [stdout] 3581e41a0331a4dd03a5efe41f337e2cff85235be4fe753f55ff9c6384f69be3