[INFO] cloning repository https://github.com/sondreandersen96/rusty_snake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sondreandersen96/rusty_snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsondreandersen96%2Frusty_snake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsondreandersen96%2Frusty_snake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c8f60c034a9af619377451b15abadc3189c3928 [INFO] building sondreandersen96/rusty_snake against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsondreandersen96%2Frusty_snake" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sondreandersen96/rusty_snake [INFO] finished tweaking git repo https://github.com/sondreandersen96/rusty_snake [INFO] tweaked toml for git repo https://github.com/sondreandersen96/rusty_snake written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sondreandersen96/rusty_snake 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/sondreandersen96/rusty_snake 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] da9f96bb6451c69f216d2078d53114f18354f4e3dd83b7895b3ebdd895f47e7d [INFO] running `Command { std: "docker" "start" "-a" "da9f96bb6451c69f216d2078d53114f18354f4e3dd83b7895b3ebdd895f47e7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da9f96bb6451c69f216d2078d53114f18354f4e3dd83b7895b3ebdd895f47e7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da9f96bb6451c69f216d2078d53114f18354f4e3dd83b7895b3ebdd895f47e7d", kill_on_drop: false }` [INFO] [stdout] da9f96bb6451c69f216d2078d53114f18354f4e3dd83b7895b3ebdd895f47e7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] fff12e4f38192c84845d89e1ac03e9d04243467a9b27fefc4790a7f4aadf238e [INFO] running `Command { std: "docker" "start" "-a" "fff12e4f38192c84845d89e1ac03e9d04243467a9b27fefc4790a7f4aadf238e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling wasi v0.9.0+wasi-snapshot-preview1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling miniquad v0.3.8 [INFO] [stderr] Compiling quad-snd v0.2.3 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling glam v0.14.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling bumpalo v3.10.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling quad-rand v0.2.1 [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 rand_core v0.5.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling fontdue v0.5.2 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling macroquad v0.3.20 [INFO] [stderr] Compiling macroquad_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut snake = Snake::new(screen_width() / 2.0, screen_height() / 2.0); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut update_interval = Duration::from_millis(1000); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/controller.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let mut rng: f32 = 0.0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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" "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" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{librand-adb7fa059533a1e3,librand_chacha-3f3bfcba4000ad60,libppv_lite86-9452d911b167a9de,librand_core-a1da9f0363de6d27,libgetrandom-8d5d99f24855d7b8,libwasi-203864a9547604ca,libmacroquad-7c6c257d8ff2ff28,libbumpalo-0e7b582dd163a398,libfontdue-579f954a9f4c598c,libttf_parser-ad2d129e6b78f05e,libhashbrown-700d959969d836a6,libahash-506f64581819aaff,libimage-00cfa2a87f6a3285,libcolor_quant-8e07a515e6ff48c0,libnum_iter-329643b3f27c28c9,libbytemuck-96f94cdae76863df,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,libquad_snd-a863a8eec6c06467,libminiquad-e609cbf3a4240fb6}.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/macroquad_test-91912042cba36b77.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/macroquad_test-91912042cba36b77.macroquad_test.7da4c0daa500f7e5-cgu.0.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/macroquad_test-91912042cba36b77.macroquad_test.7da4c0daa500f7e5-cgu.0.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/macroquad_test-91912042cba36b77.macroquad_test.7da4c0daa500f7e5-cgu.0.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/macroquad_test-91912042cba36b77.macroquad_test.7da4c0daa500f7e5-cgu.0.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/macroquad_test-91912042cba36b77.macroquad_test.7da4c0daa500f7e5-cgu.0.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-7c6c257d8ff2ff28.rlib(macroquad-7c6c257d8ff2ff28.macroquad.78358614136e5df6-cgu.09.rcgu.o): undefined symbol: glGenFramebuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-7c6c257d8ff2ff28.rlib(macroquad-7c6c257d8ff2ff28.macroquad.78358614136e5df6-cgu.09.rcgu.o): undefined symbol: glBindFramebuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-7c6c257d8ff2ff28.rlib(macroquad-7c6c257d8ff2ff28.macroquad.78358614136e5df6-cgu.09.rcgu.o): undefined symbol: glFramebufferTexture2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-7c6c257d8ff2ff28.rlib(macroquad-7c6c257d8ff2ff28.macroquad.78358614136e5df6-cgu.09.rcgu.o): undefined symbol: glFramebufferTexture2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-7c6c257d8ff2ff28.rlib(macroquad-7c6c257d8ff2ff28.macroquad.78358614136e5df6-cgu.09.rcgu.o): undefined symbol: glBindFramebuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-7c6c257d8ff2ff28.rlib(macroquad-7c6c257d8ff2ff28.macroquad.78358614136e5df6-cgu.09.rcgu.o): undefined symbol: glBindFramebuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-7c6c257d8ff2ff28.rlib(macroquad-7c6c257d8ff2ff28.macroquad.78358614136e5df6-cgu.09.rcgu.o): undefined symbol: glViewport [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-7c6c257d8ff2ff28.rlib(macroquad-7c6c257d8ff2ff28.macroquad.78358614136e5df6-cgu.09.rcgu.o): undefined symbol: glScissor [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-7c6c257d8ff2ff28.rlib(macroquad-7c6c257d8ff2ff28.macroquad.78358614136e5df6-cgu.09.rcgu.o): undefined symbol: glBufferSubData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-7c6c257d8ff2ff28.rlib(macroquad-7c6c257d8ff2ff28.macroquad.78358614136e5df6-cgu.09.rcgu.o): undefined symbol: glBufferSubData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-7c6c257d8ff2ff28.rlib(macroquad-7c6c257d8ff2ff28.macroquad.78358614136e5df6-cgu.09.rcgu.o): undefined symbol: glGenBuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-7c6c257d8ff2ff28.rlib(macroquad-7c6c257d8ff2ff28.macroquad.78358614136e5df6-cgu.09.rcgu.o): undefined symbol: glBufferData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-7c6c257d8ff2ff28.rlib(macroquad-7c6c257d8ff2ff28.macroquad.78358614136e5df6-cgu.09.rcgu.o): undefined symbol: glBufferSubData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-7c6c257d8ff2ff28.rlib(macroquad-7c6c257d8ff2ff28.macroquad.78358614136e5df6-cgu.09.rcgu.o): undefined symbol: glGenBuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-7c6c257d8ff2ff28.rlib(macroquad-7c6c257d8ff2ff28.macroquad.78358614136e5df6-cgu.09.rcgu.o): undefined symbol: glBufferData [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 `macroquad_test` (bin "macroquad_test") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fff12e4f38192c84845d89e1ac03e9d04243467a9b27fefc4790a7f4aadf238e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fff12e4f38192c84845d89e1ac03e9d04243467a9b27fefc4790a7f4aadf238e", kill_on_drop: false }` [INFO] [stdout] fff12e4f38192c84845d89e1ac03e9d04243467a9b27fefc4790a7f4aadf238e