[INFO] cloning repository https://github.com/Deskbot/Advent-of-Code-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Deskbot/Advent-of-Code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeskbot%2FAdvent-of-Code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeskbot%2FAdvent-of-Code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97d5a7e7e7f2a57ec64a5591688d1c2f5e90617d [INFO] checking Deskbot/Advent-of-Code-2020/97d5a7e7e7f2a57ec64a5591688d1c2f5e90617d against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeskbot%2FAdvent-of-Code-2020" "/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/Deskbot/Advent-of-Code-2020 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Deskbot/Advent-of-Code-2020 [INFO] finished tweaking git repo https://github.com/Deskbot/Advent-of-Code-2020 [INFO] tweaked toml for git repo https://github.com/Deskbot/Advent-of-Code-2020 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Deskbot/Advent-of-Code-2020 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34a04d7e540a7424ec0b65677f580d9063268ae4626e39b9ce923fc319c66fde [INFO] running `Command { std: "docker" "start" "-a" "34a04d7e540a7424ec0b65677f580d9063268ae4626e39b9ce923fc319c66fde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34a04d7e540a7424ec0b65677f580d9063268ae4626e39b9ce923fc319c66fde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34a04d7e540a7424ec0b65677f580d9063268ae4626e39b9ce923fc319c66fde", kill_on_drop: false }` [INFO] [stdout] 34a04d7e540a7424ec0b65677f580d9063268ae4626e39b9ce923fc319c66fde [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cddca35dbd0ad37d5193605bc73d36c4b1ca6f3229b80856ded69d2b45f9b7c4 [INFO] running `Command { std: "docker" "start" "-a" "cddca35dbd0ad37d5193605bc73d36c4b1ca6f3229b80856ded69d2b45f9b7c4", kill_on_drop: false }` [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling substring v1.4.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking advent_of_code_2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/day/day23.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/day/day23.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/day/day22.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | fn part2(p1: Deck, p2: Deck) -> i64 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/day/day22.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | fn part2(p1: Deck, p2: Deck) -> i64 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cups` [INFO] [stdout] --> src/day/day23.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let mut cups = Cups::parse(input); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cups` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day/day23.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut cups = Cups::parse(input); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_cup` and `list` are never read [INFO] [stdout] --> src/day/day23.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Cups { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 14 | current_cup: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | list: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `step` is never used [INFO] [stdout] --> src/day/day23.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Cups { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sum` is never used [INFO] [stdout] --> src/util.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait SumI64 { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 93 | fn sum(&mut self) -> i64; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `product` is never used [INFO] [stdout] --> src/util.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub trait ProductI64 { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 103 | fn product(&mut self) -> i64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn both(opt1: Option, opt2: Option) -> Option<(T,U)> { [INFO] [stdout] | --------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | Some((opt1.unwrap(), opt2.unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2020` (bin "advent_of_code_2020") due to 2 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/day/day22.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | fn part2(p1: Deck, p2: Deck) -> i64 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/day/day22.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | fn part2(p1: Deck, p2: Deck) -> i64 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cups` [INFO] [stdout] --> src/day/day23.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let mut cups = Cups::parse(input); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cups` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day/day23.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut cups = Cups::parse(input); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_cup` and `list` are never read [INFO] [stdout] --> src/day/day23.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Cups { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 14 | current_cup: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | list: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `step` is never used [INFO] [stdout] --> src/day/day23.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Cups { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sum` is never used [INFO] [stdout] --> src/util.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait SumI64 { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 93 | fn sum(&mut self) -> i64; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `product` is never used [INFO] [stdout] --> src/util.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub trait ProductI64 { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 103 | fn product(&mut self) -> i64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn both(opt1: Option, opt2: Option) -> Option<(T,U)> { [INFO] [stdout] | --------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | Some((opt1.unwrap(), opt2.unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2020` (bin "advent_of_code_2020" test) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cddca35dbd0ad37d5193605bc73d36c4b1ca6f3229b80856ded69d2b45f9b7c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cddca35dbd0ad37d5193605bc73d36c4b1ca6f3229b80856ded69d2b45f9b7c4", kill_on_drop: false }` [INFO] [stdout] cddca35dbd0ad37d5193605bc73d36c4b1ca6f3229b80856ded69d2b45f9b7c4