[INFO] cloning repository https://github.com/MathisBurger/rusty-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MathisBurger/rusty-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathisBurger%2Frusty-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathisBurger%2Frusty-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2da3658c82699a3346c8ea608a3e90392a82e06 [INFO] building MathisBurger/rusty-cli against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathisBurger%2Frusty-cli" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MathisBurger/rusty-cli on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MathisBurger/rusty-cli [INFO] finished tweaking git repo https://github.com/MathisBurger/rusty-cli [INFO] tweaked toml for git repo https://github.com/MathisBurger/rusty-cli written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MathisBurger/rusty-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1251d5efe9cbe0c91f3ca19d6e47a756277aaa61e5482d8fb17d07d086f905c [INFO] running `Command { std: "docker" "start" "-a" "e1251d5efe9cbe0c91f3ca19d6e47a756277aaa61e5482d8fb17d07d086f905c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1251d5efe9cbe0c91f3ca19d6e47a756277aaa61e5482d8fb17d07d086f905c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1251d5efe9cbe0c91f3ca19d6e47a756277aaa61e5482d8fb17d07d086f905c", kill_on_drop: false }` [INFO] [stdout] e1251d5efe9cbe0c91f3ca19d6e47a756277aaa61e5482d8fb17d07d086f905c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60e8c7b6693250965a8dffcac2afbb198f2f99b51183066888ecfee9d134f5e2 [INFO] running `Command { std: "docker" "start" "-a" "60e8c7b6693250965a8dffcac2afbb198f2f99b51183066888ecfee9d134f5e2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling zeroize v1.5.6 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling dirs-next v1.0.2 [INFO] [stderr] Compiling platform-dirs v0.3.0 [INFO] [stderr] Compiling regex v1.6.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 1.89s [INFO] running `Command { std: "docker" "inspect" "60e8c7b6693250965a8dffcac2afbb198f2f99b51183066888ecfee9d134f5e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60e8c7b6693250965a8dffcac2afbb198f2f99b51183066888ecfee9d134f5e2", kill_on_drop: false }` [INFO] [stdout] 60e8c7b6693250965a8dffcac2afbb198f2f99b51183066888ecfee9d134f5e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de0c2c0ffbcac666be77ae86fea3f7d9d4b1f63d8cde781af1e5ebedaad37b7b [INFO] running `Command { std: "docker" "start" "-a" "de0c2c0ffbcac666be77ae86fea3f7d9d4b1f63d8cde781af1e5ebedaad37b7b", kill_on_drop: false }` [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] [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.76s [INFO] running `Command { std: "docker" "inspect" "de0c2c0ffbcac666be77ae86fea3f7d9d4b1f63d8cde781af1e5ebedaad37b7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de0c2c0ffbcac666be77ae86fea3f7d9d4b1f63d8cde781af1e5ebedaad37b7b", kill_on_drop: false }` [INFO] [stdout] de0c2c0ffbcac666be77ae86fea3f7d9d4b1f63d8cde781af1e5ebedaad37b7b