[INFO] cloning repository https://github.com/claudiomattera/wasmanoid [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/claudiomattera/wasmanoid" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaudiomattera%2Fwasmanoid", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaudiomattera%2Fwasmanoid'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71499a0a1f44cc71e594c0d393906b842bc70a91 [INFO] checking claudiomattera/wasmanoid against master#a932eb36f8adf6c8cdfc450f063943da3112d621 for pr-140209-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaudiomattera%2Fwasmanoid" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/claudiomattera/wasmanoid on toolchain a932eb36f8adf6c8cdfc450f063943da3112d621 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/claudiomattera/wasmanoid [INFO] finished tweaking git repo https://github.com/claudiomattera/wasmanoid [INFO] tweaked toml for git repo https://github.com/claudiomattera/wasmanoid written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/claudiomattera/wasmanoid 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" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm4fun-time v0.1.0 [INFO] [stderr] Downloaded serde_derive v1.0.134 [INFO] [stderr] Downloaded wasm4fun-random v0.1.0 [INFO] [stderr] Downloaded wasm4fun-sound v0.1.0 [INFO] [stderr] Downloaded wasm4fun-fmt v0.1.0 [INFO] [stderr] Downloaded png2wasm4src v0.1.0 [INFO] [stderr] Downloaded wasm4fun-graphics v0.1.0 [INFO] [stderr] Downloaded serde v1.0.134 [INFO] [stderr] Downloaded wasm4fun-input v0.1.0 [INFO] [stderr] Downloaded wasm4fun-logo v0.1.0 [INFO] [stderr] Downloaded wasm4fun-log v0.1.0 [INFO] [stderr] Downloaded wasm4fun-storage v0.1.0 [INFO] [stderr] Downloaded wasm4fun-panichandler v0.1.0 [INFO] [stderr] Downloaded wasm4fun-core v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c35f723cb647426a5f3ffad53213286ee2abc00c383f558d994ee01de5b5232 [INFO] running `Command { std: "docker" "start" "-a" "6c35f723cb647426a5f3ffad53213286ee2abc00c383f558d994ee01de5b5232", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c35f723cb647426a5f3ffad53213286ee2abc00c383f558d994ee01de5b5232", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c35f723cb647426a5f3ffad53213286ee2abc00c383f558d994ee01de5b5232", kill_on_drop: false }` [INFO] [stdout] 6c35f723cb647426a5f3ffad53213286ee2abc00c383f558d994ee01de5b5232 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5a67ec9c714074840c186b7d923eabb08d9560624c82e8f74422883f4b1ad09 [INFO] running `Command { std: "docker" "start" "-a" "d5a67ec9c714074840c186b7d923eabb08d9560624c82e8f74422883f4b1ad09", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Checking wasm4fun-core v0.1.0 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.134 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling serde v1.0.134 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling deflate v0.9.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Checking postcard-cobs v0.1.5-pre [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking wasm4fun-sound v0.1.0 [INFO] [stderr] Checking wasm4fun-graphics v0.1.0 [INFO] [stderr] Checking wasm4fun-time v0.1.0 [INFO] [stderr] Checking wasm4fun-panichandler v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking core2 v0.3.3 [INFO] [stderr] Checking wasm4fun-input v0.1.0 [INFO] [stderr] Checking micromath v2.0.0 [INFO] [stderr] Checking wasm4fun-fmt v0.1.0 [INFO] [stderr] Checking wasm4fun-logo v0.1.0 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Checking wasm4fun-log v0.1.0 [INFO] [stderr] Checking wasm4fun-random v0.1.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling png v0.17.2 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling png2wasm4src v0.1.0 [INFO] [stderr] Compiling cartridge v1.0.0 (/opt/rustwide/workdir/game) [INFO] [stderr] Checking postcard v0.7.3 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking wasm4fun-storage v0.1.0 [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `powi` found for type `f32` in the current scope [INFO] [stdout] --> game/src/math.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | (x.powi(2) + y.powi(2)).sqrt() [INFO] [stdout] | ^^^^ method not found in `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `powi` found for type `f32` in the current scope [INFO] [stdout] --> game/src/math.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | (x.powi(2) + y.powi(2)).sqrt() [INFO] [stdout] | ^^^^ method not found in `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cartridge` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> game/src/game/loop.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | let state_machine = unsafe { &mut STATE_MACHINE }; [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)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 28 | let state_machine = unsafe { &raw mut STATE_MACHINE }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> game/src/game/loop.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | let audio_queue = unsafe { &mut AUDIO_QUEUE }; [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 32 | let audio_queue = unsafe { &raw mut AUDIO_QUEUE }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> game/src/game/loop.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | let state_machine = unsafe { &mut STATE_MACHINE }; [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 38 | let state_machine = unsafe { &raw mut STATE_MACHINE }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> game/src/game/loop.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | let audio_queue = unsafe { &mut AUDIO_QUEUE }; [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 41 | let audio_queue = unsafe { &raw mut AUDIO_QUEUE }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d5a67ec9c714074840c186b7d923eabb08d9560624c82e8f74422883f4b1ad09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5a67ec9c714074840c186b7d923eabb08d9560624c82e8f74422883f4b1ad09", kill_on_drop: false }` [INFO] [stdout] d5a67ec9c714074840c186b7d923eabb08d9560624c82e8f74422883f4b1ad09