[INFO] cloning repository https://github.com/kul-sudo/librego [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kul-sudo/librego" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkul-sudo%2Flibrego", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkul-sudo%2Flibrego'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] adadaf7b14046b9ca97e6f52bc7a030426e807d0 [INFO] building kul-sudo/librego against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkul-sudo%2Flibrego" "/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/kul-sudo/librego [INFO] finished tweaking git repo https://github.com/kul-sudo/librego [INFO] tweaked toml for git repo https://github.com/kul-sudo/librego written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kul-sudo/librego 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/kul-sudo/librego 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] 417aaf58c03aac9560cb0fdb1327156a5873ea3640ddae78b40cb4de952e12d9 [INFO] running `Command { std: "docker" "start" "-a" "417aaf58c03aac9560cb0fdb1327156a5873ea3640ddae78b40cb4de952e12d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "417aaf58c03aac9560cb0fdb1327156a5873ea3640ddae78b40cb4de952e12d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "417aaf58c03aac9560cb0fdb1327156a5873ea3640ddae78b40cb4de952e12d9", kill_on_drop: false }` [INFO] [stdout] 417aaf58c03aac9560cb0fdb1327156a5873ea3640ddae78b40cb4de952e12d9 [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] 8c4884f2c317f3c5b2fb515a74b1e8c69a8e0c6e220210deb1302c4cf7cb6fef [INFO] running `Command { std: "docker" "start" "-a" "8c4884f2c317f3c5b2fb515a74b1e8c69a8e0c6e220210deb1302c4cf7cb6fef", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling quad-snd v0.2.8 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling wide v0.7.32 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling robust v1.2.0 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling unty v0.0.4 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling downcast-rs v2.0.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling ordered-float v5.0.0 [INFO] [stderr] Compiling rstar v0.12.2 [INFO] [stderr] Compiling spade v2.13.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling bincode v2.0.1 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling nalgebra v0.33.2 [INFO] [stderr] Compiling parry3d-f64 v0.20.2 [INFO] [stderr] Compiling librego v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use ::rand::{Rng, SeedableRng, rngs::StdRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (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:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | let mut player = Player::new(dvec3(0.0, PLAYER_SIZE.y, 0.0)); [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: constant `CROUCH_LEVEL_CONST` is never used [INFO] [stdout] --> src/consts.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const CROUCH_LEVEL_CONST: f64 = 0.3 * CAMERA_Y; [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" "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" "<9 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libbincode-8c2ecb42515344d7,libunty-b3961649bb0971ed,librand-3a839a86517a41fa,librand_chacha-16c60f6016528b5b,libppv_lite86-464cf900fd63326a,libzerocopy-df3851e798b988b2,librand_core-51eec332d336133d,libgetrandom-3e710f04ac978d11,libparry3d_f64-b852cb8c4e8dcd1b,libthiserror-1752a23fa74a69fd,libbitflags-796eb83ef71af42c,librstar-d5aafc65cb423622,libheapless-948b33832483f6c4,libhash32-1756b3f80f92ae03,libordered_float-75731b56d7884755,libena-75c01bdb1de4ecb1,liblog-96c2588d067795bb,libspade-0da3d60bedf26a80,librobust-9fc61d6aa5d57522,libsmallvec-47ce50235fd1247d,libdowncast_rs-4408b8cb75150380,libarrayvec-86b1fd3bf8fdc2c1,libnalgebra-f35dc403b8abd256,libmatrixmultiply-f717ba27e298ab66,librawpointer-bdc2b0e64d56f44e,libnum_rational-62ba5d3557c44a32,libnum_integer-1487493896c72767,libtypenum-4da84aea010a8886,libsimba-0a9facac5792a3ba,libwide-9724473db14612a9,libsafe_arch-52d329e33b373d53,libnum_complex-968dd55c726eac49,libeither-cfdd7ad9333739d9,libapprox-07536cf1040d97ba,libmacroquad-a54a123641b08d48,libfontdue-db5a037b22c232cc,libhashbrown-c8d72eeb1a5fab9e,libfoldhash-6e98285c7e677e53,libequivalent-e75e9a7d273f0189,liballocator_api2-8e8748a307852ab5,libttf_parser-f7891d02a2dd8704,libimage-f5edf183c7d54d2a,libbytemuck-856ecef8b2055f43,libcolor_quant-8e07a515e6ff48c0,libbyteorder-529cc76400af54b3,libpng-2625569466c9758c,libbitflags-15e3d67e03629ffa,libflate2-f1cb5347d7e669f1,libminiz_oxide-8b2f627f61ea9b1e,libfdeflate-1973eda695894699,libsimd_adler32-f60c9d1329d503cc,libcrc32fast-e0220637d8011755,libcfg_if-50b02a9e3502ecf2,libnum_traits-d97916a29218399d,libquad_rand-c335779a0f85c006,libglam-1547a7719eb4aa0f,libquad_snd-bd01717f2ca19560,libminiquad-ee8216464762dde6}.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/librego-5f637358ced59d95.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/librego-5f637358ced59d95.librego.3e2b2a658254bcd7-cgu.6.rcgu.o: undefined symbol: init_webgl [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librego-5f637358ced59d95.librego.3e2b2a658254bcd7-cgu.6.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librego-5f637358ced59d95.librego.3e2b2a658254bcd7-cgu.6.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librego-5f637358ced59d95.librego.3e2b2a658254bcd7-cgu.6.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librego-5f637358ced59d95.librego.3e2b2a658254bcd7-cgu.6.rcgu.o: undefined symbol: dpi_scale [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librego-5f637358ced59d95.librego.3e2b2a658254bcd7-cgu.6.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/librego-5f637358ced59d95.librego.3e2b2a658254bcd7-cgu.6.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-a54a123641b08d48.rlib(macroquad-a54a123641b08d48.macroquad.45f76eec939e1d21-cgu.10.rcgu.o): undefined symbol: glFlush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-a54a123641b08d48.rlib(macroquad-a54a123641b08d48.macroquad.45f76eec939e1d21-cgu.10.rcgu.o): undefined symbol: glFinish [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-a54a123641b08d48.rlib(macroquad-a54a123641b08d48.macroquad.45f76eec939e1d21-cgu.13.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-a54a123641b08d48.rlib(macroquad-a54a123641b08d48.macroquad.45f76eec939e1d21-cgu.13.rcgu.o): undefined symbol: glCopyTexImage2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-a54a123641b08d48.rlib(macroquad-a54a123641b08d48.macroquad.45f76eec939e1d21-cgu.15.rcgu.o): undefined symbol: fs_load_file [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquad_snd-bd01717f2ca19560.rlib(quad_snd-bd01717f2ca19560.quad_snd.ee1a68b6d1b196db-cgu.0.rcgu.o): undefined symbol: audio_init [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquad_snd-bd01717f2ca19560.rlib(quad_snd-bd01717f2ca19560.quad_snd.ee1a68b6d1b196db-cgu.0.rcgu.o): undefined symbol: audio_add_buffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquad_snd-bd01717f2ca19560.rlib(quad_snd-bd01717f2ca19560.quad_snd.ee1a68b6d1b196db-cgu.0.rcgu.o): undefined symbol: audio_play_buffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquad_snd-bd01717f2ca19560.rlib(quad_snd-bd01717f2ca19560.quad_snd.ee1a68b6d1b196db-cgu.0.rcgu.o): undefined symbol: audio_source_delete [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquad_snd-bd01717f2ca19560.rlib(quad_snd-bd01717f2ca19560.quad_snd.ee1a68b6d1b196db-cgu.0.rcgu.o): undefined symbol: audio_source_is_loaded [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-ee8216464762dde6.rlib(miniquad-ee8216464762dde6.miniquad.a46dca1772deceb0-cgu.3.rcgu.o): undefined symbol: glBindBuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-ee8216464762dde6.rlib(miniquad-ee8216464762dde6.miniquad.a46dca1772deceb0-cgu.3.rcgu.o): undefined symbol: glBindBuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-ee8216464762dde6.rlib(miniquad-ee8216464762dde6.miniquad.a46dca1772deceb0-cgu.3.rcgu.o): undefined symbol: glActiveTexture [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 `librego` (bin "librego") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8c4884f2c317f3c5b2fb515a74b1e8c69a8e0c6e220210deb1302c4cf7cb6fef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c4884f2c317f3c5b2fb515a74b1e8c69a8e0c6e220210deb1302c4cf7cb6fef", kill_on_drop: false }` [INFO] [stdout] 8c4884f2c317f3c5b2fb515a74b1e8c69a8e0c6e220210deb1302c4cf7cb6fef