[INFO] cloning repository https://github.com/rutrum/wasm4-game-jam-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rutrum/wasm4-game-jam-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frutrum%2Fwasm4-game-jam-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frutrum%2Fwasm4-game-jam-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e760ad2151dbacec1f051a2e4caf360e60464e50 [INFO] building rutrum/wasm4-game-jam-2022 against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frutrum%2Fwasm4-game-jam-2022" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/rutrum/wasm4-game-jam-2022 [INFO] finished tweaking git repo https://github.com/rutrum/wasm4-game-jam-2022 [INFO] tweaked toml for git repo https://github.com/rutrum/wasm4-game-jam-2022 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rutrum/wasm4-game-jam-2022 on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rutrum/wasm4-game-jam-2022 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9437ea9833112bda4997c692fd650a93b70d4de0260f4cf52a5f5099f2bc4690 [INFO] running `Command { std: "docker" "start" "-a" "9437ea9833112bda4997c692fd650a93b70d4de0260f4cf52a5f5099f2bc4690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9437ea9833112bda4997c692fd650a93b70d4de0260f4cf52a5f5099f2bc4690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9437ea9833112bda4997c692fd650a93b70d4de0260f4cf52a5f5099f2bc4690", kill_on_drop: false }` [INFO] [stdout] 9437ea9833112bda4997c692fd650a93b70d4de0260f4cf52a5f5099f2bc4690 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 5d38f7eea3fc23622a5afa55e388a98b9fa0443974a5bd01c9fdb10b79dab6c5 [INFO] running `Command { std: "docker" "start" "-a" "5d38f7eea3fc23622a5afa55e388a98b9fa0443974a5bd01c9fdb10b79dab6c5", kill_on_drop: false }` [INFO] [stderr] Compiling buddy-alloc v0.4.1 [INFO] [stderr] Compiling cart v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::Random` [INFO] [stdout] --> src/entity/powerup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Random; [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: `random` [INFO] [stdout] --> src/entity/enemy.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn spawn(t: EnemyType, random: &mut Random, cycle: Cycle) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_random` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | let mut player = &mut self.player; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bullet_speed` is never used [INFO] [stdout] --> src/entity/enemy.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl EnemyType { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | fn bullet_speed(&self, cycle: Cycle) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sprites`, `pos`, `health`, `time_alive`, and `dying_counter` are never read [INFO] [stdout] --> src/entity/enemy.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct Enemy { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 80 | sprites: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 81 | t: EnemyType, [INFO] [stdout] 82 | pos: (f32, f32), [INFO] [stdout] | ^^^ [INFO] [stdout] 83 | vel: (f32, f32), [INFO] [stdout] 84 | health: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | time_alive: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 88 | dying_counter: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `time` and `is_night` are never used [INFO] [stdout] --> src/game.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | fn time(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn is_night(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wasm4/runtime.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | let rt = RUNTIME.assume_init_mut(); [INFO] [stdout] | ^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | main! { App } [INFO] [stdout] | ------------- in this macro invocation [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] = note: this warning originates in the macro `main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/alloc.rs:13:42 [INFO] [stdout] | [INFO] [stdout] 13 | let fast_param = FastAllocParam::new(FAST_HEAP.as_ptr(), FAST_HEAP_SIZE); [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/alloc.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | let buddy_param = BuddyAllocParam::new(HEAP.as_ptr(), HEAP_SIZE, LEAF_SIZE); [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] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "start" "--export" "update" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<6 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/libbuddy_alloc-737b3816977d0ffc.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/cart.wasm" "--gc-sections" "--no-entry" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/cart.cart.63038df83ff6c132-cgu.2.rcgu.o: undefined symbol: textUtf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/cart.cart.63038df83ff6c132-cgu.2.rcgu.o: undefined symbol: textUtf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/cart.cart.63038df83ff6c132-cgu.2.rcgu.o: undefined symbol: blit [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/cart.cart.63038df83ff6c132-cgu.2.rcgu.o: undefined symbol: tone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cart` (lib) due to 1 previous error; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5d38f7eea3fc23622a5afa55e388a98b9fa0443974a5bd01c9fdb10b79dab6c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d38f7eea3fc23622a5afa55e388a98b9fa0443974a5bd01c9fdb10b79dab6c5", kill_on_drop: false }` [INFO] [stdout] 5d38f7eea3fc23622a5afa55e388a98b9fa0443974a5bd01c9fdb10b79dab6c5