[INFO] cloning repository https://github.com/Tejpbit/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/Tejpbit/advent-of-code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTejpbit%2Fadvent-of-code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTejpbit%2Fadvent-of-code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c33d20e003c7071136915e9c84f5d9143122e5ef [INFO] checking Tejpbit/advent-of-code-2019/c33d20e003c7071136915e9c84f5d9143122e5ef 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%2FTejpbit%2Fadvent-of-code-2019" "/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/Tejpbit/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/Tejpbit/advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/Tejpbit/advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/Tejpbit/advent-of-code-2019 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Tejpbit/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] 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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8090834a1717526dc91eca61392083f3ae9b9289b388c8f0f0cfaeaea3265667 [INFO] running `Command { std: "docker" "start" "-a" "8090834a1717526dc91eca61392083f3ae9b9289b388c8f0f0cfaeaea3265667", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8090834a1717526dc91eca61392083f3ae9b9289b388c8f0f0cfaeaea3265667", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8090834a1717526dc91eca61392083f3ae9b9289b388c8f0f0cfaeaea3265667", kill_on_drop: false }` [INFO] [stdout] 8090834a1717526dc91eca61392083f3ae9b9289b388c8f0f0cfaeaea3265667 [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 -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] ed1d83f361fe85419c0d78b1bd03297e424b0fc4e78830e11567b6d79bb68d18 [INFO] running `Command { std: "docker" "start" "-a" "ed1d83f361fe85419c0d78b1bd03297e424b0fc4e78830e11567b6d79bb68d18", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking permute v0.1.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking crossbeam-channel v0.4.0 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking advent-of-code-2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `day3` [INFO] [stdout] --> src/days/day04.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let day3 = Day04::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_day3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/days/day10.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | let mut max = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `int_coords` [INFO] [stdout] --> src/days/day10.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let int_coords = (coord.0 as i32, coord.1 as i32); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_int_coords` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/days/day05.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let res = day5.part1(input); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/days/day10.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut max = 0; [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: variable does not need to be mutable [INFO] [stdout] --> src/days/day10.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut coord = (-1f64, -1f64); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/days/day10.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | let mut max = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `int_coords` [INFO] [stdout] --> src/days/day10.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let int_coords = (coord.0 as i32, coord.1 as i32); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_int_coords` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/days/day10.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut max = 0; [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: variable does not need to be mutable [INFO] [stdout] --> src/days/day10.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut coord = (-1f64, -1f64); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `day` [INFO] [stdout] --> src/days/day15.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let day = Day15::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_day` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `day` [INFO] [stdout] --> src/days/day15.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let day = Day15::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_day` [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/days/lib/int_computer.rs:168:19 [INFO] [stdout] | [INFO] [stdout] 165 | input: Receiver, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | output: Sender, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | ) -> JoinHandle<()> { [INFO] [stdout] 168 | thread::spawn(move || { [INFO] [stdout] | ___________________^ [INFO] [stdout] 169 | | let vec_memory = memory; [INFO] [stdout] 170 | | let mut memory: HashMap = HashMap::new(); [INFO] [stdout] 171 | | for (i, value) in vec_memory.iter().enumerate() { [INFO] [stdout] ... | [INFO] [stdout] 319 | | } [INFO] [stdout] 320 | | }) [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; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2019` (bin "advent-of-code-2019") due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/days/day02.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | a.part1("asd"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 81 | let _ = a.part1("asd"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/days/day03.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | / day3.part1( [INFO] [stdout] 310 | | "R75,D30,R83,U83,L12,D49,R71,U7,L72\n\ [INFO] [stdout] 311 | | U62,R66,U55,R34,D71,R55,D58,R83", [INFO] [stdout] 312 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 309 | let _ = day3.part1( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/days/day03.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | a.part1("asd"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 325 | let _ = a.part1("asd"); [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/days/lib/int_computer.rs:168:19 [INFO] [stdout] | [INFO] [stdout] 165 | input: Receiver, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | output: Sender, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | ) -> JoinHandle<()> { [INFO] [stdout] 168 | thread::spawn(move || { [INFO] [stdout] | ___________________^ [INFO] [stdout] 169 | | let vec_memory = memory; [INFO] [stdout] 170 | | let mut memory: HashMap = HashMap::new(); [INFO] [stdout] 171 | | for (i, value) in vec_memory.iter().enumerate() { [INFO] [stdout] ... | [INFO] [stdout] 319 | | } [INFO] [stdout] 320 | | }) [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; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2019` (bin "advent-of-code-2019" test) due to 2 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ed1d83f361fe85419c0d78b1bd03297e424b0fc4e78830e11567b6d79bb68d18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed1d83f361fe85419c0d78b1bd03297e424b0fc4e78830e11567b6d79bb68d18", kill_on_drop: false }` [INFO] [stdout] ed1d83f361fe85419c0d78b1bd03297e424b0fc4e78830e11567b6d79bb68d18