[INFO] fetching crate mica-std 0.5.0... [INFO] checking mica-std-0.5.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate mica-std 0.5.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate mica-std 0.5.0 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 mica-std 0.5.0 [INFO] finished tweaking crates.io crate mica-std 0.5.0 [INFO] tweaked toml for crates.io crate mica-std 0.5.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (latest: v0.8.11) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [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] 7618df04f6642f75042abe97fed6142a5c9b2e82b5a89f854e25848ee72356ab [INFO] running `Command { std: "docker" "start" "-a" "7618df04f6642f75042abe97fed6142a5c9b2e82b5a89f854e25848ee72356ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7618df04f6642f75042abe97fed6142a5c9b2e82b5a89f854e25848ee72356ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7618df04f6642f75042abe97fed6142a5c9b2e82b5a89f854e25848ee72356ab", kill_on_drop: false }` [INFO] [stdout] 7618df04f6642f75042abe97fed6142a5c9b2e82b5a89f854e25848ee72356ab [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] 3fa199a8b2e3a032d7f146fb06ae19b10c13b34e1e9ca15d0378be8d3a4b76a6 [INFO] running `Command { std: "docker" "start" "-a" "3fa199a8b2e3a032d7f146fb06ae19b10c13b34e1e9ca15d0378be8d3a4b76a6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling mica-language v0.5.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking ahash v0.7.8 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking mica-hl v0.5.0 [INFO] [stderr] Checking mica-std v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/iterators/counters.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn load_counters(engine: &mut Engine) -> Result<(), mica_hl::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: TryFromValue` will fail [INFO] [stdout] --> src/iterators/counters.rs:95:67 [INFO] [stdout] | [INFO] [stdout] 95 | engine.start("mstd-counters.mi", include_str!("counters.mi"))?.trampoline()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` 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/builtins/dict.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 4 | pub(super) fn define(builder: TypeBuilder) -> TypeBuilder { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5 | / builder [INFO] [stdout] 6 | | .add_function("len", Dict::len) [INFO] [stdout] 7 | | .add_function("is_empty", Dict::is_empty) [INFO] [stdout] 8 | | .add_function("insert", Dict::insert) [INFO] [stdout] 9 | | .add_function("remove", Dict::remove) [INFO] [stdout] 10 | | .add_function("get", Dict::get) [INFO] [stdout] 11 | | .add_function("contains_key", Dict::contains_key) [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/builtins/list.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) fn define(builder: TypeBuilder>) -> TypeBuilder> { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4 | / builder [INFO] [stdout] 5 | | .add_function("len", Vec::len) [INFO] [stdout] 6 | | .add_function("is_empty", Vec::is_empty) [INFO] [stdout] 7 | | // get is a common operation and is thus implemented as a raw function to avoid a roundtrip [INFO] [stdout] ... | [INFO] [stdout] 54 | | v.swap(a, b) [INFO] [stdout] 55 | | }) [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/builtins/number.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 5 | pub(super) fn define(builder: TypeBuilder) -> TypeBuilder { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | / builder [INFO] [stdout] 7 | | // Constants [INFO] [stdout] 8 | | .add_static("nan", || f64::NAN) [INFO] [stdout] 9 | | .add_static("infinity", || f64::INFINITY) [INFO] [stdout] ... | [INFO] [stdout] 72 | | .add_static("parse", |s: String| -> Result { s.parse() }) [INFO] [stdout] 73 | | .add_function("to_string", |x: &f64| x.to_string()) [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/builtins/string.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 6 | pub(super) fn define(builder: TypeBuilder) -> TypeBuilder { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | / builder [INFO] [stdout] 8 | | .add_function("cat", |s: &String, t: Gc| format!("{}{}", s, t)) [INFO] [stdout] 9 | | .add_function("contains", |s: &String, sub: Gc| { [INFO] [stdout] 10 | | s.contains(sub.deref().deref()) [INFO] [stdout] ... | [INFO] [stdout] 53 | | }, [INFO] [stdout] 54 | | ) [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 `mica-std` (lib) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/iterators/counters.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn load_counters(engine: &mut Engine) -> Result<(), mica_hl::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: TryFromValue` will fail [INFO] [stdout] --> src/iterators/counters.rs:95:67 [INFO] [stdout] | [INFO] [stdout] 95 | engine.start("mstd-counters.mi", include_str!("counters.mi"))?.trampoline()?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` 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/builtins/dict.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 4 | pub(super) fn define(builder: TypeBuilder) -> TypeBuilder { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5 | / builder [INFO] [stdout] 6 | | .add_function("len", Dict::len) [INFO] [stdout] 7 | | .add_function("is_empty", Dict::is_empty) [INFO] [stdout] 8 | | .add_function("insert", Dict::insert) [INFO] [stdout] 9 | | .add_function("remove", Dict::remove) [INFO] [stdout] 10 | | .add_function("get", Dict::get) [INFO] [stdout] 11 | | .add_function("contains_key", Dict::contains_key) [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/builtins/list.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) fn define(builder: TypeBuilder>) -> TypeBuilder> { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4 | / builder [INFO] [stdout] 5 | | .add_function("len", Vec::len) [INFO] [stdout] 6 | | .add_function("is_empty", Vec::is_empty) [INFO] [stdout] 7 | | // get is a common operation and is thus implemented as a raw function to avoid a roundtrip [INFO] [stdout] ... | [INFO] [stdout] 54 | | v.swap(a, b) [INFO] [stdout] 55 | | }) [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/builtins/number.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 5 | pub(super) fn define(builder: TypeBuilder) -> TypeBuilder { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | / builder [INFO] [stdout] 7 | | // Constants [INFO] [stdout] 8 | | .add_static("nan", || f64::NAN) [INFO] [stdout] 9 | | .add_static("infinity", || f64::INFINITY) [INFO] [stdout] ... | [INFO] [stdout] 72 | | .add_static("parse", |s: String| -> Result { s.parse() }) [INFO] [stdout] 73 | | .add_function("to_string", |x: &f64| x.to_string()) [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/builtins/string.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 6 | pub(super) fn define(builder: TypeBuilder) -> TypeBuilder { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | / builder [INFO] [stdout] 8 | | .add_function("cat", |s: &String, t: Gc| format!("{}{}", s, t)) [INFO] [stdout] 9 | | .add_function("contains", |s: &String, sub: Gc| { [INFO] [stdout] 10 | | s.contains(sub.deref().deref()) [INFO] [stdout] ... | [INFO] [stdout] 53 | | }, [INFO] [stdout] 54 | | ) [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 `mica-std` (lib test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "3fa199a8b2e3a032d7f146fb06ae19b10c13b34e1e9ca15d0378be8d3a4b76a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fa199a8b2e3a032d7f146fb06ae19b10c13b34e1e9ca15d0378be8d3a4b76a6", kill_on_drop: false }` [INFO] [stdout] 3fa199a8b2e3a032d7f146fb06ae19b10c13b34e1e9ca15d0378be8d3a4b76a6