[INFO] cloning repository https://github.com/hjorthjort/advent-of-code-2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hjorthjort/advent-of-code-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhjorthjort%2Fadvent-of-code-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhjorthjort%2Fadvent-of-code-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac3d4fe7bae36f7cb52c2fd96e23cbe49954d2ff [INFO] checking hjorthjort/advent-of-code-2021 against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhjorthjort%2Fadvent-of-code-2021" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hjorthjort/advent-of-code-2021 on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hjorthjort/advent-of-code-2021 [INFO] finished tweaking git repo https://github.com/hjorthjort/advent-of-code-2021 [INFO] tweaked toml for git repo https://github.com/hjorthjort/advent-of-code-2021 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hjorthjort/advent-of-code-2021 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32d1110b2f0d1140cc3aa9a8d03bae243adc505652f6d71a877d1ae5a936b65b [INFO] running `Command { std: "docker" "start" "-a" "32d1110b2f0d1140cc3aa9a8d03bae243adc505652f6d71a877d1ae5a936b65b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32d1110b2f0d1140cc3aa9a8d03bae243adc505652f6d71a877d1ae5a936b65b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32d1110b2f0d1140cc3aa9a8d03bae243adc505652f6d71a877d1ae5a936b65b", kill_on_drop: false }` [INFO] [stdout] 32d1110b2f0d1140cc3aa9a8d03bae243adc505652f6d71a877d1ae5a936b65b [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 266490502bc3857373313e75f038d183b0133b6108f4eecac22ae716be0bb588 [INFO] running `Command { std: "docker" "start" "-a" "266490502bc3857373313e75f038d183b0133b6108f4eecac22ae716be0bb588", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Checking day1 v0.1.0 (/opt/rustwide/workdir/crates/day1) [INFO] [stderr] Checking day5 v0.1.0 (/opt/rustwide/workdir/crates/day5) [INFO] [stderr] Checking day3 v0.1.0 (/opt/rustwide/workdir/crates/day3) [INFO] [stderr] Checking day4 v0.1.0 (/opt/rustwide/workdir/crates/day4) [INFO] [stderr] Checking day6 v0.1.0 (/opt/rustwide/workdir/crates/day6) [INFO] [stderr] Checking day2 v0.1.0 (/opt/rustwide/workdir/crates/day2) [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> crates/day2/src/main.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let d : &str = line.next().unwrap().into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day2` (bin "day2" test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant `TEST_INPUT` is never used [INFO] [stdout] --> crates/day2/src/main.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | const TEST_INPUT : &str = r#" [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> crates/day2/src/main.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let d : &str = line.next().unwrap().into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day2` (bin "day2") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "266490502bc3857373313e75f038d183b0133b6108f4eecac22ae716be0bb588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "266490502bc3857373313e75f038d183b0133b6108f4eecac22ae716be0bb588", kill_on_drop: false }` [INFO] [stdout] 266490502bc3857373313e75f038d183b0133b6108f4eecac22ae716be0bb588