[INFO] cloning repository https://github.com/mich101mich/game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mich101mich/game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmich101mich%2Fgame", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmich101mich%2Fgame'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d97938565a02519b73adc341a93446da5ca465be [INFO] building mich101mich/game against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmich101mich%2Fgame" "/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/mich101mich/game [INFO] finished tweaking git repo https://github.com/mich101mich/game [INFO] tweaked toml for git repo https://github.com/mich101mich/game written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mich101mich/game 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/mich101mich/game 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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [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] f207638703d322e0a1c40818cf1e3e427867f4a43ef0634f8c0607b7f1d77fca [INFO] running `Command { std: "docker" "start" "-a" "f207638703d322e0a1c40818cf1e3e427867f4a43ef0634f8c0607b7f1d77fca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f207638703d322e0a1c40818cf1e3e427867f4a43ef0634f8c0607b7f1d77fca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f207638703d322e0a1c40818cf1e3e427867f4a43ef0634f8c0607b7f1d77fca", kill_on_drop: false }` [INFO] [stdout] f207638703d322e0a1c40818cf1e3e427867f4a43ef0634f8c0607b7f1d77fca [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] 32fa9dd8805dda488cc4528495d8d788dc99a53c9307cf6db00889dd942b0cd7 [INFO] running `Command { std: "docker" "start" "-a" "32fa9dd8805dda488cc4528495d8d788dc99a53c9307cf6db00889dd942b0cd7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> rust_src/hpa/chunk.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | 2...4 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> game.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | fn print_error(info: &std::panic::PanicInfo) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust_src/hpa/hpa_map.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | let mut col = Vec::with_capacity(height); [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: fields `width` and `height` are never read [INFO] [stdout] --> rust_src/maze.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Maze { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | pub width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Maze` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chunk` is never read [INFO] [stdout] --> rust_src/hpa/inter_link.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct InterLink { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub chunk: Point, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterLink` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> game.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { &mut MAZE } [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 41 | unsafe { &raw mut MAZE } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> game.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { &mut MAZE.materials } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { &raw mut MAZE.materials } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> game.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe { &mut MAZE.visible } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 47 | unsafe { &raw mut MAZE.visible } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> game.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe { &mut MAZE.hpa_map } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 50 | unsafe { &raw mut MAZE.hpa_map } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust_src/hpa/inter_link.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn edges(&self) -> Edges { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 74 | pub fn edges(&self) -> Edges<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> rust_src/hpa/inter_link.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn new(src: &InterLink) -> Edges { [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | pub fn new(src: &InterLink) -> Edges<'_> { [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" "add_flood_goal" "--export" "chunk_size" "--export" "connection_cost" "--export" "connection_x" "--export" "connection_y" "--export" "end_flood_search" "--export" "find_path" "--export" "flood_path_to" "--export" "flood_search" "--export" "gen_hpa_map" "--export" "get" "--export" "init" "--export" "is_solid" "--export" "is_visible" "--export" "iter_links" "--export" "link_id" "--export" "link_x" "--export" "link_y" "--export" "next_connection" "--export" "next_link" "--export" "set" "--export" "set_visible" "--export" "walk_cost" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<10 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/{libpanic_abort-*,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/game.wasm" "--gc-sections" "--no-entry" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: function signature mismatch: random [INFO] [stdout] >>> defined as () -> f64 in /opt/rustwide/target/wasm32-wasip1/debug/deps/game.game.7cca7aabc193e545-cgu.2.rcgu.o [INFO] [stdout] >>> defined as () -> i32 in /opt/rustwide/rustup-home/toolchains/23647e694de8d0904848ad068b2e0ec2dd098c37/lib/rustlib/wasm32-wasip1/lib/self-contained/libc.a(random.o) [INFO] [stdout] [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/game.game.7cca7aabc193e545-cgu.2.rcgu.o: undefined symbol: err_str [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/game.game.7cca7aabc193e545-cgu.2.rcgu.o: undefined symbol: log_str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `game` (lib) due to 1 previous error; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "32fa9dd8805dda488cc4528495d8d788dc99a53c9307cf6db00889dd942b0cd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32fa9dd8805dda488cc4528495d8d788dc99a53c9307cf6db00889dd942b0cd7", kill_on_drop: false }` [INFO] [stdout] 32fa9dd8805dda488cc4528495d8d788dc99a53c9307cf6db00889dd942b0cd7