[INFO] cloning repository https://github.com/Vilhelm-Ian/perceptron [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Vilhelm-Ian/perceptron" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVilhelm-Ian%2Fperceptron", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVilhelm-Ian%2Fperceptron'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3dac699d78878f8631e87752a71217123b85fb2c [INFO] building Vilhelm-Ian/perceptron against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVilhelm-Ian%2Fperceptron" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Vilhelm-Ian/perceptron [INFO] finished tweaking git repo https://github.com/Vilhelm-Ian/perceptron [INFO] tweaked toml for git repo https://github.com/Vilhelm-Ian/perceptron written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Vilhelm-Ian/perceptron 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/Vilhelm-Ian/perceptron 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 6229fc2a111ab286e0f866b891b17f23ba8146349646bb6efed04b83a1cfc2db [INFO] running `Command { std: "docker" "start" "-a" "6229fc2a111ab286e0f866b891b17f23ba8146349646bb6efed04b83a1cfc2db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6229fc2a111ab286e0f866b891b17f23ba8146349646bb6efed04b83a1cfc2db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6229fc2a111ab286e0f866b891b17f23ba8146349646bb6efed04b83a1cfc2db", kill_on_drop: false }` [INFO] [stdout] 6229fc2a111ab286e0f866b891b17f23ba8146349646bb6efed04b83a1cfc2db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] be13b78f0bc122aa72ffbf1ba2328e1149a37eed66d104ebd2cc7a2e1ce41024 [INFO] running `Command { std: "docker" "start" "-a" "be13b78f0bc122aa72ffbf1ba2328e1149a37eed66d104ebd2cc7a2e1ce41024", kill_on_drop: false }` [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling miniquad v0.4.0 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling macroquad v0.4.5 [INFO] [stderr] Compiling perceptron 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" "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" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libmacroquad-ce56ecda5260041a,libbumpalo-e2decddbfcc90894,libfontdue-25addc488ede721a,libttf_parser-2dad05e889eb49b2,libhashbrown-0154347db0473b31,libahash-7c9a4fef98a11005,libonce_cell-847ca6422e74ab52,libzerocopy-8ac84286dd5aeee5,libimage-8939bd4e2fee562c,libbytemuck-adce7e2b9662606d,libcolor_quant-8e07a515e6ff48c0,libbyteorder-529cc76400af54b3,libpng-0b5e710b01c9c563,libflate2-20c9052135599986,libminiz_oxide-2450c187032c446b,libfdeflate-50f0fe513a8b9967,libsimd_adler32-f60c9d1329d503cc,libcrc32fast-7eee6fe9ac3f34b0,libcfg_if-50b02a9e3502ecf2,libbitflags-15e3d67e03629ffa,libnum_traits-4ad7d829480eba86,libquad_rand-a489066e64330885,libglam-ca429907f5f11390,libminiquad-796fef518f9b2618,libslotmap-d9a116e7abd028d4}.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/perceptron-6275706c02ded63d.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/perceptron-6275706c02ded63d.perceptron.fae97e62aa85af87-cgu.0.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/perceptron-6275706c02ded63d.perceptron.fae97e62aa85af87-cgu.0.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/perceptron-6275706c02ded63d.perceptron.fae97e62aa85af87-cgu.0.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/perceptron-6275706c02ded63d.perceptron.fae97e62aa85af87-cgu.0.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/perceptron-6275706c02ded63d.perceptron.fae97e62aa85af87-cgu.0.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-ce56ecda5260041a.rlib(macroquad-ce56ecda5260041a.macroquad.68b6d41be8358b2c-cgu.12.rcgu.o): undefined symbol: glFlush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-ce56ecda5260041a.rlib(macroquad-ce56ecda5260041a.macroquad.68b6d41be8358b2c-cgu.12.rcgu.o): undefined symbol: glFinish [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-ce56ecda5260041a.rlib(macroquad-ce56ecda5260041a.macroquad.68b6d41be8358b2c-cgu.15.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-ce56ecda5260041a.rlib(macroquad-ce56ecda5260041a.macroquad.68b6d41be8358b2c-cgu.15.rcgu.o): undefined symbol: glCopyTexImage2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-796fef518f9b2618.rlib(miniquad-796fef518f9b2618.miniquad.d44e9a66818198c-cgu.0.rcgu.o): undefined symbol: sapp_set_cursor_grab [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-796fef518f9b2618.rlib(miniquad-796fef518f9b2618.miniquad.d44e9a66818198c-cgu.0.rcgu.o): undefined symbol: sapp_set_fullscreen [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-796fef518f9b2618.rlib(miniquad-796fef518f9b2618.miniquad.d44e9a66818198c-cgu.0.rcgu.o): undefined symbol: sapp_set_cursor [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-796fef518f9b2618.rlib(miniquad-796fef518f9b2618.miniquad.d44e9a66818198c-cgu.0.rcgu.o): undefined symbol: sapp_set_clipboard [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-796fef518f9b2618.rlib(miniquad-796fef518f9b2618.miniquad.d44e9a66818198c-cgu.1.rcgu.o): undefined symbol: now [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-796fef518f9b2618.rlib(miniquad-796fef518f9b2618.miniquad.d44e9a66818198c-cgu.2.rcgu.o): undefined symbol: glGenQueries [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-796fef518f9b2618.rlib(miniquad-796fef518f9b2618.miniquad.d44e9a66818198c-cgu.2.rcgu.o): undefined symbol: glBeginQuery [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-796fef518f9b2618.rlib(miniquad-796fef518f9b2618.miniquad.d44e9a66818198c-cgu.2.rcgu.o): undefined symbol: glEndQuery [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-796fef518f9b2618.rlib(miniquad-796fef518f9b2618.miniquad.d44e9a66818198c-cgu.3.rcgu.o): undefined symbol: console_error [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-796fef518f9b2618.rlib(miniquad-796fef518f9b2618.miniquad.d44e9a66818198c-cgu.3.rcgu.o): undefined symbol: console_warn [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-796fef518f9b2618.rlib(miniquad-796fef518f9b2618.miniquad.d44e9a66818198c-cgu.3.rcgu.o): undefined symbol: console_info [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 `perceptron` (bin "perceptron") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "be13b78f0bc122aa72ffbf1ba2328e1149a37eed66d104ebd2cc7a2e1ce41024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be13b78f0bc122aa72ffbf1ba2328e1149a37eed66d104ebd2cc7a2e1ce41024", kill_on_drop: false }` [INFO] [stdout] be13b78f0bc122aa72ffbf1ba2328e1149a37eed66d104ebd2cc7a2e1ce41024