[INFO] cloning repository https://github.com/Pifton/Dodge-the-Wall [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pifton/Dodge-the-Wall" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPifton%2FDodge-the-Wall", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPifton%2FDodge-the-Wall'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b659b013515aa272d7e407c1f9076c33fb4b8e2 [INFO] building Pifton/Dodge-the-Wall against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPifton%2FDodge-the-Wall" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Pifton/Dodge-the-Wall [INFO] finished tweaking git repo https://github.com/Pifton/Dodge-the-Wall [INFO] tweaked toml for git repo https://github.com/Pifton/Dodge-the-Wall written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Pifton/Dodge-the-Wall on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Pifton/Dodge-the-Wall 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dasp_frame v0.11.0 [INFO] [stderr] Downloaded ogg v0.7.1 [INFO] [stderr] Downloaded lewton v0.9.4 [INFO] [stderr] Downloaded audir-sles v0.1.0 [INFO] [stderr] Downloaded sapp-wasm v0.1.26 [INFO] [stderr] Downloaded hound v3.4.0 [INFO] [stderr] Downloaded miniquad v0.3.0-alpha.42 [INFO] [stderr] Downloaded audrey v0.3.0 [INFO] [stderr] Downloaded sapp-ios v0.1.2 [INFO] [stderr] Downloaded sapp-android v0.1.14 [INFO] [stderr] Downloaded ttf-parser v0.12.3 [INFO] [stderr] Downloaded glam v0.14.0 [INFO] [stderr] Downloaded sapp-linux v0.1.13 [INFO] [stderr] Downloaded fontdue v0.5.2 [INFO] [stderr] Downloaded sapp-darwin v0.1.6 [INFO] [stderr] Downloaded sapp-dummy v0.1.5 [INFO] [stderr] Downloaded quad-alsa-sys v0.3.2 [INFO] [stderr] Downloaded sapp-windows v0.2.19 [INFO] [stderr] Downloaded macroquad v0.3.13 [INFO] [stderr] Downloaded quad-snd v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f14f955f14aac8d4d6d8475f95b6ce92eff59e9724d5d76e1383dad7869d1b72 [INFO] running `Command { std: "docker" "start" "-a" "f14f955f14aac8d4d6d8475f95b6ce92eff59e9724d5d76e1383dad7869d1b72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f14f955f14aac8d4d6d8475f95b6ce92eff59e9724d5d76e1383dad7869d1b72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f14f955f14aac8d4d6d8475f95b6ce92eff59e9724d5d76e1383dad7869d1b72", kill_on_drop: false }` [INFO] [stdout] f14f955f14aac8d4d6d8475f95b6ce92eff59e9724d5d76e1383dad7869d1b72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] d2f7fa898814d1b622a7561080041960c412df65d986722a5a9704dfa55e4f6f [INFO] running `Command { std: "docker" "start" "-a" "d2f7fa898814d1b622a7561080041960c412df65d986722a5a9704dfa55e4f6f", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling wasi v0.10.2+wasi-snapshot-preview1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling quad-snd v0.2.3 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling sapp-wasm v0.1.26 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling miniquad v0.3.0-alpha.42 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling glam v0.14.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling fontdue v0.5.2 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling macroquad v0.3.13 [INFO] [stderr] Compiling DodgetheWall v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `p4` is never read [INFO] [stdout] --> src/collisions.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct Polygon{ [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | p4:Vec2, [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:54:67 [INFO] [stdout] | [INFO] [stdout] 54 | let string_score:&str = &("Score: ".to_owned() + &SCORE.to_string()); [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/affichage.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | if(15..=30).contains(&SCORE) { return FALL += 3.4 } [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] 65 | if(15..=30).contains(&raw const SCORE) { return FALL += 3.4 } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/affichage.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | if (30..=50).contains(&SCORE) { return FALL += 4.0 } [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] 66 | if (30..=50).contains(&raw const SCORE) { return FALL += 4.0 } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/affichage.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | if (50..=80).contains(&SCORE) { return FALL += 5.0 } [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] 67 | if (50..=80).contains(&raw const SCORE) { return FALL += 5.0 } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/affichage.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | if (80..=120).contains(&SCORE) { return FALL += 5.5 } [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] 68 | if (80..=120).contains(&raw const SCORE) { return FALL += 5.5 } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/affichage.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | if (120..=150).contains(&SCORE) { return FALL += 6.0 } [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] 69 | if (120..=150).contains(&raw const SCORE) { return FALL += 6.0 } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/affichage.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | println!("{}",BOOST); [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/affichage.rs:137:66 [INFO] [stdout] | [INFO] [stdout] 137 | let text2: &str = &("Votre Score est de: ".to_owned() + &SCORE.to_string()); [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 13.43s [INFO] running `Command { std: "docker" "inspect" "d2f7fa898814d1b622a7561080041960c412df65d986722a5a9704dfa55e4f6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2f7fa898814d1b622a7561080041960c412df65d986722a5a9704dfa55e4f6f", kill_on_drop: false }` [INFO] [stdout] d2f7fa898814d1b622a7561080041960c412df65d986722a5a9704dfa55e4f6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 7f14bfd04a6a4eca90a2060f65e33ff706d9f5bedc66e822fd409ee7932fb91c [INFO] running `Command { std: "docker" "start" "-a" "7f14bfd04a6a4eca90a2060f65e33ff706d9f5bedc66e822fd409ee7932fb91c", kill_on_drop: false }` [INFO] [stderr] Compiling DodgetheWall v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `p4` is never read [INFO] [stdout] --> src/collisions.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct Polygon{ [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | p4:Vec2, [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:54:67 [INFO] [stdout] | [INFO] [stdout] 54 | let string_score:&str = &("Score: ".to_owned() + &SCORE.to_string()); [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/affichage.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | if(15..=30).contains(&SCORE) { return FALL += 3.4 } [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] 65 | if(15..=30).contains(&raw const SCORE) { return FALL += 3.4 } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/affichage.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | if (30..=50).contains(&SCORE) { return FALL += 4.0 } [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] 66 | if (30..=50).contains(&raw const SCORE) { return FALL += 4.0 } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/affichage.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | if (50..=80).contains(&SCORE) { return FALL += 5.0 } [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] 67 | if (50..=80).contains(&raw const SCORE) { return FALL += 5.0 } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/affichage.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | if (80..=120).contains(&SCORE) { return FALL += 5.5 } [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] 68 | if (80..=120).contains(&raw const SCORE) { return FALL += 5.5 } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/affichage.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | if (120..=150).contains(&SCORE) { return FALL += 6.0 } [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] 69 | if (120..=150).contains(&raw const SCORE) { return FALL += 6.0 } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/affichage.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | println!("{}",BOOST); [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/affichage.rs:137:66 [INFO] [stdout] | [INFO] [stdout] 137 | let text2: &str = &("Votre Score est de: ".to_owned() + &SCORE.to_string()); [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 `test` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "7f14bfd04a6a4eca90a2060f65e33ff706d9f5bedc66e822fd409ee7932fb91c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f14bfd04a6a4eca90a2060f65e33ff706d9f5bedc66e822fd409ee7932fb91c", kill_on_drop: false }` [INFO] [stdout] 7f14bfd04a6a4eca90a2060f65e33ff706d9f5bedc66e822fd409ee7932fb91c