[INFO] cloning repository https://github.com/bendy1234/Verlet-Integration-Simulation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bendy1234/Verlet-Integration-Simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbendy1234%2FVerlet-Integration-Simulation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbendy1234%2FVerlet-Integration-Simulation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63c5894dbbb7ed451ff42c8bc8201b894603ac43 [INFO] testing bendy1234/Verlet-Integration-Simulation against beta-2025-09-21 for beta-1.91-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbendy1234%2FVerlet-Integration-Simulation" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bendy1234/Verlet-Integration-Simulation [INFO] finished tweaking git repo https://github.com/bendy1234/Verlet-Integration-Simulation [INFO] tweaked toml for git repo https://github.com/bendy1234/Verlet-Integration-Simulation written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bendy1234/Verlet-Integration-Simulation on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bendy1234/Verlet-Integration-Simulation 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 283fa0f761497fc59e81aa4fb191e34895618800f674de8636dcda3809acfe72 [INFO] running `Command { std: "docker" "start" "-a" "283fa0f761497fc59e81aa4fb191e34895618800f674de8636dcda3809acfe72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "283fa0f761497fc59e81aa4fb191e34895618800f674de8636dcda3809acfe72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "283fa0f761497fc59e81aa4fb191e34895618800f674de8636dcda3809acfe72", kill_on_drop: false }` [INFO] [stdout] 283fa0f761497fc59e81aa4fb191e34895618800f674de8636dcda3809acfe72 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e5a4f23fee53c61fe1f20cd68045f7b9c97db438a90f783de4f2f7a73ef1112 [INFO] running `Command { std: "docker" "start" "-a" "5e5a4f23fee53c61fe1f20cd68045f7b9c97db438a90f783de4f2f7a73ef1112", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling target-lexicon v0.12.11 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling xml-rs v0.8.18 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling parking v2.1.0 [INFO] [stderr] Compiling libloading v0.8.0 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling concurrent-queue v2.2.0 [INFO] [stderr] Compiling ttf-parser v0.19.2 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling cfg-expr v0.15.5 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling async-task v4.4.0 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling atomic-waker v1.1.1 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling syn v2.0.36 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling blocking v1.3.1 [INFO] [stderr] Compiling async-executor v1.5.1 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling owned_ttf_parser v0.19.0 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ab_glyph v0.2.21 [INFO] [stderr] Compiling xdg-home v1.0.0 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.3 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling async-broadcast v0.5.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling zerocopy v0.7.31 [INFO] [stderr] Compiling winit v0.28.6 [INFO] [stderr] Compiling event-listener v4.0.0 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling async-channel v2.1.1 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling xmlparser v0.13.5 [INFO] [stderr] Compiling half v2.2.1 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling async-once-cell v0.5.3 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling svgtypes v0.8.2 [INFO] [stderr] Compiling roxmltree v0.15.1 [INFO] [stderr] Compiling mime_guess2 v2.0.5 [INFO] [stderr] Compiling system-deps v6.1.1 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling kurbo v0.8.3 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling x11rb-protocol v0.10.0 [INFO] [stderr] Compiling simplecss v0.2.1 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling gdk-sys v0.18.0 [INFO] [stderr] Compiling atk-sys v0.18.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling gtk-sys v0.18.0 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling rctree v0.5.0 [INFO] [stderr] Compiling imagesize v0.10.1 [INFO] [stderr] Compiling data-url v0.2.0 [INFO] [stderr] Compiling webbrowser v0.8.11 [INFO] [stderr] Compiling usvg v0.28.0 [INFO] [stderr] Compiling tiff v0.9.0 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling rfd v0.12.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.8 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling zvariant_derive v3.15.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling zbus_macros v3.14.1 [INFO] [stderr] Compiling enumn v0.1.12 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Compiling serde_repr v0.1.16 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling rgb v0.8.36 [INFO] [stderr] Compiling enum-map-derive v0.14.0 [INFO] [stderr] Compiling web-time v0.2.1 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling exr v1.7.0 [INFO] [stderr] Compiling resvg v0.28.0 [INFO] [stderr] Compiling x11rb v0.10.1 [INFO] [stderr] Compiling image v0.24.7 [INFO] [stderr] Compiling arboard v3.2.1 [INFO] [stderr] Compiling enumflags2 v0.7.8 [INFO] [stderr] Compiling accesskit v0.12.1 [INFO] [stderr] Compiling emath v0.24.1 [INFO] [stderr] Compiling ecolor v0.24.1 [INFO] [stderr] Compiling enum-map v2.6.3 [INFO] [stderr] Compiling zvariant v3.15.0 [INFO] [stderr] Compiling epaint v0.24.1 [INFO] [stderr] Compiling accesskit_consumer v0.16.1 [INFO] [stderr] Compiling zbus_names v2.6.0 [INFO] [stderr] Compiling zbus v3.14.1 [INFO] [stderr] Compiling egui v0.24.1 [INFO] [stderr] Compiling egui_glow v0.24.1 [INFO] [stderr] Compiling egui_extras v0.24.2 [INFO] [stderr] Compiling atspi-common v0.3.0 [INFO] [stderr] Compiling atspi-proxies v0.3.0 [INFO] [stderr] Compiling atspi-connection v0.3.0 [INFO] [stderr] Compiling atspi v0.19.0 [INFO] [stderr] Compiling accesskit_unix v0.6.2 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling smithay-clipboard v0.6.6 [INFO] [stderr] Compiling accesskit_winit v0.15.0 [INFO] [stderr] Compiling egui-winit v0.24.1 [INFO] [stderr] Compiling eframe v0.24.1 [INFO] [stderr] Compiling a_thing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/physics.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | >= unsafe { OBJECTS.len() }.max(self.max_objects as usize) [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 shared reference to mutable static [INFO] [stdout] --> src/physics.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe { &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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 58 | unsafe { &raw const OBJECTS } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/physics.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | unsafe { OBJECTS.clear() }; [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/physics.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | if unsafe { OBJECTS.len() } < self.max_objects as usize { [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/physics.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | OBJECTS.par_iter_mut().for_each(|object| { [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/physics.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | / OBJECTS [INFO] [stdout] 117 | | .iter() [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/physics.rs:125:34 [INFO] [stdout] | [INFO] [stdout] 125 | let index = unsafe { OBJECTS.len() }; [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/physics.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | unsafe { OBJECTS.push(object) }; [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/physics.rs:156:40 [INFO] [stdout] | [INFO] [stdout] 156 | let object = &mut unsafe { OBJECTS.get_unchecked_mut(i) }; [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/physics.rs:164:35 [INFO] [stdout] | [INFO] [stdout] 164 | let other = &mut unsafe { OBJECTS.get_unchecked_mut(j) }; [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 `dev` profile [unoptimized + debuginfo] target(s) in 3m 10s [INFO] running `Command { std: "docker" "inspect" "5e5a4f23fee53c61fe1f20cd68045f7b9c97db438a90f783de4f2f7a73ef1112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e5a4f23fee53c61fe1f20cd68045f7b9c97db438a90f783de4f2f7a73ef1112", kill_on_drop: false }` [INFO] [stdout] 5e5a4f23fee53c61fe1f20cd68045f7b9c97db438a90f783de4f2f7a73ef1112 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c8a5ca047c7eb40be09860d0afd95eda389025ddec50e7c351bcc09df77ebec [INFO] running `Command { std: "docker" "start" "-a" "3c8a5ca047c7eb40be09860d0afd95eda389025ddec50e7c351bcc09df77ebec", kill_on_drop: false }` [INFO] [stderr] Compiling a_thing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/physics.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | >= unsafe { OBJECTS.len() }.max(self.max_objects as usize) [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 shared reference to mutable static [INFO] [stdout] --> src/physics.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe { &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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 58 | unsafe { &raw const OBJECTS } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/physics.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | unsafe { OBJECTS.clear() }; [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/physics.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | if unsafe { OBJECTS.len() } < self.max_objects as usize { [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/physics.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | OBJECTS.par_iter_mut().for_each(|object| { [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/physics.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | / OBJECTS [INFO] [stdout] 117 | | .iter() [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/physics.rs:125:34 [INFO] [stdout] | [INFO] [stdout] 125 | let index = unsafe { OBJECTS.len() }; [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/physics.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | unsafe { OBJECTS.push(object) }; [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/physics.rs:156:40 [INFO] [stdout] | [INFO] [stdout] 156 | let object = &mut unsafe { OBJECTS.get_unchecked_mut(i) }; [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/physics.rs:164:35 [INFO] [stdout] | [INFO] [stdout] 164 | let other = &mut unsafe { OBJECTS.get_unchecked_mut(j) }; [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 1.36s [INFO] running `Command { std: "docker" "inspect" "3c8a5ca047c7eb40be09860d0afd95eda389025ddec50e7c351bcc09df77ebec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c8a5ca047c7eb40be09860d0afd95eda389025ddec50e7c351bcc09df77ebec", kill_on_drop: false }` [INFO] [stdout] 3c8a5ca047c7eb40be09860d0afd95eda389025ddec50e7c351bcc09df77ebec [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5488f49b9fac812e89b108882db82f6801c32a1e5ab8f45388a3e668ace71429 [INFO] running `Command { std: "docker" "start" "-a" "5488f49b9fac812e89b108882db82f6801c32a1e5ab8f45388a3e668ace71429", kill_on_drop: false }` [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/physics.rs:45:29 [INFO] [stderr] | [INFO] [stderr] 45 | >= unsafe { OBJECTS.len() }.max(self.max_objects as usize) [INFO] [stderr] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/physics.rs:58:18 [INFO] [stderr] | [INFO] [stderr] 58 | unsafe { &OBJECTS } [INFO] [stderr] | ^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 58 | unsafe { &raw const OBJECTS } [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/physics.rs:70:18 [INFO] [stderr] | [INFO] [stderr] 70 | unsafe { OBJECTS.clear() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/physics.rs:87:21 [INFO] [stderr] | [INFO] [stderr] 87 | if unsafe { OBJECTS.len() } < self.max_objects as usize { [INFO] [stderr] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/physics.rs:103:13 [INFO] [stderr] | [INFO] [stderr] 103 | OBJECTS.par_iter_mut().for_each(|object| { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/physics.rs:116:13 [INFO] [stderr] | [INFO] [stderr] 116 | / OBJECTS [INFO] [stderr] 117 | | .iter() [INFO] [stderr] | |_______________________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/physics.rs:125:34 [INFO] [stderr] | [INFO] [stderr] 125 | let index = unsafe { OBJECTS.len() }; [INFO] [stderr] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/physics.rs:132:22 [INFO] [stderr] | [INFO] [stderr] 132 | unsafe { OBJECTS.push(object) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/physics.rs:156:40 [INFO] [stderr] | [INFO] [stderr] 156 | let object = &mut unsafe { OBJECTS.get_unchecked_mut(i) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/physics.rs:164:35 [INFO] [stderr] | [INFO] [stderr] 164 | let other = &mut unsafe { OBJECTS.get_unchecked_mut(j) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `a_thing` (bin "a_thing" test) generated 10 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/a_thing-2443d7aab410338d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5488f49b9fac812e89b108882db82f6801c32a1e5ab8f45388a3e668ace71429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5488f49b9fac812e89b108882db82f6801c32a1e5ab8f45388a3e668ace71429", kill_on_drop: false }` [INFO] [stdout] 5488f49b9fac812e89b108882db82f6801c32a1e5ab8f45388a3e668ace71429