[INFO] cloning repository https://github.com/KUZMINRAPR/Robot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KUZMINRAPR/Robot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKUZMINRAPR%2FRobot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKUZMINRAPR%2FRobot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75de61a62b3b19f767c41109882ad1b92a2c41b9 [INFO] checking KUZMINRAPR/Robot against master#c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKUZMINRAPR%2FRobot" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KUZMINRAPR/Robot on toolchain c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KUZMINRAPR/Robot [INFO] finished tweaking git repo https://github.com/KUZMINRAPR/Robot [INFO] tweaked toml for git repo https://github.com/KUZMINRAPR/Robot written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/KUZMINRAPR/Robot 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" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded egui_glow v0.27.1 [INFO] [stderr] Downloaded error-code v3.0.0 [INFO] [stderr] Downloaded emath v0.27.1 [INFO] [stderr] Downloaded egui-winit v0.27.1 [INFO] [stderr] Downloaded ecolor v0.27.1 [INFO] [stderr] Downloaded egui-wgpu v0.27.1 [INFO] [stderr] Downloaded event-listener v5.1.0 [INFO] [stderr] Downloaded arboard v3.3.1 [INFO] [stderr] Downloaded wgpu-types v0.19.0 [INFO] [stderr] Downloaded eframe v0.27.1 [INFO] [stderr] Downloaded wgpu v0.19.1 [INFO] [stderr] Downloaded egui v0.27.1 [INFO] [stderr] Downloaded wgpu-core v0.19.0 [INFO] [stderr] Downloaded wgpu-hal v0.19.1 [INFO] [stderr] Downloaded clipboard-win v5.2.0 [INFO] [stderr] Downloaded naga v0.19.0 [INFO] [stderr] Downloaded epaint v0.27.1 [INFO] [stderr] Downloaded egui_plot v0.27.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05693e1742f51b312e9922bdc63f5896c4d26bc0ca6d9d500e65694e91e1fcb5 [INFO] running `Command { std: "docker" "start" "-a" "05693e1742f51b312e9922bdc63f5896c4d26bc0ca6d9d500e65694e91e1fcb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05693e1742f51b312e9922bdc63f5896c4d26bc0ca6d9d500e65694e91e1fcb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05693e1742f51b312e9922bdc63f5896c4d26bc0ca6d9d500e65694e91e1fcb5", kill_on_drop: false }` [INFO] [stdout] 05693e1742f51b312e9922bdc63f5896c4d26bc0ca6d9d500e65694e91e1fcb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 828de331da2272a3e1f3bb7d13210d4cbadf5f6811d6a4e0e828f53a26ec307f [INFO] running `Command { std: "docker" "start" "-a" "828de331da2272a3e1f3bb7d13210d4cbadf5f6811d6a4e0e828f53a26ec307f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling cc v1.0.86 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking futures-lite v2.2.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking async-task v4.7.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking event-listener v5.1.0 [INFO] [stderr] Compiling ahash v0.8.9 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking event-listener-strategy v0.5.0 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Checking async-channel v2.2.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking accesskit v0.12.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling winit v0.29.10 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking xdg-home v1.1.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Checking accesskit_consumer v0.16.1 [INFO] [stderr] Compiling glutin v0.31.3 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking async-once-cell v0.5.3 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking webbrowser v0.8.12 [INFO] [stderr] Checking web-time v0.2.4 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling document-features v0.2.8 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling enumflags2_derive v0.7.9 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking emath v0.27.1 [INFO] [stderr] Checking ecolor v0.27.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Compiling zvariant_derive v3.15.0 [INFO] [stderr] Compiling zbus_macros v3.15.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking polling v3.5.0 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking epaint v0.27.1 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking egui v0.27.1 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking egui_glow v0.27.1 [INFO] [stderr] Checking egui_plot v0.27.1 [INFO] [stderr] Checking enumflags2 v0.7.9 [INFO] [stderr] Checking zvariant v3.15.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking zbus_names v2.6.0 [INFO] [stderr] Checking zbus v3.15.0 [INFO] [stderr] Checking sctk-adwaita v0.8.1 [INFO] [stderr] Checking smithay-clipboard v0.7.1 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Checking arboard v3.3.1 [INFO] [stderr] Checking atspi-common v0.3.0 [INFO] [stderr] Checking atspi-proxies v0.3.0 [INFO] [stderr] Checking atspi-connection v0.3.0 [INFO] [stderr] Checking atspi v0.19.0 [INFO] [stderr] Checking accesskit_unix v0.6.2 [INFO] [stderr] Checking accesskit_winit v0.16.1 [INFO] [stderr] Checking egui-winit v0.27.1 [INFO] [stderr] Checking eframe v0.27.1 [INFO] [stderr] Checking robot_egui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let tmp = ROBOT.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] = 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/main.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | ui.add(Slider::new(&mut ROBOT.a,0.0..=180.0).text("a")); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 15 | ui.add(Slider::new(&raw mut ROBOT.a,0.0..=180.0).text("a")); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | ui.add(Slider::new(&mut ROBOT.k,-10.0..=10.0).text("k")); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 16 | ui.add(Slider::new(&raw mut ROBOT.k,-10.0..=10.0).text("k")); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | ui.add(Slider::new(&mut ROBOT.n,0.0..=10.0).text("n")); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 18 | ui.add(Slider::new(&raw mut ROBOT.n,0.0..=10.0).text("n")); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | ui.add(Slider::new(&mut ROBOT.l,0.0..=10.0).text("l")); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 19 | ui.add(Slider::new(&raw mut ROBOT.l,0.0..=10.0).text("l")); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | ROBOT.moment_position(); [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/main.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | ROBOT.draw(ui); [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/main.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let tmp = ROBOT.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] = 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/main.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | ui.add(Slider::new(&mut ROBOT.a,0.0..=180.0).text("a")); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 15 | ui.add(Slider::new(&raw mut ROBOT.a,0.0..=180.0).text("a")); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | ui.add(Slider::new(&mut ROBOT.k,-10.0..=10.0).text("k")); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 16 | ui.add(Slider::new(&raw mut ROBOT.k,-10.0..=10.0).text("k")); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | ui.add(Slider::new(&mut ROBOT.n,0.0..=10.0).text("n")); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 18 | ui.add(Slider::new(&raw mut ROBOT.n,0.0..=10.0).text("n")); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | ui.add(Slider::new(&mut ROBOT.l,0.0..=10.0).text("l")); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 19 | ui.add(Slider::new(&raw mut ROBOT.l,0.0..=10.0).text("l")); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | ROBOT.moment_position(); [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/main.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | ROBOT.draw(ui); [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "828de331da2272a3e1f3bb7d13210d4cbadf5f6811d6a4e0e828f53a26ec307f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "828de331da2272a3e1f3bb7d13210d4cbadf5f6811d6a4e0e828f53a26ec307f", kill_on_drop: false }` [INFO] [stdout] 828de331da2272a3e1f3bb7d13210d4cbadf5f6811d6a4e0e828f53a26ec307f