[INFO] cloning repository https://github.com/MikkelPaulson/advent-of-code-2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MikkelPaulson/advent-of-code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMikkelPaulson%2Fadvent-of-code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMikkelPaulson%2Fadvent-of-code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f0d672f4b7c5137e252c5a9257918d4967e726b [INFO] checking MikkelPaulson/advent-of-code-2019/2f0d672f4b7c5137e252c5a9257918d4967e726b 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%2FMikkelPaulson%2Fadvent-of-code-2019" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MikkelPaulson/advent-of-code-2019 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/MikkelPaulson/advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/MikkelPaulson/advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/MikkelPaulson/advent-of-code-2019 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MikkelPaulson/advent-of-code-2019 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 8d261cb9c7ad6206222dbc8222b948b51d33e8680ab5cb07777c1b16bfc1bc28 [INFO] running `Command { std: "docker" "start" "-a" "8d261cb9c7ad6206222dbc8222b948b51d33e8680ab5cb07777c1b16bfc1bc28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d261cb9c7ad6206222dbc8222b948b51d33e8680ab5cb07777c1b16bfc1bc28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d261cb9c7ad6206222dbc8222b948b51d33e8680ab5cb07777c1b16bfc1bc28", kill_on_drop: false }` [INFO] [stdout] 8d261cb9c7ad6206222dbc8222b948b51d33e8680ab5cb07777c1b16bfc1bc28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ecc49b28f688b3d75c65abc381c97d9eae8c4d6740c343b7a238b6851853eac2 [INFO] running `Command { std: "docker" "start" "-a" "ecc49b28f688b3d75c65abc381c97d9eae8c4d6740c343b7a238b6851853eac2", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.84 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking advent-of-code-2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/day22/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/day22/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day22/mod.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn part2(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/day22/mod.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let offset = (deck_size + position - result) % deck_size; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day22/mod.rs:72:52 [INFO] [stdout] | [INFO] [stdout] 72 | Ok((0..shuffles).fold(position, |position, i| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day22/mod.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn part2(input: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/day22/mod.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let offset = (deck_size + position - result) % deck_size; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day22/mod.rs:72:52 [INFO] [stdout] | [INFO] [stdout] 72 | Ok((0..shuffles).fold(position, |position, i| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `description`, `doors`, and `items` are never read [INFO] [stdout] --> src/day25/mod.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 94 | struct Room { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 95 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 96 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 97 | doors: collections::HashSet, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 98 | items: collections::HashSet, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Room` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/day12/mod.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | Ok(moons.iter().map(|moon| moon.borrow().total_energy()).sum()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day22/mod.rs:222:15 [INFO] [stdout] | [INFO] [stdout] 216 | let number: Option = if number == "" { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | match (prefix, number) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/day25/mod.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 135 | let mut doors = collections::HashSet::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | let mut items = collections::HashSet::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | Ok(Room { [INFO] [stdout] | ____________^ [INFO] [stdout] 163 | | name, [INFO] [stdout] 164 | | description, [INFO] [stdout] 165 | | doors, [INFO] [stdout] 166 | | items, [INFO] [stdout] 167 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_period` is never used [INFO] [stdout] --> src/day22/mod.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 196 | impl Instruction { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 197 | fn get_period(&self, deck_size: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `description`, `doors`, and `items` are never read [INFO] [stdout] --> src/day25/mod.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 94 | struct Room { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 95 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 96 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 97 | doors: collections::HashSet, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 98 | items: collections::HashSet, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Room` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/day12/mod.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | Ok(moons.iter().map(|moon| moon.borrow().total_energy()).sum()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day22/mod.rs:222:15 [INFO] [stdout] | [INFO] [stdout] 216 | let number: Option = if number == "" { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | match (prefix, number) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/day25/mod.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 135 | let mut doors = collections::HashSet::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | let mut items = collections::HashSet::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | Ok(Room { [INFO] [stdout] | ____________^ [INFO] [stdout] 163 | | name, [INFO] [stdout] 164 | | description, [INFO] [stdout] 165 | | doors, [INFO] [stdout] 166 | | items, [INFO] [stdout] 167 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2019` (bin "advent-of-code-2019" test) due to 4 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `advent-of-code-2019` (bin "advent-of-code-2019") due to 4 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ecc49b28f688b3d75c65abc381c97d9eae8c4d6740c343b7a238b6851853eac2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecc49b28f688b3d75c65abc381c97d9eae8c4d6740c343b7a238b6851853eac2", kill_on_drop: false }` [INFO] [stdout] ecc49b28f688b3d75c65abc381c97d9eae8c4d6740c343b7a238b6851853eac2