[INFO] fetching crate quickjs-rusty 0.6.3... [INFO] checking quickjs-rusty-0.6.3 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate quickjs-rusty 0.6.3 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate quickjs-rusty 0.6.3 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 quickjs-rusty 0.6.3 [INFO] finished tweaking crates.io crate quickjs-rusty 0.6.3 [INFO] tweaked toml for crates.io crate quickjs-rusty 0.6.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate quickjs-rusty 0.6.3 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f66568fe134a03c28ae106336ebcec9ee5ec905e2c154474a325363925211cf3 [INFO] running `Command { std: "docker" "start" "-a" "f66568fe134a03c28ae106336ebcec9ee5ec905e2c154474a325363925211cf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f66568fe134a03c28ae106336ebcec9ee5ec905e2c154474a325363925211cf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f66568fe134a03c28ae106336ebcec9ee5ec905e2c154474a325363925211cf3", kill_on_drop: false }` [INFO] [stdout] f66568fe134a03c28ae106336ebcec9ee5ec905e2c154474a325363925211cf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] cc0ce71dc6780d387b3863f23004b6f5ec4c27f60a6393873ac7daeda8681bed [INFO] running `Command { std: "docker" "start" "-a" "cc0ce71dc6780d387b3863f23004b6f5ec4c27f60a6393873ac7daeda8681bed", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling walkdir v0.1.8 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling copy_dir v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling libquickjs-ng-sys v0.6.1 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Checking quickjs-rusty v0.6.3 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `value::value::OwnedJsValue` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compile.rs:161:16 [INFO] [stdout] | [INFO] [stdout] 137 | let ctx = Context::new(None).unwrap(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | let func2 = func2_res [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | let run_res = run_compiled_function(&func2); [INFO] [stdout] | ------- [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] | 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] 160 | match run_res { [INFO] [stdout] 161 | Ok(res) => { [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 `value::value::OwnedJsValue` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compile.rs:196:16 [INFO] [stdout] | [INFO] [stdout] 172 | let ctx = Context::new(None).unwrap(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | let func2 = func2_res [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | let run_res = run_compiled_function(&func2); [INFO] [stdout] | ------- [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] | 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] 196 | Ok(res) => { [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `quickjs-rusty` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/serde.rs:219:11 [INFO] [stdout] | [INFO] [stdout] 214 | let context = Context::builder().build().unwrap(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | let js_value = to_js(unsafe { context.context_raw() }, &value).unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | [INFO] [stdout] 219 | match from_js::(unsafe { context.context_raw() }, &js_value) { [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 `quickjs-rusty` (test "serde") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "cc0ce71dc6780d387b3863f23004b6f5ec4c27f60a6393873ac7daeda8681bed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc0ce71dc6780d387b3863f23004b6f5ec4c27f60a6393873ac7daeda8681bed", kill_on_drop: false }` [INFO] [stdout] cc0ce71dc6780d387b3863f23004b6f5ec4c27f60a6393873ac7daeda8681bed