[INFO] updating cached repository https://github.com/youssefhabri/gol-rs [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 32c36ef618728a6976cfeb1fcbba698d8a9527ff [INFO] testing youssefhabri/gol-rs against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyoussefhabri%2Fgol-rs" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/youssefhabri/gol-rs on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/youssefhabri/gol-rs [INFO] finished tweaking git repo https://github.com/youssefhabri/gol-rs [INFO] tweaked toml for git repo https://github.com/youssefhabri/gol-rs written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/youssefhabri/gol-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dee62216bf95d01f9d568b3dffb262e6878f6dfae5c7b1a66badd019b9acddc1 [INFO] running `Command { std: "docker" "start" "-a" "dee62216bf95d01f9d568b3dffb262e6878f6dfae5c7b1a66badd019b9acddc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dee62216bf95d01f9d568b3dffb262e6878f6dfae5c7b1a66badd019b9acddc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dee62216bf95d01f9d568b3dffb262e6878f6dfae5c7b1a66badd019b9acddc1", kill_on_drop: false }` [INFO] [stdout] dee62216bf95d01f9d568b3dffb262e6878f6dfae5c7b1a66badd019b9acddc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] eea70854831b2b00062f5f788a00e098c41fd2b69f5d929da322550579dc459a [INFO] running `Command { std: "docker" "start" "-a" "eea70854831b2b00062f5f788a00e098c41fd2b69f5d929da322550579dc459a", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Compiling piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling smallvec v0.6.12 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling memoffset v0.5.2 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling stb_truetype v0.3.0 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling num_cpus v1.11.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.1 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling shader_version v0.6.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling png v0.15.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling gfx_gl v0.6.0 [INFO] [stderr] Compiling rayon v1.2.0 [INFO] [stderr] Compiling rusttype v0.8.1 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.16 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling piston2d-graphics v0.35.0 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling image v0.22.3 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.70.0 [INFO] [stderr] Compiling piston-gfx_texture v0.40.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.66.0 [INFO] [stderr] Compiling pistoncore-input v0.28.0 [INFO] [stderr] Compiling pistoncore-window v0.44.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.49.0 [INFO] [stderr] Compiling piston v0.49.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling glutin v0.21.1 [INFO] [stderr] Compiling pistoncore-glutin_window v0.63.0 [INFO] [stderr] Compiling piston_window v0.105.0 [INFO] [stderr] Compiling game_of_life v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `UpdateArgs` [INFO] [stdout] --> src/main.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use piston::input::{RenderEvent, UpdateArgs, UpdateEvent}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BLACK`, `CELL_SIZE`, `GREY`, `WHITE` [INFO] [stdout] --> src/cell.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::consts::{BLACK, CELL_SIZE, GREY, WHITE}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameContext`, `GameState` [INFO] [stdout] --> src/cell.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::context::{GameContext, GameState}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grid::Cells` [INFO] [stdout] --> src/cell.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::grid::Cells; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Button`, `Event`, `Input`, `MouseButton`, `MouseCursorEvent`, `PressEvent`, `RenderArgs`, `UpdateArgs` [INFO] [stdout] --> src/cell.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Button, Event, Input, MouseButton, MouseCursorEvent, PressEvent, RenderArgs, UpdateArgs, [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rectangle` [INFO] [stdout] --> src/grid.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use graphics::{Context, Rectangle}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `Input` [INFO] [stdout] --> src/grid.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use piston::input::{Button, Event, Input, MouseButton, UpdateArgs}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/grid.rs:29:53 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn update(&mut self, context: &GameContext, args: &UpdateArgs) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/grid.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let color = [0.5, 0.5, 0.5, 1.0]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radius` [INFO] [stdout] --> src/grid.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let radius = 0.5; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WHITE` [INFO] [stdout] --> src/consts.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub const WHITE: [f32; 4] = [1.0, 1.0, 1.0, 1.0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 54s [INFO] running `Command { std: "docker" "inspect" "eea70854831b2b00062f5f788a00e098c41fd2b69f5d929da322550579dc459a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eea70854831b2b00062f5f788a00e098c41fd2b69f5d929da322550579dc459a", kill_on_drop: false }` [INFO] [stdout] eea70854831b2b00062f5f788a00e098c41fd2b69f5d929da322550579dc459a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a534e2695b9d7fefc81930d7ceed5728bd551030d3e434daaef83bde5f94f61 [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" "3a534e2695b9d7fefc81930d7ceed5728bd551030d3e434daaef83bde5f94f61", kill_on_drop: false }` [INFO] [stderr] Compiling game_of_life v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `UpdateArgs` [INFO] [stdout] --> src/main.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use piston::input::{RenderEvent, UpdateArgs, UpdateEvent}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BLACK`, `CELL_SIZE`, `GREY`, `WHITE` [INFO] [stdout] --> src/cell.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::consts::{BLACK, CELL_SIZE, GREY, WHITE}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameContext`, `GameState` [INFO] [stdout] --> src/cell.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::context::{GameContext, GameState}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grid::Cells` [INFO] [stdout] --> src/cell.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::grid::Cells; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Button`, `Event`, `Input`, `MouseButton`, `MouseCursorEvent`, `PressEvent`, `RenderArgs`, `UpdateArgs` [INFO] [stdout] --> src/cell.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Button, Event, Input, MouseButton, MouseCursorEvent, PressEvent, RenderArgs, UpdateArgs, [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rectangle` [INFO] [stdout] --> src/grid.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use graphics::{Context, Rectangle}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `Input` [INFO] [stdout] --> src/grid.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use piston::input::{Button, Event, Input, MouseButton, UpdateArgs}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/grid.rs:29:53 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn update(&mut self, context: &GameContext, args: &UpdateArgs) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/grid.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let color = [0.5, 0.5, 0.5, 1.0]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radius` [INFO] [stdout] --> src/grid.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let radius = 0.5; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WHITE` [INFO] [stdout] --> src/consts.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub const WHITE: [f32; 4] = [1.0, 1.0, 1.0, 1.0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.08s [INFO] running `Command { std: "docker" "inspect" "3a534e2695b9d7fefc81930d7ceed5728bd551030d3e434daaef83bde5f94f61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a534e2695b9d7fefc81930d7ceed5728bd551030d3e434daaef83bde5f94f61", kill_on_drop: false }` [INFO] [stdout] 3a534e2695b9d7fefc81930d7ceed5728bd551030d3e434daaef83bde5f94f61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f8511f83442e45100c0c8b7f45737ea2499296fa58eb0547e914ff1d78b7d128 [INFO] running `Command { std: "docker" "start" "-a" "f8511f83442e45100c0c8b7f45737ea2499296fa58eb0547e914ff1d78b7d128", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `UpdateArgs` [INFO] [stderr] --> src/main.rs:4:34 [INFO] [stderr] | [INFO] [stderr] 4 | use piston::input::{RenderEvent, UpdateArgs, UpdateEvent}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BLACK`, `CELL_SIZE`, `GREY`, `WHITE` [INFO] [stderr] --> src/cell.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::consts::{BLACK, CELL_SIZE, GREY, WHITE}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `GameContext`, `GameState` [INFO] [stderr] --> src/cell.rs:2:22 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::context::{GameContext, GameState}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::grid::Cells` [INFO] [stderr] --> src/cell.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::grid::Cells; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Button`, `Event`, `Input`, `MouseButton`, `MouseCursorEvent`, `PressEvent`, `RenderArgs`, `UpdateArgs` [INFO] [stderr] --> src/cell.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | Button, Event, Input, MouseButton, MouseCursorEvent, PressEvent, RenderArgs, UpdateArgs, [INFO] [stderr] | ^^^^^^ ^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Rectangle` [INFO] [stderr] --> src/grid.rs:1:25 [INFO] [stderr] | [INFO] [stderr] 1 | use graphics::{Context, Rectangle}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Event`, `Input` [INFO] [stderr] --> src/grid.rs:8:29 [INFO] [stderr] | [INFO] [stderr] 8 | use piston::input::{Button, Event, Input, MouseButton, UpdateArgs}; [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/grid.rs:29:53 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn update(&mut self, context: &GameContext, args: &UpdateArgs) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color` [INFO] [stderr] --> src/grid.rs:43:13 [INFO] [stderr] | [INFO] [stderr] 43 | let color = [0.5, 0.5, 0.5, 1.0]; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `radius` [INFO] [stderr] --> src/grid.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | let radius = 0.5; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_radius` [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `WHITE` [INFO] [stderr] --> src/consts.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | pub const WHITE: [f32; 4] = [1.0, 1.0, 1.0, 1.0]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 13 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.91s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/game_of_life-07360099a0f0a768 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f8511f83442e45100c0c8b7f45737ea2499296fa58eb0547e914ff1d78b7d128", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8511f83442e45100c0c8b7f45737ea2499296fa58eb0547e914ff1d78b7d128", kill_on_drop: false }` [INFO] [stdout] f8511f83442e45100c0c8b7f45737ea2499296fa58eb0547e914ff1d78b7d128