[INFO] cloning repository https://github.com/cptroot/tetris-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cptroot/tetris-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcptroot%2Ftetris-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcptroot%2Ftetris-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 570fa57f9e398b01ca6ff9c22d65a4158df41984 [INFO] checking cptroot/tetris-rs against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcptroot%2Ftetris-rs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cptroot/tetris-rs on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cptroot/tetris-rs [INFO] finished tweaking git repo https://github.com/cptroot/tetris-rs [INFO] tweaked toml for git repo https://github.com/cptroot/tetris-rs written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/cptroot/tetris-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 003be1e5097a8cd81c9dca5ca5c65e7e824cb073918d064d73c7a84c681d6f16 [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" "003be1e5097a8cd81c9dca5ca5c65e7e824cb073918d064d73c7a84c681d6f16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "003be1e5097a8cd81c9dca5ca5c65e7e824cb073918d064d73c7a84c681d6f16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "003be1e5097a8cd81c9dca5ca5c65e7e824cb073918d064d73c7a84c681d6f16", kill_on_drop: false }` [INFO] [stdout] 003be1e5097a8cd81c9dca5ca5c65e7e824cb073918d064d73c7a84c681d6f16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23b487ca4aa3ac0b1853e344ee19f79c55375005eb78f97ce4f85100af9c8c69 [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" "23b487ca4aa3ac0b1853e344ee19f79c55375005eb78f97ce4f85100af9c8c69", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling dtoa v0.4.7 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Checking piston-float v0.2.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Checking bitflags v0.6.0 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking shader_version v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking inflate v0.1.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking piston-texture v0.5.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking read_color v0.1.0 [INFO] [stderr] Checking piston-shaders_graphics2d v0.2.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Checking piston-viewport v0.2.0 [INFO] [stderr] Checking vecmath v0.2.0 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking draw_state v0.6.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking piston2d-graphics v0.17.3 [INFO] [stderr] Checking stb_truetype v0.2.8 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking gfx_core v0.4.0 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Checking pistoncore-input v0.14.0 [INFO] [stderr] Checking rusttype v0.2.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Checking memmap v0.2.3 [INFO] [stderr] Checking pistoncore-window v0.22.1 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking pistoncore-event_loop v0.25.1 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking gfx v0.12.2 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Checking piston v0.25.1 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Compiling glutin v0.6.2 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Compiling gl v0.6.5 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking png v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking image v0.10.4 [INFO] [stderr] Checking gfx_device_gl v0.11.2 [INFO] [stderr] Checking piston-gfx_texture v0.17.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.31.2 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.5.11 [INFO] [stderr] Checking wayland-kbd v0.3.6 [INFO] [stderr] Checking wayland-window v0.2.3 [INFO] [stderr] Checking pistoncore-glutin_window v0.29.0 [INFO] [stderr] Checking piston_window v0.52.0 [INFO] [stderr] Checking tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `piston_window::clear` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use piston_window::clear; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston_window::clear` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use piston_window::clear; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/main.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | let rotation = 0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | if let Some(r) = e.render_args() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut x = 4.0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation` [INFO] [stdout] --> src/main.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | let rotation = 0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | if let Some(r) = e.render_args() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut x = 4.0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 56.19s [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "23b487ca4aa3ac0b1853e344ee19f79c55375005eb78f97ce4f85100af9c8c69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23b487ca4aa3ac0b1853e344ee19f79c55375005eb78f97ce4f85100af9c8c69", kill_on_drop: false }` [INFO] [stdout] 23b487ca4aa3ac0b1853e344ee19f79c55375005eb78f97ce4f85100af9c8c69