[INFO] cloning repository https://github.com/Ryan1729/stack-based-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/stack-based-wasm-shenzhen-solitaire" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan1729%2Fstack-based-wasm-shenzhen-solitaire", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan1729%2Fstack-based-wasm-shenzhen-solitaire'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75e25312e0c819b8124fb7fb8f63fb5d4e212d25 [INFO] building Ryan1729/stack-based-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%2Fstack-based-wasm-shenzhen-solitaire" "/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/Ryan1729/stack-based-wasm-shenzhen-solitaire [INFO] finished tweaking git repo https://github.com/Ryan1729/stack-based-wasm-shenzhen-solitaire [INFO] tweaked toml for git repo https://github.com/Ryan1729/stack-based-wasm-shenzhen-solitaire written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ryan1729/stack-based-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/stack-based-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-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] c9306e6546c108c993ffe18300d952d5004a23bfcc846b648e626a15c843b986 [INFO] running `Command { std: "docker" "start" "-a" "c9306e6546c108c993ffe18300d952d5004a23bfcc846b648e626a15c843b986", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9306e6546c108c993ffe18300d952d5004a23bfcc846b648e626a15c843b986", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9306e6546c108c993ffe18300d952d5004a23bfcc846b648e626a15c843b986", kill_on_drop: false }` [INFO] [stdout] c9306e6546c108c993ffe18300d952d5004a23bfcc846b648e626a15c843b986 [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] 1281f6ca58716295669a74f4260e1df503fffe0f85601144bcdade128395884e [INFO] running `Command { std: "docker" "start" "-a" "1281f6ca58716295669a74f4260e1df503fffe0f85601144bcdade128395884e", 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 quote v0.3.15 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling quick-error v1.2.1 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling stdweb v0.4.8 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling num-traits v0.1.42 [INFO] [stderr] Compiling serde v1.0.27 [INFO] [stderr] Compiling termcolor v0.3.5 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling regex-syntax v0.5.3 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling atty v0.2.8 [INFO] [stderr] Compiling rand v0.5.3 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling discard v1.0.3 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling syn v0.12.14 [INFO] [stderr] Compiling project_common v0.1.0 (/opt/rustwide/workdir/project_common) [INFO] [stdout] warning: unused import: `game_state::*` [INFO] [stdout] --> project_common/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use game_state::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> project_common/src/lib.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] --> project_common/src/lib.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] [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 stdweb-derive v0.4.0 [INFO] [stderr] Compiling env_logger v0.5.5 [INFO] [stderr] Compiling quickcheck v0.6.2 [INFO] [stderr] Compiling wasm_shenzhen_solitaire v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:459:29 [INFO] [stdout] | [INFO] [stdout] 459 | 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] 459 | 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:240:53 [INFO] [stdout] | [INFO] [stdout] 240 | 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] 240 | 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:246:49 [INFO] [stdout] | [INFO] [stdout] 246 | 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] 246 | fn run_a_bit(&mut self) -> Result> { [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/{libproject_common-a2959c4ae372519d,librand-12e092bbc20cf29a,librand_core-bc57f8ed3f06e530,libbitflags-57c865954dc175ab,libstdweb-6a713f30d80ae4f5,libdiscard-24cbc6f199821fac,libserde_json-8604d1f40318c1f6,libdtoa-537f587061cce6a5,libitoa-ea6a429d4c608d1a,libnum_traits-38a13c3285afbd90,libserde-5d1fd61f34190ed2}.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-7aa5a1dba6634587.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-7aa5a1dba6634587.wasm_shenzhen_solitaire.3a5a669e009504b7-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-7aa5a1dba6634587.wasm_shenzhen_solitaire.3a5a669e009504b7-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-7aa5a1dba6634587.wasm_shenzhen_solitaire.3a5a669e009504b7-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-7aa5a1dba6634587.wasm_shenzhen_solitaire.3a5a669e009504b7-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-7aa5a1dba6634587.wasm_shenzhen_solitaire.3a5a669e009504b7-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-7aa5a1dba6634587.wasm_shenzhen_solitaire.3a5a669e009504b7-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-7aa5a1dba6634587.wasm_shenzhen_solitaire.3a5a669e009504b7-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-7aa5a1dba6634587.wasm_shenzhen_solitaire.3a5a669e009504b7-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-7aa5a1dba6634587.wasm_shenzhen_solitaire.3a5a669e009504b7-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-7aa5a1dba6634587.wasm_shenzhen_solitaire.3a5a669e009504b7-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-7aa5a1dba6634587.wasm_shenzhen_solitaire.3a5a669e009504b7-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-7aa5a1dba6634587.wasm_shenzhen_solitaire.3a5a669e009504b7-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-7aa5a1dba6634587.wasm_shenzhen_solitaire.3a5a669e009504b7-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-7aa5a1dba6634587.wasm_shenzhen_solitaire.3a5a669e009504b7-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-7aa5a1dba6634587.wasm_shenzhen_solitaire.3a5a669e009504b7-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-7aa5a1dba6634587.wasm_shenzhen_solitaire.3a5a669e009504b7-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-7aa5a1dba6634587.wasm_shenzhen_solitaire.3a5a669e009504b7-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-7aa5a1dba6634587.wasm_shenzhen_solitaire.3a5a669e009504b7-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-7aa5a1dba6634587.wasm_shenzhen_solitaire.3a5a669e009504b7-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-7aa5a1dba6634587.wasm_shenzhen_solitaire.3a5a669e009504b7-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; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1281f6ca58716295669a74f4260e1df503fffe0f85601144bcdade128395884e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1281f6ca58716295669a74f4260e1df503fffe0f85601144bcdade128395884e", kill_on_drop: false }` [INFO] [stdout] 1281f6ca58716295669a74f4260e1df503fffe0f85601144bcdade128395884e