[INFO] updating cached repository https://github.com/felipecsl/rusty-chess [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d848b92158d08299f7c0a948c7bdc19fc64588f8 [INFO] checking felipecsl/rusty-chess against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelipecsl%2Frusty-chess" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/felipecsl/rusty-chess on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/felipecsl/rusty-chess [INFO] finished tweaking git repo https://github.com/felipecsl/rusty-chess [INFO] tweaked toml for git repo https://github.com/felipecsl/rusty-chess written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/felipecsl/rusty-chess already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 063a8c5f6f90a70270e0fbd75f6a12aafd854a516f931b918af82cfb580ec3cb [INFO] running `"docker" "start" "-a" "063a8c5f6f90a70270e0fbd75f6a12aafd854a516f931b918af82cfb580ec3cb"` [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.33 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling wasm-bindgen v0.2.33 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.29 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling weedle v0.8.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling env_logger v0.6.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.33 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.33 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.33 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.27 [INFO] [stderr] Checking js-sys v0.3.10 [INFO] [stderr] Checking console_error_panic_hook v0.1.5 [INFO] [stderr] Compiling web-sys v0.3.10 [INFO] [stderr] Checking wasm-bindgen-futures v0.3.6 [INFO] [stderr] Checking wasm-bindgen-test v0.2.29 [INFO] [stderr] Checking chess-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:69:70 [INFO] [stderr] | [INFO] [stderr] 69 | fn new_onclick_event(mut controller: GameController<'static>) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(MouseEvent)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:74:13 [INFO] [stderr] | [INFO] [stderr] 74 | }) as Box [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(MouseEvent)` [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u32` is invalid [INFO] [stderr] --> src/lib.rs:71:39 [INFO] [stderr] | [INFO] [stderr] 71 | let x = event.offset_x() as u32 / SQUARE_SIZE as u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u32` is invalid [INFO] [stderr] --> src/lib.rs:72:39 [INFO] [stderr] | [INFO] [stderr] 72 | let y = event.offset_y() as u32 / SQUARE_SIZE as u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `chess-rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:69:70 [INFO] [stderr] | [INFO] [stderr] 69 | fn new_onclick_event(mut controller: GameController<'static>) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(MouseEvent)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:74:13 [INFO] [stderr] | [INFO] [stderr] 74 | }) as Box [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(MouseEvent)` [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u32` is invalid [INFO] [stderr] --> src/lib.rs:71:39 [INFO] [stderr] | [INFO] [stderr] 71 | let x = event.offset_x() as u32 / SQUARE_SIZE as u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u32` is invalid [INFO] [stderr] --> src/lib.rs:72:39 [INFO] [stderr] | [INFO] [stderr] 72 | let y = event.offset_y() as u32 / SQUARE_SIZE as u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `chess-rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "063a8c5f6f90a70270e0fbd75f6a12aafd854a516f931b918af82cfb580ec3cb"` [INFO] running `"docker" "rm" "-f" "063a8c5f6f90a70270e0fbd75f6a12aafd854a516f931b918af82cfb580ec3cb"` [INFO] [stdout] 063a8c5f6f90a70270e0fbd75f6a12aafd854a516f931b918af82cfb580ec3cb