[INFO] cloning repository https://github.com/kirinokirino/macroquad_p5 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kirinokirino/macroquad_p5" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirinokirino%2Fmacroquad_p5", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirinokirino%2Fmacroquad_p5'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 141f40164ae2ee2427d8c80ea2a8fe7f23efa3ee [INFO] building kirinokirino/macroquad_p5 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirinokirino%2Fmacroquad_p5" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kirinokirino/macroquad_p5 [INFO] finished tweaking git repo https://github.com/kirinokirino/macroquad_p5 [INFO] tweaked toml for git repo https://github.com/kirinokirino/macroquad_p5 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kirinokirino/macroquad_p5 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kirinokirino/macroquad_p5 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quad-rand v0.2.1 [INFO] [stderr] Downloaded macroquad_macro v0.1.7 [INFO] [stderr] Downloaded miniquad v0.3.0-alpha.42 [INFO] [stderr] Downloaded sapp-ios v0.1.2 [INFO] [stderr] Downloaded bytemuck v1.7.3 [INFO] [stderr] Downloaded crc32fast v1.3.0 [INFO] [stderr] Downloaded sapp-dummy v0.1.5 [INFO] [stderr] Downloaded sapp-android v0.1.14 [INFO] [stderr] Downloaded glam v0.14.0 [INFO] [stderr] Downloaded fontdue v0.5.2 [INFO] [stderr] Downloaded sapp-darwin v0.1.6 [INFO] [stderr] Downloaded sapp-wasm v0.1.26 [INFO] [stderr] Downloaded sapp-windows v0.2.19 [INFO] [stderr] Downloaded libc v0.2.104 [INFO] [stderr] Downloaded macroquad v0.3.13 [INFO] [stderr] Downloaded sapp-linux v0.1.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9fef2d2b6a1764eff81ba561f28dad0ad9d856b8b86ff68ab4a599c92b6473d4 [INFO] running `Command { std: "docker" "start" "-a" "9fef2d2b6a1764eff81ba561f28dad0ad9d856b8b86ff68ab4a599c92b6473d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fef2d2b6a1764eff81ba561f28dad0ad9d856b8b86ff68ab4a599c92b6473d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fef2d2b6a1764eff81ba561f28dad0ad9d856b8b86ff68ab4a599c92b6473d4", kill_on_drop: false }` [INFO] [stdout] 9fef2d2b6a1764eff81ba561f28dad0ad9d856b8b86ff68ab4a599c92b6473d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 766a8b62d44ead919bda9cfd4ba473cb0a67d0b91c2b3b9acaee3e11f8e3f9f4 [INFO] running `Command { std: "docker" "start" "-a" "766a8b62d44ead919bda9cfd4ba473cb0a67d0b91c2b3b9acaee3e11f8e3f9f4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling sapp-linux v0.1.13 [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 bumpalo v3.9.1 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling glam v0.14.0 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling hashbrown v0.9.1 [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 fontdue v0.5.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling miniquad v0.3.0-alpha.42 [INFO] [stderr] Compiling macroquad v0.3.13 [INFO] [stderr] Compiling macroquad_p5 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/sketch.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | BARS_.reserve(NUMBER_OF_BARS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/sketch.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | / BARS_.push(Bar::new( [INFO] [stdout] 45 | | color, [INFO] [stdout] 46 | | width - 2.0, [INFO] [stdout] 47 | | width.mul_add(i as f32, -screen_width()), [INFO] [stdout] 48 | | )); [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/sketch.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | for bar in &BARS_ { [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] 56 | for bar in &raw const BARS_ { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.30s [INFO] running `Command { std: "docker" "inspect" "766a8b62d44ead919bda9cfd4ba473cb0a67d0b91c2b3b9acaee3e11f8e3f9f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "766a8b62d44ead919bda9cfd4ba473cb0a67d0b91c2b3b9acaee3e11f8e3f9f4", kill_on_drop: false }` [INFO] [stdout] 766a8b62d44ead919bda9cfd4ba473cb0a67d0b91c2b3b9acaee3e11f8e3f9f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31e6364db7b4f2d6d67cec1e83e0f9df93ea0a8c3e0a5f43d99fc29989b31125 [INFO] running `Command { std: "docker" "start" "-a" "31e6364db7b4f2d6d67cec1e83e0f9df93ea0a8c3e0a5f43d99fc29989b31125", kill_on_drop: false }` [INFO] [stderr] Compiling macroquad_p5 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/sketch.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | BARS_.reserve(NUMBER_OF_BARS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/sketch.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | / BARS_.push(Bar::new( [INFO] [stdout] 45 | | color, [INFO] [stdout] 46 | | width - 2.0, [INFO] [stdout] 47 | | width.mul_add(i as f32, -screen_width()), [INFO] [stdout] 48 | | )); [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/sketch.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | for bar in &BARS_ { [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] 56 | for bar in &raw const BARS_ { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] running `Command { std: "docker" "inspect" "31e6364db7b4f2d6d67cec1e83e0f9df93ea0a8c3e0a5f43d99fc29989b31125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31e6364db7b4f2d6d67cec1e83e0f9df93ea0a8c3e0a5f43d99fc29989b31125", kill_on_drop: false }` [INFO] [stdout] 31e6364db7b4f2d6d67cec1e83e0f9df93ea0a8c3e0a5f43d99fc29989b31125