[INFO] cloning repository https://github.com/1714080902120/babel-plugin-transform-remove-console-wasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/1714080902120/babel-plugin-transform-remove-console-wasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1714080902120%2Fbabel-plugin-transform-remove-console-wasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1714080902120%2Fbabel-plugin-transform-remove-console-wasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51841837cdc8417233a6cf39ac0c88b866af82f3 [INFO] checking 1714080902120/babel-plugin-transform-remove-console-wasm/51841837cdc8417233a6cf39ac0c88b866af82f3 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1714080902120%2Fbabel-plugin-transform-remove-console-wasm" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/1714080902120/babel-plugin-transform-remove-console-wasm on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/1714080902120/babel-plugin-transform-remove-console-wasm [INFO] finished tweaking git repo https://github.com/1714080902120/babel-plugin-transform-remove-console-wasm [INFO] tweaked toml for git repo https://github.com/1714080902120/babel-plugin-transform-remove-console-wasm written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/1714080902120/babel-plugin-transform-remove-console-wasm 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a595041c310867a4d836bcec4f4f2d93e930277581641722d627913b683b6059 [INFO] running `Command { std: "docker" "start" "-a" "a595041c310867a4d836bcec4f4f2d93e930277581641722d627913b683b6059", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a595041c310867a4d836bcec4f4f2d93e930277581641722d627913b683b6059", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a595041c310867a4d836bcec4f4f2d93e930277581641722d627913b683b6059", kill_on_drop: false }` [INFO] [stdout] a595041c310867a4d836bcec4f4f2d93e930277581641722d627913b683b6059 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fff5d6309ee4cad09ad7eca210a1c8884126bbd07a5829492d14321da143887 [INFO] running `Command { std: "docker" "start" "-a" "0fff5d6309ee4cad09ad7eca210a1c8884126bbd07a5829492d14321da143887", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking web-sys v0.3.69 [INFO] [stderr] Checking rust_babel_plugin_remove_console v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Array` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tool/mod.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | let is_identifier = get_js_function("isIdentifier", property)?; [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | let mut arg = Rc::new(RefCell::new(Object::new())); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | Ok(exclude_array [INFO] [stdout] | ________^ [INFO] [stdout] 71 | | .is_undefined() [INFO] [stdout] 72 | | .then(|| Array::new()) [INFO] [stdout] 73 | | .expect("get exclude array fail") [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 `wasm_bindgen::JsValue` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tool/mod.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 75 | let ref_obj = &*arg.borrow_mut(); [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | / is_identifier [INFO] [stdout] 83 | | .call1(property, &ref_obj) [INFO] [stdout] 84 | | .unwrap_or_else(|_e| { [INFO] [stdout] 85 | | console::log_1(&_e); [INFO] [stdout] 86 | | Boolean::from(false).into() [INFO] [stdout] 87 | | }) [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/tool/mod.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut arg = Rc::new(RefCell::new(Object::new())); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `wasm_bindgen::JsValue` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tool/mod.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 141 | let function_expression = get_js_function("functionExpression", t)?; [INFO] [stdout] | ------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | let block_statemenet = get_js_function("blockStatement", t)?; [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | &JsValue::null(), [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | mut path: Object, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | mut state: Object, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | mut path: Object, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | mut state: Object, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 121 | fn inner_func(mut node: Object, white_list: &Vec) -> Result { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | Box::new(move |mut obj: Object| inner_func(obj, &white_list)) [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_babel_plugin_remove_console` (lib) due to 4 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Array` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tool/mod.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | let is_identifier = get_js_function("isIdentifier", property)?; [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | let mut arg = Rc::new(RefCell::new(Object::new())); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | Ok(exclude_array [INFO] [stdout] | ________^ [INFO] [stdout] 71 | | .is_undefined() [INFO] [stdout] 72 | | .then(|| Array::new()) [INFO] [stdout] 73 | | .expect("get exclude array fail") [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 `wasm_bindgen::JsValue` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tool/mod.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 75 | let ref_obj = &*arg.borrow_mut(); [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | / is_identifier [INFO] [stdout] 83 | | .call1(property, &ref_obj) [INFO] [stdout] 84 | | .unwrap_or_else(|_e| { [INFO] [stdout] 85 | | console::log_1(&_e); [INFO] [stdout] 86 | | Boolean::from(false).into() [INFO] [stdout] 87 | | }) [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/tool/mod.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut arg = Rc::new(RefCell::new(Object::new())); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `wasm_bindgen::JsValue` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tool/mod.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 141 | let function_expression = get_js_function("functionExpression", t)?; [INFO] [stdout] | ------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | let block_statemenet = get_js_function("blockStatement", t)?; [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | &JsValue::null(), [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | mut path: Object, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | mut state: Object, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | mut path: Object, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | mut state: Object, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 121 | fn inner_func(mut node: Object, white_list: &Vec) -> Result { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | Box::new(move |mut obj: Object| inner_func(obj, &white_list)) [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_babel_plugin_remove_console` (lib test) due to 4 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0fff5d6309ee4cad09ad7eca210a1c8884126bbd07a5829492d14321da143887", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fff5d6309ee4cad09ad7eca210a1c8884126bbd07a5829492d14321da143887", kill_on_drop: false }` [INFO] [stdout] 0fff5d6309ee4cad09ad7eca210a1c8884126bbd07a5829492d14321da143887