[INFO] fetching crate xagrs 0.2.0... [INFO] testing xagrs-0.2.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate xagrs 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate xagrs 0.2.0 [INFO] finished tweaking crates.io crate xagrs 0.2.0 [INFO] tweaked toml for crates.io crate xagrs 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xagrs 0.2.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate xagrs 0.2.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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc18c747f6208a16a1c532ae8b60370feca0196856db01d6c41f418311e9c96a [INFO] running `Command { std: "docker" "start" "-a" "fc18c747f6208a16a1c532ae8b60370feca0196856db01d6c41f418311e9c96a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc18c747f6208a16a1c532ae8b60370feca0196856db01d6c41f418311e9c96a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc18c747f6208a16a1c532ae8b60370feca0196856db01d6c41f418311e9c96a", kill_on_drop: false }` [INFO] [stdout] fc18c747f6208a16a1c532ae8b60370feca0196856db01d6c41f418311e9c96a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f635788334999ca561b729ebf5524de595a28ca9993cc8b07f67a21353d998f [INFO] running `Command { std: "docker" "start" "-a" "9f635788334999ca561b729ebf5524de595a28ca9993cc8b07f67a21353d998f", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling xagrs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | .fixed_args() [INFO] [stdout] | ______________________________^ [INFO] [stdout] 56 | | .clone() [INFO] [stdout] | |________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[String]` does not implement `Clone`, so calling `clone` on `&[String]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | self.fixed_args() [INFO] [stdout] | __________________________________^ [INFO] [stdout] 68 | | .clone() [INFO] [stdout] | |____________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[String]` does not implement `Clone`, so calling `clone` on `&[String]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.66s [INFO] running `Command { std: "docker" "inspect" "9f635788334999ca561b729ebf5524de595a28ca9993cc8b07f67a21353d998f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f635788334999ca561b729ebf5524de595a28ca9993cc8b07f67a21353d998f", kill_on_drop: false }` [INFO] [stdout] 9f635788334999ca561b729ebf5524de595a28ca9993cc8b07f67a21353d998f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4045ffba5cb67f4019e15b88b163c7aa9f996b4850c2170293bbdc83c99a5be [INFO] running `Command { std: "docker" "start" "-a" "f4045ffba5cb67f4019e15b88b163c7aa9f996b4850c2170293bbdc83c99a5be", kill_on_drop: false }` [INFO] [stderr] Compiling xagrs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | .fixed_args() [INFO] [stdout] | ______________________________^ [INFO] [stdout] 56 | | .clone() [INFO] [stdout] | |________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[String]` does not implement `Clone`, so calling `clone` on `&[String]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | self.fixed_args() [INFO] [stdout] | __________________________________^ [INFO] [stdout] 68 | | .clone() [INFO] [stdout] | |____________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[String]` does not implement `Clone`, so calling `clone` on `&[String]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "f4045ffba5cb67f4019e15b88b163c7aa9f996b4850c2170293bbdc83c99a5be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4045ffba5cb67f4019e15b88b163c7aa9f996b4850c2170293bbdc83c99a5be", kill_on_drop: false }` [INFO] [stdout] f4045ffba5cb67f4019e15b88b163c7aa9f996b4850c2170293bbdc83c99a5be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5ea7f1ab2893bcaca096157cc6e88577d695d1a547c17b208630673a85921c9e [INFO] running `Command { std: "docker" "start" "-a" "5ea7f1ab2893bcaca096157cc6e88577d695d1a547c17b208630673a85921c9e", kill_on_drop: false }` [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/main.rs:55:30 [INFO] [stderr] | [INFO] [stderr] 55 | .fixed_args() [INFO] [stderr] | ______________________________^ [INFO] [stderr] 56 | | .clone() [INFO] [stderr] | |________________________^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[String]` does not implement `Clone`, so calling `clone` on `&[String]` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/main.rs:67:34 [INFO] [stderr] | [INFO] [stderr] 67 | self.fixed_args() [INFO] [stderr] | __________________________________^ [INFO] [stderr] 68 | | .clone() [INFO] [stderr] | |____________________________^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[String]` does not implement `Clone`, so calling `clone` on `&[String]` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: `xagrs` (bin "xagrs" test) generated 2 warnings (run `cargo fix --bin "xagrs" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/xagrs-9cf9d8cdec9355d2) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::echo_is_default_command ... ok [INFO] [stdout] test tests::multiple_words_in_input_interpreted_as_multiple_arguments ... ok [INFO] [stdout] test tests::splits_program_and_args ... ok [INFO] [stdout] test tests::replaces_pattern_with_input ... ok [INFO] [stdout] test tests::concats_input_to_the_end_of_fixed_args ... ok [INFO] [stdout] test tests::test_chunk_lines_for_command ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5ea7f1ab2893bcaca096157cc6e88577d695d1a547c17b208630673a85921c9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ea7f1ab2893bcaca096157cc6e88577d695d1a547c17b208630673a85921c9e", kill_on_drop: false }` [INFO] [stdout] 5ea7f1ab2893bcaca096157cc6e88577d695d1a547c17b208630673a85921c9e