[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] testing Pifton/Dodge-the-Wall against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPifton%2FDodge-the-Wall" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Pifton/Dodge-the-Wall on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sapp-windows v0.2.19 [INFO] [stderr] Downloaded sapp-wasm v0.1.26 [INFO] [stderr] Downloaded miniquad v0.3.0-alpha.42 [INFO] [stderr] Downloaded sapp-android v0.1.14 [INFO] [stderr] Downloaded sapp-darwin v0.1.6 [INFO] [stderr] Downloaded sapp-dummy v0.1.5 [INFO] [stderr] Downloaded fontdue v0.5.2 [INFO] [stderr] Downloaded sapp-linux v0.1.13 [INFO] [stderr] Downloaded glam v0.14.0 [INFO] [stderr] Downloaded sapp-ios v0.1.2 [INFO] [stderr] Downloaded hound v3.4.0 [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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b71d8420fc9bbd3fa27eefb5cd69059851f41129a057e7df3cd03066fa789310 [INFO] running `Command { std: "docker" "start" "-a" "b71d8420fc9bbd3fa27eefb5cd69059851f41129a057e7df3cd03066fa789310", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b71d8420fc9bbd3fa27eefb5cd69059851f41129a057e7df3cd03066fa789310", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b71d8420fc9bbd3fa27eefb5cd69059851f41129a057e7df3cd03066fa789310", kill_on_drop: false }` [INFO] [stdout] b71d8420fc9bbd3fa27eefb5cd69059851f41129a057e7df3cd03066fa789310 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] eb7cdaf835e83d69292952309880b7072316e451988eaf44615afa17ff40b7fc [INFO] running `Command { std: "docker" "start" "-a" "eb7cdaf835e83d69292952309880b7072316e451988eaf44615afa17ff40b7fc", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling quad-alsa-sys v0.3.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling sapp-linux v0.1.13 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling quad-snd v0.2.3 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling glam v0.14.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling ogg v0.7.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling dasp_frame v0.11.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling lewton v0.9.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling fontdue v0.5.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling miniquad v0.3.0-alpha.42 [INFO] [stderr] Compiling audrey v0.3.0 [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 [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 [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 12.04s [INFO] running `Command { std: "docker" "inspect" "eb7cdaf835e83d69292952309880b7072316e451988eaf44615afa17ff40b7fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb7cdaf835e83d69292952309880b7072316e451988eaf44615afa17ff40b7fc", kill_on_drop: false }` [INFO] [stdout] eb7cdaf835e83d69292952309880b7072316e451988eaf44615afa17ff40b7fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9a885a70b2a027d90fdb12d62ec370364d6ea6035393916205f7fe184ad613cf [INFO] running `Command { std: "docker" "start" "-a" "9a885a70b2a027d90fdb12d62ec370364d6ea6035393916205f7fe184ad613cf", 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 [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 [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 1.20s [INFO] running `Command { std: "docker" "inspect" "9a885a70b2a027d90fdb12d62ec370364d6ea6035393916205f7fe184ad613cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a885a70b2a027d90fdb12d62ec370364d6ea6035393916205f7fe184ad613cf", kill_on_drop: false }` [INFO] [stdout] 9a885a70b2a027d90fdb12d62ec370364d6ea6035393916205f7fe184ad613cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a8684decdd1394b5128c0eb3254278dff5c8642911ba0cc0077821a281877a53 [INFO] running `Command { std: "docker" "start" "-a" "a8684decdd1394b5128c0eb3254278dff5c8642911ba0cc0077821a281877a53", kill_on_drop: false }` [INFO] [stderr] warning: field `p4` is never read [INFO] [stdout] [INFO] [stderr] --> src/collisions.rs:22:5 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stderr] 18 | struct Polygon{ [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 22 | p4:Vec2, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/main.rs:54:67 [INFO] [stderr] | [INFO] [stderr] 54 | let string_score:&str = &("Score: ".to_owned() + &SCORE.to_string()); [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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/affichage.rs:65:30 [INFO] [stderr] | [INFO] [stderr] 65 | if(15..=30).contains(&SCORE) { return FALL += 3.4 } [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] 65 | if(15..=30).contains(&raw const SCORE) { return FALL += 3.4 } [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/affichage.rs:66:31 [INFO] [stderr] | [INFO] [stderr] 66 | if (30..=50).contains(&SCORE) { return FALL += 4.0 } [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] 66 | if (30..=50).contains(&raw const SCORE) { return FALL += 4.0 } [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/affichage.rs:67:31 [INFO] [stderr] | [INFO] [stderr] 67 | if (50..=80).contains(&SCORE) { return FALL += 5.0 } [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] 67 | if (50..=80).contains(&raw const SCORE) { return FALL += 5.0 } [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/affichage.rs:68:32 [INFO] [stderr] | [INFO] [stderr] 68 | if (80..=120).contains(&SCORE) { return FALL += 5.5 } [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] 68 | if (80..=120).contains(&raw const SCORE) { return FALL += 5.5 } [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/affichage.rs:69:33 [INFO] [stderr] | [INFO] [stderr] 69 | if (120..=150).contains(&SCORE) { return FALL += 6.0 } [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] 69 | if (120..=150).contains(&raw const SCORE) { return FALL += 6.0 } [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/affichage.rs:90:27 [INFO] [stderr] | [INFO] [stderr] 90 | println!("{}",BOOST); [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/affichage.rs:137:66 [INFO] [stderr] | [INFO] [stderr] 137 | let text2: &str = &("Votre Score est de: ".to_owned() + &SCORE.to_string()); [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: `DodgetheWall` (bin "DodgetheWall" test) generated 9 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/DodgetheWall-f7acb883db651ee5) [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" "a8684decdd1394b5128c0eb3254278dff5c8642911ba0cc0077821a281877a53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8684decdd1394b5128c0eb3254278dff5c8642911ba0cc0077821a281877a53", kill_on_drop: false }` [INFO] [stdout] a8684decdd1394b5128c0eb3254278dff5c8642911ba0cc0077821a281877a53