[INFO] cloning repository https://github.com/KingOfDog/rraytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KingOfDog/rraytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingOfDog%2Frraytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingOfDog%2Frraytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2edd7a0c6bf64ae0a6d00ed55333283b8010856f [INFO] building KingOfDog/rraytracer against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingOfDog%2Frraytracer" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/KingOfDog/rraytracer [INFO] finished tweaking git repo https://github.com/KingOfDog/rraytracer [INFO] tweaked toml for git repo https://github.com/KingOfDog/rraytracer written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KingOfDog/rraytracer on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/KingOfDog/rraytracer 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52d0aee71be80adc218b308999c2c3fd437cb98578ffd43cc0cb601d9e53e00a [INFO] running `Command { std: "docker" "start" "-a" "52d0aee71be80adc218b308999c2c3fd437cb98578ffd43cc0cb601d9e53e00a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52d0aee71be80adc218b308999c2c3fd437cb98578ffd43cc0cb601d9e53e00a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52d0aee71be80adc218b308999c2c3fd437cb98578ffd43cc0cb601d9e53e00a", kill_on_drop: false }` [INFO] [stdout] 52d0aee71be80adc218b308999c2c3fd437cb98578ffd43cc0cb601d9e53e00a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bce52c757621eba11d99352dfbb5f0a6ecb8a2e376ae61aa8012a57e887e5f88 [INFO] running `Command { std: "docker" "start" "-a" "bce52c757621eba11d99352dfbb5f0a6ecb8a2e376ae61aa8012a57e887e5f88", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling drm-sys v0.6.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling xkeysym v0.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling linux-raw-sys v0.6.4 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling drm-fourcc v2.2.0 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling cfg_aliases v0.2.0 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling x11rb-protocol v0.13.0 [INFO] [stderr] Compiling softbuffer v0.4.2 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling raw-window-handle v0.6.1 [INFO] [stderr] Compiling smol_str v0.2.1 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling tobj v4.0.2 [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling ab_glyph v0.2.25 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling tiny-xlib v0.2.2 [INFO] [stderr] Compiling polling v3.7.0 [INFO] [stderr] Compiling drm-ffi v0.7.1 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling calloop v0.12.4 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling drm v0.11.1 [INFO] [stderr] Compiling wayland-client v0.31.2 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling wayland-protocols v0.31.2 [INFO] [stderr] Compiling calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling wayland-cursor v0.31.1 [INFO] [stderr] Compiling x11rb v0.13.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling sctk-adwaita v0.8.1 [INFO] [stderr] Compiling rust_tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Vec3` [INFO] [stdout] --> src/object_store.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use glam::{vec3, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sphere::Sphere` [INFO] [stdout] --> src/object_store.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | object::{sphere::Sphere, triangle::Triangle, Object}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normals` [INFO] [stdout] --> src/object_store.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let normals = mesh [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_normals` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `near` and `far` are never read [INFO] [stdout] --> src/camera.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub near: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | pub far: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/light.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | for object in unsafe { OBJECT_STORE.objects() } { [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/raytracer.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe { OBJECT_STORE.read_scene(width, height) }; [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/camera.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | for object in unsafe { OBJECT_STORE.objects() } { [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/camera.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | for light in unsafe { OBJECT_STORE.lights_mut() } { [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 [INFO] [stdout] --> src/raytracer.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe { OBJECT_STORE.camera.calculate_first_ray() }; [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 [INFO] [stdout] --> src/raytracer.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe { OBJECT_STORE.camera.trace() }; [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/raytracer.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | let frame_buffer = unsafe { OBJECT_STORE.camera.frame_buffer() }; [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/raytracer.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | OBJECT_STORE.camera.resize(width, height); [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: associated function `new` is never used [INFO] [stdout] --> src/object/sphere.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(center: Vec3, radius: f32, material: SurfaceMaterial) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.57s [INFO] running `Command { std: "docker" "inspect" "bce52c757621eba11d99352dfbb5f0a6ecb8a2e376ae61aa8012a57e887e5f88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bce52c757621eba11d99352dfbb5f0a6ecb8a2e376ae61aa8012a57e887e5f88", kill_on_drop: false }` [INFO] [stdout] bce52c757621eba11d99352dfbb5f0a6ecb8a2e376ae61aa8012a57e887e5f88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d633f991e207d0c70def4f64117c1b815af6b00ef548d72d3debd49e9b69df74 [INFO] running `Command { std: "docker" "start" "-a" "d633f991e207d0c70def4f64117c1b815af6b00ef548d72d3debd49e9b69df74", kill_on_drop: false }` [INFO] [stderr] Compiling rust_tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Vec3` [INFO] [stdout] --> src/object_store.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use glam::{vec3, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sphere::Sphere` [INFO] [stdout] --> src/object_store.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | object::{sphere::Sphere, triangle::Triangle, Object}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normals` [INFO] [stdout] --> src/object_store.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let normals = mesh [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_normals` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `near` and `far` are never read [INFO] [stdout] --> src/camera.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub near: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | pub far: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/object/sphere.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(center: Vec3, radius: f32, material: SurfaceMaterial) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/light.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | for object in unsafe { OBJECT_STORE.objects() } { [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/raytracer.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe { OBJECT_STORE.read_scene(width, height) }; [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 [INFO] [stdout] --> src/raytracer.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe { OBJECT_STORE.camera.calculate_first_ray() }; [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 [INFO] [stdout] --> src/raytracer.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe { OBJECT_STORE.camera.trace() }; [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/raytracer.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | let frame_buffer = unsafe { OBJECT_STORE.camera.frame_buffer() }; [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/raytracer.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | OBJECT_STORE.camera.resize(width, height); [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/camera.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | for object in unsafe { OBJECT_STORE.objects() } { [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/camera.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | for light in unsafe { OBJECT_STORE.lights_mut() } { [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.89s [INFO] running `Command { std: "docker" "inspect" "d633f991e207d0c70def4f64117c1b815af6b00ef548d72d3debd49e9b69df74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d633f991e207d0c70def4f64117c1b815af6b00ef548d72d3debd49e9b69df74", kill_on_drop: false }` [INFO] [stdout] d633f991e207d0c70def4f64117c1b815af6b00ef548d72d3debd49e9b69df74