[INFO] cloning repository https://github.com/disDeal/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/disDeal/Advent-of-Code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdisDeal%2FAdvent-of-Code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdisDeal%2FAdvent-of-Code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5fa14fc627410025eec2927c8d3098bcd7e3333 [INFO] checking disDeal/Advent-of-Code-2019/a5fa14fc627410025eec2927c8d3098bcd7e3333 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%2FdisDeal%2FAdvent-of-Code-2019" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/disDeal/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/disDeal/Advent-of-Code-2019 [INFO] finished tweaking git repo https://github.com/disDeal/Advent-of-Code-2019 [INFO] tweaked toml for git repo https://github.com/disDeal/Advent-of-Code-2019 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/disDeal/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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 068793867f6df382a2ce05199dded3ab4e40519fb71343f611dac744de659b18 [INFO] running `Command { std: "docker" "start" "-a" "068793867f6df382a2ce05199dded3ab4e40519fb71343f611dac744de659b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "068793867f6df382a2ce05199dded3ab4e40519fb71343f611dac744de659b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "068793867f6df382a2ce05199dded3ab4e40519fb71343f611dac744de659b18", kill_on_drop: false }` [INFO] [stdout] 068793867f6df382a2ce05199dded3ab4e40519fb71343f611dac744de659b18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a75b0176b4251eb594ac37ca3df732a63ffcc0aaccca7caa3943ead6079c7da0 [INFO] running `Command { std: "docker" "start" "-a" "a75b0176b4251eb594ac37ca3df732a63ffcc0aaccca7caa3943ead6079c7da0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking crossbeam-channel v0.4.0 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking bytecount v0.6.0 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking rayon v1.2.1 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking atoi v0.3.2 [INFO] [stderr] Checking rand_os v0.2.2 [INFO] [stderr] Checking rand_xoshiro v0.3.1 [INFO] [stderr] Checking criterion-plot v0.4.0 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Checking tinytemplate v1.0.2 [INFO] [stderr] Checking structopt v0.3.5 [INFO] [stderr] Checking aoc2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/day13.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn run(reader: R) -> Result<(String, String), Error> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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/computer.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn push_back(&mut self, val: T) { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | self.sender.send(val).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/day06.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 58 | fn from_iter(iter: I) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | Graph(HashMap::from_iter(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] [INFO] [stdout] [INFO] [stdout] warning: the type `[RefCell; 4]` does not permit being left uninitialized [INFO] [stdout] --> src/day12_v2.rs:71:50 [INFO] [stdout] | [INFO] [stdout] 71 | let mut moons: [RefCell; 4] = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[[(i64, i64); 4]; 3]` does not permit being left uninitialized [INFO] [stdout] --> src/day12_v2.rs:128:52 [INFO] [stdout] | [INFO] [stdout] 128 | let mut a: [[(i64, i64); 4]; 3] = unsafe { mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [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/utils.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) const fn new(x: T, y: T, z: T) -> Self { [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | Self([x, y, z]) [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/utils.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 142 | fn from(tup: (T, T, T)) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | Self([tup.0, tup.1, tup.2]) [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 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2019` (lib) due to 5 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a75b0176b4251eb594ac37ca3df732a63ffcc0aaccca7caa3943ead6079c7da0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a75b0176b4251eb594ac37ca3df732a63ffcc0aaccca7caa3943ead6079c7da0", kill_on_drop: false }` [INFO] [stdout] a75b0176b4251eb594ac37ca3df732a63ffcc0aaccca7caa3943ead6079c7da0