[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 try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGricha%2FAdventOfCode2021" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Gricha/AdventOfCode2021 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-tc2/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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e461c48537ddcdc2df16988f62fe947276e732dabb3f24a830821f940099859e [INFO] running `Command { std: "docker" "start" "-a" "e461c48537ddcdc2df16988f62fe947276e732dabb3f24a830821f940099859e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e461c48537ddcdc2df16988f62fe947276e732dabb3f24a830821f940099859e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e461c48537ddcdc2df16988f62fe947276e732dabb3f24a830821f940099859e", kill_on_drop: false }` [INFO] [stdout] e461c48537ddcdc2df16988f62fe947276e732dabb3f24a830821f940099859e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail_expr_drop_order" "-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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8e277436533fb99c8e596fefae6103996e5151e2085ce47112895688d40ff8b [INFO] running `Command { std: "docker" "start" "-a" "b8e277436533fb99c8e596fefae6103996e5151e2085ce47112895688d40ff8b", kill_on_drop: false }` [INFO] [stderr] Checking scan_fmt v0.2.6 [INFO] [stderr] Checking itertools v0.10.3 [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.43s [INFO] running `Command { std: "docker" "inspect" "b8e277436533fb99c8e596fefae6103996e5151e2085ce47112895688d40ff8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8e277436533fb99c8e596fefae6103996e5151e2085ce47112895688d40ff8b", kill_on_drop: false }` [INFO] [stdout] b8e277436533fb99c8e596fefae6103996e5151e2085ce47112895688d40ff8b