[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#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPifton%2FDodge-the-Wall" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Pifton/Dodge-the-Wall on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sapp-windows v0.2.19 [INFO] [stderr] Downloaded sapp-android v0.1.14 [INFO] [stderr] Downloaded miniquad v0.3.0-alpha.42 [INFO] [stderr] Downloaded sapp-darwin v0.1.6 [INFO] [stderr] Downloaded sapp-linux v0.1.13 [INFO] [stderr] Downloaded macroquad v0.3.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ceafa70cdc658d4ade189e4add2abd741c4a01ff4bbc8dc3bc7220cd9ced188 [INFO] running `Command { std: "docker" "start" "-a" "7ceafa70cdc658d4ade189e4add2abd741c4a01ff4bbc8dc3bc7220cd9ced188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ceafa70cdc658d4ade189e4add2abd741c4a01ff4bbc8dc3bc7220cd9ced188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ceafa70cdc658d4ade189e4add2abd741c4a01ff4bbc8dc3bc7220cd9ced188", kill_on_drop: false }` [INFO] [stdout] 7ceafa70cdc658d4ade189e4add2abd741c4a01ff4bbc8dc3bc7220cd9ced188 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 353d5ec6c9ffa99c63c78b06a96525d0e3f1049e34023487719350f66a9ebc59 [INFO] running `Command { std: "docker" "start" "-a" "353d5ec6c9ffa99c63c78b06a96525d0e3f1049e34023487719350f66a9ebc59", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling quad-alsa-sys v0.3.2 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling sapp-linux v0.1.13 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling quad-snd v0.2.3 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling ogg v0.7.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling glam v0.14.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling dasp_frame v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling lewton v0.9.4 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling fontdue v0.5.2 [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 audrey v0.3.0 [INFO] [stderr] Compiling miniquad v0.3.0-alpha.42 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 8.64s [INFO] running `Command { std: "docker" "inspect" "353d5ec6c9ffa99c63c78b06a96525d0e3f1049e34023487719350f66a9ebc59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "353d5ec6c9ffa99c63c78b06a96525d0e3f1049e34023487719350f66a9ebc59", kill_on_drop: false }` [INFO] [stdout] 353d5ec6c9ffa99c63c78b06a96525d0e3f1049e34023487719350f66a9ebc59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ea39a81b8aef41b532b1201034c26243de8df9fba34ddd54576abe4c74b4f37 [INFO] running `Command { std: "docker" "start" "-a" "2ea39a81b8aef41b532b1201034c26243de8df9fba34ddd54576abe4c74b4f37", 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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.28s [INFO] running `Command { std: "docker" "inspect" "2ea39a81b8aef41b532b1201034c26243de8df9fba34ddd54576abe4c74b4f37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ea39a81b8aef41b532b1201034c26243de8df9fba34ddd54576abe4c74b4f37", kill_on_drop: false }` [INFO] [stdout] 2ea39a81b8aef41b532b1201034c26243de8df9fba34ddd54576abe4c74b4f37