[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] testing Ryan1729/stack-based-wasm-shenzhen-solitaire/75e25312e0c819b8124fb7fb8f63fb5d4e212d25 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan1729%2Fstack-based-wasm-shenzhen-solitaire" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Ryan1729/stack-based-wasm-shenzhen-solitaire on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_json v1.0.9
[INFO] [stderr]   Downloaded proc-macro2 v0.2.3
[INFO] [stderr]   Downloaded serde_derive v1.0.27
[INFO] [stderr]   Downloaded quote v0.4.2
[INFO] [stderr]   Downloaded stdweb-internal-macros v0.1.0
[INFO] [stderr]   Downloaded num-traits v0.1.42
[INFO] [stderr]   Downloaded discard v1.0.3
[INFO] [stderr]   Downloaded atty v0.2.8
[INFO] [stderr]   Downloaded rand_core v0.2.1
[INFO] [stderr]   Downloaded serde_derive_internals v0.19.0
[INFO] [stderr]   Downloaded rand v0.5.3
[INFO] [stderr]   Downloaded syn v0.12.14
[INFO] [stderr]   Downloaded termcolor v0.3.5
[INFO] [stderr]   Downloaded env_logger v0.5.5
[INFO] [stderr]   Downloaded base-x v0.2.2
[INFO] [stderr]   Downloaded serde v1.0.27
[INFO] [stderr]   Downloaded stdweb-derive v0.4.0
[INFO] [stderr]   Downloaded stdweb v0.4.8
[INFO] [stderr]   Downloaded quickcheck v0.6.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a172c2e646ad380759fd8a6a7fb4e4e6b585499eb6c4c782ca7b56f5c018e0ef
[INFO] running `Command { std: "docker" "start" "-a" "a172c2e646ad380759fd8a6a7fb4e4e6b585499eb6c4c782ca7b56f5c018e0ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a172c2e646ad380759fd8a6a7fb4e4e6b585499eb6c4c782ca7b56f5c018e0ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a172c2e646ad380759fd8a6a7fb4e4e6b585499eb6c4c782ca7b56f5c018e0ef", kill_on_drop: false }`
[INFO] [stdout] a172c2e646ad380759fd8a6a7fb4e4e6b585499eb6c4c782ca7b56f5c018e0ef
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 48db7f916ef22768185906315c6fd598acf972206812d6e4d8c7fee75a137b03
[INFO] running `Command { std: "docker" "start" "-a" "48db7f916ef22768185906315c6fd598acf972206812d6e4d8c7fee75a137b03", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling libc v0.2.39
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling regex v0.2.10
[INFO] [stderr]    Compiling lazy_static v1.0.0
[INFO] [stderr]    Compiling ucd-util v0.1.1
[INFO] [stderr]    Compiling utf8-ranges v1.0.0
[INFO] [stderr]    Compiling cfg-if v0.1.2
[INFO] [stderr]    Compiling quick-error v1.2.1
[INFO] [stderr]    Compiling num-traits v0.1.42
[INFO] [stderr]    Compiling rand_core v0.2.1
[INFO] [stderr]    Compiling stdweb v0.4.8
[INFO] [stderr]    Compiling dtoa v0.4.2
[INFO] [stderr]    Compiling serde v1.0.27
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling proc-macro2 v0.2.3
[INFO] [stderr]    Compiling itoa v0.3.4
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling regex-syntax v0.5.3
[INFO] [stderr]    Compiling humantime v1.1.1
[INFO] [stderr]    Compiling log v0.4.1
[INFO] [stderr]    Compiling thread_local v0.3.5
[INFO] [stderr]    Compiling quote v0.4.2
[INFO] [stderr]    Compiling syn v0.12.14
[INFO] [stderr]    Compiling memchr v2.0.1
[INFO] [stderr]    Compiling atty v0.2.8
[INFO] [stderr]    Compiling termcolor v0.3.5
[INFO] [stderr]    Compiling rand v0.4.2
[INFO] [stderr]    Compiling rand v0.5.3
[INFO] [stderr]    Compiling aho-corasick v0.6.4
[INFO] [stderr]    Compiling discard v1.0.3
[INFO] [stderr]    Compiling bitflags v0.7.0
[INFO] [stderr]    Compiling serde_derive_internals v0.19.0
[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)]` 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 v1.0.27
[INFO] [stderr]    Compiling env_logger v0.5.5
[INFO] [stderr]    Compiling serde_json v1.0.9
[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: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:459:29
[INFO] [stdout]     |
[INFO] [stdout] 459 | fn handle_error<E: Into<Box<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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 459 | fn handle_error<E: Into<Box<dyn 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<bool, Box<Error>> {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 240 |     fn execute_cycle(&mut self) -> Result<bool, Box<dyn Error>> {
[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<bool, Box<Error>> {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 246 |     fn run_a_bit(&mut self) -> Result<bool, Box<dyn Error>> {
[INFO] [stdout]     |                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustcWgkK7n/symbols.o" "<5 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libproject_common-84eab24cf265bdea.rlib,librand-041b44360a5686ec.rlib,liblibc-62e550ce5aa95ad6.rlib,librand_core-a398963746f5b130.rlib,libbitflags-abda73116da8f63c.rlib,libstdweb-b26c450bd94a9578.rlib,libdiscard-9e38c9887f2e664b.rlib,libserde_json-2d4d71be6ee775e0.rlib,libdtoa-06e965088d531798.rlib,libitoa-973261d2b3de8a18.rlib,libnum_traits-0af8f36ce5993797.rlib,libserde-8ac5a35e09ac26ea.rlib}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcWgkK7n/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/wasm_shenzhen_solitaire-2feb17c80f3d3601" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: undefined symbol: emscripten_asm_const_int
[INFO] [stdout]           >>> referenced by macros.rs:37 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stdweb-0.4.8/src/webcore/macros.rs:37)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/wasm_shenzhen_solitaire-2feb17c80f3d3601.wasm_shenzhen_solitaire.c177b177d9954f67-cgu.0.rcgu.o:(core::ptr::drop_in_place$LT$alloc..rc..RcInner$LT$core..cell..RefCell$LT$wasm_shenzhen_solitaire..PinkyWeb$GT$$GT$$GT$::h1d117fa8c69f86ae)
[INFO] [stdout]           >>> referenced by macros.rs:37 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stdweb-0.4.8/src/webcore/macros.rs:37)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/wasm_shenzhen_solitaire-2feb17c80f3d3601.wasm_shenzhen_solitaire.c177b177d9954f67-cgu.0.rcgu.o:(core::ptr::drop_in_place$LT$stdweb..webcore..newtype..Newtype$LT$$LP$stdweb..webcore..serialization..NonFunctionTag$C$$LP$$RP$$RP$$C$stdweb..webcore..value..Value$GT$$GT$::hdaabfc13b23fecb6)
[INFO] [stdout]           >>> referenced by macros.rs:37 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/stdweb-0.4.8/src/webcore/macros.rs:37)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/wasm_shenzhen_solitaire-2feb17c80f3d3601.wasm_shenzhen_solitaire.c177b177d9954f67-cgu.0.rcgu.o:(core::ptr::drop_in_place$LT$core..option..Option$LT$stdweb..webcore..newtype..Newtype$LT$$LP$stdweb..webcore..serialization..NonFunctionTag$C$$LP$$RP$$RP$$C$stdweb..webcore..value..Value$GT$$GT$$GT$::h16ef0c525962cf55)
[INFO] [stdout]           >>> referenced 102 more times
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: emscripten_pause_main_loop
[INFO] [stdout]           >>> referenced by emscripten.rs:11 (src/webcore/ffi/emscripten.rs:11)
[INFO] [stdout]           >>>               stdweb-b26c450bd94a9578.stdweb.25cfe3c7c16b1225-cgu.1.rcgu.o:(stdweb::webcore::initialization::event_loop::h5cd5c2b88e2d55c0) in archive /opt/rustwide/target/debug/deps/libstdweb-b26c450bd94a9578.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: emscripten_set_main_loop
[INFO] [stdout]           >>> referenced by emscripten.rs:11 (src/webcore/ffi/emscripten.rs:11)
[INFO] [stdout]           >>>               stdweb-b26c450bd94a9578.stdweb.25cfe3c7c16b1225-cgu.1.rcgu.o:(stdweb::webcore::initialization::event_loop::h5cd5c2b88e2d55c0) in archive /opt/rustwide/target/debug/deps/libstdweb-b26c450bd94a9578.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[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" "48db7f916ef22768185906315c6fd598acf972206812d6e4d8c7fee75a137b03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48db7f916ef22768185906315c6fd598acf972206812d6e4d8c7fee75a137b03", kill_on_drop: false }`
[INFO] [stdout] 48db7f916ef22768185906315c6fd598acf972206812d6e4d8c7fee75a137b03
