[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] testing psteiner/rust-pong-sdl2 against try#7af779037716ae4125ceabb429791b4cf5dd0a43 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsteiner%2Frust-pong-sdl2" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/psteiner/rust-pong-sdl2 on toolchain 7af779037716ae4125ceabb429791b4cf5dd0a43 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "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-6-tc2/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" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43df2ad3d2be74eb48c7fa005bc4a2cfd8de36ae29ba57d0869583d6d894208f [INFO] running `Command { std: "docker" "start" "-a" "43df2ad3d2be74eb48c7fa005bc4a2cfd8de36ae29ba57d0869583d6d894208f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43df2ad3d2be74eb48c7fa005bc4a2cfd8de36ae29ba57d0869583d6d894208f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43df2ad3d2be74eb48c7fa005bc4a2cfd8de36ae29ba57d0869583d6d894208f", kill_on_drop: false }` [INFO] [stdout] 43df2ad3d2be74eb48c7fa005bc4a2cfd8de36ae29ba57d0869583d6d894208f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a411a8018f63fd6d3820b6092ec9f7aeb5de960c76d7a6b095767e3b4ee7830d [INFO] running `Command { std: "docker" "start" "-a" "a411a8018f63fd6d3820b6092ec9f7aeb5de960c76d7a6b095767e3b4ee7830d", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling cfg-if v1.0.0 [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 bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling 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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcgM7Y1v/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libsdl2-0343f14f4703e4fe.rlib,libsdl2_sys-be4b698294e4d73f.rlib,libbitflags-e2b4db6c651223da.rlib,liblazy_static-2bb390fee0230a38.rlib,liblibc-b80b1d2f60fc299c.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_ttf" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/sdl2-sys-d441c0fefdc5ec4d/out/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rust_pong-30cca45ff5a18a2e" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lSDL2_ttf [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-pong` (bin "rust-pong") due to 1 previous error; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a411a8018f63fd6d3820b6092ec9f7aeb5de960c76d7a6b095767e3b4ee7830d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a411a8018f63fd6d3820b6092ec9f7aeb5de960c76d7a6b095767e3b4ee7830d", kill_on_drop: false }` [INFO] [stdout] a411a8018f63fd6d3820b6092ec9f7aeb5de960c76d7a6b095767e3b4ee7830d