[INFO] cloning repository https://github.com/zukonake/physics-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zukonake/physics-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzukonake%2Fphysics-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzukonake%2Fphysics-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b65ffeeddc9ecff3e121c0b9d09d47d5d5561850 [INFO] testing zukonake/physics-rs 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%2Fzukonake%2Fphysics-rs" "/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/zukonake/physics-rs [INFO] finished tweaking git repo https://github.com/zukonake/physics-rs [INFO] tweaked toml for git repo https://github.com/zukonake/physics-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zukonake/physics-rs 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/zukonake/physics-rs 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-sys v0.9.10 [INFO] [stderr] Downloaded lazy_static v0.2.9 [INFO] [stderr] Downloaded smallvec v0.4.4 [INFO] [stderr] Downloaded glutin v0.10.1 [INFO] [stderr] Downloaded rustc-demangle v0.1.5 [INFO] [stderr] Downloaded shared_library v0.1.7 [INFO] [stderr] Downloaded core-foundation-sys v0.3.1 [INFO] [stderr] Downloaded cc v1.0.3 [INFO] [stderr] Downloaded cocoa v0.9.2 [INFO] [stderr] Downloaded xml-rs v0.6.1 [INFO] [stderr] Downloaded wayland-kbd v0.9.1 [INFO] [stderr] Downloaded wayland-client v0.9.10 [INFO] [stderr] Downloaded winit v0.8.3 [INFO] [stderr] Downloaded backtrace v0.3.3 [INFO] [stderr] Downloaded gl_generator v0.6.1 [INFO] [stderr] Downloaded core-foundation v0.4.4 [INFO] [stderr] Downloaded tempfile v2.2.0 [INFO] [stderr] Downloaded backtrace-sys v0.1.16 [INFO] [stderr] Downloaded khronos_api v2.0.0 [INFO] [stderr] Downloaded num-traits v0.1.40 [INFO] [stderr] Downloaded core-foundation v0.3.0 [INFO] [stderr] Downloaded core-graphics v0.8.2 [INFO] [stderr] Downloaded wayland-scanner v0.9.10 [INFO] [stderr] Downloaded gleam v0.4.14 [INFO] [stderr] Downloaded glium v0.18.1 [INFO] [stderr] Downloaded cgl v0.2.1 [INFO] [stderr] Downloaded bitflags v1.0.0 [INFO] [stderr] Downloaded wayland-protocols v0.9.10 [INFO] [stderr] Downloaded x11-dl v2.16.0 [INFO] [stderr] Downloaded core-foundation-sys v0.4.4 [INFO] [stderr] Downloaded wayland-window v0.8.0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd03ad3d21d52f53159b79a5308362e79b2b21aa8351209251f4be2a94aa8d81 [INFO] running `Command { std: "docker" "start" "-a" "cd03ad3d21d52f53159b79a5308362e79b2b21aa8351209251f4be2a94aa8d81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd03ad3d21d52f53159b79a5308362e79b2b21aa8351209251f4be2a94aa8d81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd03ad3d21d52f53159b79a5308362e79b2b21aa8351209251f4be2a94aa8d81", kill_on_drop: false }` [INFO] [stdout] cd03ad3d21d52f53159b79a5308362e79b2b21aa8351209251f4be2a94aa8d81 [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: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] 5e929a6e0b9ce36f950655c41f9987a454b696d6d86d9ff70f90c05e9f3af67f [INFO] running `Command { std: "docker" "start" "-a" "5e929a6e0b9ce36f950655c41f9987a454b696d6d86d9ff70f90c05e9f3af67f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling libc v0.2.33 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling lazy_static v0.2.9 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling bitflags v1.0.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling khronos_api v2.0.0 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling cc v1.0.3 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling byteorder v1.1.0 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.5 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling smallvec v0.4.4 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling x11-dl v2.16.0 [INFO] [stderr] Compiling rand v0.3.18 [INFO] [stderr] Compiling shared_library v0.1.7 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling wayland-scanner v0.9.10 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling wayland-protocols v0.9.10 [INFO] [stderr] Compiling glutin v0.10.1 [INFO] [stderr] Compiling glium v0.18.1 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling backtrace v0.3.3 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.9.10 [INFO] [stderr] Compiling wayland-kbd v0.9.1 [INFO] [stderr] Compiling wayland-window v0.8.0 [INFO] [stderr] Compiling winit v0.8.3 [INFO] [stderr] Compiling physics-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/world.rs:64:65 [INFO] [stdout] | [INFO] [stdout] 64 | let mut buffer: [[Tile; WIDTH]; HEIGHT] = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/front_end.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | implement_vertex!(Vertex, position, color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[[Tile; 300]; 200]` does not permit being left uninitialized [INFO] [stdout] --> src/world.rs:64:55 [INFO] [stdout] | [INFO] [stdout] 64 | let mut buffer: [[Tile; WIDTH]; HEIGHT] = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stdout] --> src/world.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Tile [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.54s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "5e929a6e0b9ce36f950655c41f9987a454b696d6d86d9ff70f90c05e9f3af67f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e929a6e0b9ce36f950655c41f9987a454b696d6d86d9ff70f90c05e9f3af67f", kill_on_drop: false }` [INFO] [stdout] 5e929a6e0b9ce36f950655c41f9987a454b696d6d86d9ff70f90c05e9f3af67f [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: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] 29537b5775445a4e2f0600fe03697b833ec91bc8ddc396091435b5b24a7e8f00 [INFO] running `Command { std: "docker" "start" "-a" "29537b5775445a4e2f0600fe03697b833ec91bc8ddc396091435b5b24a7e8f00", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling physics-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/world.rs:64:65 [INFO] [stdout] | [INFO] [stdout] 64 | let mut buffer: [[Tile; WIDTH]; HEIGHT] = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/front_end.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | implement_vertex!(Vertex, position, color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[[Tile; 300]; 200]` does not permit being left uninitialized [INFO] [stdout] --> src/world.rs:64:55 [INFO] [stdout] | [INFO] [stdout] 64 | let mut buffer: [[Tile; WIDTH]; HEIGHT] = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stdout] --> src/world.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Tile [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "29537b5775445a4e2f0600fe03697b833ec91bc8ddc396091435b5b24a7e8f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29537b5775445a4e2f0600fe03697b833ec91bc8ddc396091435b5b24a7e8f00", kill_on_drop: false }` [INFO] [stdout] 29537b5775445a4e2f0600fe03697b833ec91bc8ddc396091435b5b24a7e8f00 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 824e2352d26fac1348a4d71c3f9523a3d500fbd92d27844ee25ff70634c749ad [INFO] running `Command { std: "docker" "start" "-a" "824e2352d26fac1348a4d71c3f9523a3d500fbd92d27844ee25ff70634c749ad", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/world.rs:64:65 [INFO] [stderr] | [INFO] [stderr] 64 | let mut buffer: [[Tile; WIDTH]; HEIGHT] = std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/front_end.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | implement_vertex!(Vertex, position, color); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/main.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(slice_patterns)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the type `[[Tile; 300]; 200]` does not permit being left uninitialized [INFO] [stderr] --> src/world.rs:64:55 [INFO] [stderr] | [INFO] [stderr] 64 | let mut buffer: [[Tile; WIDTH]; HEIGHT] = std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stderr] --> src/world.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | pub enum Tile [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `physics-rs` (bin "physics-rs" test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/physics_rs-4b4753c1523d7b32) [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" "824e2352d26fac1348a4d71c3f9523a3d500fbd92d27844ee25ff70634c749ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "824e2352d26fac1348a4d71c3f9523a3d500fbd92d27844ee25ff70634c749ad", kill_on_drop: false }` [INFO] [stdout] 824e2352d26fac1348a4d71c3f9523a3d500fbd92d27844ee25ff70634c749ad