[INFO] cloning repository https://github.com/pavelsavara/game-of-life [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pavelsavara/game-of-life" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpavelsavara%2Fgame-of-life", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpavelsavara%2Fgame-of-life'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d20e6b7aaeb4cfa2ed23ccb62bb3544035ee811a [INFO] checking pavelsavara/game-of-life against try#7b3565da729099dbe807466fcd118fb2815986e0 for pr-81789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpavelsavara%2Fgame-of-life" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pavelsavara/game-of-life on toolchain 7b3565da729099dbe807466fcd118fb2815986e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pavelsavara/game-of-life [INFO] finished tweaking git repo https://github.com/pavelsavara/game-of-life [INFO] tweaked toml for git repo https://github.com/pavelsavara/game-of-life written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/pavelsavara/game-of-life already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-futures v0.3.17 [INFO] [stderr] Downloaded wee_alloc v0.4.3 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.2.40 [INFO] [stderr] Downloaded wasm-bindgen-test v0.2.40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f875364c12aa29f1fa5a3ff4e48c56f6768a795fdff6b2cfbd46a93d0666af39 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f875364c12aa29f1fa5a3ff4e48c56f6768a795fdff6b2cfbd46a93d0666af39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f875364c12aa29f1fa5a3ff4e48c56f6768a795fdff6b2cfbd46a93d0666af39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f875364c12aa29f1fa5a3ff4e48c56f6768a795fdff6b2cfbd46a93d0666af39", kill_on_drop: false }` [INFO] [stdout] f875364c12aa29f1fa5a3ff4e48c56f6768a795fdff6b2cfbd46a93d0666af39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+7b3565da729099dbe807466fcd118fb2815986e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0b39bd4e690bd007c8da8c315c7bc70a7c9238194346e7b39e9d05a8f00a778 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e0b39bd4e690bd007c8da8c315c7bc70a7c9238194346e7b39e9d05a8f00a778", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.40 [INFO] [stderr] Compiling bumpalo v2.3.0 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling cc v1.0.32 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling wasm-bindgen v0.2.40 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Checking either v1.5.1 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Compiling backtrace v0.3.14 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.40 [INFO] [stderr] Compiling weedle v0.8.0 [INFO] [stderr] Compiling regex v1.1.2 [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.40 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.40 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.40 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.40 [INFO] [stderr] Checking js-sys v0.3.17 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling web-sys v0.3.17 [INFO] [stderr] Checking wasm-bindgen-futures v0.3.17 [INFO] [stderr] Checking wasm-bindgen-test v0.2.40 [INFO] [stderr] Checking game-of-life v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/web.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | let vertices_location = vertices.as_ptr() as u32 / 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `vertices.as_ptr() as usize as u32` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(invalid_ptr_to_int_cast)]` on by default [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `u32` [INFO] [stdout] --> src/web.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | let vertices_location = vertices.as_ptr() as u32 / 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `u32`, cast to `usize` first: `vertices.as_ptr() as usize as u32` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(invalid_ptr_to_int_cast)]` on by default [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `game-of-life` [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [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] error: build failed [INFO] running `Command { std: "docker" "inspect" "e0b39bd4e690bd007c8da8c315c7bc70a7c9238194346e7b39e9d05a8f00a778", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0b39bd4e690bd007c8da8c315c7bc70a7c9238194346e7b39e9d05a8f00a778", kill_on_drop: false }` [INFO] [stdout] e0b39bd4e690bd007c8da8c315c7bc70a7c9238194346e7b39e9d05a8f00a778