[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#75530e9f72a1990ed2305e16fd51d02f47048f12 for pr-138676 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsteiner%2Frust-pong-sdl2" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/psteiner/rust-pong-sdl2 on toolchain 75530e9f72a1990ed2305e16fd51d02f47048f12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "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-2-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" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6475c868a6d27846ca172efb246699580b64b57a5b3744ef73949e850a31b38a" "/opt/rustwide/cargo-home/bin/cargo" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a5441ac0f202c8650288f3d0fc000ecf97a85ea4f077a0abf656fc9aa01abbd [INFO] running `Command { std: "docker" "start" "-a" "8a5441ac0f202c8650288f3d0fc000ecf97a85ea4f077a0abf656fc9aa01abbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a5441ac0f202c8650288f3d0fc000ecf97a85ea4f077a0abf656fc9aa01abbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a5441ac0f202c8650288f3d0fc000ecf97a85ea4f077a0abf656fc9aa01abbd", kill_on_drop: false }` [INFO] [stdout] 8a5441ac0f202c8650288f3d0fc000ecf97a85ea4f077a0abf656fc9aa01abbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6475c868a6d27846ca172efb246699580b64b57a5b3744ef73949e850a31b38a" "/opt/rustwide/cargo-home/bin/cargo" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ee5f514896c4cfc9113b202b5cf3028856a377abca3a7e855fe11ceff99e7b2 [INFO] running `Command { std: "docker" "start" "-a" "5ee5f514896c4cfc9113b202b5cf3028856a377abca3a7e855fe11ceff99e7b2", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking lazy_static v1.4.0 [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 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 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 03s [INFO] running `Command { std: "docker" "inspect" "5ee5f514896c4cfc9113b202b5cf3028856a377abca3a7e855fe11ceff99e7b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ee5f514896c4cfc9113b202b5cf3028856a377abca3a7e855fe11ceff99e7b2", kill_on_drop: false }` [INFO] [stdout] 5ee5f514896c4cfc9113b202b5cf3028856a377abca3a7e855fe11ceff99e7b2