[INFO] cloning repository https://github.com/TinkoBinko/contrapunct [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TinkoBinko/contrapunct" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTinkoBinko%2Fcontrapunct", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTinkoBinko%2Fcontrapunct'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ba11b3105c4d74e945192226cfb2477bd219a75 [INFO] building TinkoBinko/contrapunct against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTinkoBinko%2Fcontrapunct" "/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/TinkoBinko/contrapunct [INFO] finished tweaking git repo https://github.com/TinkoBinko/contrapunct [INFO] tweaked toml for git repo https://github.com/TinkoBinko/contrapunct written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TinkoBinko/contrapunct 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/TinkoBinko/contrapunct 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] 0e68265c100a4b3949cb7e00e3f8ce76d91bf65fc019e0cfe52f550ea26a3ddf [INFO] running `Command { std: "docker" "start" "-a" "0e68265c100a4b3949cb7e00e3f8ce76d91bf65fc019e0cfe52f550ea26a3ddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e68265c100a4b3949cb7e00e3f8ce76d91bf65fc019e0cfe52f550ea26a3ddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e68265c100a4b3949cb7e00e3f8ce76d91bf65fc019e0cfe52f550ea26a3ddf", kill_on_drop: false }` [INFO] [stdout] 0e68265c100a4b3949cb7e00e3f8ce76d91bf65fc019e0cfe52f550ea26a3ddf [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] 6feab85808fa583f31fd8ae900892b4cc1cc030f085e5f029d3a1710211b435c [INFO] running `Command { std: "docker" "start" "-a" "6feab85808fa583f31fd8ae900892b4cc1cc030f085e5f029d3a1710211b435c", kill_on_drop: false }` [INFO] [stderr] Compiling miniquad v0.4.5 [INFO] [stderr] Compiling bytemuck v1.16.3 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.73 [INFO] [stderr] Compiling flate2 v1.0.31 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling macroquad v0.4.12 [INFO] [stderr] Compiling contrapunct v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `opposite_color` [INFO] [stdout] --> src/graphics.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let opposite_color = if piece.color == First { BLACK } else { WHITE }; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opposite_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bottom` [INFO] [stdout] --> src/graphics.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let bottom = Vec2::new(mid, far); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bottom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/graphics.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let right = Vec2::new(far, mid); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/graphics.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let left = Vec2::new(close, mid); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Human` and `Minimax` are never constructed [INFO] [stdout] --> src/engine.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum PlayerKind { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 10 | Human, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | Random, [INFO] [stdout] 12 | Minimax, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `contrapunct` (bin "contrapunct") due to 1 previous error; 5 warnings emitted [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/{librand-349a697cd106de05,librand_chacha-1f5cdaa9e4cdf5e6,libppv_lite86-7f8754606a64a44c,librand_core-614393d9fd58ca1a,libgetrandom-9c1205168be1b4c9,libwasi-b9c6bfbff0bef49f,libmacroquad-5c32744d619a7773,libfontdue-a2981957dca1b3b9,libttf_parser-2dad05e889eb49b2,libhashbrown-cf49d6ddc32df754,libahash-8ed1b85b545a79bf,libonce_cell-847ca6422e74ab52,libzerocopy-5f0c4f6f2eedd0e5,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/contrapunct-9a866a133701b31d.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/contrapunct-9a866a133701b31d.contrapunct.ad56f55da669a859-cgu.1.rcgu.o: undefined symbol: init_webgl [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/contrapunct-9a866a133701b31d.contrapunct.ad56f55da669a859-cgu.1.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/contrapunct-9a866a133701b31d.contrapunct.ad56f55da669a859-cgu.1.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/contrapunct-9a866a133701b31d.contrapunct.ad56f55da669a859-cgu.1.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/contrapunct-9a866a133701b31d.contrapunct.ad56f55da669a859-cgu.1.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/contrapunct-9a866a133701b31d.contrapunct.ad56f55da669a859-cgu.1.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-5c32744d619a7773.rlib(macroquad-5c32744d619a7773.macroquad.f1105c5bc78e8941-cgu.05.rcgu.o): undefined symbol: glFlush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-5c32744d619a7773.rlib(macroquad-5c32744d619a7773.macroquad.f1105c5bc78e8941-cgu.05.rcgu.o): undefined symbol: glFinish [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-5c32744d619a7773.rlib(macroquad-5c32744d619a7773.macroquad.f1105c5bc78e8941-cgu.11.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-5c32744d619a7773.rlib(macroquad-5c32744d619a7773.macroquad.f1105c5bc78e8941-cgu.11.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] running `Command { std: "docker" "inspect" "6feab85808fa583f31fd8ae900892b4cc1cc030f085e5f029d3a1710211b435c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6feab85808fa583f31fd8ae900892b4cc1cc030f085e5f029d3a1710211b435c", kill_on_drop: false }` [INFO] [stdout] 6feab85808fa583f31fd8ae900892b4cc1cc030f085e5f029d3a1710211b435c