[INFO] fetching crate icrc 0.0.1... [INFO] checking icrc-0.0.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate icrc 0.0.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate icrc 0.0.1 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 crates.io crate icrc 0.0.1 [INFO] finished tweaking crates.io crate icrc 0.0.1 [INFO] tweaked toml for crates.io crate icrc 0.0.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate icrc 0.0.1 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8503ac39eaa82d12e35bc2fd3e5751d7aa7bd1f0aba1f267b08d730d25b2722b [INFO] running `Command { std: "docker" "start" "-a" "8503ac39eaa82d12e35bc2fd3e5751d7aa7bd1f0aba1f267b08d730d25b2722b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8503ac39eaa82d12e35bc2fd3e5751d7aa7bd1f0aba1f267b08d730d25b2722b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8503ac39eaa82d12e35bc2fd3e5751d7aa7bd1f0aba1f267b08d730d25b2722b", kill_on_drop: false }` [INFO] [stdout] 8503ac39eaa82d12e35bc2fd3e5751d7aa7bd1f0aba1f267b08d730d25b2722b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] cdca060f8da5e8d9306bf77f294e6580cc80a21dcf4e91c9304d104d9d04e9f1 [INFO] running `Command { std: "docker" "start" "-a" "cdca060f8da5e8d9306bf77f294e6580cc80a21dcf4e91c9304d104d9d04e9f1", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.1.8 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking pretty v0.12.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking ic0 v0.23.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling serde_derive v1.0.205 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking logos v0.13.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Compiling serde_tokenstream v0.2.1 [INFO] [stderr] Checking candid v0.10.10 [INFO] [stderr] Compiling candid_parser v0.1.4 [INFO] [stderr] Checking icrc-ledger-types v0.1.6 [INFO] [stderr] Compiling ic-cdk-macros v0.15.0 [INFO] [stderr] Checking ic-cdk v0.15.0 [INFO] [stderr] Checking icrc v0.0.1 (/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] --> examples/icrc7.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 13 | fn with_ledger(f: impl FnOnce(&Ledger) -> R) -> R { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | LEDGER.with(|cell| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 15 | | f(cell [INFO] [stdout] 16 | | .borrow() [INFO] [stdout] 17 | | .as_ref() [INFO] [stdout] 18 | | .expect("ledger state not initialized")) [INFO] [stdout] 19 | | }) [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] --> examples/icrc7.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 13 | fn with_ledger(f: impl FnOnce(&Ledger) -> R) -> R { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | LEDGER.with(|cell| { [INFO] [stdout] 15 | f(cell [INFO] [stdout] | _______________^ [INFO] [stdout] 16 | | .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] --> examples/icrc7.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 22 | fn with_ledger_mut(f: impl FnOnce(&mut Ledger) -> R) -> R { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | LEDGER.with(|cell| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 24 | | f(cell [INFO] [stdout] 25 | | .borrow_mut() [INFO] [stdout] 26 | | .as_mut() [INFO] [stdout] 27 | | .expect("ledger state not initialized")) [INFO] [stdout] 28 | | }) [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] --> examples/icrc7.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 22 | fn with_ledger_mut(f: impl FnOnce(&mut Ledger) -> R) -> R { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | LEDGER.with(|cell| { [INFO] [stdout] 24 | f(cell [INFO] [stdout] | _______________^ [INFO] [stdout] 25 | | .borrow_mut() [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `icrc` (example "icrc7") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "cdca060f8da5e8d9306bf77f294e6580cc80a21dcf4e91c9304d104d9d04e9f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdca060f8da5e8d9306bf77f294e6580cc80a21dcf4e91c9304d104d9d04e9f1", kill_on_drop: false }` [INFO] [stdout] cdca060f8da5e8d9306bf77f294e6580cc80a21dcf4e91c9304d104d9d04e9f1