[INFO] cloning repository https://github.com/hdeep03/Hilbert-Boids [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hdeep03/Hilbert-Boids" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhdeep03%2FHilbert-Boids", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhdeep03%2FHilbert-Boids'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44fa16a23aa2d30ea1f1ca0abb9ef3d75e706db6 [INFO] building hdeep03/Hilbert-Boids against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhdeep03%2FHilbert-Boids" "/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/hdeep03/Hilbert-Boids [INFO] finished tweaking git repo https://github.com/hdeep03/Hilbert-Boids [INFO] tweaked toml for git repo https://github.com/hdeep03/Hilbert-Boids written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hdeep03/Hilbert-Boids 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/hdeep03/Hilbert-Boids 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] [stderr] warning: unused manifest key: build [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] 87de2b9e58f0387f0cc31d49d9286e55229916227a40558e7515bdd16927a403 [INFO] running `Command { std: "docker" "start" "-a" "87de2b9e58f0387f0cc31d49d9286e55229916227a40558e7515bdd16927a403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87de2b9e58f0387f0cc31d49d9286e55229916227a40558e7515bdd16927a403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87de2b9e58f0387f0cc31d49d9286e55229916227a40558e7515bdd16927a403", kill_on_drop: false }` [INFO] [stdout] 87de2b9e58f0387f0cc31d49d9286e55229916227a40558e7515bdd16927a403 [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] 6db72fa5eca5c2741dca2cfda8b6436a4aaa03e7aeb443f21d6f9dc6de9cc8c0 [INFO] running `Command { std: "docker" "start" "-a" "6db72fa5eca5c2741dca2cfda8b6436a4aaa03e7aeb443f21d6f9dc6de9cc8c0", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling rand_distr v0.5.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling boids v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/sim/engine.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Aabb` is never constructed [INFO] [stdout] --> src/sim/quadtree.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Aabb { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains`, `intersects_circle`, and `subdivide` are never used [INFO] [stdout] --> src/sim/quadtree.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Aabb { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 15 | fn contains(&self, p: Vec2) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn intersects_circle(&self, center: Vec2, r2: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn subdivide(&self) -> [Aabb; 4] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/sim/quadtree.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `subdivide`, and `query_circle` are never used [INFO] [stdout] --> src/sim/quadtree.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 52 | fn new(bounds: Aabb, capacity: usize, depth: u32, max_depth: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn insert(&mut self, p: Vec2, idx: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn subdivide(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn query_circle( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QuadTreeNeighborSearch` is never constructed [INFO] [stdout] --> src/sim/quadtree.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct QuadTreeNeighborSearch { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sim/quadtree.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl QuadTreeNeighborSearch { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 144 | pub fn new(capacity: usize, max_depth: u32) -> Self { [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" "<9 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{librand_distr-51c0f41dbb857efd,librayon-4582684b1f4a0d3c,librayon_core-0a57f306f376f56d,libcrossbeam_deque-f2a195995adbe5a1,libcrossbeam_epoch-cfc6ee721375722d,libcrossbeam_utils-a2bafd6ea59dbe61,libeither-cfdd7ad9333739d9,librand-acc5a36ce1dcd8dd,librand_chacha-22cb61966c400793,libppv_lite86-b3e00d4cdbb06f1a,libzerocopy-cc9047fa1778c3ef,librand_core-263dabbf143f871c,libgetrandom-1da3c5c87a243e8e,libmacroquad-def06aac85208d5f,libfontdue-979c1f2127db35f0,libhashbrown-1c629eb99450a059,libfoldhash-6e98285c7e677e53,libequivalent-e75e9a7d273f0189,liballocator_api2-8e8748a307852ab5,libttf_parser-f7891d02a2dd8704,libimage-2b04265b02646ee7,libbytemuck-64558e758bffb654,libcolor_quant-8e07a515e6ff48c0,libbyteorder-529cc76400af54b3,libpng-817c94d723405e1e,libbitflags-15e3d67e03629ffa,libflate2-c56843a60dfdf17e,libminiz_oxide-1180d181dd0d7039,libfdeflate-f3208617ea604893,libsimd_adler32-c0687d6342d15ab1,libcrc32fast-c19ce4228a5bbdd7,libcfg_if-d6bc76d3bc4619c0,libnum_traits-bbb2b289a28692de,libquad_rand-c335779a0f85c006,libglam-1547a7719eb4aa0f,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/boids-ddcfd242d1da8d51.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/boids-ddcfd242d1da8d51.boids.fd9555c65bda3787-cgu.7.rcgu.o: undefined symbol: init_webgl [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/boids-ddcfd242d1da8d51.boids.fd9555c65bda3787-cgu.7.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/boids-ddcfd242d1da8d51.boids.fd9555c65bda3787-cgu.7.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/boids-ddcfd242d1da8d51.boids.fd9555c65bda3787-cgu.7.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/boids-ddcfd242d1da8d51.boids.fd9555c65bda3787-cgu.7.rcgu.o: undefined symbol: dpi_scale [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/boids-ddcfd242d1da8d51.boids.fd9555c65bda3787-cgu.7.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/boids-ddcfd242d1da8d51.boids.fd9555c65bda3787-cgu.7.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-def06aac85208d5f.rlib(macroquad-def06aac85208d5f.macroquad.cb6755fde3ad824-cgu.11.rcgu.o): undefined symbol: glFlush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-def06aac85208d5f.rlib(macroquad-def06aac85208d5f.macroquad.cb6755fde3ad824-cgu.11.rcgu.o): undefined symbol: glFinish [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-def06aac85208d5f.rlib(macroquad-def06aac85208d5f.macroquad.cb6755fde3ad824-cgu.12.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-def06aac85208d5f.rlib(macroquad-def06aac85208d5f.macroquad.cb6755fde3ad824-cgu.12.rcgu.o): undefined symbol: glCopyTexImage2D [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: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-ee8216464762dde6.rlib(miniquad-ee8216464762dde6.miniquad.a46dca1772deceb0-cgu.3.rcgu.o): undefined symbol: glBindTexture [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: glDisableVertexAttribArray [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: console_error [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: console_warn [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: console_info [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: console_debug [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 `boids` (bin "boids") due to 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6db72fa5eca5c2741dca2cfda8b6436a4aaa03e7aeb443f21d6f9dc6de9cc8c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6db72fa5eca5c2741dca2cfda8b6436a4aaa03e7aeb443f21d6f9dc6de9cc8c0", kill_on_drop: false }` [INFO] [stdout] 6db72fa5eca5c2741dca2cfda8b6436a4aaa03e7aeb443f21d6f9dc6de9cc8c0