[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] testing Ryan1729/wasm_shenzhen_solitaire against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan1729%2Fwasm_shenzhen_solitaire" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ryan1729/wasm_shenzhen_solitaire on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-15/source/Cargo.toml [INFO] crate git repo https://github.com/Ryan1729/wasm_shenzhen_solitaire already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d7009d44e0a817b92ab53f818de3bac9ba11b2cf5719a81ab28d42d148f8ffd [INFO] running `Command { std: "docker" "start" "-a" "4d7009d44e0a817b92ab53f818de3bac9ba11b2cf5719a81ab28d42d148f8ffd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d7009d44e0a817b92ab53f818de3bac9ba11b2cf5719a81ab28d42d148f8ffd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d7009d44e0a817b92ab53f818de3bac9ba11b2cf5719a81ab28d42d148f8ffd", kill_on_drop: false }` [INFO] [stdout] 4d7009d44e0a817b92ab53f818de3bac9ba11b2cf5719a81ab28d42d148f8ffd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a288f53591a7c26cb7809d40d28cef4ed74a3d73808f9e81fe88cda18274b41b [INFO] running `Command { std: "docker" "start" "-a" "a288f53591a7c26cb7809d40d28cef4ed74a3d73808f9e81fe88cda18274b41b", kill_on_drop: false }` [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 regex v0.2.10 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling quick-error v1.2.1 [INFO] [stderr] Compiling serde v1.0.27 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling num-traits v0.1.42 [INFO] [stderr] Compiling termcolor v0.3.5 [INFO] [stderr] Compiling stdweb v0.4.2 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling futures v0.1.18 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling regex-syntax v0.5.3 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling atty v0.2.8 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling syn v0.12.14 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [INFO] [stderr] Compiling env_logger v0.5.5 [INFO] [stderr] Compiling serde_derive v1.0.27 [INFO] [stderr] Compiling quickcheck v0.6.2 [INFO] [stderr] Compiling serde_json v1.0.9 [INFO] [stderr] Compiling stdweb-derive v0.4.0 [INFO] [stderr] Compiling wasm_shenzhen_solitaire v1.0.0 (/opt/rustwide/workdir) [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] 61 | | } [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] 61 | | } [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:243:53 [INFO] [stdout] | [INFO] [stdout] 243 | fn execute_cycle(&mut self) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_winning_screen` [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SCREEN_LENGTH` [INFO] [stdout] --> src/common/inner_common.rs:4:1 [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 `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-Wl,--as-needed" "-L" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/wasm_shenzhen_solitaire-e434eb90230590cf.wasm_shenzhen_solitaire.ah8kwnr8-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_shenzhen_solitaire-e434eb90230590cf.wasm_shenzhen_solitaire.ah8kwnr8-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_shenzhen_solitaire-e434eb90230590cf.wasm_shenzhen_solitaire.ah8kwnr8-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/wasm_shenzhen_solitaire-e434eb90230590cf.wasm_shenzhen_solitaire.ah8kwnr8-cgu.3.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/wasm_shenzhen_solitaire-e434eb90230590cf" "/opt/rustwide/target/debug/deps/wasm_shenzhen_solitaire-e434eb90230590cf.5awr5tb7p7hoefb2.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/librand-b84f07ec5c30ae4b.rlib" "/opt/rustwide/target/debug/deps/liblibc-70c7a4135dbc675f.rlib" "/opt/rustwide/target/debug/deps/libstdweb-5059b83c52df933c.rlib" "/opt/rustwide/target/debug/deps/libfutures-e6e135202926b147.rlib" "/opt/rustwide/target/debug/deps/libserde_json-1dac8efbfcfe469e.rlib" "/opt/rustwide/target/debug/deps/libdtoa-51fe4560d3a22e20.rlib" "/opt/rustwide/target/debug/deps/libitoa-5840545e9d2ee54b.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-4c2c59a09f5efbea.rlib" "/opt/rustwide/target/debug/deps/libserde-4b73517747c8891a.rlib" "/opt/rustwide/target/debug/deps/libbitflags-35190f0f3c3e3e58.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-21256c14e4504640.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-986e7fea4474d4d2.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-91d85f45babdb06e.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-756509c31813f9a6.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-5c2ef587e740c0cc.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-ad8f9371d31db1b3.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-402820fb3b4d3dd8.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-5e8e903f07dc8747.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-7ab9ae5080c07187.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-c8e8d47c6bf14de2.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5a02dbb58abd015a.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-cedc8fec61444895.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a1c96351c52bc56a.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-e41c6d24baeb2249.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-62493b241881590c.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a1fd7734706d5518.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-c8ded1707ad10767.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1eec8756baa5bc24.rlib" "-Wl,-Bdynamic" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-5059b83c52df933c.rlib(stdweb-5059b83c52df933c.stdweb.ev28gv09-cgu.3.rcgu.o): in function `stdweb::webcore::initialization::initialize::{{closure}}': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.2/src/webcore/initialization.rs:23: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.2/src/webcore/initialization.rs:25: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.2/src/webcore/initialization.rs:31: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-5059b83c52df933c.rlib(stdweb-5059b83c52df933c.stdweb.ev28gv09-cgu.3.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stdweb-0.4.2/src/webcore/value.rs:89: undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-5059b83c52df933c.rlib(stdweb-5059b83c52df933c.stdweb.ev28gv09-cgu.3.rcgu.o): in function `core::ptr::drop_in_place': [INFO] [stdout] /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ptr/mod.rs:(.text._ZN4core3ptr70drop_in_place$LT$stdweb..webcore..serialization..PreallocatedArena$GT$17h4c1baac781c475c5E.llvm.1540126741383033951+0x3a): undefined reference to `emscripten_asm_const_int' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libstdweb-5059b83c52df933c.rlib(stdweb-5059b83c52df933c.stdweb.ev28gv09-cgu.3.rcgu.o):/rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ptr/mod.rs:(.text._ZN70_$LT$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h60a57d1b959404ceE+0x36): more undefined references to `emscripten_asm_const_int' follow [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm_shenzhen_solitaire` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a288f53591a7c26cb7809d40d28cef4ed74a3d73808f9e81fe88cda18274b41b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a288f53591a7c26cb7809d40d28cef4ed74a3d73808f9e81fe88cda18274b41b", kill_on_drop: false }` [INFO] [stdout] a288f53591a7c26cb7809d40d28cef4ed74a3d73808f9e81fe88cda18274b41b