[INFO] cloning repository https://github.com/unsettled01/Rust-Galaga-Remake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/unsettled01/Rust-Galaga-Remake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funsettled01%2FRust-Galaga-Remake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funsettled01%2FRust-Galaga-Remake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 729ad38fb3098a723de5553c3c5088e49f7b8bf8 [INFO] building unsettled01/Rust-Galaga-Remake against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funsettled01%2FRust-Galaga-Remake" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/unsettled01/Rust-Galaga-Remake [INFO] finished tweaking git repo https://github.com/unsettled01/Rust-Galaga-Remake [INFO] tweaked toml for git repo https://github.com/unsettled01/Rust-Galaga-Remake written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/unsettled01/Rust-Galaga-Remake 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/unsettled01/Rust-Galaga-Remake 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 4065d5c31c0899135a9a6efba8dec8150f0dde2bf905a074a59e16381b262873 [INFO] running `Command { std: "docker" "start" "-a" "4065d5c31c0899135a9a6efba8dec8150f0dde2bf905a074a59e16381b262873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4065d5c31c0899135a9a6efba8dec8150f0dde2bf905a074a59e16381b262873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4065d5c31c0899135a9a6efba8dec8150f0dde2bf905a074a59e16381b262873", kill_on_drop: false }` [INFO] [stdout] 4065d5c31c0899135a9a6efba8dec8150f0dde2bf905a074a59e16381b262873 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] ed87e6a4868718192988e0341e6819d12bacb1b60eb50880e16f624e83d63b23 [INFO] running `Command { std: "docker" "start" "-a" "ed87e6a4868718192988e0341e6819d12bacb1b60eb50880e16f624e83d63b23", kill_on_drop: false }` [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling fdeflate v0.3.6 [INFO] [stderr] Compiling miniquad v0.4.6 [INFO] [stderr] Compiling bytemuck v1.20.0 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling macroquad v0.4.13 [INFO] [stderr] Compiling macroquad v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut color = if colorNum < 1.0 { [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: unused variable: `player_pos` [INFO] [stdout] --> src/main.rs:173:26 [INFO] [stdout] | [INFO] [stdout] 173 | fn update(&mut self, player_pos: Vec2) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Dead` is never constructed [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | enum EnemyState { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 12 | InFormation, [INFO] [stdout] 13 | Dead, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct EnemyShip { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | state: EnemyState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hit` is never used [INFO] [stdout] --> src/main.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl EnemyShip { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | fn hit(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shot_at` is never read [INFO] [stdout] --> src/main.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 127 | struct Missile { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 130 | shot_at: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `wave_number` is never read [INFO] [stdout] --> src/main.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 149 | struct Wave { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 150 | enemies: Vec, [INFO] [stdout] 151 | wave_number: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `colorNum` should have a snake case name [INFO] [stdout] --> src/main.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let colorNum = rand::gen_range(0.0, 3.0); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `color_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `moveInFormation` should have a snake case name [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn moveInFormation(&mut self, leftmost: f32, rightmost: f32, screen_width: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `move_in_formation` [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" "__main_void" "--export" "CONTEXT" "--export" "allocate_vec_u8" "--export" "crate_version" "--export" "file_loaded" "--export" "focus" "--export" "frame" "--export" "key_down" "--export" "key_press" "--export" "key_up" "--export" "mouse_down" "--export" "mouse_move" "--export" "mouse_up" "--export" "mouse_wheel" "--export" "on_clipboard_paste" "--export" "on_file_dropped" "--export" "on_files_dropped_finish" "--export" "on_files_dropped_start" "--export" "raw_mouse_move" "--export" "resize" "--export" "touch" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libmacroquad-fa07ad574d29a2ed,libfontdue-13ba51efcddb1363,libttf_parser-2dad05e889eb49b2,libhashbrown-eafe2d72162e2627,libahash-52fb69ea34523510,libonce_cell-30ca894d04b13faf,libzerocopy-700d58819e876f4a,libimage-39217aebf6a80423,libbytemuck-83b323bffcbefe60,libcolor_quant-8e07a515e6ff48c0,libbyteorder-529cc76400af54b3,libpng-849657793c5922cf,libbitflags-15e3d67e03629ffa,libflate2-d1e9399b10ac017a,libminiz_oxide-bcf6294f2dd855ab,libfdeflate-c5e43ac6382d9f03,libsimd_adler32-f60c9d1329d503cc,libcrc32fast-e0220637d8011755,libcfg_if-50b02a9e3502ecf2,libnum_traits-b77bdcaa9e27e278,libquad_rand-c335779a0f85c006,libslotmap-e0fb2445f2417256,libglam-1547a7719eb4aa0f,libminiquad-252c34ba76d6ce48}.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/macroquad-94b547360082e549.wasm" "--gc-sections" "-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/macroquad-94b547360082e549.macroquad.855b0ad986fd65ef-cgu.0.rcgu.o: undefined symbol: init_webgl [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/macroquad-94b547360082e549.macroquad.855b0ad986fd65ef-cgu.0.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/macroquad-94b547360082e549.macroquad.855b0ad986fd65ef-cgu.0.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/macroquad-94b547360082e549.macroquad.855b0ad986fd65ef-cgu.0.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/macroquad-94b547360082e549.macroquad.855b0ad986fd65ef-cgu.0.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/macroquad-94b547360082e549.macroquad.855b0ad986fd65ef-cgu.0.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-fa07ad574d29a2ed.rlib(macroquad-fa07ad574d29a2ed.macroquad.2c2c5bbaf36847f3-cgu.11.rcgu.o): undefined symbol: glFlush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-fa07ad574d29a2ed.rlib(macroquad-fa07ad574d29a2ed.macroquad.2c2c5bbaf36847f3-cgu.11.rcgu.o): undefined symbol: glFinish [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-fa07ad574d29a2ed.rlib(macroquad-fa07ad574d29a2ed.macroquad.2c2c5bbaf36847f3-cgu.12.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-fa07ad574d29a2ed.rlib(macroquad-fa07ad574d29a2ed.macroquad.2c2c5bbaf36847f3-cgu.12.rcgu.o): undefined symbol: glCopyTexImage2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-252c34ba76d6ce48.rlib(miniquad-252c34ba76d6ce48.miniquad.c82c2a1fb442b241-cgu.2.rcgu.o): undefined symbol: sapp_set_cursor_grab [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-252c34ba76d6ce48.rlib(miniquad-252c34ba76d6ce48.miniquad.c82c2a1fb442b241-cgu.2.rcgu.o): undefined symbol: sapp_set_fullscreen [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-252c34ba76d6ce48.rlib(miniquad-252c34ba76d6ce48.miniquad.c82c2a1fb442b241-cgu.2.rcgu.o): undefined symbol: sapp_schedule_update [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-252c34ba76d6ce48.rlib(miniquad-252c34ba76d6ce48.miniquad.c82c2a1fb442b241-cgu.2.rcgu.o): undefined symbol: sapp_set_cursor [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-252c34ba76d6ce48.rlib(miniquad-252c34ba76d6ce48.miniquad.c82c2a1fb442b241-cgu.2.rcgu.o): undefined symbol: sapp_set_clipboard [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-252c34ba76d6ce48.rlib(miniquad-252c34ba76d6ce48.miniquad.c82c2a1fb442b241-cgu.3.rcgu.o): undefined symbol: fs_get_buffer_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-252c34ba76d6ce48.rlib(miniquad-252c34ba76d6ce48.miniquad.c82c2a1fb442b241-cgu.3.rcgu.o): undefined symbol: fs_take_buffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-252c34ba76d6ce48.rlib(miniquad-252c34ba76d6ce48.miniquad.c82c2a1fb442b241-cgu.3.rcgu.o): undefined symbol: glGenQueries [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-252c34ba76d6ce48.rlib(miniquad-252c34ba76d6ce48.miniquad.c82c2a1fb442b241-cgu.3.rcgu.o): undefined symbol: glBeginQuery [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-252c34ba76d6ce48.rlib(miniquad-252c34ba76d6ce48.miniquad.c82c2a1fb442b241-cgu.3.rcgu.o): undefined symbol: glEndQuery [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `macroquad` (bin "macroquad") due to 1 previous error; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ed87e6a4868718192988e0341e6819d12bacb1b60eb50880e16f624e83d63b23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed87e6a4868718192988e0341e6819d12bacb1b60eb50880e16f624e83d63b23", kill_on_drop: false }` [INFO] [stdout] ed87e6a4868718192988e0341e6819d12bacb1b60eb50880e16f624e83d63b23