[INFO] cloning repository https://github.com/Ryan1729/wasm_shenzhen_solitaire [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ryan1729/wasm_shenzhen_solitaire" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan1729%2Fwasm_shenzhen_solitaire", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan1729%2Fwasm_shenzhen_solitaire'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c98f355a208b99c061d8ac22edcf6f5f5ae33ac2 [INFO] building Ryan1729/wasm_shenzhen_solitaire against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan1729%2Fwasm_shenzhen_solitaire" "/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/Ryan1729/wasm_shenzhen_solitaire [INFO] finished tweaking git repo https://github.com/Ryan1729/wasm_shenzhen_solitaire [INFO] tweaked toml for git repo https://github.com/Ryan1729/wasm_shenzhen_solitaire written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ryan1729/wasm_shenzhen_solitaire 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/Ryan1729/wasm_shenzhen_solitaire 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] 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] 0b82ec4b4c40a547cb81ff5d0946bb600970f66de3840e2d8ad99a1f03447aa9 [INFO] running `Command { std: "docker" "start" "-a" "0b82ec4b4c40a547cb81ff5d0946bb600970f66de3840e2d8ad99a1f03447aa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b82ec4b4c40a547cb81ff5d0946bb600970f66de3840e2d8ad99a1f03447aa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b82ec4b4c40a547cb81ff5d0946bb600970f66de3840e2d8ad99a1f03447aa9", kill_on_drop: false }` [INFO] [stdout] 0b82ec4b4c40a547cb81ff5d0946bb600970f66de3840e2d8ad99a1f03447aa9 [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] 81f3610ab69e59187a25a79ef448982dad206189d475edb68e5994a4b20f7750 [INFO] running `Command { std: "docker" "start" "-a" "81f3610ab69e59187a25a79ef448982dad206189d475edb68e5994a4b20f7750", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling quick-error v1.2.1 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling serde v1.0.27 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling stdweb v0.4.2 [INFO] [stderr] Compiling num-traits v0.1.42 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling regex-syntax v0.5.3 [INFO] [stderr] Compiling termcolor v0.3.5 [INFO] [stderr] Compiling syn v0.12.14 [INFO] [stderr] Compiling atty v0.2.8 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling futures v0.1.18 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [INFO] [stderr] Compiling serde_derive v1.0.27 [INFO] [stderr] Compiling serde_json v1.0.9 [INFO] [stderr] Compiling env_logger v0.5.5 [INFO] [stderr] Compiling quickcheck v0.6.2 [INFO] [stderr] Compiling stdweb-derive v0.4.0 [INFO] [stderr] Compiling wasm_shenzhen_solitaire v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rendering::draw_winning_screen` [INFO] [stdout] --> src/common/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use rendering::draw_winning_screen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game_state::*` [INFO] [stdout] --> src/common/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use game_state::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / bitflags! { [INFO] [stdout] 51 | | #[derive(Default)] [INFO] [stdout] 52 | | pub flags Ty: u8 { [INFO] [stdout] 53 | | const A = 1 << 0, [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / bitflags! { [INFO] [stdout] 51 | | #[derive(Default)] [INFO] [stdout] 52 | | pub flags Ty: u8 { [INFO] [stdout] 53 | | const A = 1 << 0, [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:429:29 [INFO] [stdout] | [INFO] [stdout] 429 | fn handle_error>>(error: E) { [INFO] [stdout] | ^^^^^ [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(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 429 | fn handle_error>>(error: E) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:243:53 [INFO] [stdout] | [INFO] [stdout] 243 | fn execute_cycle(&mut self) -> Result> { [INFO] [stdout] | ^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 243 | fn execute_cycle(&mut self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:249:49 [INFO] [stdout] | [INFO] [stdout] 249 | fn run_a_bit(&mut self) -> Result> { [INFO] [stdout] | ^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 249 | fn run_a_bit(&mut self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_winning_screen` is never used [INFO] [stdout] --> src/common/rendering.rs:571:8 [INFO] [stdout] | [INFO] [stdout] 571 | pub fn draw_winning_screen(framebuffer: &mut Framebuffer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_LENGTH` is never used [INFO] [stdout] --> src/common/inner_common.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const SCREEN_LENGTH: usize = SCREEN_WIDTH * SCREEN_HEIGHT; [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" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<5 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{librand-ce52eb7447f69633,libstdweb-ef16ea85cf8acf73,libfutures-fcbf935cb10eacee,libserde_json-8604d1f40318c1f6,libdtoa-537f587061cce6a5,libitoa-ea6a429d4c608d1a,libnum_traits-38a13c3285afbd90,libserde-5d1fd61f34190ed2,libbitflags-57c865954dc175ab}.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/wasm_shenzhen_solitaire-0ec218d8658de697.wasm" "--gc-sections" "-O2" [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/wasm_shenzhen_solitaire-0ec218d8658de697.wasm_shenzhen_solitaire.e2e508eed23aca45-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/wasm_shenzhen_solitaire-0ec218d8658de697.wasm_shenzhen_solitaire.e2e508eed23aca45-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/wasm_shenzhen_solitaire-0ec218d8658de697.wasm_shenzhen_solitaire.e2e508eed23aca45-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/wasm_shenzhen_solitaire-0ec218d8658de697.wasm_shenzhen_solitaire.e2e508eed23aca45-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/wasm_shenzhen_solitaire-0ec218d8658de697.wasm_shenzhen_solitaire.e2e508eed23aca45-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/wasm_shenzhen_solitaire-0ec218d8658de697.wasm_shenzhen_solitaire.e2e508eed23aca45-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/wasm_shenzhen_solitaire-0ec218d8658de697.wasm_shenzhen_solitaire.e2e508eed23aca45-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/wasm_shenzhen_solitaire-0ec218d8658de697.wasm_shenzhen_solitaire.e2e508eed23aca45-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/wasm_shenzhen_solitaire-0ec218d8658de697.wasm_shenzhen_solitaire.e2e508eed23aca45-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/wasm_shenzhen_solitaire-0ec218d8658de697.wasm_shenzhen_solitaire.e2e508eed23aca45-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/wasm_shenzhen_solitaire-0ec218d8658de697.wasm_shenzhen_solitaire.e2e508eed23aca45-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/wasm_shenzhen_solitaire-0ec218d8658de697.wasm_shenzhen_solitaire.e2e508eed23aca45-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/wasm_shenzhen_solitaire-0ec218d8658de697.wasm_shenzhen_solitaire.e2e508eed23aca45-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/wasm_shenzhen_solitaire-0ec218d8658de697.wasm_shenzhen_solitaire.e2e508eed23aca45-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/wasm_shenzhen_solitaire-0ec218d8658de697.wasm_shenzhen_solitaire.e2e508eed23aca45-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/wasm_shenzhen_solitaire-0ec218d8658de697.wasm_shenzhen_solitaire.e2e508eed23aca45-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/wasm_shenzhen_solitaire-0ec218d8658de697.wasm_shenzhen_solitaire.e2e508eed23aca45-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/wasm_shenzhen_solitaire-0ec218d8658de697.wasm_shenzhen_solitaire.e2e508eed23aca45-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/wasm_shenzhen_solitaire-0ec218d8658de697.wasm_shenzhen_solitaire.e2e508eed23aca45-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/wasm_shenzhen_solitaire-0ec218d8658de697.wasm_shenzhen_solitaire.e2e508eed23aca45-cgu.0.rcgu.o: undefined symbol: emscripten_asm_const_int [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 `wasm_shenzhen_solitaire` (bin "wasm_shenzhen_solitaire") due to 1 previous error; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "81f3610ab69e59187a25a79ef448982dad206189d475edb68e5994a4b20f7750", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81f3610ab69e59187a25a79ef448982dad206189d475edb68e5994a4b20f7750", kill_on_drop: false }` [INFO] [stdout] 81f3610ab69e59187a25a79ef448982dad206189d475edb68e5994a4b20f7750