[INFO] cloning repository https://github.com/ZeyKra/RS2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZeyKra/RS2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZeyKra%2FRS2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZeyKra%2FRS2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 59b0c2d63a238a4639cdc5c00a9fe8dedfdc06ce [INFO] checking ZeyKra/RS2 against try#c8085cfed34c45021fc8f66d073f6394b3e35431 for pr-148939 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZeyKra%2FRS2" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ZeyKra/RS2 [INFO] finished tweaking git repo https://github.com/ZeyKra/RS2 [INFO] tweaked toml for git repo https://github.com/ZeyKra/RS2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ZeyKra/RS2 on toolchain c8085cfed34c45021fc8f66d073f6394b3e35431 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ZeyKra/RS2 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" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71b9cc88d882b826f11d99aba9d423af64a815734b6ccbc15e635db6cce8dd57 [INFO] running `Command { std: "docker" "start" "-a" "71b9cc88d882b826f11d99aba9d423af64a815734b6ccbc15e635db6cce8dd57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71b9cc88d882b826f11d99aba9d423af64a815734b6ccbc15e635db6cce8dd57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71b9cc88d882b826f11d99aba9d423af64a815734b6ccbc15e635db6cce8dd57", kill_on_drop: false }` [INFO] [stdout] 71b9cc88d882b826f11d99aba9d423af64a815734b6ccbc15e635db6cce8dd57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf073f866ff077151196578214eff30b68f1007addd7b378acf68e9a3841c986 [INFO] running `Command { std: "docker" "start" "-a" "cf073f866ff077151196578214eff30b68f1007addd7b378acf68e9a3841c986", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling cc v1.1.10 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling serde v1.0.207 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking fontdb v0.18.0 [INFO] [stderr] Checking owned_ttf_parser v0.24.0 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Compiling simplecss v0.2.1 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling data-url v0.3.1 [INFO] [stderr] Checking async-fs v1.6.0 [INFO] [stderr] Checking unicode-vo v0.1.0 [INFO] [stderr] Compiling imagesize v0.12.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Checking xmlwriter v0.1.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Checking ab_glyph v0.2.28 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling lyon_path v1.0.5 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling usvg v0.42.0 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling glutin_glx_sys v0.6.0 [INFO] [stderr] Compiling glutin_egl_sys v0.7.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling rgb v0.8.48 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling wayland-backend v0.3.6 [INFO] [stderr] Compiling winit v0.30.5 [INFO] [stderr] Checking immutable-chunkmap v2.0.5 [INFO] [stderr] Checking accesskit v0.16.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling countme v3.0.1 [INFO] [stderr] Compiling codemap v0.1.3 [INFO] [stderr] Compiling i-slint-compiler v1.7.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling text-size v1.1.1 [INFO] [stderr] Compiling codemap-diagnostic v0.1.2 [INFO] [stderr] Compiling linked_hash_set v0.1.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling rowan v0.15.15 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Checking lyon_algorithms v1.0.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking accesskit_consumer v0.24.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking wayland-client v0.31.5 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling fontdue v0.9.2 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Compiling glutin v0.32.0 [INFO] [stderr] Compiling css-color-parser2 v1.0.1 [INFO] [stderr] Compiling tiny-xlib v0.2.3 [INFO] [stderr] Compiling resvg v0.42.0 [INFO] [stderr] Compiling cpp_common v0.5.9 [INFO] [stderr] Compiling derive_utils v0.14.1 [INFO] [stderr] Compiling cpp_build v0.5.9 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling by_address v1.2.1 [INFO] [stderr] Checking scoped-tls-hkt v0.1.4 [INFO] [stderr] Checking clru v0.6.2 [INFO] [stderr] Checking pin-weak v1.1.0 [INFO] [stderr] Compiling spin_on v0.1.1 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling softbuffer v0.4.5 [INFO] [stderr] Checking ctor-lite v0.1.0 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking lru v0.12.4 [INFO] [stderr] Checking x11-clipboard v0.9.2 [INFO] [stderr] Compiling i-slint-backend-winit v1.7.1 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Checking wayland-protocols v0.32.3 [INFO] [stderr] Checking wayland-cursor v0.31.5 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling serde_derive v1.0.207 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling const-field-offset-macro v0.1.5 [INFO] [stderr] Compiling qttypes v0.2.11 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Checking const-field-offset v0.1.5 [INFO] [stderr] Compiling vtable-macro v0.2.0 [INFO] [stderr] Compiling auto_enums v0.8.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking bytemuck v1.16.3 [INFO] [stderr] Compiling lyon_extra v1.0.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking rustybuzz v0.14.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking vtable v0.2.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling num_enum v0.7.3 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling i-slint-core-macros v1.7.1 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Compiling i-slint-backend-qt v1.7.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling cpp_macros v0.5.9 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Checking rand_core v0.9.0-alpha.2 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.3 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.3 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking rand_chacha v0.9.0-alpha.2 [INFO] [stderr] Checking rdev v0.5.3 [INFO] [stderr] Compiling i-slint-common v1.7.1 [INFO] [stderr] Checking rand v0.9.0-alpha.2 [INFO] [stderr] Compiling i-slint-backend-selector v1.7.1 [INFO] [stderr] Checking cpp v0.5.9 [INFO] [stderr] Checking femtovg v0.9.2 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking smithay-clipboard v0.7.2 [INFO] [stderr] Checking copypasta v0.10.1 [INFO] [stderr] Checking i-slint-core v1.7.1 [INFO] [stderr] Checking enumflags2 v0.7.10 [INFO] [stderr] Checking zvariant v3.15.2 [INFO] [stderr] Checking zbus_names v2.6.1 [INFO] [stderr] Checking zbus v3.15.2 [INFO] [stderr] Checking i-slint-renderer-femtovg v1.7.1 [INFO] [stderr] Compiling slint-build v1.7.1 [INFO] [stderr] Checking atspi-common v0.3.0 [INFO] [stderr] Compiling RazerSynapse2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling slint-macros v1.7.1 [INFO] [stderr] Checking atspi-proxies v0.3.0 [INFO] [stderr] Checking accesskit_atspi_common v0.9.0 [INFO] [stderr] Checking atspi-connection v0.3.0 [INFO] [stderr] Checking atspi v0.19.0 [INFO] [stderr] Checking accesskit_unix v0.12.0 [INFO] [stderr] Checking accesskit_winit v0.22.0 [INFO] [stderr] Checking slint v1.7.1 [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> src/main.rs:3:56 [INFO] [stdout] | [INFO] [stdout] 3 | use rdev::{listen, Event, EventType, simulate, Button, Key}; [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: `Sender` [INFO] [stdout] --> src/main.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::mpsc::{self, Sender}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | if(ENABLED && !IS_SIMULATED) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 - if(ENABLED && !IS_SIMULATED) { [INFO] [stdout] 95 + if ENABLED && !IS_SIMULATED { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | if(ENABLED && !IS_SIMULATED) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 109 - if(ENABLED && !IS_SIMULATED) { [INFO] [stdout] 109 + if ENABLED && !IS_SIMULATED { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> src/main.rs:3:56 [INFO] [stdout] | [INFO] [stdout] 3 | use rdev::{listen, Event, EventType, simulate, Button, Key}; [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: `Sender` [INFO] [stdout] --> src/main.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::mpsc::{self, Sender}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | if(ENABLED && !IS_SIMULATED) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 - if(ENABLED && !IS_SIMULATED) { [INFO] [stdout] 95 + if ENABLED && !IS_SIMULATED { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | if(ENABLED && !IS_SIMULATED) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 109 - if(ENABLED && !IS_SIMULATED) { [INFO] [stdout] 109 + if ENABLED && !IS_SIMULATED { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut cps: i32 = input.trim().parse().expect("Mauvais"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut cps_delay: i32 = if cps > 0 { 1000 / cps } else { 1000 }; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut randomizer_amount: f32 = 0.4; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut randomizer: bool = false; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/deprecated.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [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/main.rs:84:59 [INFO] [stdout] | [INFO] [stdout] 84 | println!("Statu de ENABLED : {}", ENABLED); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut cps: i32 = input.trim().parse().expect("Mauvais"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut cps_delay: i32 = if cps > 0 { 1000 / cps } else { 1000 }; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut randomizer_amount: f32 = 0.4; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut randomizer: bool = false; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/deprecated.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [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/main.rs:84:59 [INFO] [stdout] | [INFO] [stdout] 84 | println!("Statu de ENABLED : {}", ENABLED); [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "cf073f866ff077151196578214eff30b68f1007addd7b378acf68e9a3841c986", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf073f866ff077151196578214eff30b68f1007addd7b378acf68e9a3841c986", kill_on_drop: false }` [INFO] [stdout] cf073f866ff077151196578214eff30b68f1007addd7b378acf68e9a3841c986