[INFO] cloning repository https://github.com/Troinnn/snake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Troinnn/snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTroinnn%2Fsnake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTroinnn%2Fsnake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b5ab64e482ae61812962bef417540a10151d1cc8 [INFO] testing Troinnn/snake against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTroinnn%2Fsnake" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Troinnn/snake on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Troinnn/snake [INFO] finished tweaking git repo https://github.com/Troinnn/snake [INFO] tweaked toml for git repo https://github.com/Troinnn/snake written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Troinnn/snake 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" "+61223975d46f794466efa832bc7562b9707ecc46" "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 [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing Troinnn/snake against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTroinnn%2Fsnake" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Troinnn/snake on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Troinnn/snake [INFO] finished tweaking git repo https://github.com/Troinnn/snake [INFO] tweaked toml for git repo https://github.com/Troinnn/snake written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Troinnn/snake 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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "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 tempfile v3.0.2 [INFO] [stderr] Downloaded cgl v0.2.2 [INFO] [stderr] Downloaded fps_counter v1.0.0 [INFO] [stderr] Downloaded x11-dl v2.18.0 [INFO] [stderr] Downloaded quote v0.6.3 [INFO] [stderr] Downloaded stb_truetype v0.2.2 [INFO] [stderr] Downloaded gleam v0.5.1 [INFO] [stderr] Downloaded serde v1.0.69 [INFO] [stderr] Downloaded syn v0.14.4 [INFO] [stderr] Downloaded proc-macro2 v0.4.6 [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.53.0 [INFO] [stderr] Downloaded serde_derive v1.0.69 [INFO] [stderr] Downloaded rand v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d61d5e5edbfedb00ff449612aaf464f3d8632c616789e88c2f3411ac0420a07 [INFO] running `Command { std: "docker" "start" "-a" "7d61d5e5edbfedb00ff449612aaf464f3d8632c616789e88c2f3411ac0420a07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d61d5e5edbfedb00ff449612aaf464f3d8632c616789e88c2f3411ac0420a07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d61d5e5edbfedb00ff449612aaf464f3d8632c616789e88c2f3411ac0420a07", kill_on_drop: false }` [INFO] [stdout] 7d61d5e5edbfedb00ff449612aaf464f3d8632c616789e88c2f3411ac0420a07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Copt-level=3" "-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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51a8a17331140a8fbc40197bc856ad32f1bc7043e6916035a581c47d6b7dfd78 [INFO] running `Command { std: "docker" "start" "-a" "51a8a17331140a8fbc40197bc856ad32f1bc7043e6916035a581c47d6b7dfd78", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling lazy_static v1.0.1 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling piston-float v0.3.0 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling syn v0.14.4 [INFO] [stderr] Compiling byteorder v1.2.3 [INFO] [stderr] Compiling piston-viewport v0.3.0 [INFO] [stderr] Compiling wayland-scanner v0.12.5 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling token_store v0.1.2 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling serde v1.0.69 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling x11-dl v2.18.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling shader_version v0.3.0 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling tempfile v3.0.2 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.12.5 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling ordered-float v0.5.0 [INFO] [stderr] Compiling glutin v0.14.0 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling inflate v0.4.3 [INFO] [stderr] Compiling wayland-kbd v0.13.1 [INFO] [stderr] Compiling stb_truetype v0.2.2 [INFO] [stderr] Compiling shared_library v0.1.8 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling gif v0.10.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rusttype v0.4.3 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling wayland-window v0.13.3 [INFO] [stderr] Compiling winit v0.12.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling vecmath v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.69 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Compiling piston-texture v0.6.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling interpolation v0.1.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling piston2d-graphics v0.26.0 [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling rand v0.5.3 [INFO] [stderr] Compiling fps_counter v1.0.0 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.53.0 [INFO] [stderr] Compiling pistoncore-input v0.21.0 [INFO] [stderr] Compiling pistoncore-window v0.32.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.37.0 [INFO] [stderr] Compiling piston v0.37.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.47.0 [INFO] [stderr] Compiling test_project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/models/snake.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpdateArgs` [INFO] [stdout] --> src/models/scene.rs:2:46 [INFO] [stdout] | [INFO] [stdout] 2 | use piston::input::{RenderArgs, Button, Key, UpdateArgs}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/models/app.rs:128:30 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn update(&mut self, 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: `h` [INFO] [stdout] --> src/models/snake.rs:75:48 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn update(&mut self, scalar: i32, (_w, h): (f64, f64), fps: usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fps` [INFO] [stdout] --> src/models/snake.rs:75:64 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn update(&mut self, scalar: i32, (_w, h): (f64, f64), fps: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/models/scene.rs:23:71 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn render(&mut self, args: &RenderArgs, gl: &mut GlGraphics, (w, h): (f64, f64)) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/models/scene.rs:23:74 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn render(&mut self, args: &RenderArgs, gl: &mut GlGraphics, (w, h): (f64, f64)) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/models/scene.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | gl.draw(args.viewport(), |c, gl| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fps` [INFO] [stdout] --> src/models/scene.rs:36:48 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn key_event(&mut self, args: &Button, fps: usize) -> GameState { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREEN` is never used [INFO] [stdout] --> src/models/scene.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | const GREEN: [f32; 4] = [0., 1., 0., 0.7]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 36s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "51a8a17331140a8fbc40197bc856ad32f1bc7043e6916035a581c47d6b7dfd78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51a8a17331140a8fbc40197bc856ad32f1bc7043e6916035a581c47d6b7dfd78", kill_on_drop: false }` [INFO] [stdout] 51a8a17331140a8fbc40197bc856ad32f1bc7043e6916035a581c47d6b7dfd78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Copt-level=3" "-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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70fac277d1c3859f9ed723f34eff7d1e7d8438e57fbf9f1171183b69386b6a14 [INFO] running `Command { std: "docker" "start" "-a" "70fac277d1c3859f9ed723f34eff7d1e7d8438e57fbf9f1171183b69386b6a14", kill_on_drop: false }` [INFO] [stderr] Compiling test_project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/models/snake.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpdateArgs` [INFO] [stdout] --> src/models/scene.rs:2:46 [INFO] [stdout] | [INFO] [stdout] 2 | use piston::input::{RenderArgs, Button, Key, UpdateArgs}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/models/app.rs:128:30 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn update(&mut self, 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: `h` [INFO] [stdout] --> src/models/snake.rs:75:48 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn update(&mut self, scalar: i32, (_w, h): (f64, f64), fps: usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fps` [INFO] [stdout] --> src/models/snake.rs:75:64 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn update(&mut self, scalar: i32, (_w, h): (f64, f64), fps: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/models/scene.rs:23:71 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn render(&mut self, args: &RenderArgs, gl: &mut GlGraphics, (w, h): (f64, f64)) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/models/scene.rs:23:74 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn render(&mut self, args: &RenderArgs, gl: &mut GlGraphics, (w, h): (f64, f64)) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/models/scene.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | gl.draw(args.viewport(), |c, gl| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fps` [INFO] [stdout] --> src/models/scene.rs:36:48 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn key_event(&mut self, args: &Button, fps: usize) -> GameState { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREEN` is never used [INFO] [stdout] --> src/models/scene.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | const GREEN: [f32; 4] = [0., 1., 0., 0.7]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "70fac277d1c3859f9ed723f34eff7d1e7d8438e57fbf9f1171183b69386b6a14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70fac277d1c3859f9ed723f34eff7d1e7d8438e57fbf9f1171183b69386b6a14", kill_on_drop: false }` [INFO] [stdout] 70fac277d1c3859f9ed723f34eff7d1e7d8438e57fbf9f1171183b69386b6a14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Copt-level=3" "-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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ae9659beebcedd56e89ec28ebcd274ad5e5962ecc8a5e35b479743f3e620923f [INFO] running `Command { std: "docker" "start" "-a" "ae9659beebcedd56e89ec28ebcd274ad5e5962ecc8a5e35b479743f3e620923f", kill_on_drop: false }` [INFO] [stderr] warning: the item `rand` is imported redundantly [INFO] [stderr] --> src/models/snake.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use rand; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/main.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | extern crate rand; [INFO] [stderr] | ------------------ the item `rand` is already imported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `UpdateArgs` [INFO] [stderr] --> src/models/scene.rs:2:46 [INFO] [stderr] | [INFO] [stderr] 2 | use piston::input::{RenderArgs, Button, Key, UpdateArgs}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/models/app.rs:128:30 [INFO] [stderr] | [INFO] [stderr] 128 | pub fn update(&mut self, 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: `h` [INFO] [stderr] --> src/models/snake.rs:75:48 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn update(&mut self, scalar: i32, (_w, h): (f64, f64), fps: usize) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fps` [INFO] [stderr] --> src/models/snake.rs:75:64 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn update(&mut self, scalar: i32, (_w, h): (f64, f64), fps: usize) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_fps` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `w` [INFO] [stderr] --> src/models/scene.rs:23:71 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn render(&mut self, args: &RenderArgs, gl: &mut GlGraphics, (w, h): (f64, f64)) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `h` [INFO] [stderr] --> src/models/scene.rs:23:74 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn render(&mut self, args: &RenderArgs, gl: &mut GlGraphics, (w, h): (f64, f64)) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/models/scene.rs:28:35 [INFO] [stderr] | [INFO] [stderr] 28 | gl.draw(args.viewport(), |c, gl| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fps` [INFO] [stderr] --> src/models/scene.rs:36:48 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn key_event(&mut self, args: &Button, fps: usize) -> GameState { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_fps` [INFO] [stderr] [INFO] [stderr] warning: constant `GREEN` is never used [INFO] [stderr] --> src/models/scene.rs:26:15 [INFO] [stderr] | [INFO] [stderr] 26 | const GREEN: [f32; 4] = [0., 1., 0., 0.7]; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `test_project` (bin "test_project" test) generated 10 warnings (run `cargo fix --bin "test_project" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/test_project-365102ccbec0c9dc) [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; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ae9659beebcedd56e89ec28ebcd274ad5e5962ecc8a5e35b479743f3e620923f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae9659beebcedd56e89ec28ebcd274ad5e5962ecc8a5e35b479743f3e620923f", kill_on_drop: false }` [INFO] [stdout] ae9659beebcedd56e89ec28ebcd274ad5e5962ecc8a5e35b479743f3e620923f