[INFO] cloning repository https://github.com/sisiwoniu/RustSnakeGameExample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sisiwoniu/RustSnakeGameExample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsisiwoniu%2FRustSnakeGameExample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsisiwoniu%2FRustSnakeGameExample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a312955186c69a3f4e9beb838ab0effa30352af9 [INFO] building sisiwoniu/RustSnakeGameExample against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsisiwoniu%2FRustSnakeGameExample" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sisiwoniu/RustSnakeGameExample [INFO] finished tweaking git repo https://github.com/sisiwoniu/RustSnakeGameExample [INFO] tweaked toml for git repo https://github.com/sisiwoniu/RustSnakeGameExample written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sisiwoniu/RustSnakeGameExample on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sisiwoniu/RustSnakeGameExample 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bcd90f471cad953dd2cb713c82f1b7b759283338eb2b9d5aa2f5783dfa3d9c2 [INFO] running `Command { std: "docker" "start" "-a" "7bcd90f471cad953dd2cb713c82f1b7b759283338eb2b9d5aa2f5783dfa3d9c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bcd90f471cad953dd2cb713c82f1b7b759283338eb2b9d5aa2f5783dfa3d9c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bcd90f471cad953dd2cb713c82f1b7b759283338eb2b9d5aa2f5783dfa3d9c2", kill_on_drop: false }` [INFO] [stdout] 7bcd90f471cad953dd2cb713c82f1b7b759283338eb2b9d5aa2f5783dfa3d9c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b7aac608f04268fbe50d86d87a27b646f68d019608e91ea933a9d7db18dde53 [INFO] running `Command { std: "docker" "start" "-a" "7b7aac608f04268fbe50d86d87a27b646f68d019608e91ea933a9d7db18dde53", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling piston-viewport v1.0.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling spin_sleep v1.0.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling piston2d-graphics v0.41.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling xdg v2.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling pistoncore-input v1.0.1 [INFO] [stderr] Compiling pistoncore-window v0.47.1 [INFO] [stderr] Compiling pistoncore-event_loop v0.53.1 [INFO] [stderr] Compiling piston-gfx_texture v0.41.0 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.79.0 [INFO] [stderr] Compiling piston v0.53.1 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.74.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.69.0 [INFO] [stderr] Compiling piston_window v0.121.0 [INFO] [stderr] Compiling Piston_Test_CurveExample v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/app/hosting.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | .draw(arg.viewport(), |c, gl| graphics::clear(COLOR, gl)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR` should have a snake case name [INFO] [stdout] --> src/app/hosting.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | let COLOR: [f32; 4] = [0.1, 0.5, 0.2, 1.0]; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputDir` should have a snake case name [INFO] [stdout] --> src/app/hosting.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn pressed(&mut self, inputDir: &Direction) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `input_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `RED` should have a snake case name [INFO] [stdout] --> src/app/hosting.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | let RED: [f32; 4] = [1.0, 0.0, 0.0, 1.0]; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `red` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `new_Head` should have a snake case name [INFO] [stdout] --> src/app/hosting.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | let mut new_Head = (self.body.front().expect("snake ha no body")).clone(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "7b7aac608f04268fbe50d86d87a27b646f68d019608e91ea933a9d7db18dde53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b7aac608f04268fbe50d86d87a27b646f68d019608e91ea933a9d7db18dde53", kill_on_drop: false }` [INFO] [stdout] 7b7aac608f04268fbe50d86d87a27b646f68d019608e91ea933a9d7db18dde53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fc18902eb7281595e385ebdcd974d03bdbf4d4cfeadf7d5bcac31ea11f0c4d3 [INFO] running `Command { std: "docker" "start" "-a" "7fc18902eb7281595e385ebdcd974d03bdbf4d4cfeadf7d5bcac31ea11f0c4d3", kill_on_drop: false }` [INFO] [stderr] Compiling Piston_Test_CurveExample v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/app/hosting.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | .draw(arg.viewport(), |c, gl| graphics::clear(COLOR, gl)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR` should have a snake case name [INFO] [stdout] --> src/app/hosting.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | let COLOR: [f32; 4] = [0.1, 0.5, 0.2, 1.0]; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputDir` should have a snake case name [INFO] [stdout] --> src/app/hosting.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn pressed(&mut self, inputDir: &Direction) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `input_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `RED` should have a snake case name [INFO] [stdout] --> src/app/hosting.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | let RED: [f32; 4] = [1.0, 0.0, 0.0, 1.0]; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `red` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `new_Head` should have a snake case name [INFO] [stdout] --> src/app/hosting.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | let mut new_Head = (self.body.front().expect("snake ha no body")).clone(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.93s [INFO] running `Command { std: "docker" "inspect" "7fc18902eb7281595e385ebdcd974d03bdbf4d4cfeadf7d5bcac31ea11f0c4d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fc18902eb7281595e385ebdcd974d03bdbf4d4cfeadf7d5bcac31ea11f0c4d3", kill_on_drop: false }` [INFO] [stdout] 7fc18902eb7281595e385ebdcd974d03bdbf4d4cfeadf7d5bcac31ea11f0c4d3