[INFO] cloning repository https://github.com/dsunshi/drawable [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dsunshi/drawable" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsunshi%2Fdrawable", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsunshi%2Fdrawable'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f5f845fbc12a273fd5443190567ad0efd59fe82 [INFO] building dsunshi/drawable against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsunshi%2Fdrawable" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dsunshi/drawable [INFO] finished tweaking git repo https://github.com/dsunshi/drawable [INFO] tweaked toml for git repo https://github.com/dsunshi/drawable written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dsunshi/drawable 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/dsunshi/drawable 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a767deb9597c6abe370a9bf655b4754019e45f167b94743dad938c72ab95b495 [INFO] running `Command { std: "docker" "start" "-a" "a767deb9597c6abe370a9bf655b4754019e45f167b94743dad938c72ab95b495", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a767deb9597c6abe370a9bf655b4754019e45f167b94743dad938c72ab95b495", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a767deb9597c6abe370a9bf655b4754019e45f167b94743dad938c72ab95b495", kill_on_drop: false }` [INFO] [stdout] a767deb9597c6abe370a9bf655b4754019e45f167b94743dad938c72ab95b495 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 1e0364ce22f9ce346fa2d394bbe2232e54e7af3ff6ba56468e8ed7fb72657bc4 [INFO] running `Command { std: "docker" "start" "-a" "1e0364ce22f9ce346fa2d394bbe2232e54e7af3ff6ba56468e8ed7fb72657bc4", kill_on_drop: false }` [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling zune-jpeg v0.4.21 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling pxfm v0.1.25 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling robust v1.2.0 [INFO] [stderr] Compiling moxcms v0.7.9 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling spade v2.15.0 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling av1-grain v0.2.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling exr v1.74.0 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling image v0.25.8 [INFO] [stderr] Compiling drawable v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | let mut polygons = voronoi_polygons(&triangulation, &points); [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: `polygons` [INFO] [stdout] --> src/main.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | let mut polygons = voronoi_polygons(&triangulation, &points); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_polygons` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_T` is never used [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const LINE_T: f32 = 1.0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_polygon_lines` is never used [INFO] [stdout] --> src/main.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn draw_polygon_lines(polygon: &Polygon, color: Color) { [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" "<17 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libimage-511827c27fc8eb4a,libimage_webp-456c6b411c062862,libqoi-d9e900946fc8713b,libmoxcms-fda6abf55339ad02,libpxfm-a8f053170ada6f4e,libtiff-868619169705fbb8,libfax-68a06878de8e4fbe,libpng-a4ce58d66ddb31e7,libbitflags-cb1b0ccdfba1243b,libexr-cfa2d1d0f3184322,libzune_inflate-4f6364a931a8fa91,libbit_field-1b1fe46526644e0f,liblebe-64dd0a848b1230bc,libhalf-b8b48869986a46e7,libzerocopy-48fdeb5329495bae,libzune_jpeg-a5e4269c9b595cd1,libzune_core-c9d6b46af9a16ea1,libgif-b983fb2fb5df4944,libweezl-328140ee69eae7c4,libbyteorder_lite-f317906bf7af921d,libravif-68ca7fcee521091c,libloop9-c2ebc3b788fca6e3,libavif_serialize-e2c753fa50bed5fb,librayon-0faf6c6f6efed892,librayon_core-0a57f306f376f56d,libcrossbeam_deque-f2a195995adbe5a1,libcrossbeam_epoch-cfc6ee721375722d,libcrossbeam_utils-a2bafd6ea59dbe61,libquick_error-d37b5d841d8d4609,librgb-3252a83092c79dac,librav1e-65272035eeb864ca,libprofiling-8ad485d2e79894d3,libav1_grain-70d349fe17861b1c,libnom-2c84582914bc9f40,libmemchr-7415f7f53c525d15,libnum_rational-3741abc1032b1396,libnum_bigint-7b1ced0447e57518,libnum_integer-b0b5b3d187c85bd5,libanyhow-adb37054aa5ff02e,libdebug_unreachable-1ef33346e67b87f3,libmaybe_rayon-f0f554d0f6e6f8cf,libv_frame-ffb386ccc42674bc,libaligned_vec-9d3420888b4bc29c,libequator-3d1afd0b0b1df7e7,libarrayvec-3479bafa2f0dc825,libthiserror-545ec396fd040572,libbitstream_io-1b7a579d95865f70,libitertools-8b690619208ddf1f,libeither-8cfc6f6241a869c1,liblog-1a8c89b4b809341d,libimgref-e1cc35e76f523840,libdrawable-546e0a14f0cd2fc1,libspade-cf9ed8c96fb2815d,librobust-9fc61d6aa5d57522,libsmallvec-e66260ff59480183,libmacroquad-448222b16e309860,libfontdue-979c1f2127db35f0,libhashbrown-1c629eb99450a059,libfoldhash-6e98285c7e677e53,libequivalent-e75e9a7d273f0189,liballocator_api2-8e8748a307852ab5,libttf_parser-f7891d02a2dd8704,libimage-fee83dce6149b7d2,libbytemuck-64558e758bffb654,libcolor_quant-8e07a515e6ff48c0,libbyteorder-529cc76400af54b3,libpng-b7214e2d701d597d,libbitflags-15e3d67e03629ffa,libflate2-bcc15a3e54a73a21,libminiz_oxide-add2caca990dcbb8,libfdeflate-1973eda695894699,libsimd_adler32-f60c9d1329d503cc,libcrc32fast-c19ce4228a5bbdd7,libcfg_if-d6bc76d3bc4619c0,libnum_traits-45af302fc8c6f88b,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/drawable-2269a903f7d9990b.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/drawable-2269a903f7d9990b.drawable.c1194d6f8a040852-cgu.09.rcgu.o: undefined symbol: init_webgl [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/drawable-2269a903f7d9990b.drawable.c1194d6f8a040852-cgu.09.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/drawable-2269a903f7d9990b.drawable.c1194d6f8a040852-cgu.09.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/drawable-2269a903f7d9990b.drawable.c1194d6f8a040852-cgu.09.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/drawable-2269a903f7d9990b.drawable.c1194d6f8a040852-cgu.09.rcgu.o: undefined symbol: dpi_scale [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/drawable-2269a903f7d9990b.drawable.c1194d6f8a040852-cgu.09.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/drawable-2269a903f7d9990b.drawable.c1194d6f8a040852-cgu.09.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-448222b16e309860.rlib(macroquad-448222b16e309860.macroquad.9101f48bfa07a276-cgu.10.rcgu.o): undefined symbol: glFlush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-448222b16e309860.rlib(macroquad-448222b16e309860.macroquad.9101f48bfa07a276-cgu.10.rcgu.o): undefined symbol: glFinish [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-448222b16e309860.rlib(macroquad-448222b16e309860.macroquad.9101f48bfa07a276-cgu.12.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-448222b16e309860.rlib(macroquad-448222b16e309860.macroquad.9101f48bfa07a276-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 `drawable` (bin "drawable") due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1e0364ce22f9ce346fa2d394bbe2232e54e7af3ff6ba56468e8ed7fb72657bc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e0364ce22f9ce346fa2d394bbe2232e54e7af3ff6ba56468e8ed7fb72657bc4", kill_on_drop: false }` [INFO] [stdout] 1e0364ce22f9ce346fa2d394bbe2232e54e7af3ff6ba56468e8ed7fb72657bc4