[INFO] fetching crate xagrs 0.2.0... [INFO] testing xagrs-0.2.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate xagrs 0.2.0 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xagrs 0.2.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49ff769d770ec551644cad246bac728e21d6c34e477fafaaa0f608851e58961c [INFO] running `Command { std: "docker" "start" "-a" "49ff769d770ec551644cad246bac728e21d6c34e477fafaaa0f608851e58961c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49ff769d770ec551644cad246bac728e21d6c34e477fafaaa0f608851e58961c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49ff769d770ec551644cad246bac728e21d6c34e477fafaaa0f608851e58961c", kill_on_drop: false }` [INFO] [stdout] 49ff769d770ec551644cad246bac728e21d6c34e477fafaaa0f608851e58961c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2da2747cc13fb47526ebe11fa3a60b8e4fa2e969ba46b8f12db03c88ade5dff3 [INFO] running `Command { std: "docker" "start" "-a" "2da2747cc13fb47526ebe11fa3a60b8e4fa2e969ba46b8f12db03c88ade5dff3", 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 syn v1.0.58 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling textwrap v0.11.0 [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 heck v0.3.2 [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 6.99s [INFO] running `Command { std: "docker" "inspect" "2da2747cc13fb47526ebe11fa3a60b8e4fa2e969ba46b8f12db03c88ade5dff3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2da2747cc13fb47526ebe11fa3a60b8e4fa2e969ba46b8f12db03c88ade5dff3", kill_on_drop: false }` [INFO] [stdout] 2da2747cc13fb47526ebe11fa3a60b8e4fa2e969ba46b8f12db03c88ade5dff3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24e17cc4686b9e6e9d735b12e877ac91c62f21b5abc172cf516fea3bad50701b [INFO] running `Command { std: "docker" "start" "-a" "24e17cc4686b9e6e9d735b12e877ac91c62f21b5abc172cf516fea3bad50701b", 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.52s [INFO] running `Command { std: "docker" "inspect" "24e17cc4686b9e6e9d735b12e877ac91c62f21b5abc172cf516fea3bad50701b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24e17cc4686b9e6e9d735b12e877ac91c62f21b5abc172cf516fea3bad50701b", kill_on_drop: false }` [INFO] [stdout] 24e17cc4686b9e6e9d735b12e877ac91c62f21b5abc172cf516fea3bad50701b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e9d7c7e9bf0ff0549206f423a1a41df2a955e93170eecc0b4efa2620813383df [INFO] running `Command { std: "docker" "start" "-a" "e9d7c7e9bf0ff0549206f423a1a41df2a955e93170eecc0b4efa2620813383df", 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" -p xagrs --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/xagrs-592802d2868e03e1) [INFO] [stdout] [INFO] [stdout] running 6 tests [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::splits_program_and_args ... ok [INFO] [stdout] test tests::test_chunk_lines_for_command ... ok [INFO] [stdout] test tests::echo_is_default_command ... ok [INFO] [stdout] test tests::multiple_words_in_input_interpreted_as_multiple_arguments ... 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" "e9d7c7e9bf0ff0549206f423a1a41df2a955e93170eecc0b4efa2620813383df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9d7c7e9bf0ff0549206f423a1a41df2a955e93170eecc0b4efa2620813383df", kill_on_drop: false }` [INFO] [stdout] e9d7c7e9bf0ff0549206f423a1a41df2a955e93170eecc0b4efa2620813383df