[INFO] cloning repository https://github.com/Gricha/AdventOfCode2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gricha/AdventOfCode2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGricha%2FAdventOfCode2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGricha%2FAdventOfCode2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ffc033a54e7950275db73b2afd2a88182144c5d6 [INFO] checking Gricha/AdventOfCode2021/ffc033a54e7950275db73b2afd2a88182144c5d6 against master#a3f76a26e045a760bb1163b7eab36872985242d5 for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGricha%2FAdventOfCode2021" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Gricha/AdventOfCode2021 on toolchain a3f76a26e045a760bb1163b7eab36872985242d5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Gricha/AdventOfCode2021 [INFO] finished tweaking git repo https://github.com/Gricha/AdventOfCode2021 [INFO] tweaked toml for git repo https://github.com/Gricha/AdventOfCode2021 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Gricha/AdventOfCode2021 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" "+a3f76a26e045a760bb1163b7eab36872985242d5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b8d3ee5b236e9992b50f8b1b35e9945981a497b8530c0e549910d644ea33682 [INFO] running `Command { std: "docker" "start" "-a" "5b8d3ee5b236e9992b50f8b1b35e9945981a497b8530c0e549910d644ea33682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b8d3ee5b236e9992b50f8b1b35e9945981a497b8530c0e549910d644ea33682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b8d3ee5b236e9992b50f8b1b35e9945981a497b8530c0e549910d644ea33682", kill_on_drop: false }` [INFO] [stdout] 5b8d3ee5b236e9992b50f8b1b35e9945981a497b8530c0e549910d644ea33682 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bc2ff06f4ae3feb915e8acc6e9cd0e14e58548d4b873deb530d099344a693e9 [INFO] running `Command { std: "docker" "start" "-a" "3bc2ff06f4ae3feb915e8acc6e9cd0e14e58548d4b873deb530d099344a693e9", kill_on_drop: false }` [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking scan_fmt v0.2.6 [INFO] [stderr] Checking advent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day18.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | / std::mem::replace( [INFO] [stdout] 70 | | number, [INFO] [stdout] 71 | | Number::Nested(Box::new(InnerNumber { [INFO] [stdout] 72 | | left: Box::new(Number::Literal(left)), [INFO] [stdout] 73 | | right: Box::new(Number::Literal(right)), [INFO] [stdout] 74 | | })), [INFO] [stdout] 75 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 69 | let _ = std::mem::replace( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day18.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | std::mem::replace(number, Number::Literal(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 109 | let _ = std::mem::replace(number, Number::Literal(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day18.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | / std::mem::replace( [INFO] [stdout] 70 | | number, [INFO] [stdout] 71 | | Number::Nested(Box::new(InnerNumber { [INFO] [stdout] 72 | | left: Box::new(Number::Literal(left)), [INFO] [stdout] 73 | | right: Box::new(Number::Literal(right)), [INFO] [stdout] 74 | | })), [INFO] [stdout] 75 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 69 | let _ = std::mem::replace( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/day18.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | std::mem::replace(number, Number::Literal(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 109 | let _ = std::mem::replace(number, Number::Literal(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.59s [INFO] running `Command { std: "docker" "inspect" "3bc2ff06f4ae3feb915e8acc6e9cd0e14e58548d4b873deb530d099344a693e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bc2ff06f4ae3feb915e8acc6e9cd0e14e58548d4b873deb530d099344a693e9", kill_on_drop: false }` [INFO] [stdout] 3bc2ff06f4ae3feb915e8acc6e9cd0e14e58548d4b873deb530d099344a693e9