[INFO] cloning repository https://github.com/ommann/hello-macroquad [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ommann/hello-macroquad" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fommann%2Fhello-macroquad", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fommann%2Fhello-macroquad'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89c8ed11e29b59a7356a3d1cdfb08a2e81c9a064 [INFO] building ommann/hello-macroquad against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fommann%2Fhello-macroquad" "/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/ommann/hello-macroquad [INFO] finished tweaking git repo https://github.com/ommann/hello-macroquad [INFO] tweaked toml for git repo https://github.com/ommann/hello-macroquad written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ommann/hello-macroquad 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/ommann/hello-macroquad 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] f598c66109dcabc14b905a4ed537b7ddb507ab2423d39458c801bf0e9a44b141 [INFO] running `Command { std: "docker" "start" "-a" "f598c66109dcabc14b905a4ed537b7ddb507ab2423d39458c801bf0e9a44b141", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f598c66109dcabc14b905a4ed537b7ddb507ab2423d39458c801bf0e9a44b141", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f598c66109dcabc14b905a4ed537b7ddb507ab2423d39458c801bf0e9a44b141", kill_on_drop: false }` [INFO] [stdout] f598c66109dcabc14b905a4ed537b7ddb507ab2423d39458c801bf0e9a44b141 [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] 623747f5ffefa52768f85bd0e504e3eaa80d5d744022f8441636d0bfd20e192b [INFO] running `Command { std: "docker" "start" "-a" "623747f5ffefa52768f85bd0e504e3eaa80d5d744022f8441636d0bfd20e192b", kill_on_drop: false }` [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling miniquad v0.4.0-alpha.10 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling bumpalo v3.14.0 [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 fontdue v0.7.3 [INFO] [stderr] Compiling image v0.24.8 [INFO] [stderr] Compiling macroquad v0.4.4 [INFO] [stderr] Compiling hello_macro_q v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `speed` [INFO] [stdout] --> src/main.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | let speed = 100.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let direction = world_mouse_position.normalize(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotated_direction` [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let rotated_direction = vec2(-opposite_direction.y, opposite_direction.x); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotated_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remaining_time` [INFO] [stdout] --> src/main.rs:138:27 [INFO] [stdout] | [INFO] [stdout] 138 | let (new_coordinates, remaining_time, collision_normal) = move_aabb_to_direction(1.0, line2, 1.0, new_rect, (x2, y2, w2, h2), (... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision_normal` [INFO] [stdout] --> src/main.rs:138:43 [INFO] [stdout] | [INFO] [stdout] 138 | ...remaining_time, collision_normal) = move_aabb_to_direction(1.0, line2, 1.0, new_rect, (x2, y2, w2, h2), (cx, cy)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/main.rs:174:78 [INFO] [stdout] | [INFO] [stdout] 174 | fn subtract_rect_to_minkowski_sum1(rect: Rect, minkowski_sum: MinkowskiSum1, offset: (f32, f32)) -> MinkowskiSum2 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `corners` [INFO] [stdout] --> src/main.rs:179:7 [INFO] [stdout] | [INFO] [stdout] 179 | let corners = [ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_corners` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_minowski_sum1_redux` is never used [INFO] [stdout] --> src/main.rs:268:4 [INFO] [stdout] | [INFO] [stdout] 268 | fn draw_minowski_sum1_redux(minkowski_sum: MinkowskiSum1, offset: (f32, f32)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_minkowski_sum2` is never used [INFO] [stdout] --> src/main.rs:281:4 [INFO] [stdout] | [INFO] [stdout] 281 | fn draw_minkowski_sum2(minkowski_sum: MinkowskiSum2, offset: (f32, f32)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `screen_to_world_coordinates` is never used [INFO] [stdout] --> src/main.rs:309:4 [INFO] [stdout] | [INFO] [stdout] 309 | fn screen_to_world_coordinates(screen: Vec2, offset: (f32, f32)) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_rectangle_in_rectangle` is never used [INFO] [stdout] --> src/main.rs:331:4 [INFO] [stdout] | [INFO] [stdout] 331 | fn is_rectangle_in_rectangle(rect1: Rect, rect2: Rect) -> bool { [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" "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-0b4c3b45a7027e7b,libbumpalo-c55c6953b93d0282,libfontdue-a00ad4dbb48f2341,libttf_parser-2dad05e889eb49b2,libhashbrown-f8324102b2069576,libahash-5cd5939985673aa7,libonce_cell-847ca6422e74ab52,libzerocopy-8ac84286dd5aeee5,libimage-34b24b7086044781,libbytemuck-e624084ac9d3cb38,libcolor_quant-8e07a515e6ff48c0,libbyteorder-529cc76400af54b3,libpng-8af085cccb53ff66,libflate2-91015f676f4bb91c,libminiz_oxide-2450c187032c446b,libfdeflate-50f0fe513a8b9967,libsimd_adler32-f60c9d1329d503cc,libcrc32fast-f0a61590867b47c0,libcfg_if-50b02a9e3502ecf2,libbitflags-15e3d67e03629ffa,libnum_traits-5c5427095bffd816,libquad_rand-a489066e64330885,libglam-ca429907f5f11390,libminiquad-661f8c28390ec67a,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/hello_macro_q-69fe8f1938807de4.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/hello_macro_q-69fe8f1938807de4.hello_macro_q.f40a8458bd053bea-cgu.0.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hello_macro_q-69fe8f1938807de4.hello_macro_q.f40a8458bd053bea-cgu.0.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hello_macro_q-69fe8f1938807de4.hello_macro_q.f40a8458bd053bea-cgu.0.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hello_macro_q-69fe8f1938807de4.hello_macro_q.f40a8458bd053bea-cgu.0.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hello_macro_q-69fe8f1938807de4.hello_macro_q.f40a8458bd053bea-cgu.0.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-0b4c3b45a7027e7b.rlib(macroquad-0b4c3b45a7027e7b.macroquad.c536f85f3fae6261-cgu.03.rcgu.o): undefined symbol: glFlush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-0b4c3b45a7027e7b.rlib(macroquad-0b4c3b45a7027e7b.macroquad.c536f85f3fae6261-cgu.03.rcgu.o): undefined symbol: glFinish [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-0b4c3b45a7027e7b.rlib(macroquad-0b4c3b45a7027e7b.macroquad.c536f85f3fae6261-cgu.12.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-0b4c3b45a7027e7b.rlib(macroquad-0b4c3b45a7027e7b.macroquad.c536f85f3fae6261-cgu.12.rcgu.o): undefined symbol: glCopyTexImage2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-661f8c28390ec67a.rlib(miniquad-661f8c28390ec67a.miniquad.3e025e903f388248-cgu.0.rcgu.o): undefined symbol: sapp_set_cursor_grab [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-661f8c28390ec67a.rlib(miniquad-661f8c28390ec67a.miniquad.3e025e903f388248-cgu.0.rcgu.o): undefined symbol: sapp_set_fullscreen [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-661f8c28390ec67a.rlib(miniquad-661f8c28390ec67a.miniquad.3e025e903f388248-cgu.0.rcgu.o): undefined symbol: glBindBuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-661f8c28390ec67a.rlib(miniquad-661f8c28390ec67a.miniquad.3e025e903f388248-cgu.0.rcgu.o): undefined symbol: glBindBuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-661f8c28390ec67a.rlib(miniquad-661f8c28390ec67a.miniquad.3e025e903f388248-cgu.0.rcgu.o): undefined symbol: glActiveTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-661f8c28390ec67a.rlib(miniquad-661f8c28390ec67a.miniquad.3e025e903f388248-cgu.0.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-661f8c28390ec67a.rlib(miniquad-661f8c28390ec67a.miniquad.3e025e903f388248-cgu.0.rcgu.o): undefined symbol: sapp_set_cursor [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-661f8c28390ec67a.rlib(miniquad-661f8c28390ec67a.miniquad.3e025e903f388248-cgu.0.rcgu.o): undefined symbol: sapp_set_clipboard [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-661f8c28390ec67a.rlib(miniquad-661f8c28390ec67a.miniquad.3e025e903f388248-cgu.1.rcgu.o): undefined symbol: console_error [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-661f8c28390ec67a.rlib(miniquad-661f8c28390ec67a.miniquad.3e025e903f388248-cgu.1.rcgu.o): undefined symbol: console_warn [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-661f8c28390ec67a.rlib(miniquad-661f8c28390ec67a.miniquad.3e025e903f388248-cgu.1.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 `hello_macro_q` (bin "hello_macro_q") due to 1 previous error; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "623747f5ffefa52768f85bd0e504e3eaa80d5d744022f8441636d0bfd20e192b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "623747f5ffefa52768f85bd0e504e3eaa80d5d744022f8441636d0bfd20e192b", kill_on_drop: false }` [INFO] [stdout] 623747f5ffefa52768f85bd0e504e3eaa80d5d744022f8441636d0bfd20e192b