[INFO] updating cached repository https://github.com/IreneKnapp/2021-advent-of-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d63b78e7031ea442404c0cb4ecf0e5c93972eeb [INFO] checking IreneKnapp/2021-advent-of-code/8d63b78e7031ea442404c0cb4ecf0e5c93972eeb 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%2FIreneKnapp%2F2021-advent-of-code" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/IreneKnapp/2021-advent-of-code 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/IreneKnapp/2021-advent-of-code [INFO] finished tweaking git repo https://github.com/IreneKnapp/2021-advent-of-code [INFO] tweaked toml for git repo https://github.com/IreneKnapp/2021-advent-of-code written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/IreneKnapp/2021-advent-of-code 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 371fbfaa158f9affecf2c91439c802e260c033861916820c986e68435b6f3f80 [INFO] running `Command { std: "docker" "start" "-a" "371fbfaa158f9affecf2c91439c802e260c033861916820c986e68435b6f3f80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "371fbfaa158f9affecf2c91439c802e260c033861916820c986e68435b6f3f80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "371fbfaa158f9affecf2c91439c802e260c033861916820c986e68435b6f3f80", kill_on_drop: false }` [INFO] [stdout] 371fbfaa158f9affecf2c91439c802e260c033861916820c986e68435b6f3f80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] e4d717d6f5646882f7ffcfa9cc27030eb22cfe48cd00138c1e581143ee036946 [INFO] running `Command { std: "docker" "start" "-a" "e4d717d6f5646882f7ffcfa9cc27030eb22cfe48cd00138c1e581143ee036946", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling escargot v0.3.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking predicates-core v1.0.2 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking termtree v0.2.3 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking predicates-tree v1.0.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking ascii-canvas v3.0.0 [INFO] [stderr] Checking string_cache v0.8.2 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking lalrpop-util v0.19.6 [INFO] [stderr] Checking advent_lib v0.1.0 (/opt/rustwide/workdir/lib) [INFO] [stderr] Checking lalrpop v0.19.6 [INFO] [stderr] Checking advent_14 v0.1.0 (/opt/rustwide/workdir/14) [INFO] [stderr] Checking advent_21 v0.1.0 (/opt/rustwide/workdir/21) [INFO] [stderr] Checking advent_23 v0.1.0 (/opt/rustwide/workdir/23) [INFO] [stderr] Checking advent_20 v0.1.0 (/opt/rustwide/workdir/20) [INFO] [stderr] Checking advent_02 v0.1.0 (/opt/rustwide/workdir/02) [INFO] [stderr] Checking advent_24 v0.1.0 (/opt/rustwide/workdir/24) [INFO] [stderr] Checking advent_25 v0.1.0 (/opt/rustwide/workdir/25) [INFO] [stderr] Checking advent_11 v0.1.0 (/opt/rustwide/workdir/11) [INFO] [stderr] Checking advent_03 v0.1.0 (/opt/rustwide/workdir/03) [INFO] [stderr] Checking advent_09 v0.1.0 (/opt/rustwide/workdir/09) [INFO] [stderr] Checking advent_22 v0.1.0 (/opt/rustwide/workdir/22) [INFO] [stderr] Checking advent_12 v0.1.0 (/opt/rustwide/workdir/12) [INFO] [stderr] Checking advent_19 v0.1.0 (/opt/rustwide/workdir/19) [INFO] [stderr] Checking advent_07 v0.1.0 (/opt/rustwide/workdir/07) [INFO] [stderr] Checking advent_10 v0.1.0 (/opt/rustwide/workdir/10) [INFO] [stderr] Checking advent_13 v0.1.0 (/opt/rustwide/workdir/13) [INFO] [stderr] Checking advent_17 v0.1.0 (/opt/rustwide/workdir/17) [INFO] [stderr] Checking advent_16 v0.1.0 (/opt/rustwide/workdir/16) [INFO] [stderr] Checking advent_06 v0.1.0 (/opt/rustwide/workdir/06) [INFO] [stderr] Checking advent_08 v0.1.0 (/opt/rustwide/workdir/08) [INFO] [stderr] Checking advent_15 v0.1.0 (/opt/rustwide/workdir/15) [INFO] [stderr] Checking advent_01 v0.1.0 (/opt/rustwide/workdir/01) [INFO] [stderr] Checking advent_04 v0.1.0 (/opt/rustwide/workdir/04) [INFO] [stderr] Checking advent_05 v0.1.0 (/opt/rustwide/workdir/05) [INFO] [stdout] warning: fields `version`, `type_id`, `content`, and `subpackets` are never read [INFO] [stdout] --> 16/src/main.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | struct Packet { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | type_id: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | content: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | subpackets: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Packet` 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] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&char` instead of cloning the inner type [INFO] [stdout] --> 08/src/main.rs:185:60 [INFO] [stdout] | [INFO] [stdout] 185 | let encoded_e: char = *encoded_e.iter().next().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking assert_cmd v0.10.2 [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&char` instead of cloning the inner type [INFO] [stdout] --> 08/src/main.rs:185:60 [INFO] [stdout] | [INFO] [stdout] 185 | let encoded_e: char = *encoded_e.iter().next().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `type_id`, `content`, and `subpackets` are never read [INFO] [stdout] --> 16/src/main.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | struct Packet { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | type_id: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | content: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | subpackets: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Packet` 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] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling advent_18 v0.1.0 (/opt/rustwide/workdir/18) [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] --> 18/src/main.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 80 | fn add(left: Box, right: Box) -> Box { [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] 81 | Box::new(Pair { [INFO] [stdout] | ____________^ [INFO] [stdout] 82 | | left: Value::Pair(left), [INFO] [stdout] 83 | | right: Value::Pair(right), [INFO] [stdout] 84 | | }) [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 [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] --> 18/src/main.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 80 | fn add(left: Box, right: Box) -> Box { [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] 81 | Box::new(Pair { [INFO] [stdout] | ____________^ [INFO] [stdout] 82 | | left: Value::Pair(left), [INFO] [stdout] 83 | | right: Value::Pair(right), [INFO] [stdout] 84 | | }) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_18` (bin "advent_18") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `advent_18` (bin "advent_18" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "e4d717d6f5646882f7ffcfa9cc27030eb22cfe48cd00138c1e581143ee036946", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4d717d6f5646882f7ffcfa9cc27030eb22cfe48cd00138c1e581143ee036946", kill_on_drop: false }` [INFO] [stdout] e4d717d6f5646882f7ffcfa9cc27030eb22cfe48cd00138c1e581143ee036946