[INFO] fetching crate grafix-toolbox 0.8.23... [INFO] checking grafix-toolbox-0.8.23 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate grafix-toolbox 0.8.23 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate grafix-toolbox 0.8.23 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 grafix-toolbox 0.8.23 [INFO] finished tweaking crates.io crate grafix-toolbox 0.8.23 [INFO] tweaked toml for crates.io crate grafix-toolbox 0.8.23 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 222 packages to latest compatible versions [INFO] [stderr] Adding aligned-vec v0.5.0 (available: v0.6.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cfg-expr v0.15.8 (available: v0.17.0) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding inotify v0.9.6 (available: v0.11.0) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding mio v0.8.11 (available: v1.0.2) [INFO] [stderr] Adding owned_ttf_parser v0.15.2 (available: v0.24.0) [INFO] [stderr] Adding paste v0.1.18 (available: v1.0.15) [INFO] [stderr] Adding system-deps v6.2.2 (available: v7.0.3) [INFO] [stderr] Adding ttf-parser v0.15.2 (available: v0.24.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [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] [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7017a0688f74b8d7f975b2e270888fb5ddaac053f2a8c2ac12bb8c0ed9341cef [INFO] running `Command { std: "docker" "start" "-a" "7017a0688f74b8d7f975b2e270888fb5ddaac053f2a8c2ac12bb8c0ed9341cef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7017a0688f74b8d7f975b2e270888fb5ddaac053f2a8c2ac12bb8c0ed9341cef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7017a0688f74b8d7f975b2e270888fb5ddaac053f2a8c2ac12bb8c0ed9341cef", kill_on_drop: false }` [INFO] [stdout] 7017a0688f74b8d7f975b2e270888fb5ddaac053f2a8c2ac12bb8c0ed9341cef [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca10d9cb669d18b05b10d4b7966bfdbc01109b70d7f56d5a3e1e1888dd3f75f4 [INFO] running `Command { std: "docker" "start" "-a" "ca10d9cb669d18b05b10d4b7966bfdbc01109b70d7f56d5a3e1e1888dd3f75f4", kill_on_drop: false }` [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling const_format_proc_macros v0.2.33 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking safe_arch v0.7.2 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling glfw-sys v5.0.0+3.3.9 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking const_format v0.2.33 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking wide v0.7.28 [INFO] [stderr] Checking async-io v2.3.4 [INFO] [stderr] Checking async-fs v2.1.2 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking async-signal v0.2.10 [INFO] [stderr] Checking async-net v2.0.0 [INFO] [stderr] Checking async-process v2.3.0 [INFO] [stderr] Checking smol v2.0.2 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking glfw v0.58.0 [INFO] [stderr] Checking nalgebra v0.33.0 [INFO] [stderr] Checking grafix-toolbox v0.8.23 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> kit/opengl/texture/texture_ext.rs:142:64 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn Bind<'l>(&'l self, samp: &'l Sampler) -> TextureBinding { [INFO] [stdout] | -- lifetime `'l` declared here ^ this elided lifetime gets resolved as `'l` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> kit/opengl/texture/texture_ext.rs:142:64 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn Bind<'l>(&'l self, samp: &'l Sampler) -> TextureBinding { [INFO] [stdout] | -- lifetime `'l` declared here ^ this elided lifetime gets resolved as `'l` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `E` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> kit/policies/func/logging.rs:148:7 [INFO] [stdout] | [INFO] [stdout] 145 | fn unwrap(v: Result, msg: &str) -> T { [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] 148 | Err(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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `policies::types::lazy::State` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> kit/policies/types/lazy.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn take(mut self) -> T { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | match mem::take(&mut self.state) { [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 `E` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> kit/policies/func/logging.rs:148:7 [INFO] [stdout] | [INFO] [stdout] 145 | fn unwrap(v: Result, msg: &str) -> T { [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] 148 | Err(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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `policies::types::lazy::State` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> kit/policies/types/lazy.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn take(mut self) -> T { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | match mem::take(&mut self.state) { [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> kit/opengl/shader/compiler.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn compiler(data_rx: Receiver, res_sn: Sender<(ShdResult, Fence)>) { [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] 5 | let mut includes: String = Def(); [INFO] [stdout] 6 | let mut files: Vec>> = Def(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | let mut sources: HashMap = Def(); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 10 | while let Ok(msg) = data_rx.recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: kit/policies/func/logging_def.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | std::panic::set_hook(std::boxed::Box::new(|_| {})); [INFO] [stdout] | ---------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> kit/opengl/shader/compiler.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn compiler(data_rx: Receiver, res_sn: Sender<(ShdResult, Fence)>) { [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] 5 | let mut includes: String = Def(); [INFO] [stdout] 6 | let mut files: Vec>> = Def(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | let mut sources: HashMap = Def(); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 10 | while let Ok(msg) = data_rx.recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: kit/policies/func/logging_def.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | std::panic::set_hook(std::boxed::Box::new(|_| {})); [INFO] [stdout] | ---------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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 `Result<(), ImageError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> kit/opengl/utility/image/loading.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | if let Err(e) = image::save_buffer(name, &self.data, self.w, self.h, t) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: kit/policies/func/logging_def.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | std::panic::set_hook(std::boxed::Box::new(|_| {})); [INFO] [stdout] | ---------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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 shared reference to mutable static is discouraged [INFO] [stdout] --> kit/policies/func/logging.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | unwrap(unwrap_o(unsafe { LOGGER.get() }, "already exited").sender.send(Message::M(msg)), "failed to send"); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> kit/policies/func/logging.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | / LOGGER.get_or_init(move || { [INFO] [stdout] 52 | | std::panic::set_hook(Box(|i| { [INFO] [stdout] 53 | | let bt = process_backtrace(Backtrace::force_capture()); [INFO] [stdout] 54 | | let p = i.payload(); [INFO] [stdout] ... | [INFO] [stdout] 76 | | LoggerState { handle, sender } [INFO] [stdout] 77 | | }); [INFO] [stdout] | |______________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> kit/policies/func/logging.rs:85:49 [INFO] [stdout] | [INFO] [stdout] 85 | let LoggerState { handle, sender } = unsafe { LOGGER.take() }.valid(); [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 shared reference to mutable static is discouraged [INFO] [stdout] --> kit/policies/profiling.rs:73:6 [INFO] [stdout] | [INFO] [stdout] 73 | MAP.get_or_init(|| { [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 83 | PROFILER!(CPU, CPUTimerStopped); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `PROFILER` (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] --> kit/policies/profiling.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | MAP.get_mut().valid() [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 83 | PROFILER!(CPU, CPUTimerStopped); [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 `PROFILER` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> kit/policies/profiling.rs:73:6 [INFO] [stdout] | [INFO] [stdout] 73 | MAP.get_or_init(|| { [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 84 | PROFILER!(GPU, GLTimer); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `PROFILER` (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] --> kit/policies/profiling.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | MAP.get_mut().valid() [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 84 | PROFILER!(GPU, GLTimer); [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 `PROFILER` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result<(), ImageError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> kit/opengl/utility/image/loading.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | if let Err(e) = image::save_buffer(name, &self.data, self.w, self.h, t) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: kit/policies/func/logging_def.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | std::panic::set_hook(std::boxed::Box::new(|_| {})); [INFO] [stdout] | ---------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grafix-toolbox` (lib) due to 5 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> kit/policies/func/logging.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | unwrap(unwrap_o(unsafe { LOGGER.get() }, "already exited").sender.send(Message::M(msg)), "failed to send"); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> kit/policies/func/logging.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | / LOGGER.get_or_init(move || { [INFO] [stdout] 52 | | std::panic::set_hook(Box(|i| { [INFO] [stdout] 53 | | let bt = process_backtrace(Backtrace::force_capture()); [INFO] [stdout] 54 | | let p = i.payload(); [INFO] [stdout] ... | [INFO] [stdout] 76 | | LoggerState { handle, sender } [INFO] [stdout] 77 | | }); [INFO] [stdout] | |______________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> kit/policies/func/logging.rs:85:49 [INFO] [stdout] | [INFO] [stdout] 85 | let LoggerState { handle, sender } = unsafe { LOGGER.take() }.valid(); [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 shared reference to mutable static is discouraged [INFO] [stdout] --> kit/policies/profiling.rs:73:6 [INFO] [stdout] | [INFO] [stdout] 73 | MAP.get_or_init(|| { [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 83 | PROFILER!(CPU, CPUTimerStopped); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `PROFILER` (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] --> kit/policies/profiling.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | MAP.get_mut().valid() [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 83 | PROFILER!(CPU, CPUTimerStopped); [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 `PROFILER` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> kit/policies/profiling.rs:73:6 [INFO] [stdout] | [INFO] [stdout] 73 | MAP.get_or_init(|| { [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 84 | PROFILER!(GPU, GLTimer); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: this warning originates in the macro `PROFILER` (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] --> kit/policies/profiling.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | MAP.get_mut().valid() [INFO] [stdout] | ^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 84 | PROFILER!(GPU, GLTimer); [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 `PROFILER` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grafix-toolbox` (lib test) due to 5 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ca10d9cb669d18b05b10d4b7966bfdbc01109b70d7f56d5a3e1e1888dd3f75f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca10d9cb669d18b05b10d4b7966bfdbc01109b70d7f56d5a3e1e1888dd3f75f4", kill_on_drop: false }` [INFO] [stdout] ca10d9cb669d18b05b10d4b7966bfdbc01109b70d7f56d5a3e1e1888dd3f75f4