[INFO] cloning repository https://github.com/ajgrah2000/rustsega
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ajgrah2000/rustsega" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajgrah2000%2Frustsega", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajgrah2000%2Frustsega'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 474c930951d070ef97c8d46e3e180e9988f4cd7d
[INFO] checking ajgrah2000/rustsega against try#73ffebff6f34db7eb167bf9edcf2afa19c3073e9 for pr-147841
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajgrah2000%2Frustsega" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/ajgrah2000/rustsega
[INFO] finished tweaking git repo https://github.com/ajgrah2000/rustsega
[INFO] tweaked toml for git repo https://github.com/ajgrah2000/rustsega written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ajgrah2000/rustsega on toolchain 73ffebff6f34db7eb167bf9edcf2afa19c3073e9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ajgrah2000/rustsega 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" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking ajgrah2000/rustsega against try#73ffebff6f34db7eb167bf9edcf2afa19c3073e9 for pr-147841
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajgrah2000%2Frustsega" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/ajgrah2000/rustsega
[INFO] finished tweaking git repo https://github.com/ajgrah2000/rustsega
[INFO] tweaked toml for git repo https://github.com/ajgrah2000/rustsega written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ajgrah2000/rustsega on toolchain 73ffebff6f34db7eb167bf9edcf2afa19c3073e9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ajgrah2000/rustsega 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" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded argh_derive v0.1.12
[INFO] [stderr]   Downloaded argh v0.1.12
[INFO] [stderr]   Downloaded argh_shared v0.1.12
[INFO] [stderr]   Downloaded sdl2 v0.36.0
[INFO] [stderr]   Downloaded sdl2-sys v0.36.0
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dc2fcebb144a26fbf9e971b536f19e6f7787d3ef7e60ddd8da9f66a46d3cbb8a
[INFO] running `Command { std: "docker" "start" "-a" "dc2fcebb144a26fbf9e971b536f19e6f7787d3ef7e60ddd8da9f66a46d3cbb8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dc2fcebb144a26fbf9e971b536f19e6f7787d3ef7e60ddd8da9f66a46d3cbb8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc2fcebb144a26fbf9e971b536f19e6f7787d3ef7e60ddd8da9f66a46d3cbb8a", kill_on_drop: false }`
[INFO] [stdout] dc2fcebb144a26fbf9e971b536f19e6f7787d3ef7e60ddd8da9f66a46d3cbb8a
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 680d84f5b70fbd310bfc0ea58b0877d99d9a5d2d1a593005f7f75a96c657ae01
[INFO] running `Command { std: "docker" "start" "-a" "680d84f5b70fbd310bfc0ea58b0877d99d9a5d2d1a593005f7f75a96c657ae01", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]    Compiling sdl2 v0.36.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking bitfield v0.14.0
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling sdl2-sys v0.36.0
[INFO] [stderr]    Compiling serde_derive v1.0.196
[INFO] [stderr]     Checking argh_shared v0.1.12
[INFO] [stderr]    Compiling argh_derive v0.1.12
[INFO] [stderr]     Checking argh v0.1.12
[INFO] [stderr]     Checking rustsega v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]     --> src/sega/graphics/vdp.rs:1456:17
[INFO] [stdout]      |
[INFO] [stdout] 1456 |             use rand::Rng;
[INFO] [stdout]      |                 ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]      |
[INFO] [stdout]      = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `impl_common_memoryrw`
[INFO] [stdout]    --> src/sega/memory/memory.rs:295:16
[INFO] [stdout]     |
[INFO] [stdout] 295 | pub(crate) use impl_common_memoryrw;
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `impl_common_memoryrw`
[INFO] [stdout]    --> src/sega/memory/memory.rs:295:16
[INFO] [stdout]     |
[INFO] [stdout] 295 | pub(crate) use impl_common_memoryrw;
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand`
[INFO] [stdout]     --> src/sega/graphics/vdp.rs:1475:27
[INFO] [stdout]      |
[INFO] [stdout] 1475 |             let mut rng = rand::thread_rng();
[INFO] [stdout]      |                           ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]      |
[INFO] [stdout]      = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/sega/graphics/display.rs:138:26
[INFO] [stdout]     |
[INFO] [stdout] 138 |         texture_creator: &render::TextureCreator<video::WindowContext>,
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 142 |     ) -> render::Texture {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 142 |     ) -> render::Texture<'_> {
[INFO] [stdout]     |                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0004]: non-exhaustive patterns: `&PixelFormatEnum::NV12` and `&PixelFormatEnum::NV21` not covered
[INFO] [stdout]    --> src/sega/graphics/display.rs:307:37
[INFO] [stdout]     |
[INFO] [stdout] 307 |                 .for_each(|x| match x {
[INFO] [stdout]     |                                     ^ patterns `&PixelFormatEnum::NV12` and `&PixelFormatEnum::NV21` not covered
[INFO] [stdout]     |
[INFO] [stdout] note: `PixelFormatEnum` defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sdl2-0.36.0/src/sdl2/pixels.rs:212:1
[INFO] [stdout]     |
[INFO] [stdout] 212 | pub enum PixelFormatEnum {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 249 |     NV12 = sys::SDL_PixelFormatEnum::SDL_PIXELFORMAT_NV12 as i32,
[INFO] [stdout]     |     ---- not covered
[INFO] [stdout] 250 |     NV21 = sys::SDL_PixelFormatEnum::SDL_PIXELFORMAT_NV21 as i32,
[INFO] [stdout]     |     ---- not covered
[INFO] [stdout]     = note: the matched value is of type `&PixelFormatEnum`
[INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
[INFO] [stdout]     |
[INFO] [stdout] 415 ~                     },
[INFO] [stdout] 416 +                     &PixelFormatEnum::NV12 | &PixelFormatEnum::NV21 => todo!()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sega/graphics/display.rs:294:17
[INFO] [stdout]     |
[INFO] [stdout] 294 |             let mut canvas = SDLUtility::create_canvas(
[INFO] [stdout]     |                 ----^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `canvas`
[INFO] [stdout]    --> src/sega/graphics/display.rs:434:26
[INFO] [stdout]     |
[INFO] [stdout] 294 |             let mut canvas = SDLUtility::create_canvas(
[INFO] [stdout]     |                 ---------- move occurs because `canvas` has type `std::option::Option<Canvas<sdl2::video::Window>>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 302 |             canvas
[INFO] [stdout]     |             ------ help: consider calling `.as_ref()` or `.as_mut()` to borrow the type's contents
[INFO] [stdout] 303 |                 .expect("canvas is unexpectedly None")
[INFO] [stdout]     |                  ------------------------------------- `canvas` moved due to this method call
[INFO] [stdout] ...
[INFO] [stdout] 434 |                     &mut canvas.unwrap(),
[INFO] [stdout]     |                          ^^^^^^ value used here after move
[INFO] [stdout]     |
[INFO] [stdout] note: `std::option::Option::<T>::expect` takes ownership of the receiver `self`, which moves `canvas`
[INFO] [stdout]    --> /rustc/73ffebff6f34db7eb167bf9edcf2afa19c3073e9/library/core/src/option.rs:962:25
[INFO] [stdout] help: you could `clone` the value and consume it, if the `Canvas<sdl2::video::Window>: Clone` trait bound could be satisfied
[INFO] [stdout]     |
[INFO] [stdout] 302 |             canvas.clone()
[INFO] [stdout]     |                   ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0004, E0382, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0004`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustsega` (bin "rustsega" test) due to 4 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "680d84f5b70fbd310bfc0ea58b0877d99d9a5d2d1a593005f7f75a96c657ae01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "680d84f5b70fbd310bfc0ea58b0877d99d9a5d2d1a593005f7f75a96c657ae01", kill_on_drop: false }`
[INFO] [stdout] 680d84f5b70fbd310bfc0ea58b0877d99d9a5d2d1a593005f7f75a96c657ae01
