[INFO] cloning repository https://github.com/olegbom/triangle_segments_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/olegbom/triangle_segments_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folegbom%2Ftriangle_segments_demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folegbom%2Ftriangle_segments_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1b9eb021105d97e00d5da2c07acb4cb2c29c991 [INFO] building olegbom/triangle_segments_demo against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folegbom%2Ftriangle_segments_demo" "/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/olegbom/triangle_segments_demo [INFO] finished tweaking git repo https://github.com/olegbom/triangle_segments_demo [INFO] tweaked toml for git repo https://github.com/olegbom/triangle_segments_demo written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/olegbom/triangle_segments_demo 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/olegbom/triangle_segments_demo 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] Blocking waiting for file lock on package cache [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] cf31b51eceec58e08ab0ac9ebe8c49784bc1ef070546de42bd3edeefc855e2ff [INFO] running `Command { std: "docker" "start" "-a" "cf31b51eceec58e08ab0ac9ebe8c49784bc1ef070546de42bd3edeefc855e2ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf31b51eceec58e08ab0ac9ebe8c49784bc1ef070546de42bd3edeefc855e2ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf31b51eceec58e08ab0ac9ebe8c49784bc1ef070546de42bd3edeefc855e2ff", kill_on_drop: false }` [INFO] [stdout] cf31b51eceec58e08ab0ac9ebe8c49784bc1ef070546de42bd3edeefc855e2ff [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] edded4fc2132e1c66560f8f94f6bc1bce6287bfb7b4b7c3bcfa757d5c4c41655 [INFO] running `Command { std: "docker" "start" "-a" "edded4fc2132e1c66560f8f94f6bc1bce6287bfb7b4b7c3bcfa757d5c4c41655", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling miniquad v0.4.5 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling flate2 v1.0.31 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling macroquad v0.4.12 [INFO] [stderr] Compiling triangle_segments_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [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: `SQRT_3` [INFO] [stdout] --> src/main.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use segment_cell::{SegmentCell, SQRT_3}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut scale = 0.38; [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] 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" "<4 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libmacroquad-c8f24b46275d7806,libfontdue-dc0d1aaeb10a5a6c,libttf_parser-2dad05e889eb49b2,libhashbrown-6d3f051ea638d136,libahash-7fbfec4bf104037c,libonce_cell-847ca6422e74ab52,libzerocopy-700d58819e876f4a,libimage-11be3873a29ecc2c,libbytemuck-c32b35f040dc50c4,libcolor_quant-8e07a515e6ff48c0,libbyteorder-529cc76400af54b3,libpng-da92d11244b1a260,libflate2-251190de676442fd,libminiz_oxide-119077de7212f19e,libfdeflate-50f0fe513a8b9967,libsimd_adler32-f60c9d1329d503cc,libcrc32fast-e0220637d8011755,libcfg_if-50b02a9e3502ecf2,libbitflags-15e3d67e03629ffa,libnum_traits-a8fc41689d85f03e,libquad_rand-a489066e64330885,libslotmap-e0fb2445f2417256,libglam-1547a7719eb4aa0f,libminiquad-02f4b54781d9ec71}.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/triangle_segments_demo-d02e55ce6427115c.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/triangle_segments_demo-d02e55ce6427115c.triangle_segments_demo.856c9175752d639-cgu.1.rcgu.o: undefined symbol: init_webgl [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/triangle_segments_demo-d02e55ce6427115c.triangle_segments_demo.856c9175752d639-cgu.1.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/triangle_segments_demo-d02e55ce6427115c.triangle_segments_demo.856c9175752d639-cgu.1.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/triangle_segments_demo-d02e55ce6427115c.triangle_segments_demo.856c9175752d639-cgu.1.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/triangle_segments_demo-d02e55ce6427115c.triangle_segments_demo.856c9175752d639-cgu.1.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/triangle_segments_demo-d02e55ce6427115c.triangle_segments_demo.856c9175752d639-cgu.1.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-c8f24b46275d7806.rlib(macroquad-c8f24b46275d7806.macroquad.b386063619559376-cgu.03.rcgu.o): undefined symbol: glFlush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-c8f24b46275d7806.rlib(macroquad-c8f24b46275d7806.macroquad.b386063619559376-cgu.03.rcgu.o): undefined symbol: glFinish [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-c8f24b46275d7806.rlib(macroquad-c8f24b46275d7806.macroquad.b386063619559376-cgu.04.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-c8f24b46275d7806.rlib(macroquad-c8f24b46275d7806.macroquad.b386063619559376-cgu.04.rcgu.o): undefined symbol: glCopyTexImage2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-02f4b54781d9ec71.rlib(miniquad-02f4b54781d9ec71.miniquad.dd62f886eb7b078a-cgu.2.rcgu.o): undefined symbol: glBindBuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-02f4b54781d9ec71.rlib(miniquad-02f4b54781d9ec71.miniquad.dd62f886eb7b078a-cgu.2.rcgu.o): undefined symbol: glBindBuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-02f4b54781d9ec71.rlib(miniquad-02f4b54781d9ec71.miniquad.dd62f886eb7b078a-cgu.2.rcgu.o): undefined symbol: glActiveTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-02f4b54781d9ec71.rlib(miniquad-02f4b54781d9ec71.miniquad.dd62f886eb7b078a-cgu.2.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-02f4b54781d9ec71.rlib(miniquad-02f4b54781d9ec71.miniquad.dd62f886eb7b078a-cgu.3.rcgu.o): undefined symbol: fs_get_buffer_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-02f4b54781d9ec71.rlib(miniquad-02f4b54781d9ec71.miniquad.dd62f886eb7b078a-cgu.3.rcgu.o): undefined symbol: fs_take_buffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-02f4b54781d9ec71.rlib(miniquad-02f4b54781d9ec71.miniquad.dd62f886eb7b078a-cgu.3.rcgu.o): undefined symbol: sapp_set_cursor_grab [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-02f4b54781d9ec71.rlib(miniquad-02f4b54781d9ec71.miniquad.dd62f886eb7b078a-cgu.3.rcgu.o): undefined symbol: sapp_set_fullscreen [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-02f4b54781d9ec71.rlib(miniquad-02f4b54781d9ec71.miniquad.dd62f886eb7b078a-cgu.3.rcgu.o): undefined symbol: glGenQueries [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-02f4b54781d9ec71.rlib(miniquad-02f4b54781d9ec71.miniquad.dd62f886eb7b078a-cgu.3.rcgu.o): undefined symbol: glBeginQuery [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 `triangle_segments_demo` (bin "triangle_segments_demo") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "edded4fc2132e1c66560f8f94f6bc1bce6287bfb7b4b7c3bcfa757d5c4c41655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edded4fc2132e1c66560f8f94f6bc1bce6287bfb7b4b7c3bcfa757d5c4c41655", kill_on_drop: false }` [INFO] [stdout] edded4fc2132e1c66560f8f94f6bc1bce6287bfb7b4b7c3bcfa757d5c4c41655