[INFO] cloning repository https://github.com/darknet-lord/copter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/darknet-lord/copter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarknet-lord%2Fcopter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarknet-lord%2Fcopter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3a9e22de451442ddce909712af25c4dc6cf10d41 [INFO] building darknet-lord/copter against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarknet-lord%2Fcopter" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/darknet-lord/copter [INFO] finished tweaking git repo https://github.com/darknet-lord/copter [INFO] tweaked toml for git repo https://github.com/darknet-lord/copter written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/darknet-lord/copter 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/darknet-lord/copter 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] e3dc40e68d59a649207a361efe2f832f72f73d5dd4f229469ef9d0d55e1ac434 [INFO] running `Command { std: "docker" "start" "-a" "e3dc40e68d59a649207a361efe2f832f72f73d5dd4f229469ef9d0d55e1ac434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3dc40e68d59a649207a361efe2f832f72f73d5dd4f229469ef9d0d55e1ac434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3dc40e68d59a649207a361efe2f832f72f73d5dd4f229469ef9d0d55e1ac434", kill_on_drop: false }` [INFO] [stdout] e3dc40e68d59a649207a361efe2f832f72f73d5dd4f229469ef9d0d55e1ac434 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] bca909791c5e964fbfbfee58323e155d345df622355df83f586dc704ddd29a9a [INFO] running `Command { std: "docker" "start" "-a" "bca909791c5e964fbfbfee58323e155d345df622355df83f586dc704ddd29a9a", kill_on_drop: false }` [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling io-lifetimes v1.0.3 [INFO] [stderr] Compiling sapp-wasm v0.1.26 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling rustix v0.36.6 [INFO] [stderr] Compiling bytemuck v1.12.3 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling miniquad v0.3.0-alpha.37 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling glam v0.14.0 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling bumpalo v3.11.1 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling nanoserde-derive v0.1.19 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling fontdue v0.5.2 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling is-terminal v0.4.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling nanoserde v0.1.32 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling macroquad v0.3.7 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling macroquad-platformer v0.1.1 [INFO] [stderr] Compiling macroquad-tiled v0.1.1 [INFO] [stderr] Compiling copter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `wait_seconds` [INFO] [stdout] --> src/nodes/player.rs:7:50 [INFO] [stdout] | [INFO] [stdout] 7 | coroutines::{start_coroutine, Coroutine, wait_seconds}, [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 variable: `node` [INFO] [stdout] --> src/nodes/player.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn update_normal(node: &mut RefMut, _dt: f32) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/player.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn update_shoot(node: &mut RefMut, _dt: f32) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/nodes/player.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn kill(&mut self, direction: bool) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/nodes/camera.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let mut pos = vec2( [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: field `bounds` is never read [INFO] [stdout] --> src/nodes/camera.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 12 | bounds: Rect, [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 `pos` is never used [INFO] [stdout] --> src/nodes/camera.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn pos(&self) -> Vec2 { [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" "macroquad_audio_crate_version" "--export" "file_loaded" "--export" "allocate_vec_u8" "--export" "crate_version" "--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" "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" "<5 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libenv_logger-ed97919e6e4753a0,libtermcolor-8d7030a2f5e002ea,libis_terminal-65af229a5f858013,librustix-a47f7ff8a3761baf,liberrno-cda1e22511a17716,libio_lifetimes-01bc240c4b31368b,liblibc-ff3ef4e18b29f355,libhumantime-10b1a77799583fa5,liblog-c14c66ef183ceced,libregex-f08bfa0d24c4cebc,libaho_corasick-020195352dcd727e,libmemchr-b559ff6c4bd2cfb8,libregex_syntax-f900f85ecb132562,libmacroquad_platformer-9d25416bb7b95cd6,libmacroquad_tiled-f6b52da7d1171d41,libnanoserde-843dec7fe3a34338,libmacroquad-b1d1d029281486f8,libbumpalo-0e98fcaf5bd43e86,libfontdue-579f954a9f4c598c,libttf_parser-ad2d129e6b78f05e,libhashbrown-700d959969d836a6,libahash-506f64581819aaff,libimage-102a10ce8d2be09d,libcolor_quant-8e07a515e6ff48c0,libnum_iter-329643b3f27c28c9,libbytemuck-4656c47ab852e46d,libpng-25c011fa1ed1cd4a,libminiz_oxide-dadf386c3d95bd8d,libcrc32fast-f0a61590867b47c0,libcfg_if-50b02a9e3502ecf2,libdeflate-cec0dcc85515ac5c,libbyteorder-f00db367bf6f80f8,libadler32-9f2c3df339504c4f,libbitflags-15e3d67e03629ffa,libnum_rational-14576e264a6fac84,libnum_integer-c290c2b55d0e5e63,libnum_traits-432b941528393eab,libquad_rand-a489066e64330885,libglam-ce101decb0695bbd,libminiquad-213571fa7b5cb85e,libsapp_wasm-bb036ec843127a2e}.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/copter-c4f3e772a17a58d9.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/libmacroquad-b1d1d029281486f8.rlib(macroquad-b1d1d029281486f8.macroquad.ffea1c75f44c661e-cgu.05.rcgu.o): undefined symbol: fs_load_file [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b1d1d029281486f8.rlib(macroquad-b1d1d029281486f8.macroquad.ffea1c75f44c661e-cgu.08.rcgu.o): undefined symbol: audio_init [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b1d1d029281486f8.rlib(macroquad-b1d1d029281486f8.macroquad.ffea1c75f44c661e-cgu.09.rcgu.o): undefined symbol: glGenFramebuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b1d1d029281486f8.rlib(macroquad-b1d1d029281486f8.macroquad.ffea1c75f44c661e-cgu.09.rcgu.o): undefined symbol: glBindFramebuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b1d1d029281486f8.rlib(macroquad-b1d1d029281486f8.macroquad.ffea1c75f44c661e-cgu.09.rcgu.o): undefined symbol: glFramebufferTexture2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b1d1d029281486f8.rlib(macroquad-b1d1d029281486f8.macroquad.ffea1c75f44c661e-cgu.09.rcgu.o): undefined symbol: glFramebufferTexture2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b1d1d029281486f8.rlib(macroquad-b1d1d029281486f8.macroquad.ffea1c75f44c661e-cgu.09.rcgu.o): undefined symbol: glBindFramebuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b1d1d029281486f8.rlib(macroquad-b1d1d029281486f8.macroquad.ffea1c75f44c661e-cgu.09.rcgu.o): undefined symbol: glBindFramebuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b1d1d029281486f8.rlib(macroquad-b1d1d029281486f8.macroquad.ffea1c75f44c661e-cgu.09.rcgu.o): undefined symbol: glViewport [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b1d1d029281486f8.rlib(macroquad-b1d1d029281486f8.macroquad.ffea1c75f44c661e-cgu.09.rcgu.o): undefined symbol: glScissor [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b1d1d029281486f8.rlib(macroquad-b1d1d029281486f8.macroquad.ffea1c75f44c661e-cgu.09.rcgu.o): undefined symbol: glBufferSubData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b1d1d029281486f8.rlib(macroquad-b1d1d029281486f8.macroquad.ffea1c75f44c661e-cgu.09.rcgu.o): undefined symbol: glBufferSubData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b1d1d029281486f8.rlib(macroquad-b1d1d029281486f8.macroquad.ffea1c75f44c661e-cgu.09.rcgu.o): undefined symbol: glGenBuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b1d1d029281486f8.rlib(macroquad-b1d1d029281486f8.macroquad.ffea1c75f44c661e-cgu.09.rcgu.o): undefined symbol: glBufferData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b1d1d029281486f8.rlib(macroquad-b1d1d029281486f8.macroquad.ffea1c75f44c661e-cgu.09.rcgu.o): undefined symbol: glBufferSubData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b1d1d029281486f8.rlib(macroquad-b1d1d029281486f8.macroquad.ffea1c75f44c661e-cgu.09.rcgu.o): undefined symbol: glGenBuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b1d1d029281486f8.rlib(macroquad-b1d1d029281486f8.macroquad.ffea1c75f44c661e-cgu.09.rcgu.o): undefined symbol: glBufferData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b1d1d029281486f8.rlib(macroquad-b1d1d029281486f8.macroquad.ffea1c75f44c661e-cgu.09.rcgu.o): undefined symbol: glBufferSubData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b1d1d029281486f8.rlib(macroquad-b1d1d029281486f8.macroquad.ffea1c75f44c661e-cgu.14.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-b1d1d029281486f8.rlib(macroquad-b1d1d029281486f8.macroquad.ffea1c75f44c661e-cgu.14.rcgu.o): undefined symbol: glCopyTexImage2D [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 `copter` (bin "copter") due to 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bca909791c5e964fbfbfee58323e155d345df622355df83f586dc704ddd29a9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bca909791c5e964fbfbfee58323e155d345df622355df83f586dc704ddd29a9a", kill_on_drop: false }` [INFO] [stdout] bca909791c5e964fbfbfee58323e155d345df622355df83f586dc704ddd29a9a