[INFO] cloning repository https://github.com/MyShocK13/breakout-opengl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MyShocK13/breakout-opengl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMyShocK13%2Fbreakout-opengl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMyShocK13%2Fbreakout-opengl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f249e68a379388c0b0270a6765d876ffb1addfd8 [INFO] testing MyShocK13/breakout-opengl against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMyShocK13%2Fbreakout-opengl" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MyShocK13/breakout-opengl [INFO] finished tweaking git repo https://github.com/MyShocK13/breakout-opengl [INFO] tweaked toml for git repo https://github.com/MyShocK13/breakout-opengl written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MyShocK13/breakout-opengl on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MyShocK13/breakout-opengl 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded weezl v0.1.6 [INFO] [stderr] Downloaded proc-macro2 v1.0.39 [INFO] [stderr] Downloaded ndk-macro v0.3.0 [INFO] [stderr] Downloaded ppv-lite86 v0.2.16 [INFO] [stderr] Downloaded getrandom v0.2.6 [INFO] [stderr] Downloaded raw-window-handle v0.4.3 [INFO] [stderr] Downloaded toml v0.5.9 [INFO] [stderr] Downloaded ndk-context v0.1.1 [INFO] [stderr] Downloaded bumpalo v3.10.0 [INFO] [stderr] Downloaded shlex v1.1.0 [INFO] [stderr] Downloaded darling_macro v0.13.4 [INFO] [stderr] Downloaded ndk-glue v0.6.2 [INFO] [stderr] Downloaded darling v0.13.4 [INFO] [stderr] Downloaded gl_generator v0.14.0 [INFO] [stderr] Downloaded coreaudio-sys v0.2.10 [INFO] [stderr] Downloaded proc-macro-crate v1.1.3 [INFO] [stderr] Downloaded bit_field v0.10.1 [INFO] [stderr] Downloaded num_enum_derive v0.5.7 [INFO] [stderr] Downloaded num_enum v0.5.7 [INFO] [stderr] Downloaded oboe v0.4.6 [INFO] [stderr] Downloaded cmake v0.1.48 [INFO] [stderr] Downloaded lebe v0.5.1 [INFO] [stderr] Downloaded thiserror v1.0.31 [INFO] [stderr] Downloaded clang-sys v1.3.3 [INFO] [stderr] Downloaded inflate v0.4.5 [INFO] [stderr] Downloaded lock_api v0.4.7 [INFO] [stderr] Downloaded num-rational v0.4.0 [INFO] [stderr] Downloaded smallvec v1.8.0 [INFO] [stderr] Downloaded bytemuck v1.9.1 [INFO] [stderr] Downloaded pin-project-internal v1.0.10 [INFO] [stderr] Downloaded memoffset v0.6.5 [INFO] [stderr] Downloaded ndk v0.6.0 [INFO] [stderr] Downloaded gl v0.14.0 [INFO] [stderr] Downloaded flume v0.10.12 [INFO] [stderr] Downloaded thiserror-impl v1.0.31 [INFO] [stderr] Downloaded xml-rs v0.8.4 [INFO] [stderr] Downloaded libloading v0.7.3 [INFO] [stderr] Downloaded pin-project v1.0.10 [INFO] [stderr] Downloaded half v1.8.2 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.8 [INFO] [stderr] Downloaded crossbeam-utils v0.8.8 [INFO] [stderr] Downloaded cgmath v0.18.0 [INFO] [stderr] Downloaded deflate v1.0.0 [INFO] [stderr] Downloaded darling_core v0.13.4 [INFO] [stderr] Downloaded alsa v0.6.0 [INFO] [stderr] Downloaded crossbeam-channel v0.5.4 [INFO] [stderr] Downloaded serde v1.0.138 [INFO] [stderr] Downloaded rayon-core v1.9.3 [INFO] [stderr] Downloaded cpal v0.13.5 [INFO] [stderr] Downloaded png v0.17.5 [INFO] [stderr] Downloaded glfw v0.45.0 [INFO] [stderr] Downloaded syn v1.0.96 [INFO] [stderr] Downloaded nom v7.1.1 [INFO] [stderr] Downloaded combine v4.6.4 [INFO] [stderr] Downloaded oboe-sys v0.4.5 [INFO] [stderr] Downloaded regex-syntax v0.6.26 [INFO] [stderr] Downloaded rayon v1.5.3 [INFO] [stderr] Downloaded bindgen v0.59.2 [INFO] [stderr] Downloaded image v0.24.2 [INFO] [stderr] Downloaded regex v1.5.6 [INFO] [stderr] Downloaded nix v0.23.1 [INFO] [stderr] Downloaded exr v1.4.2 [INFO] [stderr] Downloaded ndk-sys v0.3.0 [INFO] [stderr] Downloaded miniz_oxide v0.5.3 [INFO] [stderr] Downloaded gif v0.11.3 [INFO] [stderr] Downloaded crossbeam-deque v0.8.1 [INFO] [stderr] Downloaded spin v0.9.3 [INFO] [stderr] Downloaded khronos_api v3.1.0 [INFO] [stderr] Downloaded jpeg-decoder v0.2.6 [INFO] [stderr] Downloaded glfw-sys v4.0.0+3.3.5 [INFO] [stderr] Downloaded tiff v0.7.2 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acfc7f894610865fae735d3a162dd209fb81f13dcd51d280bd44793707655ce2 [INFO] running `Command { std: "docker" "start" "-a" "acfc7f894610865fae735d3a162dd209fb81f13dcd51d280bd44793707655ce2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acfc7f894610865fae735d3a162dd209fb81f13dcd51d280bd44793707655ce2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acfc7f894610865fae735d3a162dd209fb81f13dcd51d280bd44793707655ce2", kill_on_drop: false }` [INFO] [stdout] acfc7f894610865fae735d3a162dd209fb81f13dcd51d280bd44793707655ce2 [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48ef0ef92c4d97c7ef31716dbb5ad344a5eba925ce3717581779b289d8e0776c [INFO] running `Command { std: "docker" "start" "-a" "48ef0ef92c4d97c7ef31716dbb5ad344a5eba925ce3717581779b289d8e0776c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling glfw-sys v4.0.0+3.3.5 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling spin v0.9.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling weezl v0.1.6 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling lebe v0.5.1 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling png v0.17.5 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling jpeg-decoder v0.2.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling glfw v0.45.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tiff v0.7.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling alsa v0.6.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling flume v0.10.12 [INFO] [stderr] Compiling exr v1.4.2 [INFO] [stderr] Compiling image v0.24.2 [INFO] [stderr] Compiling breakout v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Data` and `SampleFormat` [INFO] [stdout] --> src/game.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use cpal::{Data, Sample, SampleFormat}; [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 variable: `sample_format` [INFO] [stdout] --> src/game.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | let sample_format = supported_config.sample_format(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_format` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/game.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | / PARTICLE_GENERATOR.update( [INFO] [stdout] 210 | | dt, [INFO] [stdout] 211 | | &self.ball.game_object, [INFO] [stdout] 212 | | 2, [INFO] [stdout] 213 | | vec2(self.ball.radius / 2.0, self.ball.radius / 2.0) [INFO] [stdout] 214 | | ); [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 shared reference to mutable static [INFO] [stdout] --> src/game.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | POST_PROCESSOR.begin_render(); [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/game.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | RENDERER.draw_sprite(&background_tex, vec2(0.0, 0.0), vec2(self.width as f32, self.height as f32), 0.0, vec3(1.0, 1.0, 1.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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/game.rs:243:49 [INFO] [stdout] | [INFO] [stdout] 243 | self.levels[self.actual_level].draw(&RENDERER); [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] 243 | self.levels[self.actual_level].draw(&raw const RENDERER); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/game.rs:245:30 [INFO] [stdout] | [INFO] [stdout] 245 | self.player.draw(&RENDERER); [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] 245 | self.player.draw(&raw const RENDERER); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/game.rs:249:47 [INFO] [stdout] | [INFO] [stdout] 249 | power_up.game_object.draw(&RENDERER); [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] 249 | power_up.game_object.draw(&raw const RENDERER); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/game.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | PARTICLE_GENERATOR.draw(); [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/game.rs:255:28 [INFO] [stdout] | [INFO] [stdout] 255 | self.ball.draw(&RENDERER); [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] 255 | self.ball.draw(&raw const RENDERER); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/game.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | POST_PROCESSOR.end_render(); [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/game.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | POST_PROCESSOR.render(time); [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 1m 09s [INFO] running `Command { std: "docker" "inspect" "48ef0ef92c4d97c7ef31716dbb5ad344a5eba925ce3717581779b289d8e0776c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48ef0ef92c4d97c7ef31716dbb5ad344a5eba925ce3717581779b289d8e0776c", kill_on_drop: false }` [INFO] [stdout] 48ef0ef92c4d97c7ef31716dbb5ad344a5eba925ce3717581779b289d8e0776c [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78a195981b33c26966182d9ee8d15e216bb5476451cb3afe1c3c3aa43027e168 [INFO] running `Command { std: "docker" "start" "-a" "78a195981b33c26966182d9ee8d15e216bb5476451cb3afe1c3c3aa43027e168", kill_on_drop: false }` [INFO] [stderr] Compiling breakout v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Data` and `SampleFormat` [INFO] [stdout] --> src/game.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use cpal::{Data, Sample, SampleFormat}; [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 variable: `sample_format` [INFO] [stdout] --> src/game.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | let sample_format = supported_config.sample_format(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_format` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/game.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | / PARTICLE_GENERATOR.update( [INFO] [stdout] 210 | | dt, [INFO] [stdout] 211 | | &self.ball.game_object, [INFO] [stdout] 212 | | 2, [INFO] [stdout] 213 | | vec2(self.ball.radius / 2.0, self.ball.radius / 2.0) [INFO] [stdout] 214 | | ); [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 shared reference to mutable static [INFO] [stdout] --> src/game.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | POST_PROCESSOR.begin_render(); [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/game.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | RENDERER.draw_sprite(&background_tex, vec2(0.0, 0.0), vec2(self.width as f32, self.height as f32), 0.0, vec3(1.0, 1.0, 1.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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/game.rs:243:49 [INFO] [stdout] | [INFO] [stdout] 243 | self.levels[self.actual_level].draw(&RENDERER); [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] 243 | self.levels[self.actual_level].draw(&raw const RENDERER); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/game.rs:245:30 [INFO] [stdout] | [INFO] [stdout] 245 | self.player.draw(&RENDERER); [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] 245 | self.player.draw(&raw const RENDERER); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/game.rs:249:47 [INFO] [stdout] | [INFO] [stdout] 249 | power_up.game_object.draw(&RENDERER); [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] 249 | power_up.game_object.draw(&raw const RENDERER); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/game.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | PARTICLE_GENERATOR.draw(); [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/game.rs:255:28 [INFO] [stdout] | [INFO] [stdout] 255 | self.ball.draw(&RENDERER); [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] 255 | self.ball.draw(&raw const RENDERER); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/game.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | POST_PROCESSOR.end_render(); [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/game.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | POST_PROCESSOR.render(time); [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.64s [INFO] running `Command { std: "docker" "inspect" "78a195981b33c26966182d9ee8d15e216bb5476451cb3afe1c3c3aa43027e168", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78a195981b33c26966182d9ee8d15e216bb5476451cb3afe1c3c3aa43027e168", kill_on_drop: false }` [INFO] [stdout] 78a195981b33c26966182d9ee8d15e216bb5476451cb3afe1c3c3aa43027e168 [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 20c464632b26c1ddf07d1eaf1254cf8f37d505a770973b59bf44c2d79248f7f4 [INFO] running `Command { std: "docker" "start" "-a" "20c464632b26c1ddf07d1eaf1254cf8f37d505a770973b59bf44c2d79248f7f4", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Data` and `SampleFormat` [INFO] [stderr] --> src/game.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | use cpal::{Data, Sample, SampleFormat}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sample_format` [INFO] [stderr] --> src/game.rs:191:13 [INFO] [stderr] | [INFO] [stderr] 191 | let sample_format = supported_config.sample_format(); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_format` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/game.rs:209:13 [INFO] [stderr] | [INFO] [stderr] 209 | / PARTICLE_GENERATOR.update( [INFO] [stderr] 210 | | dt, [INFO] [stderr] 211 | | &self.ball.game_object, [INFO] [stderr] 212 | | 2, [INFO] [stderr] 213 | | vec2(self.ball.radius / 2.0, self.ball.radius / 2.0) [INFO] [stderr] 214 | | ); [INFO] [stderr] | |_____________^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/game.rs:237:13 [INFO] [stderr] | [INFO] [stderr] 237 | POST_PROCESSOR.begin_render(); [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/game.rs:241:13 [INFO] [stderr] | [INFO] [stderr] 241 | RENDERER.draw_sprite(&background_tex, vec2(0.0, 0.0), vec2(self.width as f32, self.height as f32), 0.0, vec3(1.0, 1.0, 1.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] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/game.rs:243:49 [INFO] [stderr] | [INFO] [stderr] 243 | self.levels[self.actual_level].draw(&RENDERER); [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] 243 | self.levels[self.actual_level].draw(&raw const RENDERER); [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/game.rs:245:30 [INFO] [stderr] | [INFO] [stderr] 245 | self.player.draw(&RENDERER); [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] 245 | self.player.draw(&raw const RENDERER); [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/game.rs:249:47 [INFO] [stderr] | [INFO] [stderr] 249 | power_up.game_object.draw(&RENDERER); [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] 249 | power_up.game_object.draw(&raw const RENDERER); [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/game.rs:253:13 [INFO] [stderr] | [INFO] [stderr] 253 | PARTICLE_GENERATOR.draw(); [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/game.rs:255:28 [INFO] [stderr] | [INFO] [stderr] 255 | self.ball.draw(&RENDERER); [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] 255 | self.ball.draw(&raw const RENDERER); [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/game.rs:258:13 [INFO] [stderr] | [INFO] [stderr] 258 | POST_PROCESSOR.end_render(); [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/game.rs:260:13 [INFO] [stderr] | [INFO] [stderr] 260 | POST_PROCESSOR.render(time); [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: `breakout` (bin "breakout" test) generated 12 warnings (run `cargo fix --bin "breakout" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/breakout-a928889dc579ddce) [INFO] [stdout] [INFO] [stdout] running 0 tests [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" "20c464632b26c1ddf07d1eaf1254cf8f37d505a770973b59bf44c2d79248f7f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20c464632b26c1ddf07d1eaf1254cf8f37d505a770973b59bf44c2d79248f7f4", kill_on_drop: false }` [INFO] [stdout] 20c464632b26c1ddf07d1eaf1254cf8f37d505a770973b59bf44c2d79248f7f4