[INFO] fetching crate xagrs 0.2.0... [INFO] testing xagrs-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate xagrs 0.2.0 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xagrs 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ec28e2f32b10998c746676f5b21574b4eec0de4244b990963829c834c469408 [INFO] running `Command { std: "docker" "start" "-a" "9ec28e2f32b10998c746676f5b21574b4eec0de4244b990963829c834c469408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ec28e2f32b10998c746676f5b21574b4eec0de4244b990963829c834c469408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ec28e2f32b10998c746676f5b21574b4eec0de4244b990963829c834c469408", kill_on_drop: false }` [INFO] [stdout] 9ec28e2f32b10998c746676f5b21574b4eec0de4244b990963829c834c469408 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e69d24eef149203858c40d7f340cfcd7b37f2dc3c2ded62c931cc26f0f748d76 [INFO] running `Command { std: "docker" "start" "-a" "e69d24eef149203858c40d7f340cfcd7b37f2dc3c2ded62c931cc26f0f748d76", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling quote v1.0.8 [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 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.36s [INFO] running `Command { std: "docker" "inspect" "e69d24eef149203858c40d7f340cfcd7b37f2dc3c2ded62c931cc26f0f748d76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e69d24eef149203858c40d7f340cfcd7b37f2dc3c2ded62c931cc26f0f748d76", kill_on_drop: false }` [INFO] [stdout] e69d24eef149203858c40d7f340cfcd7b37f2dc3c2ded62c931cc26f0f748d76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfc0710b951943f7035cf0273f403906f26ca929503bd4f54b6af1336e980210 [INFO] running `Command { std: "docker" "start" "-a" "bfc0710b951943f7035cf0273f403906f26ca929503bd4f54b6af1336e980210", 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.36s [INFO] running `Command { std: "docker" "inspect" "bfc0710b951943f7035cf0273f403906f26ca929503bd4f54b6af1336e980210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfc0710b951943f7035cf0273f403906f26ca929503bd4f54b6af1336e980210", kill_on_drop: false }` [INFO] [stdout] bfc0710b951943f7035cf0273f403906f26ca929503bd4f54b6af1336e980210 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a146608d11d8b079ec460e9fc160ef25f9d1e97dc472bb999d97e406dbb13f30 [INFO] running `Command { std: "docker" "start" "-a" "a146608d11d8b079ec460e9fc160ef25f9d1e97dc472bb999d97e406dbb13f30", 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::concats_input_to_the_end_of_fixed_args ... 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] test tests::replaces_pattern_with_input ... ok [INFO] [stdout] test tests::splits_program_and_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" "a146608d11d8b079ec460e9fc160ef25f9d1e97dc472bb999d97e406dbb13f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a146608d11d8b079ec460e9fc160ef25f9d1e97dc472bb999d97e406dbb13f30", kill_on_drop: false }` [INFO] [stdout] a146608d11d8b079ec460e9fc160ef25f9d1e97dc472bb999d97e406dbb13f30