[INFO] cloning repository https://github.com/psteiner/rust-pong-sdl2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/psteiner/rust-pong-sdl2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsteiner%2Frust-pong-sdl2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsteiner%2Frust-pong-sdl2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dde6dd528d61915a2239a22614c8852d4e4a1038 [INFO] checking psteiner/rust-pong-sdl2 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsteiner%2Frust-pong-sdl2" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/psteiner/rust-pong-sdl2 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/psteiner/rust-pong-sdl2 [INFO] finished tweaking git repo https://github.com/psteiner/rust-pong-sdl2 [INFO] tweaked toml for git repo https://github.com/psteiner/rust-pong-sdl2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/psteiner/rust-pong-sdl2 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] b36d7556c6c1755e29e49a54dfba6dbb1385a8c45cd9a897035aa8865a3cb5b0 [INFO] running `Command { std: "docker" "start" "-a" "b36d7556c6c1755e29e49a54dfba6dbb1385a8c45cd9a897035aa8865a3cb5b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b36d7556c6c1755e29e49a54dfba6dbb1385a8c45cd9a897035aa8865a3cb5b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b36d7556c6c1755e29e49a54dfba6dbb1385a8c45cd9a897035aa8865a3cb5b0", kill_on_drop: false }` [INFO] [stdout] b36d7556c6c1755e29e49a54dfba6dbb1385a8c45cd9a897035aa8865a3cb5b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 56b13c672e03f112700af21c619aa6aaf35a6e8196a48d73eafe8221d909f231 [INFO] running `Command { std: "docker" "start" "-a" "56b13c672e03f112700af21c619aa6aaf35a6e8196a48d73eafe8221d909f231", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking rust-pong v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sdl2::rect::Point` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub use sdl2::rect::Point; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/ui.rs:35:44 [INFO] [stdout] | [INFO] [stdout] 35 | fn draw_score(canvas: &mut Canvas, game: &Game) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canvas` [INFO] [stdout] --> src/ui.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | fn draw_player_paddle(canvas: &mut Canvas, game: &Game) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/ui.rs:52:52 [INFO] [stdout] | [INFO] [stdout] 52 | fn draw_player_paddle(canvas: &mut Canvas, game: &Game) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canvas` [INFO] [stdout] --> src/ui.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | fn draw_opponent_paddle(canvas: &mut Canvas, game: &Game) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/ui.rs:53:54 [INFO] [stdout] | [INFO] [stdout] 53 | fn draw_opponent_paddle(canvas: &mut Canvas, game: &Game) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Over` is never constructed [INFO] [stdout] --> src/game.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 27 | enum Mode { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 30 | Over, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, `height`, and `width` are never read [INFO] [stdout] --> src/game.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Paddle { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 34 | pub x: i32, [INFO] [stdout] | ^ [INFO] [stdout] 35 | pub y: i32, [INFO] [stdout] | ^ [INFO] [stdout] 36 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update` is never used [INFO] [stdout] --> src/game.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl Ball { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn update() {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opponent` is never read [INFO] [stdout] --> src/game.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 77 | pub opponent: Paddle, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::rect::Point` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub use sdl2::rect::Point; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/ui.rs:35:44 [INFO] [stdout] | [INFO] [stdout] 35 | fn draw_score(canvas: &mut Canvas, game: &Game) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canvas` [INFO] [stdout] --> src/ui.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | fn draw_player_paddle(canvas: &mut Canvas, game: &Game) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/ui.rs:52:52 [INFO] [stdout] | [INFO] [stdout] 52 | fn draw_player_paddle(canvas: &mut Canvas, game: &Game) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canvas` [INFO] [stdout] --> src/ui.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | fn draw_opponent_paddle(canvas: &mut Canvas, game: &Game) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/ui.rs:53:54 [INFO] [stdout] | [INFO] [stdout] 53 | fn draw_opponent_paddle(canvas: &mut Canvas, game: &Game) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Over` is never constructed [INFO] [stdout] --> src/game.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 27 | enum Mode { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 30 | Over, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, `height`, and `width` are never read [INFO] [stdout] --> src/game.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Paddle { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 34 | pub x: i32, [INFO] [stdout] | ^ [INFO] [stdout] 35 | pub y: i32, [INFO] [stdout] | ^ [INFO] [stdout] 36 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update` is never used [INFO] [stdout] --> src/game.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl Ball { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn update() {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opponent` is never read [INFO] [stdout] --> src/game.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 77 | pub opponent: Paddle, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 24s [INFO] running `Command { std: "docker" "inspect" "56b13c672e03f112700af21c619aa6aaf35a6e8196a48d73eafe8221d909f231", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56b13c672e03f112700af21c619aa6aaf35a6e8196a48d73eafe8221d909f231", kill_on_drop: false }` [INFO] [stdout] 56b13c672e03f112700af21c619aa6aaf35a6e8196a48d73eafe8221d909f231