[INFO] cloning repository https://github.com/maciekglowka/szpaki [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maciekglowka/szpaki" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaciekglowka%2Fszpaki", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaciekglowka%2Fszpaki'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e0ddd093fb72b77e45c22fbbfefe1a5f3947dd9 [INFO] checking maciekglowka/szpaki against master#18bd2dd5cda08b09ace6e37c1a0312e9b2bb4beb for pr-96970 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaciekglowka%2Fszpaki" "/workspace/builds/worker-87/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-87/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maciekglowka/szpaki on toolchain 18bd2dd5cda08b09ace6e37c1a0312e9b2bb4beb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+18bd2dd5cda08b09ace6e37c1a0312e9b2bb4beb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maciekglowka/szpaki [INFO] finished tweaking git repo https://github.com/maciekglowka/szpaki [INFO] tweaked toml for git repo https://github.com/maciekglowka/szpaki written to /workspace/builds/worker-87/source/Cargo.toml [INFO] crate git repo https://github.com/maciekglowka/szpaki already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+18bd2dd5cda08b09ace6e37c1a0312e9b2bb4beb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2 v0.35.2 [INFO] [stderr] Downloaded minifb v0.22.0 [INFO] [stderr] Downloaded orbclient v0.3.32 [INFO] [stderr] Downloaded sdl2-sys v0.35.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+18bd2dd5cda08b09ace6e37c1a0312e9b2bb4beb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ddd554084c02e1cc95311c15606300cea4b5baee4d32635055e6802122d034a [INFO] running `Command { std: "docker" "start" "-a" "3ddd554084c02e1cc95311c15606300cea4b5baee4d32635055e6802122d034a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ddd554084c02e1cc95311c15606300cea4b5baee4d32635055e6802122d034a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ddd554084c02e1cc95311c15606300cea4b5baee4d32635055e6802122d034a", kill_on_drop: false }` [INFO] [stdout] 3ddd554084c02e1cc95311c15606300cea4b5baee4d32635055e6802122d034a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+18bd2dd5cda08b09ace6e37c1a0312e9b2bb4beb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2dbc06ade45fe1575664194568bdc910d32f4b6b793aa8fe1747e2446759624e [INFO] running `Command { std: "docker" "start" "-a" "2dbc06ade45fe1575664194568bdc910d32f4b6b793aa8fe1747e2446759624e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling clang-sys v1.3.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling minifb v0.22.0 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Checking wayland-commons v0.29.4 [INFO] [stderr] Checking clap v3.1.8 [INFO] [stderr] Checking wayland-cursor v0.29.4 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking szpaki v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buffer` is never read [INFO] [stdout] --> src/main.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut buffer: Vec = vec![0; config.size * config.size]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `buffer` is never read [INFO] [stdout] --> src/main.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut buffer: Vec = vec![0; config.size * config.size]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/vector.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn len(&self) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normalize` [INFO] [stdout] --> src/vector.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn normalize(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clamp` [INFO] [stdout] --> src/vector.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn clamp(&mut self, max: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dist` [INFO] [stdout] --> src/vector.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn dist(&self, other: Vector2) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `angle` [INFO] [stdout] --> src/vector.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn angle(&self, other: Vector2) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate` [INFO] [stdout] --> src/vector.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn rotate(&mut self, angle: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/vector.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn len(&self) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normalize` [INFO] [stdout] --> src/vector.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn normalize(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clamp` [INFO] [stdout] --> src/vector.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn clamp(&mut self, max: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dist` [INFO] [stdout] --> src/vector.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn dist(&self, other: Vector2) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `angle` [INFO] [stdout] --> src/vector.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn angle(&self, other: Vector2) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate` [INFO] [stdout] --> src/vector.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn rotate(&mut self, angle: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 43.53s [INFO] running `Command { std: "docker" "inspect" "2dbc06ade45fe1575664194568bdc910d32f4b6b793aa8fe1747e2446759624e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dbc06ade45fe1575664194568bdc910d32f4b6b793aa8fe1747e2446759624e", kill_on_drop: false }` [INFO] [stdout] 2dbc06ade45fe1575664194568bdc910d32f4b6b793aa8fe1747e2446759624e