[INFO] cloning repository https://github.com/mrlegohead0x45/balls [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mrlegohead0x45/balls" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrlegohead0x45%2Fballs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrlegohead0x45%2Fballs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 84ad3b45b8d5288cb418d7f01fb4359a9e1445db [INFO] building mrlegohead0x45/balls against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrlegohead0x45%2Fballs" "/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/mrlegohead0x45/balls [INFO] finished tweaking git repo https://github.com/mrlegohead0x45/balls [INFO] tweaked toml for git repo https://github.com/mrlegohead0x45/balls written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mrlegohead0x45/balls 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/mrlegohead0x45/balls 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] 02f98a05952cfb315730ae6e961a4395a34da482be6064d55e649ef0d16f77ca [INFO] running `Command { std: "docker" "start" "-a" "02f98a05952cfb315730ae6e961a4395a34da482be6064d55e649ef0d16f77ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02f98a05952cfb315730ae6e961a4395a34da482be6064d55e649ef0d16f77ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02f98a05952cfb315730ae6e961a4395a34da482be6064d55e649ef0d16f77ca", kill_on_drop: false }` [INFO] [stdout] 02f98a05952cfb315730ae6e961a4395a34da482be6064d55e649ef0d16f77ca [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] 301a58ebfe6e27b42df60da4ce3b50aabb7feb4d1e3684e12b99fa19b29d8574 [INFO] running `Command { std: "docker" "start" "-a" "301a58ebfe6e27b42df60da4ce3b50aabb7feb4d1e3684e12b99fa19b29d8574", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling miniquad v0.4.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling wide v0.7.18 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling macroquad v0.4.5 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Compiling nalgebra v0.32.5 [INFO] [stderr] Compiling balls v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/main.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 177 | let (width, height) = (mq::screen_width(), mq::screen_height()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/main.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | let (width, height) = (mq::screen_width(), mq::screen_height()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vp` [INFO] [stdout] --> src/main.rs:258:38 [INFO] [stdout] | [INFO] [stdout] 258 | ... let (vp, vq) = collide_particles(p, q, ¶ms); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vq` [INFO] [stdout] --> src/main.rs:258:42 [INFO] [stdout] | [INFO] [stdout] 258 | ... let (vp, vq) = collide_particles(p, q, ¶ms); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vq` [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" "<10 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libnalgebra-165fdc6a11b11e04,libmatrixmultiply-1efeeafc14918694,librawpointer-6c46af61ca4ee004,libnum_rational-5aeba00bba56f635,libnum_integer-ba53f5039d94bf5c,libtypenum-28dcaf21099bfea2,libsimba-7f43924636245959,libwide-2906f678a5a9d028,libsafe_arch-05bc0a6137b4a2f0,libnum_complex-2e4524359359f4ac,libapprox-40f20980780ee623,libmacroquad-04c53f482b64fe7b,libbumpalo-74b5045b57e780cf,libfontdue-dafe08e84dbfa0ef,libttf_parser-7f6c1ac218636fc5,libhashbrown-a68f3cc532c691b4,libahash-acc3dac0b4d24252,libonce_cell-259c17ba94809e42,libzerocopy-65ed04ac3ccd0db7,libimage-d9e62c5f7f5b0306,libbytemuck-22951c5d9fc5368e,libcolor_quant-1e86b52941ac4ea7,libbyteorder-7cb42c9bfd1ac301,libpng-6ee71d7283db0e65,libflate2-79198f8e69ffe093,libminiz_oxide-3211a441a7a09b6c,libfdeflate-5c2fe8097e5c2f0c,libsimd_adler32-b5535ea0505b2829,libcrc32fast-2df740da1935ec46,libcfg_if-2a1f3d8d3a86aef9,libbitflags-4fa71e63d9d8e5ea,libnum_traits-dd423d5fc88ad3d1,libquad_rand-3f6d699ad3c7baf8,libglam-e82683797ae30300,libminiquad-13ed6206ef99138a,libslotmap-36351a39db5cd01e}.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/balls-8167c1dfb26b313a.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/balls-8167c1dfb26b313a.balls.c451d5dadf4f49c3-cgu.7.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/balls-8167c1dfb26b313a.balls.c451d5dadf4f49c3-cgu.7.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/balls-8167c1dfb26b313a.balls.c451d5dadf4f49c3-cgu.7.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/balls-8167c1dfb26b313a.balls.c451d5dadf4f49c3-cgu.7.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/balls-8167c1dfb26b313a.balls.c451d5dadf4f49c3-cgu.7.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-04c53f482b64fe7b.rlib(macroquad-04c53f482b64fe7b.macroquad.9d1027dc928cde97-cgu.12.rcgu.o): undefined symbol: glFlush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-04c53f482b64fe7b.rlib(macroquad-04c53f482b64fe7b.macroquad.9d1027dc928cde97-cgu.12.rcgu.o): undefined symbol: glFinish [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-04c53f482b64fe7b.rlib(macroquad-04c53f482b64fe7b.macroquad.9d1027dc928cde97-cgu.15.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-04c53f482b64fe7b.rlib(macroquad-04c53f482b64fe7b.macroquad.9d1027dc928cde97-cgu.15.rcgu.o): undefined symbol: glCopyTexImage2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-13ed6206ef99138a.rlib(miniquad-13ed6206ef99138a.miniquad.5e370f015bab81bc-cgu.03.rcgu.o): undefined symbol: sapp_set_clipboard [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-13ed6206ef99138a.rlib(miniquad-13ed6206ef99138a.miniquad.5e370f015bab81bc-cgu.00.rcgu.o): undefined symbol: glCreateShader [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-13ed6206ef99138a.rlib(miniquad-13ed6206ef99138a.miniquad.5e370f015bab81bc-cgu.00.rcgu.o): undefined symbol: glShaderSource [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-13ed6206ef99138a.rlib(miniquad-13ed6206ef99138a.miniquad.5e370f015bab81bc-cgu.00.rcgu.o): undefined symbol: glCompileShader [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-13ed6206ef99138a.rlib(miniquad-13ed6206ef99138a.miniquad.5e370f015bab81bc-cgu.00.rcgu.o): undefined symbol: glGetShaderiv [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-13ed6206ef99138a.rlib(miniquad-13ed6206ef99138a.miniquad.5e370f015bab81bc-cgu.00.rcgu.o): undefined symbol: glGetShaderiv [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-13ed6206ef99138a.rlib(miniquad-13ed6206ef99138a.miniquad.5e370f015bab81bc-cgu.00.rcgu.o): undefined symbol: glGetShaderInfoLog [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-13ed6206ef99138a.rlib(miniquad-13ed6206ef99138a.miniquad.5e370f015bab81bc-cgu.00.rcgu.o): undefined symbol: glGetUniformLocation [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-13ed6206ef99138a.rlib(miniquad-13ed6206ef99138a.miniquad.5e370f015bab81bc-cgu.00.rcgu.o): undefined symbol: glBindFramebuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-13ed6206ef99138a.rlib(miniquad-13ed6206ef99138a.miniquad.5e370f015bab81bc-cgu.00.rcgu.o): undefined symbol: glViewport [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-13ed6206ef99138a.rlib(miniquad-13ed6206ef99138a.miniquad.5e370f015bab81bc-cgu.00.rcgu.o): undefined symbol: glScissor [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 `balls` (bin "balls") due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "301a58ebfe6e27b42df60da4ce3b50aabb7feb4d1e3684e12b99fa19b29d8574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "301a58ebfe6e27b42df60da4ce3b50aabb7feb4d1e3684e12b99fa19b29d8574", kill_on_drop: false }` [INFO] [stdout] 301a58ebfe6e27b42df60da4ce3b50aabb7feb4d1e3684e12b99fa19b29d8574