[INFO] cloning repository https://github.com/EricWu2003/trainyard-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EricWu2003/trainyard-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEricWu2003%2Ftrainyard-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEricWu2003%2Ftrainyard-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25c8c305a2c433fb800c8933db68764bf796e8b2 [INFO] building EricWu2003/trainyard-rust against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEricWu2003%2Ftrainyard-rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/EricWu2003/trainyard-rust [INFO] finished tweaking git repo https://github.com/EricWu2003/trainyard-rust [INFO] tweaked toml for git repo https://github.com/EricWu2003/trainyard-rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/EricWu2003/trainyard-rust 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/EricWu2003/trainyard-rust 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] aedecc143e0b03b57dd52c88d7da5f9ccfa490792809851ec72d43ea71ecea61 [INFO] running `Command { std: "docker" "start" "-a" "aedecc143e0b03b57dd52c88d7da5f9ccfa490792809851ec72d43ea71ecea61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aedecc143e0b03b57dd52c88d7da5f9ccfa490792809851ec72d43ea71ecea61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aedecc143e0b03b57dd52c88d7da5f9ccfa490792809851ec72d43ea71ecea61", kill_on_drop: false }` [INFO] [stdout] aedecc143e0b03b57dd52c88d7da5f9ccfa490792809851ec72d43ea71ecea61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 17a54b07c680aa6a98db11b301daf558805ae1da0ba833efe6965fcc441e082e [INFO] running `Command { std: "docker" "start" "-a" "17a54b07c680aa6a98db11b301daf558805ae1da0ba833efe6965fcc441e082e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling wasi v0.11.0+wasi-snapshot-preview1 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling rustversion v1.0.8 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling quad-snd v0.2.3 [INFO] [stderr] Compiling miniquad v0.3.11 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling bytemuck v1.11.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling bumpalo v3.10.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling glam v0.14.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling fontdue v0.5.2 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling macroquad v0.3.23 [INFO] [stderr] Compiling strum_macros v0.24.2 [INFO] [stderr] Compiling trainyard-rust v0.1.0 (/opt/rustwide/workdir) [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" "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" "--export" "macroquad_audio_crate_version" "-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/{libserde_json-d46891449f4915f3,libryu-37d40c58567c68aa,libitoa-f3d3b14dd912724f,libstrum-2c80c8679dc87e78,libserde-43a5b2a72673d2f8,libmacroquad-e2ba650196b4e5df,libbumpalo-c9a58b33ff784391,libfontdue-b5a43c40399436b8,libttf_parser-33c8a3407ded9e41,libhashbrown-e4be27f5b55c4e46,libahash-6a5ea761c973327e,libimage-a72e71e54f9d31f8,libcolor_quant-1e86b52941ac4ea7,libnum_iter-59ce3df4b7cffb12,libbytemuck-0f6e916c0c2a7b48,libpng-c9c91388a9e8ff7b,libminiz_oxide-330bc9c14910495c,libcrc32fast-fa32298d7c7369ab,libcfg_if-2a1f3d8d3a86aef9,libdeflate-f9c2cc4b8dc3ff80,libbyteorder-82b2b5b76b033f52,libadler32-f79bb24121891b02,libbitflags-4fa71e63d9d8e5ea,libnum_rational-27dd5d4ce21972de,libnum_integer-8e87d54d21cf698d,libnum_traits-e9a7730563f45921,libquad_rand-3f6d699ad3c7baf8,libglam-a067d9eed3432399,libquad_snd-49ca8ec9a2ec02c9,libminiquad-0fe773eb91f5e798}.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/trainyard_rust-1c3e5a4cd4a761ec.wasm" "--gc-sections" "-O1" [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/trainyard_rust-1c3e5a4cd4a761ec.trainyard_rust.1c4a85e55c122d8d-cgu.10.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/trainyard_rust-1c3e5a4cd4a761ec.trainyard_rust.1c4a85e55c122d8d-cgu.10.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/trainyard_rust-1c3e5a4cd4a761ec.trainyard_rust.1c4a85e55c122d8d-cgu.12.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/trainyard_rust-1c3e5a4cd4a761ec.trainyard_rust.1c4a85e55c122d8d-cgu.12.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/trainyard_rust-1c3e5a4cd4a761ec.trainyard_rust.1c4a85e55c122d8d-cgu.13.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.00.rcgu.o): undefined symbol: glGenBuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.00.rcgu.o): undefined symbol: glBufferData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.00.rcgu.o): undefined symbol: glBufferSubData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.00.rcgu.o): undefined symbol: glGenBuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.00.rcgu.o): undefined symbol: glBufferData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.00.rcgu.o): undefined symbol: glBufferSubData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.00.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.00.rcgu.o): undefined symbol: glCopyTexImage2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.11.rcgu.o): undefined symbol: glFlush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.11.rcgu.o): undefined symbol: glFinish [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.13.rcgu.o): undefined symbol: glGenFramebuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.13.rcgu.o): undefined symbol: glBindFramebuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.13.rcgu.o): undefined symbol: glFramebufferTexture2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.13.rcgu.o): undefined symbol: glFramebufferTexture2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.13.rcgu.o): undefined symbol: glBindFramebuffer [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 `trainyard-rust` (bin "trainyard-rust") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "17a54b07c680aa6a98db11b301daf558805ae1da0ba833efe6965fcc441e082e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17a54b07c680aa6a98db11b301daf558805ae1da0ba833efe6965fcc441e082e", kill_on_drop: false }` [INFO] [stdout] 17a54b07c680aa6a98db11b301daf558805ae1da0ba833efe6965fcc441e082e