[INFO] cloning repository https://github.com/mchesser/snake-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mchesser/snake-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmchesser%2Fsnake-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmchesser%2Fsnake-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53f12862dcf73d41bb50ffa24aebeceb979f2390 [INFO] checking mchesser/snake-rs against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmchesser%2Fsnake-rs" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mchesser/snake-rs on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mchesser/snake-rs [INFO] finished tweaking git repo https://github.com/mchesser/snake-rs [INFO] tweaked toml for git repo https://github.com/mchesser/snake-rs written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/mchesser/snake-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/quvarxa/basic2d` [INFO] [stderr] Updating git repository `https://github.com/AngryLawyer/rust-sdl2` [INFO] [stderr] Updating git repository `https://github.com/quvarxa/interpolate` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8cafd98185ab6915dcef3b7cb6c44e99da44acefeabf0353ae58bfa93c3598c0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8cafd98185ab6915dcef3b7cb6c44e99da44acefeabf0353ae58bfa93c3598c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8cafd98185ab6915dcef3b7cb6c44e99da44acefeabf0353ae58bfa93c3598c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cafd98185ab6915dcef3b7cb6c44e99da44acefeabf0353ae58bfa93c3598c0", kill_on_drop: false }` [INFO] [stdout] 8cafd98185ab6915dcef3b7cb6c44e99da44acefeabf0353ae58bfa93c3598c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 868975a20f0dadac23cd8c1eb7d02d15c579ce7de6d08475176b68048e977609 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "868975a20f0dadac23cd8c1eb7d02d15c579ce7de6d08475176b68048e977609", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Compiling sdl2 v0.34.3 (https://github.com/AngryLawyer/rust-sdl2#ed465322) [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking interpolate v0.1.0 (https://github.com/quvarxa/interpolate#f6208548) [INFO] [stderr] Checking clock_ticks v0.1.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling sdl2-sys v0.34.3 (https://github.com/AngryLawyer/rust-sdl2#ed465322) [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking num-complex v0.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num v0.3.0 [INFO] [stderr] Checking basic2d v0.0.2 (https://github.com/quvarxa/basic2d#3c8d23f3) [INFO] [stderr] Checking snake v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Renderer` in module `render` [INFO] [stdout] --> src/game.rs:37:51 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn draw(&mut self, renderer: &mut render::Renderer) { [INFO] [stdout] | ^^^^^^^^ not found in `render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Renderer` in module `render` [INFO] [stdout] --> src/game.rs:37:51 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn draw(&mut self, renderer: &mut render::Renderer) { [INFO] [stdout] | ^^^^^^^^ not found in `render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | let sdl_context = try!(sdl2::init()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let window = try!(sdl_context.video()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | let mut events = try!(sdl_context.event_pump()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | let sdl_context = try!(sdl2::init()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let window = try!(sdl_context.video()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | let mut events = try!(sdl_context.event_pump()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `renderer` found for struct `sdl2::video::Window` in the current scope [INFO] [stdout] --> src/client.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | let mut renderer = window.renderer().build().unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `sdl2::video::Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `renderer` found for struct `sdl2::video::Window` in the current scope [INFO] [stdout] --> src/client.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | let mut renderer = window.renderer().build().unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `sdl2::video::Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `snake` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "868975a20f0dadac23cd8c1eb7d02d15c579ce7de6d08475176b68048e977609", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "868975a20f0dadac23cd8c1eb7d02d15c579ce7de6d08475176b68048e977609", kill_on_drop: false }` [INFO] [stdout] 868975a20f0dadac23cd8c1eb7d02d15c579ce7de6d08475176b68048e977609