[INFO] cloning repository https://github.com/DOhlsson/life [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DOhlsson/life" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDOhlsson%2Flife", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDOhlsson%2Flife'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be8a85429aa1e3eccd69a77e0078dc39be6115dd [INFO] checking DOhlsson/life against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDOhlsson%2Flife" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DOhlsson/life on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DOhlsson/life [INFO] finished tweaking git repo https://github.com/DOhlsson/life [INFO] tweaked toml for git repo https://github.com/DOhlsson/life written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DOhlsson/life already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded c_vec v2.0.0 [INFO] [stderr] Downloaded sdl2 v0.34.4 [INFO] [stderr] Downloaded sdl2-sys v0.34.4 [INFO] [stderr] Downloaded libc v0.2.93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bff53d0536adfaed55da5ffbd1bddb5ec282f57dcca4d80867dbf643a95b8790 [INFO] running `Command { std: "docker" "start" "-a" "bff53d0536adfaed55da5ffbd1bddb5ec282f57dcca4d80867dbf643a95b8790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bff53d0536adfaed55da5ffbd1bddb5ec282f57dcca4d80867dbf643a95b8790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bff53d0536adfaed55da5ffbd1bddb5ec282f57dcca4d80867dbf643a95b8790", kill_on_drop: false }` [INFO] [stdout] bff53d0536adfaed55da5ffbd1bddb5ec282f57dcca4d80867dbf643a95b8790 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3f1ffc4d5d5d4f580976fd5d1b51d6c03c83d0b0a121ecca06b58166d6f5dd9 [INFO] running `Command { std: "docker" "start" "-a" "e3f1ffc4d5d5d4f580976fd5d1b51d6c03c83d0b0a121ecca06b58166d6f5dd9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling sdl2 v0.34.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking c_vec v2.0.0 [INFO] [stderr] Compiling sdl2-sys v0.34.4 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking life v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let mut data = LifeMatrix::new(cols, rows); [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: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let mut data = LifeMatrix::new(cols, rows); [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: field `size` is never read [INFO] [stdout] --> src/life_matrix/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct LifeMatrix { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 4 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `context` and `scale` are never read [INFO] [stdout] --> src/mysdl.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MySdl { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 7 | pub context: sdl2::Sdl, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub scale: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fpos` and `set` are never used [INFO] [stdout] --> src/mysdl.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn fpos(&self) -> (f32, f32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn set(&mut self, x: f32, y: f32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/game.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | drop(next_data); [INFO] [stdout] | ^^^^^---------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut LifeMatrix` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/life_matrix/mod.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut matrix = LifeMatrix::new(8, 8); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/life_matrix/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct LifeMatrix { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 4 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `context` and `scale` are never read [INFO] [stdout] --> src/mysdl.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MySdl { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 7 | pub context: sdl2::Sdl, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub scale: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fpos` and `set` are never used [INFO] [stdout] --> src/mysdl.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn fpos(&self) -> (f32, f32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn set(&mut self, x: f32, y: f32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/game.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | drop(next_data); [INFO] [stdout] | ^^^^^---------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut life_matrix::LifeMatrix` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.26s [INFO] running `Command { std: "docker" "inspect" "e3f1ffc4d5d5d4f580976fd5d1b51d6c03c83d0b0a121ecca06b58166d6f5dd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3f1ffc4d5d5d4f580976fd5d1b51d6c03c83d0b0a121ecca06b58166d6f5dd9", kill_on_drop: false }` [INFO] [stdout] e3f1ffc4d5d5d4f580976fd5d1b51d6c03c83d0b0a121ecca06b58166d6f5dd9