[INFO] fetching crate rusty-cli 0.1.0... [INFO] testing rusty-cli-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate rusty-cli 0.1.0 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rusty-cli 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dirs-next v1.0.2 [INFO] [stderr] Downloaded platform-dirs v0.3.0 [INFO] [stderr] Downloaded zeroize v1.5.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a623fcd2055ce68d4aea1be1041922faae54228be9f263df6ad09d86fc253e4a [INFO] running `Command { std: "docker" "start" "-a" "a623fcd2055ce68d4aea1be1041922faae54228be9f263df6ad09d86fc253e4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a623fcd2055ce68d4aea1be1041922faae54228be9f263df6ad09d86fc253e4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a623fcd2055ce68d4aea1be1041922faae54228be9f263df6ad09d86fc253e4a", kill_on_drop: false }` [INFO] [stdout] a623fcd2055ce68d4aea1be1041922faae54228be9f263df6ad09d86fc253e4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eff8b97c6353e10c8daf90c43929c94c6d21f796ea6537549df11eb35c0b1c43 [INFO] running `Command { std: "docker" "start" "-a" "eff8b97c6353e10c8daf90c43929c94c6d21f796ea6537549df11eb35c0b1c43", 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 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 regex v1.6.0 [INFO] [stderr] Compiling platform-dirs v0.3.0 [INFO] [stderr] Compiling console v0.15.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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.14s [INFO] running `Command { std: "docker" "inspect" "eff8b97c6353e10c8daf90c43929c94c6d21f796ea6537549df11eb35c0b1c43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eff8b97c6353e10c8daf90c43929c94c6d21f796ea6537549df11eb35c0b1c43", kill_on_drop: false }` [INFO] [stdout] eff8b97c6353e10c8daf90c43929c94c6d21f796ea6537549df11eb35c0b1c43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 934dc793fcae0553d3d5880dfd2322f67c43558ff72fa9a0b8a440c20b2f0912 [INFO] running `Command { std: "docker" "start" "-a" "934dc793fcae0553d3d5880dfd2322f67c43558ff72fa9a0b8a440c20b2f0912", kill_on_drop: false }` [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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [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 0.29s [INFO] running `Command { std: "docker" "inspect" "934dc793fcae0553d3d5880dfd2322f67c43558ff72fa9a0b8a440c20b2f0912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "934dc793fcae0553d3d5880dfd2322f67c43558ff72fa9a0b8a440c20b2f0912", kill_on_drop: false }` [INFO] [stdout] 934dc793fcae0553d3d5880dfd2322f67c43558ff72fa9a0b8a440c20b2f0912 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 002bca654095349246168d63ab8c083a6c4932993d6af1bbc28176ea2599aa2c [INFO] running `Command { std: "docker" "start" "-a" "002bca654095349246168d63ab8c083a6c4932993d6af1bbc28176ea2599aa2c", kill_on_drop: false }` [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/file_reader.rs:25:32 [INFO] [stderr] | [INFO] [stderr] 25 | fs::create_dir(path.clone()).expect("Cannot create root data directory"); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 25 - fs::create_dir(path.clone()).expect("Cannot create root data directory"); [INFO] [stderr] 25 + fs::create_dir(path).expect("Cannot create root data directory"); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rusty-cli` (lib) generated 1 warning (run `cargo fix --lib -p rusty-cli` to apply 1 suggestion) [INFO] [stderr] warning: `rusty-cli` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: unused variable: `flags` [INFO] [stderr] --> examples/default_no_argument_message.rs:5:21 [INFO] [stderr] | [INFO] [stderr] 5 | fn default_callback(flags: Flags) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::Borrow` [INFO] [stderr] --> examples/pong_default.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::borrow::Borrow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> examples/pong_default.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::env::Args` [INFO] [stderr] --> examples/pong_default.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::env::Args; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> examples/pong_default.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `flags` [INFO] [stderr] --> examples/pong_default.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | fn executor(flags: Flags) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rusty-cli` (example "default_no_argument_message") generated 1 warning [INFO] [stderr] warning: `rusty-cli` (example "pong_default") generated 5 warnings (run `cargo fix --example "pong_default"` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rusty_cli-6f3a6dabad9d7d55) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rusty_cli [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "002bca654095349246168d63ab8c083a6c4932993d6af1bbc28176ea2599aa2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "002bca654095349246168d63ab8c083a6c4932993d6af1bbc28176ea2599aa2c", kill_on_drop: false }` [INFO] [stdout] 002bca654095349246168d63ab8c083a6c4932993d6af1bbc28176ea2599aa2c