[INFO] cloning repository https://github.com/Adi-df/space_defender [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Adi-df/space_defender" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdi-df%2Fspace_defender", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdi-df%2Fspace_defender'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a4affea99a26c4b722f4c876dcb014180a9c248 [INFO] building Adi-df/space_defender against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdi-df%2Fspace_defender" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Adi-df/space_defender [INFO] finished tweaking git repo https://github.com/Adi-df/space_defender [INFO] tweaked toml for git repo https://github.com/Adi-df/space_defender written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Adi-df/space_defender 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/Adi-df/space_defender 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] cca7c3f65f2be456d51402a3cd61e6f2b70d7cac52b6ce6e03e2a563031f72a2 [INFO] running `Command { std: "docker" "start" "-a" "cca7c3f65f2be456d51402a3cd61e6f2b70d7cac52b6ce6e03e2a563031f72a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cca7c3f65f2be456d51402a3cd61e6f2b70d7cac52b6ce6e03e2a563031f72a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cca7c3f65f2be456d51402a3cd61e6f2b70d7cac52b6ce6e03e2a563031f72a2", kill_on_drop: false }` [INFO] [stdout] cca7c3f65f2be456d51402a3cd61e6f2b70d7cac52b6ce6e03e2a563031f72a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 1aa5d8137a447b08723ee9961f71e969fbe1d73bb04a738ab5a893d6a584af51 [INFO] running `Command { std: "docker" "start" "-a" "1aa5d8137a447b08723ee9961f71e969fbe1d73bb04a738ab5a893d6a584af51", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling sapp-wasm v0.1.24 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling ttf-parser v0.8.3 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling glam v0.14.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling miniquad v0.3.0-alpha.30 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling macroquad_macro v0.1.3 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling hecs v0.5.2 [INFO] [stderr] Compiling fontdue v0.4.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling macroquad v0.3.3 [INFO] [stderr] Compiling space_defender v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/systems/fire_control.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct FireControl(pub u32, u32); [INFO] [stdout] | ----------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - pub struct FireControl(pub u32, u32); [INFO] [stdout] 10 + pub struct FireControl((), u32); [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" "macroquad_audio_crate_version" "--export" "file_loaded" "--export" "allocate_vec_u8" "--export" "crate_version" "--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" "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" "<17 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libhecs-17caeebfb2ee5258,libhashbrown-f7d5d51e8e225d3d,libahash-928e9da912422352,libgetrandom-9b687abed23c4fd6,libwasi-4ea4ad5c0c21a1a2,libonce_cell-b8172938ed26d2cc,libmacroquad-3ebba3ab7016dad8,libbumpalo-b8429d54c1fc57f8,libfontdue-998b4f6c149d0674,libttf_parser-e814f9956276cb0f,libhashbrown-d3b628cd2f8f34f2,libahash-c2543651d36673ec,libimage-cda5e7e5cf8e106c,libcolor_quant-8e07a515e6ff48c0,libnum_iter-cb98697f428d40c4,libbytemuck-9168380213fb86cd,libpng-664685a40a0bdb2f,libminiz_oxide-dadf386c3d95bd8d,libcrc32fast-16c73443c28ec47a,libcfg_if-50b02a9e3502ecf2,libdeflate-cec0dcc85515ac5c,libbyteorder-f00db367bf6f80f8,libadler32-9f2c3df339504c4f,libbitflags-05377f64c37263ee,libnum_rational-cc41532932283355,libnum_integer-4dd7eb7c765b6f02,libnum_traits-9b1d81968a913e17,libquad_rand-a489066e64330885,libminiquad-6109b2860ff8a9f2,libsapp_wasm-9607508488efa27d,libglam-ce101decb0695bbd}.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/space_defender-c446bd72df384ae7.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/libmacroquad-3ebba3ab7016dad8.rlib(macroquad-3ebba3ab7016dad8.macroquad.2dc6757c255e6fe0-cgu.08.rcgu.o): undefined symbol: audio_init [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-3ebba3ab7016dad8.rlib(macroquad-3ebba3ab7016dad8.macroquad.2dc6757c255e6fe0-cgu.09.rcgu.o): undefined symbol: glGenFramebuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-3ebba3ab7016dad8.rlib(macroquad-3ebba3ab7016dad8.macroquad.2dc6757c255e6fe0-cgu.09.rcgu.o): undefined symbol: glBindFramebuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-3ebba3ab7016dad8.rlib(macroquad-3ebba3ab7016dad8.macroquad.2dc6757c255e6fe0-cgu.09.rcgu.o): undefined symbol: glFramebufferTexture2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-3ebba3ab7016dad8.rlib(macroquad-3ebba3ab7016dad8.macroquad.2dc6757c255e6fe0-cgu.09.rcgu.o): undefined symbol: glFramebufferTexture2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-3ebba3ab7016dad8.rlib(macroquad-3ebba3ab7016dad8.macroquad.2dc6757c255e6fe0-cgu.09.rcgu.o): undefined symbol: glBindFramebuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-3ebba3ab7016dad8.rlib(macroquad-3ebba3ab7016dad8.macroquad.2dc6757c255e6fe0-cgu.09.rcgu.o): undefined symbol: glBindFramebuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-3ebba3ab7016dad8.rlib(macroquad-3ebba3ab7016dad8.macroquad.2dc6757c255e6fe0-cgu.09.rcgu.o): undefined symbol: glViewport [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-3ebba3ab7016dad8.rlib(macroquad-3ebba3ab7016dad8.macroquad.2dc6757c255e6fe0-cgu.09.rcgu.o): undefined symbol: glScissor [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-3ebba3ab7016dad8.rlib(macroquad-3ebba3ab7016dad8.macroquad.2dc6757c255e6fe0-cgu.09.rcgu.o): undefined symbol: glBufferSubData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-3ebba3ab7016dad8.rlib(macroquad-3ebba3ab7016dad8.macroquad.2dc6757c255e6fe0-cgu.09.rcgu.o): undefined symbol: glBufferSubData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-3ebba3ab7016dad8.rlib(macroquad-3ebba3ab7016dad8.macroquad.2dc6757c255e6fe0-cgu.09.rcgu.o): undefined symbol: glGenBuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-3ebba3ab7016dad8.rlib(macroquad-3ebba3ab7016dad8.macroquad.2dc6757c255e6fe0-cgu.09.rcgu.o): undefined symbol: glBufferData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-3ebba3ab7016dad8.rlib(macroquad-3ebba3ab7016dad8.macroquad.2dc6757c255e6fe0-cgu.09.rcgu.o): undefined symbol: glBufferSubData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-3ebba3ab7016dad8.rlib(macroquad-3ebba3ab7016dad8.macroquad.2dc6757c255e6fe0-cgu.09.rcgu.o): undefined symbol: glGenBuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-3ebba3ab7016dad8.rlib(macroquad-3ebba3ab7016dad8.macroquad.2dc6757c255e6fe0-cgu.09.rcgu.o): undefined symbol: glBufferData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-3ebba3ab7016dad8.rlib(macroquad-3ebba3ab7016dad8.macroquad.2dc6757c255e6fe0-cgu.09.rcgu.o): undefined symbol: glBufferSubData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-3ebba3ab7016dad8.rlib(macroquad-3ebba3ab7016dad8.macroquad.2dc6757c255e6fe0-cgu.15.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-3ebba3ab7016dad8.rlib(macroquad-3ebba3ab7016dad8.macroquad.2dc6757c255e6fe0-cgu.15.rcgu.o): undefined symbol: glCopyTexImage2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-3ebba3ab7016dad8.rlib(macroquad-3ebba3ab7016dad8.macroquad.2dc6757c255e6fe0-cgu.15.rcgu.o): undefined symbol: glFlush [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 `space_defender` (bin "space_defender") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1aa5d8137a447b08723ee9961f71e969fbe1d73bb04a738ab5a893d6a584af51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aa5d8137a447b08723ee9961f71e969fbe1d73bb04a738ab5a893d6a584af51", kill_on_drop: false }` [INFO] [stdout] 1aa5d8137a447b08723ee9961f71e969fbe1d73bb04a738ab5a893d6a584af51