[INFO] cloning repository https://github.com/breynard0/csg_maker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/breynard0/csg_maker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbreynard0%2Fcsg_maker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbreynard0%2Fcsg_maker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 68eab727810370b2e3309d077ffff1a62566ee45 [INFO] checking breynard0/csg_maker against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbreynard0%2Fcsg_maker" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/breynard0/csg_maker [INFO] finished tweaking git repo https://github.com/breynard0/csg_maker [INFO] tweaked toml for git repo https://github.com/breynard0/csg_maker written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/breynard0/csg_maker on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/breynard0/csg_maker 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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e6151e70599caca0ccd23cbbe4840ad6b6c5328c9a2a0a61c989f591d02047d [INFO] running `Command { std: "docker" "start" "-a" "6e6151e70599caca0ccd23cbbe4840ad6b6c5328c9a2a0a61c989f591d02047d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e6151e70599caca0ccd23cbbe4840ad6b6c5328c9a2a0a61c989f591d02047d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e6151e70599caca0ccd23cbbe4840ad6b6c5328c9a2a0a61c989f591d02047d", kill_on_drop: false }` [INFO] [stdout] 6e6151e70599caca0ccd23cbbe4840ad6b6c5328c9a2a0a61c989f591d02047d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 869096329ce5e15b70b1c9fc00ebf8f36f2632f27da72a7ba712c762e7db4a47 [INFO] running `Command { std: "docker" "start" "-a" "869096329ce5e15b70b1c9fc00ebf8f36f2632f27da72a7ba712c762e7db4a47", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling wgpu-hal v0.19.4 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking ecolor v0.27.2 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking emath v0.27.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling wgpu-core v0.19.4 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking mint v0.5.9 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling wgpu v0.19.4 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking const_panic v0.2.8 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking ab_glyph v0.2.25 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking epaint v0.27.2 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking egui v0.27.2 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling encase_derive_impl v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling encase_derive v0.7.0 [INFO] [stderr] Checking polling v3.6.0 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking naga v0.19.2 [INFO] [stderr] Checking encase v0.7.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling enumset_derive v0.8.1 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking enumset v1.1.3 [INFO] [stderr] Checking transform-gizmo v0.1.0 [INFO] [stderr] Checking transform-gizmo-egui v0.1.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Checking sctk-adwaita v0.8.1 [INFO] [stderr] Checking csg_maker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `LogLevel` and `log` [INFO] [stdout] --> src/graphics/init.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::{consts::*, log::{log, LogLevel}}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `models` in the crate root [INFO] [stdout] --> src/utils/tests.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | let filled = crate::models::voxel::Voxel { [INFO] [stdout] | ^^^^^^ could not find `models` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `models` in the crate root [INFO] [stdout] --> src/utils/tests.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | material: crate::models::material::Material::default(), [INFO] [stdout] | ^^^^^^ could not find `models` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `models` in the crate root [INFO] [stdout] --> src/utils/tests.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | let empty = crate::models::voxel::Voxel { [INFO] [stdout] | ^^^^^^ could not find `models` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `models` in the crate root [INFO] [stdout] --> src/utils/tests.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | material: crate::models::material::Material::default(), [INFO] [stdout] | ^^^^^^ could not find `models` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `models` in the crate root [INFO] [stdout] --> src/utils/tests.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | let layer = crate::models::layer::Layer { [INFO] [stdout] | ^^^^^^ could not find `models` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `models` in the crate root [INFO] [stdout] --> src/utils/tests.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | let layer2 = crate::models::layer::Layer { [INFO] [stdout] | ^^^^^^ could not find `models` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `models` in the crate root [INFO] [stdout] --> src/utils/tests.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | let layer = crate::models::layer::Layer { [INFO] [stdout] | ^^^^^^ could not find `models` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `models` in the crate root [INFO] [stdout] --> src/utils/tests.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | let layer2 = crate::models::layer::Layer { [INFO] [stdout] | ^^^^^^ could not find `models` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `models` in the crate root [INFO] [stdout] --> src/utils/tests.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | let layer = crate::models::layer::Layer { [INFO] [stdout] | ^^^^^^ could not find `models` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `models` in the crate root [INFO] [stdout] --> src/utils/tests.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | let layer2 = crate::models::layer::Layer { [INFO] [stdout] | ^^^^^^ could not find `models` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `transform` in `graphics` [INFO] [stdout] --> src/utils/tests.rs:231:30 [INFO] [stdout] | [INFO] [stdout] 231 | let r = crate::graphics::transform::rot_mat(3.0, 5.0, 2.0); [INFO] [stdout] | ^^^^^^^^^ could not find `transform` in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogLevel` and `log` [INFO] [stdout] --> src/graphics/init.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::{consts::*, log::{log, LogLevel}}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics/uniform.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct UniformData { [INFO] [stdout] | ^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/graphics/uniform.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[repr(C)] [INFO] [stdout] 2 | | #[derive(Debug, Clone, Copy, bytemuck::Pod, bytemuck::Zeroable, encase::ShaderType)] [INFO] [stdout] 3 | | pub struct UniformData { [INFO] [stdout] 4 | | pub cam_view_proj: [[f32; 4]; 4], [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/graphics/uniform.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | pub cam_view_proj: [[f32; 4]; 4], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics/vertex.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/graphics/vertex.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / #[repr(C)] [INFO] [stdout] 6 | | #[derive(Clone, Copy, Debug, bytemuck::Pod, bytemuck::Zeroable, Default)] [INFO] [stdout] 7 | | pub struct Vertex { [INFO] [stdout] 8 | | pub pos: [f32; 3], [INFO] [stdout] 9 | | pub color: [f32; 4], [INFO] [stdout] 10 | | pub object_id: u32 [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graphics/init.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn gfx_init(window: &winit::window::Window) -> RenderingObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn gfx_init(window: &winit::window::Window) -> RenderingObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/graphics/input.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | if !KEY_STATE.contains(&key) { [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 mutable reference to mutable static [INFO] [stdout] --> src/graphics/input.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | KEY_STATE.push(key); [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 [INFO] [stdout] --> src/graphics/input.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | if KEY_STATE.contains(&key) { [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 [INFO] [stdout] --> src/graphics/input.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | KEY_STATE.remove(KEY_STATE.iter().position(|x| x == &key).unwrap()); [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 [INFO] [stdout] --> src/graphics/input.rs:96:38 [INFO] [stdout] | [INFO] [stdout] 96 | KEY_STATE.remove(KEY_STATE.iter().position(|x| x == &key).unwrap()); [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 shared reference to mutable static [INFO] [stdout] --> src/graphics/input.rs:137:33 [INFO] [stdout] | [INFO] [stdout] 137 | unsafe { LAST_MOUSE_STATE = MOUSE_STATE.clone() } [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 shared reference to mutable static [INFO] [stdout] --> src/graphics/input.rs:138:31 [INFO] [stdout] | [INFO] [stdout] 138 | unsafe { LAST_KEY_STATE = KEY_STATE.clone() } [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 shared reference to mutable static [INFO] [stdout] --> src/graphics/input.rs:139:31 [INFO] [stdout] | [INFO] [stdout] 139 | unsafe { LAST_MOUSE_POS = MOUSE_POS.clone() } [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 shared reference to mutable static [INFO] [stdout] --> src/graphics/input.rs:144:35 [INFO] [stdout] | [INFO] [stdout] 144 | let mut mousestate = unsafe { MOUSE_STATE.clone() }; [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 shared reference to mutable static [INFO] [stdout] --> src/graphics/input.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 158 | unsafe { KEY_STATE.contains(&key) } [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 shared reference to mutable static [INFO] [stdout] --> src/graphics/input.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | unsafe { MOUSE_STATE.contains(&button) } [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 shared reference to mutable static [INFO] [stdout] --> src/graphics/input.rs:166:15 [INFO] [stdout] | [INFO] [stdout] 166 | unsafe { !LAST_KEY_STATE.contains(&key) && KEY_STATE.contains(&key) } [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 shared reference to mutable static [INFO] [stdout] --> src/graphics/input.rs:166:48 [INFO] [stdout] | [INFO] [stdout] 166 | unsafe { !LAST_KEY_STATE.contains(&key) && KEY_STATE.contains(&key) } [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 shared reference to mutable static [INFO] [stdout] --> src/graphics/input.rs:170:14 [INFO] [stdout] | [INFO] [stdout] 170 | unsafe { LAST_KEY_STATE.contains(&key) && !KEY_STATE.contains(&key) } [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 shared reference to mutable static [INFO] [stdout] --> src/graphics/input.rs:170:48 [INFO] [stdout] | [INFO] [stdout] 170 | unsafe { LAST_KEY_STATE.contains(&key) && !KEY_STATE.contains(&key) } [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 shared reference to mutable static [INFO] [stdout] --> src/graphics/input.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 174 | unsafe { !LAST_MOUSE_STATE.contains(&key) && MOUSE_STATE.contains(&key) } [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 shared reference to mutable static [INFO] [stdout] --> src/graphics/input.rs:174:50 [INFO] [stdout] | [INFO] [stdout] 174 | unsafe { !LAST_MOUSE_STATE.contains(&key) && MOUSE_STATE.contains(&key) } [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 shared reference to mutable static [INFO] [stdout] --> src/graphics/input.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | unsafe { LAST_MOUSE_STATE.contains(&key) && !MOUSE_STATE.contains(&key) } [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 shared reference to mutable static [INFO] [stdout] --> src/graphics/input.rs:178:50 [INFO] [stdout] | [INFO] [stdout] 178 | unsafe { LAST_MOUSE_STATE.contains(&key) && !MOUSE_STATE.contains(&key) } [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 shared reference to mutable static [INFO] [stdout] --> src/graphics/input.rs:183:31 [INFO] [stdout] | [INFO] [stdout] 183 | unsafe { println!("{:?}", KEY_STATE) } [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 [INFO] [stdout] --> src/utils/log.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | LOGS.push((level, value.to_string())); [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 [INFO] [stdout] --> src/utils/log.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe { LOGS.clone() } [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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `csg_maker` (lib test) due to 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "869096329ce5e15b70b1c9fc00ebf8f36f2632f27da72a7ba712c762e7db4a47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "869096329ce5e15b70b1c9fc00ebf8f36f2632f27da72a7ba712c762e7db4a47", kill_on_drop: false }` [INFO] [stdout] 869096329ce5e15b70b1c9fc00ebf8f36f2632f27da72a7ba712c762e7db4a47