[INFO] cloning repository https://github.com/thiagoarrais/xagrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thiagoarrais/xagrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiagoarrais%2Fxagrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiagoarrais%2Fxagrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bffd3ac369f7bc9dd20483079eb801d33ca0e1ec [INFO] testing thiagoarrais/xagrs against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiagoarrais%2Fxagrs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thiagoarrais/xagrs [INFO] finished tweaking git repo https://github.com/thiagoarrais/xagrs [INFO] tweaked toml for git repo https://github.com/thiagoarrais/xagrs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thiagoarrais/xagrs on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thiagoarrais/xagrs 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5554de7b27d93c833f82e24d7c616d6913f104699576f22eab6c2e77f9cd6948 [INFO] running `Command { std: "docker" "start" "-a" "5554de7b27d93c833f82e24d7c616d6913f104699576f22eab6c2e77f9cd6948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5554de7b27d93c833f82e24d7c616d6913f104699576f22eab6c2e77f9cd6948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5554de7b27d93c833f82e24d7c616d6913f104699576f22eab6c2e77f9cd6948", kill_on_drop: false }` [INFO] [stdout] 5554de7b27d93c833f82e24d7c616d6913f104699576f22eab6c2e77f9cd6948 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10e811abd929771d438209bca6e101b8e5d4b58e66ef6ef2ed230ee7c2356498 [INFO] running `Command { std: "docker" "start" "-a" "10e811abd929771d438209bca6e101b8e5d4b58e66ef6ef2ed230ee7c2356498", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling version_check v0.9.2 [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 ansi_term v0.11.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 atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.8 [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 10.18s [INFO] running `Command { std: "docker" "inspect" "10e811abd929771d438209bca6e101b8e5d4b58e66ef6ef2ed230ee7c2356498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10e811abd929771d438209bca6e101b8e5d4b58e66ef6ef2ed230ee7c2356498", kill_on_drop: false }` [INFO] [stdout] 10e811abd929771d438209bca6e101b8e5d4b58e66ef6ef2ed230ee7c2356498 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 401b16cb5eeb6379e1b6beac1c2498dce16ca16bea7fbf183513d5e3482ba101 [INFO] running `Command { std: "docker" "start" "-a" "401b16cb5eeb6379e1b6beac1c2498dce16ca16bea7fbf183513d5e3482ba101", 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.84s [INFO] running `Command { std: "docker" "inspect" "401b16cb5eeb6379e1b6beac1c2498dce16ca16bea7fbf183513d5e3482ba101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "401b16cb5eeb6379e1b6beac1c2498dce16ca16bea7fbf183513d5e3482ba101", kill_on_drop: false }` [INFO] [stdout] 401b16cb5eeb6379e1b6beac1c2498dce16ca16bea7fbf183513d5e3482ba101 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6d25c115cdfe2952e40523529df31bae21d292e2337257764921687bf51721eb [INFO] running `Command { std: "docker" "start" "-a" "6d25c115cdfe2952e40523529df31bae21d292e2337257764921687bf51721eb", 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.05s [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::test_chunk_lines_for_command ... 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::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.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6d25c115cdfe2952e40523529df31bae21d292e2337257764921687bf51721eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d25c115cdfe2952e40523529df31bae21d292e2337257764921687bf51721eb", kill_on_drop: false }` [INFO] [stdout] 6d25c115cdfe2952e40523529df31bae21d292e2337257764921687bf51721eb