[INFO] fetching crate jrsonnet-stdlib 0.5.0-pre95... [INFO] checking jrsonnet-stdlib-0.5.0-pre95 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate jrsonnet-stdlib 0.5.0-pre95 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate jrsonnet-stdlib 0.5.0-pre95 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jrsonnet-stdlib 0.5.0-pre95 [INFO] finished tweaking crates.io crate jrsonnet-stdlib 0.5.0-pre95 [INFO] tweaked toml for crates.io crate jrsonnet-stdlib 0.5.0-pre95 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 82 packages to latest compatible versions [INFO] [stderr] Adding annotate-snippets v0.9.2 (available: v0.11.4) [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding hashbrown v0.13.2 (available: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding strsim v0.10.0 (available: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18635fa7f3831ebea94eeb1c8aaf14886fd770b4ed50123786f47acc398f2e00 [INFO] running `Command { std: "docker" "start" "-a" "18635fa7f3831ebea94eeb1c8aaf14886fd770b4ed50123786f47acc398f2e00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18635fa7f3831ebea94eeb1c8aaf14886fd770b4ed50123786f47acc398f2e00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18635fa7f3831ebea94eeb1c8aaf14886fd770b4ed50123786f47acc398f2e00", kill_on_drop: false }` [INFO] [stdout] 18635fa7f3831ebea94eeb1c8aaf14886fd770b4ed50123786f47acc398f2e00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7059fa5aecfa0c4d83fed60c8fc7860122d447e4534e3e97dbf6a50d89e904fb [INFO] running `Command { std: "docker" "start" "-a" "7059fa5aecfa0c4d83fed60c8fc7860122d447e4534e3e97dbf6a50d89e904fb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling peg-runtime v0.8.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Checking yansi-term v0.1.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking annotate-snippets v0.9.2 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling peg-macros v0.8.4 [INFO] [stderr] Checking peg v0.8.4 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking serde_yaml_with_quirks v0.8.24 [INFO] [stderr] Compiling jrsonnet-gcmodule-derive v0.3.7 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking jrsonnet-gcmodule v0.3.7 [INFO] [stderr] Checking jrsonnet-types v0.5.0-pre95 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Compiling structdump-derive v0.2.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling jrsonnet-macros v0.5.0-pre95 [INFO] [stderr] Compiling structdump v0.2.0 [INFO] [stderr] Compiling jrsonnet-interner v0.5.0-pre95 [INFO] [stderr] Checking jrsonnet-parser v0.5.0-pre95 [INFO] [stderr] Checking jrsonnet-evaluator v0.5.0-pre95 [INFO] [stderr] Compiling jrsonnet-stdlib v0.5.0-pre95 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `serialized-stdlib` [INFO] [stdout] --> src/expr.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(feature = "serialized-stdlib")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bincode`, `codegenerated-stdlib`, `default`, `exp-bigint`, `exp-null-coaelse`, `exp-preserve-order`, `legacy-this-file`, and `num-bigint` [INFO] [stdout] = help: consider adding `serialized-stdlib` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serialized-stdlib` [INFO] [stdout] --> src/expr.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(feature = "serialized-stdlib")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bincode`, `codegenerated-stdlib`, `default`, `exp-bigint`, `exp-null-coaelse`, `exp-preserve-order`, `legacy-this-file`, and `num-bigint` [INFO] [stdout] = help: consider adding `serialized-stdlib` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/arrays.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn builtin_make_array(sz: BoundedI32<0, { i32::MAX }>, func: FuncVal) -> Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | if let Some(trivial) = func.evaluate_trivial() { [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: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/arrays.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn builtin_make_array(sz: BoundedI32<0, { i32::MAX }>, func: FuncVal) -> Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | if let Some(trivial) = func.evaluate_trivial() { [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: this value of type `jrsonnet_evaluator::Val` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/operator.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn builtin_mod(a: Either![f64, IStr], b: Val) -> Result { [INFO] [stdout] | - - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | &match a { [INFO] [stdout] | __________^ [INFO] [stdout] 18 | | A(v) => Val::Num(v), [INFO] [stdout] 19 | | B(s) => Val::string(s), [INFO] [stdout] 20 | | }, [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: this value of type `jrsonnet_evaluator::Val` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/operator.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn builtin_mod(a: Either![f64, IStr], b: Val) -> Result { [INFO] [stdout] | - - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | &match a { [INFO] [stdout] | __________^ [INFO] [stdout] 18 | | A(v) => Val::Num(v), [INFO] [stdout] 19 | | B(s) => Val::string(s), [INFO] [stdout] 20 | | }, [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: this value of type `jrsonnet_evaluator::Val` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/manifest/mod.rs:57:2 [INFO] [stdout] | [INFO] [stdout] 54 | indent: IStr, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | Val::Obj(value).manifest(TomlFormat::std_to_toml( [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: this value of type `jrsonnet_evaluator::Val` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/manifest/mod.rs:57:2 [INFO] [stdout] | [INFO] [stdout] 54 | indent: IStr, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | Val::Obj(value).manifest(TomlFormat::std_to_toml( [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: this value of type `Thunk` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/misc.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn builtin_ext_var(this: &builtin_ext_var, ctx: Context, x: IStr) -> Result { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let ctx = ctx.state().create_default_context(extvar_source(&x, "")); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | / this.settings [INFO] [stdout] 32 | | .borrow() [INFO] [stdout] 33 | | .ext_vars [INFO] [stdout] 34 | | .get(&x) [INFO] [stdout] 35 | | .cloned() [INFO] [stdout] 36 | | .ok_or_else(|| UndefinedExternalVariable(x))? [INFO] [stdout] 37 | | .evaluate_arg(ctx, true)? [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: this value of type `Ref<'_, Settings>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/misc.rs:45:2 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn builtin_native(this: &builtin_native, x: IStr) -> Val { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | / this.settings [INFO] [stdout] 46 | | .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: this value of type `Thunk` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/misc.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn builtin_ext_var(this: &builtin_ext_var, ctx: Context, x: IStr) -> Result { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let ctx = ctx.state().create_default_context(extvar_source(&x, "")); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | / this.settings [INFO] [stdout] 32 | | .borrow() [INFO] [stdout] 33 | | .ext_vars [INFO] [stdout] 34 | | .get(&x) [INFO] [stdout] 35 | | .cloned() [INFO] [stdout] 36 | | .ok_or_else(|| UndefinedExternalVariable(x))? [INFO] [stdout] 37 | | .evaluate_arg(ctx, true)? [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: this value of type `Ref<'_, Settings>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/misc.rs:45:2 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn builtin_native(this: &builtin_native, x: IStr) -> Val { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | / this.settings [INFO] [stdout] 46 | | .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: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jrsonnet-stdlib` (lib test) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `jrsonnet-stdlib` (lib) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7059fa5aecfa0c4d83fed60c8fc7860122d447e4534e3e97dbf6a50d89e904fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7059fa5aecfa0c4d83fed60c8fc7860122d447e4534e3e97dbf6a50d89e904fb", kill_on_drop: false }` [INFO] [stdout] 7059fa5aecfa0c4d83fed60c8fc7860122d447e4534e3e97dbf6a50d89e904fb