[INFO] cloning repository https://github.com/davidstyrbjorn/legion-macroquad [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidstyrbjorn/legion-macroquad" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidstyrbjorn%2Flegion-macroquad", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidstyrbjorn%2Flegion-macroquad'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f2eabed9246bd97c88b79b7aaf0e31134297a4e [INFO] building davidstyrbjorn/legion-macroquad against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidstyrbjorn%2Flegion-macroquad" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/davidstyrbjorn/legion-macroquad [INFO] finished tweaking git repo https://github.com/davidstyrbjorn/legion-macroquad [INFO] tweaked toml for git repo https://github.com/davidstyrbjorn/legion-macroquad written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/davidstyrbjorn/legion-macroquad 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/davidstyrbjorn/legion-macroquad 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 9e6217084b50d3758ec4891f02f86e918ce1d6dd8e966b6d1969387ed2257563 [INFO] running `Command { std: "docker" "start" "-a" "9e6217084b50d3758ec4891f02f86e918ce1d6dd8e966b6d1969387ed2257563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e6217084b50d3758ec4891f02f86e918ce1d6dd8e966b6d1969387ed2257563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e6217084b50d3758ec4891f02f86e918ce1d6dd8e966b6d1969387ed2257563", kill_on_drop: false }` [INFO] [stdout] 9e6217084b50d3758ec4891f02f86e918ce1d6dd8e966b6d1969387ed2257563 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 43a42741d6b3db5a1ffb024a6dfc01368825b91f2174e495bcf23d8a8d84c87d [INFO] running `Command { std: "docker" "start" "-a" "43a42741d6b3db5a1ffb024a6dfc01368825b91f2174e495bcf23d8a8d84c87d", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling fdeflate v0.3.6 [INFO] [stderr] Compiling miniquad v0.4.6 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling bytemuck v1.20.0 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling atomic_refcell v0.1.13 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling scoped-tls-hkt v0.1.5 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling legion_codegen v0.4.0 [INFO] [stderr] Compiling macroquad v0.4.13 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling legion v0.4.0 [INFO] [stderr] Compiling macroquad-legion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/system.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | button: &mut Button, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/system.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | position: &Position, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/system.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | size: &Size, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PLAYING` is never constructed [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | enum CurrentState { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 37 | MENU, [INFO] [stdout] 38 | PLAYING, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/components.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Clone, Copy, Debug, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 34 | pub struct Button { [INFO] [stdout] 35 | pub cb: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [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" "<14 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,libnum_traits-b77bdcaa9e27e278,libquad_rand-c335779a0f85c006,libslotmap-e0fb2445f2417256,libglam-1547a7719eb4aa0f,libminiquad-252c34ba76d6ce48,liblegion-1ec8671055ec3983,liberased_serde-357d64b6ad89d097,libcrossbeam_channel-4066552b0e1e9332,libatomic_refcell-5c9ab99640287ce2,libbit_set-88cff056a71b8996,libbit_vec-646a760757a3d876,libdowncast_rs-189b5963c3e0358c,libuuid-adfbd480d1cd4aae,libgetrandom-c8a3aac06f548bf4,libwasi-b9c6bfbff0bef49f,libscoped_tls_hkt-e1d4ad199f41623a,libserde-22c2c5c5c21da8f4,libparking_lot-aa4828bef3343f20,libparking_lot_core-3872052522bca34e,liblock_api-cb42334115fcba5d,libscopeguard-8bf53ae5771a3088,libinstant-578bc475632eacf7,libcfg_if-50b02a9e3502ecf2,libitertools-47e39fa4dee9a263,libsmallvec-dd22fcde2487057b,librayon-abf6cd80db0795ce,librayon_core-4fcf884eb5949c9e,libcrossbeam_deque-2988d69c5b62aa8f,libcrossbeam_epoch-410b95cf7d35ddf3,libcrossbeam_utils-035f5f10b2b695d9,libeither-91a7b0a25f550a75,libthiserror-9e0d26c9dcdbaba7}.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_legion-80b02a141fb8b517.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_legion-80b02a141fb8b517.macroquad_legion.d6d19b7c0ea13954-cgu.07.rcgu.o: undefined symbol: init_webgl [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/macroquad_legion-80b02a141fb8b517.macroquad_legion.d6d19b7c0ea13954-cgu.07.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/macroquad_legion-80b02a141fb8b517.macroquad_legion.d6d19b7c0ea13954-cgu.07.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/macroquad_legion-80b02a141fb8b517.macroquad_legion.d6d19b7c0ea13954-cgu.07.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/macroquad_legion-80b02a141fb8b517.macroquad_legion.d6d19b7c0ea13954-cgu.07.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/macroquad_legion-80b02a141fb8b517.macroquad_legion.d6d19b7c0ea13954-cgu.07.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-legion` (bin "macroquad-legion") due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "43a42741d6b3db5a1ffb024a6dfc01368825b91f2174e495bcf23d8a8d84c87d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43a42741d6b3db5a1ffb024a6dfc01368825b91f2174e495bcf23d8a8d84c87d", kill_on_drop: false }` [INFO] [stdout] 43a42741d6b3db5a1ffb024a6dfc01368825b91f2174e495bcf23d8a8d84c87d