[INFO] fetching crate key-lang 0.1.1... [INFO] checking key-lang-0.1.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate key-lang 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate key-lang 0.1.1 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 crates.io crate key-lang 0.1.1 [INFO] finished tweaking crates.io crate key-lang 0.1.1 [INFO] tweaked toml for crates.io crate key-lang 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate key-lang 0.1.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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e103a5801d063dc8fd26704e9172b23883e05a7ff51e81c38283dbdddbde528 [INFO] running `Command { std: "docker" "start" "-a" "1e103a5801d063dc8fd26704e9172b23883e05a7ff51e81c38283dbdddbde528", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e103a5801d063dc8fd26704e9172b23883e05a7ff51e81c38283dbdddbde528", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e103a5801d063dc8fd26704e9172b23883e05a7ff51e81c38283dbdddbde528", kill_on_drop: false }` [INFO] [stdout] 1e103a5801d063dc8fd26704e9172b23883e05a7ff51e81c38283dbdddbde528 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab382708c2b6ddf6ffa450316ef7bc455448407e67da8036ef14ff5f9c08b2b8 [INFO] running `Command { std: "docker" "start" "-a" "ab382708c2b6ddf6ffa450316ef7bc455448407e67da8036ef14ff5f9c08b2b8", kill_on_drop: false }` [INFO] [stderr] Checking key-lang v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `expr::Expr` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/scan/stmt.rs:188:39 [INFO] [stdout] | [INFO] [stdout] 181 | let ident = self.literal(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | if let Expr::Variant(n) = self.expr_group() { [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 `expr::Expr` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/scan/stmt.rs:188:39 [INFO] [stdout] | [INFO] [stdout] 181 | let ident = self.literal(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | if let Expr::Variant(n) = self.expr_group() { [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 `expr::Expr` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/scan/expr.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut expr_stack = vec![left]; [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | let right = expr_stack.pop().unwrap(); [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 `expr::Expr` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/scan/expr.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut expr_stack = vec![left]; [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | let right = expr_stack.pop().unwrap(); [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 `runtime::calc::CalcRef` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/runtime/calc.rs:437:11 [INFO] [stdout] | [INFO] [stdout] 396 | fn expr_set(mut this: Scope, left: &Expr, right: Litr) { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 437 | let left = this.calc_ref_unlocked(left); [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 `runtime::calc::CalcRef` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/runtime/calc.rs:499:24 [INFO] [stdout] | [INFO] [stdout] 493 | fn expr_set_diff(mut this: Scope, left: &Expr, f:impl Fn(&Litr)-> Litr) { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 499 | let left = &mut *this.calc_ref_unlocked(e); [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 `runtime::calc::CalcRef` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/runtime/calc.rs:437:11 [INFO] [stdout] | [INFO] [stdout] 396 | fn expr_set(mut this: Scope, left: &Expr, right: Litr) { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 437 | let left = this.calc_ref_unlocked(left); [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 `runtime::calc::CalcRef` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/runtime/calc.rs:499:24 [INFO] [stdout] | [INFO] [stdout] 493 | fn expr_set_diff(mut this: Scope, left: &Expr, f:impl Fn(&Litr)-> Litr) { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 499 | let left = &mut *this.calc_ref_unlocked(e); [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 `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/primitive/list.rs:569:20 [INFO] [stdout] | [INFO] [stdout] 567 | let mut args = args.into_iter(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 568 | // 如果传入了大小就按大小分配 [INFO] [stdout] 569 | if let Some(n) = args.next() { [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 `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/primitive/list.rs:569:20 [INFO] [stdout] | [INFO] [stdout] 567 | let mut args = args.into_iter(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 568 | // 如果传入了大小就按大小分配 [INFO] [stdout] 569 | if let Some(n) = args.next() { [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: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | let opts = unsafe {&mut GLOBAL_OPTIONS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 73 | let opts = unsafe {&raw mut GLOBAL_OPTIONS}; [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/scan/stmt.rs:512:42 [INFO] [stdout] | [INFO] [stdout] 512 | let mut place = std::mem::take(&mut crate::PLACE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 512 | let mut place = std::mem::take(&raw mut crate::PLACE); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/scan/literal.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | super::expr::ON_PIPE.take().expect("管道占位符只能在管道操作符'|>'后使用") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/runtime/externer.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | let exec = unsafe {EXEC.as_mut().expect("未找到extern函数,这是bug")}; [INFO] [stdout] | ^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 57 | Local(f)=> translate_local_impl! { f [INFO] [stdout] | ____________________- [INFO] [stdout] 58 | | 0 agent0 () [INFO] [stdout] 59 | | 1 agent1 (a) [INFO] [stdout] 60 | | 2 agent2 (a,b) [INFO] [stdout] ... | [INFO] [stdout] 65 | | 7 agent7 (a,b,c,d,e,f,g) [INFO] [stdout] 66 | | }, [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `translate_local_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/primitive/mod.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | if let Some(cls) = &mut CLASSES { [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 76 | if let Some(cls) = &raw mut CLASSES { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/primitive/kstd.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | let mut place = std::mem::take(&mut crate::PLACE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 52 | let mut place = std::mem::take(&raw mut crate::PLACE); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | let opts = unsafe {&mut GLOBAL_OPTIONS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 73 | let opts = unsafe {&raw mut GLOBAL_OPTIONS}; [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/scan/stmt.rs:512:42 [INFO] [stdout] | [INFO] [stdout] 512 | let mut place = std::mem::take(&mut crate::PLACE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 512 | let mut place = std::mem::take(&raw mut crate::PLACE); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/scan/literal.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | super::expr::ON_PIPE.take().expect("管道占位符只能在管道操作符'|>'后使用") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/runtime/externer.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | let exec = unsafe {EXEC.as_mut().expect("未找到extern函数,这是bug")}; [INFO] [stdout] | ^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 57 | Local(f)=> translate_local_impl! { f [INFO] [stdout] | ____________________- [INFO] [stdout] 58 | | 0 agent0 () [INFO] [stdout] 59 | | 1 agent1 (a) [INFO] [stdout] 60 | | 2 agent2 (a,b) [INFO] [stdout] ... | [INFO] [stdout] 65 | | 7 agent7 (a,b,c,d,e,f,g) [INFO] [stdout] 66 | | }, [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `translate_local_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/primitive/mod.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | if let Some(cls) = &mut CLASSES { [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 76 | if let Some(cls) = &raw mut CLASSES { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/primitive/kstd.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | let mut place = std::mem::take(&mut crate::PLACE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 52 | let mut place = std::mem::take(&raw mut crate::PLACE); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `key-lang` (bin "key-lang" test) due to 6 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `key-lang` (bin "key-lang") due to 6 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ab382708c2b6ddf6ffa450316ef7bc455448407e67da8036ef14ff5f9c08b2b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab382708c2b6ddf6ffa450316ef7bc455448407e67da8036ef14ff5f9c08b2b8", kill_on_drop: false }` [INFO] [stdout] ab382708c2b6ddf6ffa450316ef7bc455448407e67da8036ef14ff5f9c08b2b8