[INFO] cloning repository https://github.com/GanidhuAbey/fluidsimulation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GanidhuAbey/fluidsimulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGanidhuAbey%2Ffluidsimulation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGanidhuAbey%2Ffluidsimulation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a34fd72f292e2fcd52852963c2da2bbbbc798aa3 [INFO] building GanidhuAbey/fluidsimulation against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGanidhuAbey%2Ffluidsimulation" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/GanidhuAbey/fluidsimulation [INFO] finished tweaking git repo https://github.com/GanidhuAbey/fluidsimulation [INFO] tweaked toml for git repo https://github.com/GanidhuAbey/fluidsimulation written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/GanidhuAbey/fluidsimulation 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/GanidhuAbey/fluidsimulation 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 4e7f36f8909d7154242812664ea353657a9bafba4057fba02e90160376bf0588 [INFO] running `Command { std: "docker" "start" "-a" "4e7f36f8909d7154242812664ea353657a9bafba4057fba02e90160376bf0588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e7f36f8909d7154242812664ea353657a9bafba4057fba02e90160376bf0588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e7f36f8909d7154242812664ea353657a9bafba4057fba02e90160376bf0588", kill_on_drop: false }` [INFO] [stdout] 4e7f36f8909d7154242812664ea353657a9bafba4057fba02e90160376bf0588 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] eef6dcc3f96ac10f8d70cfd5d9f20796e031c37ac74bfa8865d3a3f20d6be7bb [INFO] running `Command { std: "docker" "start" "-a" "eef6dcc3f96ac10f8d70cfd5d9f20796e031c37ac74bfa8865d3a3f20d6be7bb", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling fdeflate v0.3.6 [INFO] [stderr] Compiling miniquad v0.4.6 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling bytemuck v1.19.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling quad-rand v0.2.2 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling macroquad v0.4.13 [INFO] [stderr] Compiling FluidSimulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp::max; [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 import: `InputHandler` [INFO] [stdout] --> src/main.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use macroquad::ui::{hash, root_ui, InputHandler}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 237 | if (direction.length() == 0.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 237 - if (direction.length() == 0.0) { [INFO] [stdout] 237 + if direction.length() == 0.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:239:83 [INFO] [stdout] | [INFO] [stdout] 239 | direction = Vec2::new(gen_range(-1.0, 1.0), gen_range(-1.0, 1.0));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top_left` [INFO] [stdout] --> src/main.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | let top_left = Vec2::new(-(row_size / 2.0), -(col_size / 2.0)); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top_left` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `half_bound_size` [INFO] [stdout] --> src/main.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | let half_bound_size = Vec2::new(1.0, 1.0) * settings.bound_size / 2.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_half_bound_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of field of type `bool` to itself [INFO] [stdout] --> src/main.rs:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | global_settings.random_spawn = global_settings.random_spawn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/main.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 139 | impl Particle { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn update(&mut self, delta_time: f32, settings: &SimulationSettings) { [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" "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" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libmacroquad-92a192f90d7665bf,libfontdue-13ba51efcddb1363,libttf_parser-2dad05e889eb49b2,libhashbrown-eafe2d72162e2627,libahash-52fb69ea34523510,libonce_cell-30ca894d04b13faf,libzerocopy-700d58819e876f4a,libimage-539400c588be988d,libbytemuck-2c82a572b69d90dc,libcolor_quant-8e07a515e6ff48c0,libbyteorder-529cc76400af54b3,libpng-fb96ccdf18efdd89,libbitflags-15e3d67e03629ffa,libflate2-0b3695b1751b68c1,libminiz_oxide-bcf6294f2dd855ab,libfdeflate-c5e43ac6382d9f03,libsimd_adler32-f60c9d1329d503cc,libcrc32fast-e0220637d8011755,libcfg_if-50b02a9e3502ecf2,libnum_traits-b77bdcaa9e27e278,libquad_rand-b87bcdbf6664509b,libslotmap-e0fb2445f2417256,libglam-1547a7719eb4aa0f,libminiquad-252c34ba76d6ce48}.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/FluidSimulation-24b358c62e23180a.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/FluidSimulation-24b358c62e23180a.FluidSimulation.4cf818f78ec3443-cgu.0.rcgu.o: undefined symbol: init_webgl [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/FluidSimulation-24b358c62e23180a.FluidSimulation.4cf818f78ec3443-cgu.0.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/FluidSimulation-24b358c62e23180a.FluidSimulation.4cf818f78ec3443-cgu.0.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/FluidSimulation-24b358c62e23180a.FluidSimulation.4cf818f78ec3443-cgu.0.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/FluidSimulation-24b358c62e23180a.FluidSimulation.4cf818f78ec3443-cgu.0.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/FluidSimulation-24b358c62e23180a.FluidSimulation.4cf818f78ec3443-cgu.0.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-92a192f90d7665bf.rlib(macroquad-92a192f90d7665bf.macroquad.7770d0b0e7d03018-cgu.06.rcgu.o): undefined symbol: glFlush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-92a192f90d7665bf.rlib(macroquad-92a192f90d7665bf.macroquad.7770d0b0e7d03018-cgu.06.rcgu.o): undefined symbol: glFinish [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-92a192f90d7665bf.rlib(macroquad-92a192f90d7665bf.macroquad.7770d0b0e7d03018-cgu.11.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-92a192f90d7665bf.rlib(macroquad-92a192f90d7665bf.macroquad.7770d0b0e7d03018-cgu.11.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 `FluidSimulation` (bin "FluidSimulation") due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eef6dcc3f96ac10f8d70cfd5d9f20796e031c37ac74bfa8865d3a3f20d6be7bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eef6dcc3f96ac10f8d70cfd5d9f20796e031c37ac74bfa8865d3a3f20d6be7bb", kill_on_drop: false }` [INFO] [stdout] eef6dcc3f96ac10f8d70cfd5d9f20796e031c37ac74bfa8865d3a3f20d6be7bb