[INFO] cloning repository https://github.com/jmmut/gmtk-jam-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jmmut/gmtk-jam-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmmut%2Fgmtk-jam-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmmut%2Fgmtk-jam-2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d0e00aa0ca725bcf4cff4f2b9b46496307921b06 [INFO] building jmmut/gmtk-jam-2024 against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmmut%2Fgmtk-jam-2024" "/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/jmmut/gmtk-jam-2024 [INFO] finished tweaking git repo https://github.com/jmmut/gmtk-jam-2024 [INFO] tweaked toml for git repo https://github.com/jmmut/gmtk-jam-2024 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jmmut/gmtk-jam-2024 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/jmmut/gmtk-jam-2024 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] 647cb35eb0bf0320e7ed9cc179626d753cc1fc44dc61d557596c24c10da052e6 [INFO] running `Command { std: "docker" "start" "-a" "647cb35eb0bf0320e7ed9cc179626d753cc1fc44dc61d557596c24c10da052e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "647cb35eb0bf0320e7ed9cc179626d753cc1fc44dc61d557596c24c10da052e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "647cb35eb0bf0320e7ed9cc179626d753cc1fc44dc61d557596c24c10da052e6", kill_on_drop: false }` [INFO] [stdout] 647cb35eb0bf0320e7ed9cc179626d753cc1fc44dc61d557596c24c10da052e6 [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] f401d4e2d15a75f9ecee5e6583fc7e75a7255742cb70d68af17905b788660e9f [INFO] running `Command { std: "docker" "start" "-a" "f401d4e2d15a75f9ecee5e6583fc7e75a7255742cb70d68af17905b788660e9f", kill_on_drop: false }` [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling quad-snd v0.2.8 [INFO] [stderr] Compiling miniquad v0.3.13 [INFO] [stderr] Compiling bytemuck v1.17.0 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling flate2 v1.0.31 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling macroquad v0.3.24 [INFO] [stderr] Compiling L-scale v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `macroquad::ui::widgets::Button` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use macroquad::ui::widgets::Button; [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: `arena` [INFO] [stdout] --> src/main.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 189 | fn draw_arena(arena: Rect, state: &State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [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/main.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | let mut absolute_pos = normalized_to_editor_absolute(pos); [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: `line_to_circle_normalized` [INFO] [stdout] --> src/main.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | let line_to_circle_normalized = line_to_circle.normalize(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_to_circle_normalized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maybe_take` is never used [INFO] [stdout] --> src/main.rs:503:4 [INFO] [stdout] | [INFO] [stdout] 503 | fn maybe_take( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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" "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" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libmacroquad-b5252153550b1bbd,libbumpalo-e2decddbfcc90894,libfontdue-dc0d1aaeb10a5a6c,libttf_parser-2dad05e889eb49b2,libhashbrown-6d3f051ea638d136,libahash-7fbfec4bf104037c,libonce_cell-847ca6422e74ab52,libzerocopy-700d58819e876f4a,libimage-86a657e3cfcfdb28,libbytemuck-886306efc82b8aa6,libcolor_quant-8e07a515e6ff48c0,libbyteorder-529cc76400af54b3,libpng-da92d11244b1a260,libflate2-251190de676442fd,libminiz_oxide-119077de7212f19e,libfdeflate-50f0fe513a8b9967,libsimd_adler32-f60c9d1329d503cc,libcrc32fast-e0220637d8011755,libcfg_if-50b02a9e3502ecf2,libbitflags-15e3d67e03629ffa,libnum_traits-a8fc41689d85f03e,libquad_rand-a489066e64330885,libglam-ca429907f5f11390,libquad_snd-bd01717f2ca19560,libminiquad-af7fe6b4caac90d4}.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/L_scale-43c2a25d37fcf0f9.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/L_scale-43c2a25d37fcf0f9.L_scale.e436c47964e664cf-cgu.0.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/L_scale-43c2a25d37fcf0f9.L_scale.e436c47964e664cf-cgu.0.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/L_scale-43c2a25d37fcf0f9.L_scale.e436c47964e664cf-cgu.0.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/L_scale-43c2a25d37fcf0f9.L_scale.e436c47964e664cf-cgu.0.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/L_scale-43c2a25d37fcf0f9.L_scale.e436c47964e664cf-cgu.0.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b5252153550b1bbd.rlib(macroquad-b5252153550b1bbd.macroquad.d7e58566b0bba68e-cgu.06.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b5252153550b1bbd.rlib(macroquad-b5252153550b1bbd.macroquad.d7e58566b0bba68e-cgu.06.rcgu.o): undefined symbol: glCopyTexImage2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b5252153550b1bbd.rlib(macroquad-b5252153550b1bbd.macroquad.d7e58566b0bba68e-cgu.09.rcgu.o): undefined symbol: glGenFramebuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b5252153550b1bbd.rlib(macroquad-b5252153550b1bbd.macroquad.d7e58566b0bba68e-cgu.09.rcgu.o): undefined symbol: glBindFramebuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b5252153550b1bbd.rlib(macroquad-b5252153550b1bbd.macroquad.d7e58566b0bba68e-cgu.09.rcgu.o): undefined symbol: glFramebufferTexture2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b5252153550b1bbd.rlib(macroquad-b5252153550b1bbd.macroquad.d7e58566b0bba68e-cgu.09.rcgu.o): undefined symbol: glFramebufferTexture2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b5252153550b1bbd.rlib(macroquad-b5252153550b1bbd.macroquad.d7e58566b0bba68e-cgu.09.rcgu.o): undefined symbol: glBindFramebuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b5252153550b1bbd.rlib(macroquad-b5252153550b1bbd.macroquad.d7e58566b0bba68e-cgu.09.rcgu.o): undefined symbol: glBindFramebuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b5252153550b1bbd.rlib(macroquad-b5252153550b1bbd.macroquad.d7e58566b0bba68e-cgu.09.rcgu.o): undefined symbol: glViewport [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b5252153550b1bbd.rlib(macroquad-b5252153550b1bbd.macroquad.d7e58566b0bba68e-cgu.09.rcgu.o): undefined symbol: glScissor [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b5252153550b1bbd.rlib(macroquad-b5252153550b1bbd.macroquad.d7e58566b0bba68e-cgu.09.rcgu.o): undefined symbol: glBufferSubData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b5252153550b1bbd.rlib(macroquad-b5252153550b1bbd.macroquad.d7e58566b0bba68e-cgu.09.rcgu.o): undefined symbol: glBufferSubData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b5252153550b1bbd.rlib(macroquad-b5252153550b1bbd.macroquad.d7e58566b0bba68e-cgu.09.rcgu.o): undefined symbol: glGenBuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b5252153550b1bbd.rlib(macroquad-b5252153550b1bbd.macroquad.d7e58566b0bba68e-cgu.09.rcgu.o): undefined symbol: glBufferData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b5252153550b1bbd.rlib(macroquad-b5252153550b1bbd.macroquad.d7e58566b0bba68e-cgu.09.rcgu.o): undefined symbol: glBufferSubData [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 `L-scale` (bin "L-scale") due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f401d4e2d15a75f9ecee5e6583fc7e75a7255742cb70d68af17905b788660e9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f401d4e2d15a75f9ecee5e6583fc7e75a7255742cb70d68af17905b788660e9f", kill_on_drop: false }` [INFO] [stdout] f401d4e2d15a75f9ecee5e6583fc7e75a7255742cb70d68af17905b788660e9f