[INFO] fetching crate log-cli 0.0.9... [INFO] testing log-cli-0.0.9 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate log-cli 0.0.9 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate log-cli 0.0.9 [INFO] finished tweaking crates.io crate log-cli 0.0.9 [INFO] tweaked toml for crates.io crate log-cli 0.0.9 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate log-cli 0.0.9 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate log-cli 0.0.9 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `clap` dependency) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc414bc85075be9f86789680820e5b3a0dec9230b87546d41f8a88539b6ac1cc [INFO] running `Command { std: "docker" "start" "-a" "bc414bc85075be9f86789680820e5b3a0dec9230b87546d41f8a88539b6ac1cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc414bc85075be9f86789680820e5b3a0dec9230b87546d41f8a88539b6ac1cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc414bc85075be9f86789680820e5b3a0dec9230b87546d41f8a88539b6ac1cc", kill_on_drop: false }` [INFO] [stdout] bc414bc85075be9f86789680820e5b3a0dec9230b87546d41f8a88539b6ac1cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42c5543f204fe9ddc0b5663e689d8d0fb9085ac2f736c5aef83fcd8904a4e119 [INFO] running `Command { std: "docker" "start" "-a" "42c5543f204fe9ddc0b5663e689d8d0fb9085ac2f736c5aef83fcd8904a4e119", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `clap` dependency) [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling os_str_bytes v6.3.0 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling iana-time-zone v0.1.46 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling clap v3.2.17 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling log-cli v0.0.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.09s [INFO] running `Command { std: "docker" "inspect" "42c5543f204fe9ddc0b5663e689d8d0fb9085ac2f736c5aef83fcd8904a4e119", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42c5543f204fe9ddc0b5663e689d8d0fb9085ac2f736c5aef83fcd8904a4e119", kill_on_drop: false }` [INFO] [stdout] 42c5543f204fe9ddc0b5663e689d8d0fb9085ac2f736c5aef83fcd8904a4e119 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99077b248b695244d95b90f0beb89c349ec2ea02a2dafbb30e9d83c6d336c3db [INFO] running `Command { std: "docker" "start" "-a" "99077b248b695244d95b90f0beb89c349ec2ea02a2dafbb30e9d83c6d336c3db", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `clap` dependency) [INFO] [stderr] Compiling log-cli v0.0.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/query.rs:306:31 [INFO] [stdout] | [INFO] [stdout] 306 | .add_eval(evals[0].clone(), None) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` 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/query.rs:307:31 [INFO] [stdout] | [INFO] [stdout] 307 | .add_eval(evals[1].clone(), None) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/query.rs:308:31 [INFO] [stdout] | [INFO] [stdout] 308 | .add_eval(evals[2].clone(), Some(2)); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` 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.62s [INFO] running `Command { std: "docker" "inspect" "99077b248b695244d95b90f0beb89c349ec2ea02a2dafbb30e9d83c6d336c3db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99077b248b695244d95b90f0beb89c349ec2ea02a2dafbb30e9d83c6d336c3db", kill_on_drop: false }` [INFO] [stdout] 99077b248b695244d95b90f0beb89c349ec2ea02a2dafbb30e9d83c6d336c3db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7412cffaa3fafd0d87f3e6184a306243456ae9fedd96c7a1a3a44521505164f7 [INFO] running `Command { std: "docker" "start" "-a" "7412cffaa3fafd0d87f3e6184a306243456ae9fedd96c7a1a3a44521505164f7", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `clap` dependency) [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/query.rs:306:31 [INFO] [stderr] | [INFO] [stderr] 306 | .add_eval(evals[0].clone(), None) [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` 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/query.rs:307:31 [INFO] [stderr] | [INFO] [stderr] 307 | .add_eval(evals[1].clone(), None) [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/query.rs:308:31 [INFO] [stderr] | [INFO] [stderr] 308 | .add_eval(evals[2].clone(), Some(2)); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: `log-cli` (bin "log-cli" test) generated 3 warnings (run `cargo fix --bin "log-cli" -p log-cli --tests` to apply 3 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/log_cli-8129fa36bcaaac2a) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test query::tests::execute_default_query ... ok [INFO] [stdout] test query::tests::add_eval_to_instructions ... ok [INFO] [stdout] test query::tests::add_keywords_to_instructions ... ok [INFO] [stdout] test app::tests::parse_line_range ... ok [INFO] [stdout] test query::tests::add_ranges_to_instructions ... ok [INFO] [stdout] test query::tests::execute_query_with_any_keywords ... ok [INFO] [stdout] test query::tests::add_paths_to_instruction ... ok [INFO] [stdout] test query::tests::execute_query_with_keywords ... ok [INFO] [stdout] test query::tests::execute_query_with_latest_overrided ... ok [INFO] [stdout] test query::tests::execute_query_with_head ... ok [INFO] [stdout] test query::tests::execute_query_with_line_range ... ok [INFO] [stdout] test query::tests::execute_query_with_tail ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7412cffaa3fafd0d87f3e6184a306243456ae9fedd96c7a1a3a44521505164f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7412cffaa3fafd0d87f3e6184a306243456ae9fedd96c7a1a3a44521505164f7", kill_on_drop: false }` [INFO] [stdout] 7412cffaa3fafd0d87f3e6184a306243456ae9fedd96c7a1a3a44521505164f7