[INFO] cloning repository https://github.com/RustyByChoice/LearningMacroquadGamedev_Shmup [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RustyByChoice/LearningMacroquadGamedev_Shmup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustyByChoice%2FLearningMacroquadGamedev_Shmup", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustyByChoice%2FLearningMacroquadGamedev_Shmup'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa6c010ec7676dbb5fc49d25ab6d9fd218508b49 [INFO] building RustyByChoice/LearningMacroquadGamedev_Shmup against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustyByChoice%2FLearningMacroquadGamedev_Shmup" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/RustyByChoice/LearningMacroquadGamedev_Shmup [INFO] finished tweaking git repo https://github.com/RustyByChoice/LearningMacroquadGamedev_Shmup [INFO] tweaked toml for git repo https://github.com/RustyByChoice/LearningMacroquadGamedev_Shmup written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RustyByChoice/LearningMacroquadGamedev_Shmup 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/RustyByChoice/LearningMacroquadGamedev_Shmup 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] adb8367d8311b8a2a994e79e3743d10fc723aa0a19c883d8f0f7ff1bad776f1b [INFO] running `Command { std: "docker" "start" "-a" "adb8367d8311b8a2a994e79e3743d10fc723aa0a19c883d8f0f7ff1bad776f1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "adb8367d8311b8a2a994e79e3743d10fc723aa0a19c883d8f0f7ff1bad776f1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adb8367d8311b8a2a994e79e3743d10fc723aa0a19c883d8f0f7ff1bad776f1b", kill_on_drop: false }` [INFO] [stdout] adb8367d8311b8a2a994e79e3743d10fc723aa0a19c883d8f0f7ff1bad776f1b [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] 73340b7c9a20368728abaccdb267bf2a6f918c32e0484ca2d751512d35628d1b [INFO] running `Command { std: "docker" "start" "-a" "73340b7c9a20368728abaccdb267bf2a6f918c32e0484ca2d751512d35628d1b", kill_on_drop: false }` [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling quad-snd v0.2.8 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling macroquad-particles v0.2.2 [INFO] [stderr] Compiling shmup-learning v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `medium_enemy_texture` and `big_enemy_texture` are never read [INFO] [stdout] --> src/enemy_vector.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct EnemyVector { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | medium_enemy_texture: Texture2D, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | big_enemy_texture: Texture2D, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bullet_vector.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(texture_bullet: &Texture2D) -> BulletVector { [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(texture_bullet: &Texture2D) -> BulletVector<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/player_ship.rs:13:73 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(where_x : f32, where_y : f32, speed : f32, texture_ship: &Texture2D) -> PlayerShip { [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(where_x : f32, where_y : f32, speed : f32, texture_ship: &Texture2D) -> PlayerShip<'_> { [INFO] [stdout] | ++++ [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" "--export" "macroquad_audio_crate_version" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<10 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libmacroquad_particles-6bbfefd953dbc318,libmacroquad-3b15a5078580ab11,libfontdue-dcd91a7869959a8b,libhashbrown-023d85b0aee4ac46,libfoldhash-1b4b4bcad838060e,libequivalent-847e63ace6824f0b,liballocator_api2-f7af5031277b4963,libttf_parser-dab2f10347360aed,libimage-aea45dd9efac0a60,libbytemuck-070882536f673733,libcolor_quant-1e86b52941ac4ea7,libbyteorder-7cb42c9bfd1ac301,libpng-5999f6abcd32d0ff,libbitflags-4fa71e63d9d8e5ea,libflate2-1e74605e1373b711,libminiz_oxide-e023c998c96ffac4,libfdeflate-1ea1d279f1cf051a,libsimd_adler32-b5535ea0505b2829,libcrc32fast-af7609d2c86e1a97,libcfg_if-2a1f3d8d3a86aef9,libnum_traits-ffc84bed15072509,libquad_rand-64cccd7057cafd0b,libglam-a17c452ab1fb70b7,libquad_snd-32290e55aaeccac5,libminiquad-18ebb5f9a337472b}.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/shmup_learning-8fbe7dc4ac1cb96f.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/shmup_learning-8fbe7dc4ac1cb96f.shmup_learning.c373ba0101446797-cgu.6.rcgu.o: undefined symbol: init_webgl [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/shmup_learning-8fbe7dc4ac1cb96f.shmup_learning.c373ba0101446797-cgu.6.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/shmup_learning-8fbe7dc4ac1cb96f.shmup_learning.c373ba0101446797-cgu.6.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/shmup_learning-8fbe7dc4ac1cb96f.shmup_learning.c373ba0101446797-cgu.6.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/shmup_learning-8fbe7dc4ac1cb96f.shmup_learning.c373ba0101446797-cgu.6.rcgu.o: undefined symbol: dpi_scale [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/shmup_learning-8fbe7dc4ac1cb96f.shmup_learning.c373ba0101446797-cgu.6.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/shmup_learning-8fbe7dc4ac1cb96f.shmup_learning.c373ba0101446797-cgu.6.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-3b15a5078580ab11.rlib(macroquad-3b15a5078580ab11.macroquad.7fbceae63881591c-cgu.07.rcgu.o): undefined symbol: fs_load_file [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-3b15a5078580ab11.rlib(macroquad-3b15a5078580ab11.macroquad.7fbceae63881591c-cgu.07.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-3b15a5078580ab11.rlib(macroquad-3b15a5078580ab11.macroquad.7fbceae63881591c-cgu.07.rcgu.o): undefined symbol: glCopyTexImage2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-3b15a5078580ab11.rlib(macroquad-3b15a5078580ab11.macroquad.7fbceae63881591c-cgu.08.rcgu.o): undefined symbol: glFlush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-3b15a5078580ab11.rlib(macroquad-3b15a5078580ab11.macroquad.7fbceae63881591c-cgu.08.rcgu.o): undefined symbol: glFinish [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquad_snd-32290e55aaeccac5.rlib(quad_snd-32290e55aaeccac5.quad_snd.9546a75395624e86-cgu.0.rcgu.o): undefined symbol: audio_init [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquad_snd-32290e55aaeccac5.rlib(quad_snd-32290e55aaeccac5.quad_snd.9546a75395624e86-cgu.0.rcgu.o): undefined symbol: audio_add_buffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquad_snd-32290e55aaeccac5.rlib(quad_snd-32290e55aaeccac5.quad_snd.9546a75395624e86-cgu.0.rcgu.o): undefined symbol: audio_play_buffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquad_snd-32290e55aaeccac5.rlib(quad_snd-32290e55aaeccac5.quad_snd.9546a75395624e86-cgu.0.rcgu.o): undefined symbol: audio_source_stop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquad_snd-32290e55aaeccac5.rlib(quad_snd-32290e55aaeccac5.quad_snd.9546a75395624e86-cgu.0.rcgu.o): undefined symbol: audio_source_delete [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquad_snd-32290e55aaeccac5.rlib(quad_snd-32290e55aaeccac5.quad_snd.9546a75395624e86-cgu.0.rcgu.o): undefined symbol: audio_source_is_loaded [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-18ebb5f9a337472b.rlib(miniquad-18ebb5f9a337472b.miniquad.dccfde19387d0e19-cgu.00.rcgu.o): undefined symbol: glGetIntegerv [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-18ebb5f9a337472b.rlib(miniquad-18ebb5f9a337472b.miniquad.dccfde19387d0e19-cgu.00.rcgu.o): undefined symbol: glGenVertexArrays [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 `shmup-learning` (bin "shmup-learning") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "73340b7c9a20368728abaccdb267bf2a6f918c32e0484ca2d751512d35628d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73340b7c9a20368728abaccdb267bf2a6f918c32e0484ca2d751512d35628d1b", kill_on_drop: false }` [INFO] [stdout] 73340b7c9a20368728abaccdb267bf2a6f918c32e0484ca2d751512d35628d1b