[INFO] cloning repository https://github.com/ZePedroResende/advent2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZePedroResende/advent2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZePedroResende%2Fadvent2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZePedroResende%2Fadvent2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b0f37b74a24cde3dcedb1cd577ebbebbfee7214 [INFO] checking ZePedroResende/advent2021/1b0f37b74a24cde3dcedb1cd577ebbebbfee7214 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%2FZePedroResende%2Fadvent2021" "/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/ZePedroResende/advent2021 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/ZePedroResende/advent2021 [INFO] finished tweaking git repo https://github.com/ZePedroResende/advent2021 [INFO] tweaked toml for git repo https://github.com/ZePedroResende/advent2021 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ZePedroResende/advent2021 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] 530b2aa0d7fde78dcb68e870e29c096bf7906c5a760b1abb53c0322a3689dae1 [INFO] running `Command { std: "docker" "start" "-a" "530b2aa0d7fde78dcb68e870e29c096bf7906c5a760b1abb53c0322a3689dae1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "530b2aa0d7fde78dcb68e870e29c096bf7906c5a760b1abb53c0322a3689dae1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "530b2aa0d7fde78dcb68e870e29c096bf7906c5a760b1abb53c0322a3689dae1", kill_on_drop: false }` [INFO] [stdout] 530b2aa0d7fde78dcb68e870e29c096bf7906c5a760b1abb53c0322a3689dae1 [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] 6da47019ef33a1b0a4076ef95c5246f5363f9c92f291d72688f2382bd022970c [INFO] running `Command { std: "docker" "start" "-a" "6da47019ef33a1b0a4076ef95c5246f5363f9c92f291d72688f2382bd022970c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking futures-io v0.3.18 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking futures-sink v0.3.18 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking publicsuffix v1.5.6 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking owo-colors v1.3.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking async-compression v0.3.8 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tracing-error v0.1.2 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking color-spantrace v0.1.6 [INFO] [stderr] Checking color-eyre v0.5.11 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking cookie_store v0.12.0 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking advent2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/solutions/day24.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | Inp(usize), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | Inp(()), [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/solutions/day18.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 60 | fn add_left(&self, e2: Option) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | match (self, e2) { [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/solutions/day18.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 69 | fn add_right(&self, e2: Option) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | match (self, e2) { [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/solutions/day18.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | .map(|l| Element::parse(l.as_bytes(), 0).1) [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/solutions/day18.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | .map(|l| Element::parse(l.as_bytes(), 0).1) [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent2021` (lib) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/solutions/day24.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | Inp(usize), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | Inp(()), [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/solutions/day18.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 60 | fn add_left(&self, e2: Option) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | match (self, e2) { [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/solutions/day18.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 69 | fn add_right(&self, e2: Option) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | match (self, e2) { [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/solutions/day18.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | .map(|l| Element::parse(l.as_bytes(), 0).1) [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/solutions/day18.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | .map(|l| Element::parse(l.as_bytes(), 0).1) [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent2021` (lib test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6da47019ef33a1b0a4076ef95c5246f5363f9c92f291d72688f2382bd022970c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6da47019ef33a1b0a4076ef95c5246f5363f9c92f291d72688f2382bd022970c", kill_on_drop: false }` [INFO] [stdout] 6da47019ef33a1b0a4076ef95c5246f5363f9c92f291d72688f2382bd022970c