[INFO] cloning repository https://github.com/JonathanPlasse/adventofcode2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JonathanPlasse/adventofcode2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonathanPlasse%2Fadventofcode2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonathanPlasse%2Fadventofcode2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c86f7972e2a927160735af150c9b7ea280f9b394 [INFO] checking JonathanPlasse/adventofcode2022/c86f7972e2a927160735af150c9b7ea280f9b394 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%2FJonathanPlasse%2Fadventofcode2022" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JonathanPlasse/adventofcode2022 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/JonathanPlasse/adventofcode2022 [INFO] finished tweaking git repo https://github.com/JonathanPlasse/adventofcode2022 [INFO] tweaked toml for git repo https://github.com/JonathanPlasse/adventofcode2022 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JonathanPlasse/adventofcode2022 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] dc65b5c51cd2f09c78e7983e2057316036c9021523720dd7c486b96a3acb5e82 [INFO] running `Command { std: "docker" "start" "-a" "dc65b5c51cd2f09c78e7983e2057316036c9021523720dd7c486b96a3acb5e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc65b5c51cd2f09c78e7983e2057316036c9021523720dd7c486b96a3acb5e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc65b5c51cd2f09c78e7983e2057316036c9021523720dd7c486b96a3acb5e82", kill_on_drop: false }` [INFO] [stdout] dc65b5c51cd2f09c78e7983e2057316036c9021523720dd7c486b96a3acb5e82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 1c79a84a6d4e73941f5e33ed2dd92e6616a7b718d01bed44a8868462c1a9bc1c [INFO] running `Command { std: "docker" "start" "-a" "1c79a84a6d4e73941f5e33ed2dd92e6616a7b718d01bed44a8868462c1a9bc1c", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking pretty_assertions v1.3.0 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking petgraph v0.6.2 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking adventofcode2022 v0.1.0 (/opt/rustwide/workdir) [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/bin/day07a.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|(_, directory)| directory.borrow().calculate_total_size()) [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/bin/day07a.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 40 | let root_directory = Rc::new(RefCell::new(Directory { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | let mut current_directory = Rc::clone(&root_directory); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | / root_directory [INFO] [stdout] 102 | | .to_owned() [INFO] [stdout] 103 | | .borrow() [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/bin/day03b.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 18 | .filter_map(|rucksacks| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | / rucksacks [INFO] [stdout] 20 | | .fold(None, |acc, rucksack| -> Option> { [INFO] [stdout] 21 | | let items = rucksack.iter().copied().collect(); [INFO] [stdout] 22 | | Some( [INFO] [stdout] ... | [INFO] [stdout] 26 | | })? [INFO] [stdout] 27 | | .into_iter() [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/bin/day03b.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 20 | .fold(None, |acc, rucksack| -> Option> { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let items = rucksack.iter().copied().collect(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | Some( [INFO] [stdout] 23 | / acc.map(|acc| acc.intersection(&items).copied().collect()) [INFO] [stdout] 24 | | .unwrap_or(items), [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [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/bin/day07b.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|(_, directory)| directory.borrow().calculate_total_size()) [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] [stderr] error: could not compile `adventofcode2022` (bin "day07a" test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `adventofcode2022` (bin "day03b") due to 3 previous errors [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/bin/day07b.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 53 | let root_directory = Rc::new(RefCell::new(Directory { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | let mut current_directory = Rc::clone(&root_directory); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | / root_directory [INFO] [stdout] 115 | | .to_owned() [INFO] [stdout] 116 | | .borrow() [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2022` (bin "day07b" test) due to 3 previous errors [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/bin/day03b.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 18 | .filter_map(|rucksacks| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | / rucksacks [INFO] [stdout] 20 | | .fold(None, |acc, rucksack| -> Option> { [INFO] [stdout] 21 | | let items = rucksack.iter().copied().collect(); [INFO] [stdout] 22 | | Some( [INFO] [stdout] ... | [INFO] [stdout] 26 | | })? [INFO] [stdout] 27 | | .into_iter() [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/bin/day03b.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 20 | .fold(None, |acc, rucksack| -> Option> { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let items = rucksack.iter().copied().collect(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | Some( [INFO] [stdout] 23 | / acc.map(|acc| acc.intersection(&items).copied().collect()) [INFO] [stdout] 24 | | .unwrap_or(items), [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2022` (bin "day03b" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "1c79a84a6d4e73941f5e33ed2dd92e6616a7b718d01bed44a8868462c1a9bc1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c79a84a6d4e73941f5e33ed2dd92e6616a7b718d01bed44a8868462c1a9bc1c", kill_on_drop: false }` [INFO] [stdout] 1c79a84a6d4e73941f5e33ed2dd92e6616a7b718d01bed44a8868462c1a9bc1c