[INFO] updating cached repository https://github.com/cassaundra/lpvz
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 269207384535151bb716b420575f5ec281d1b907
[INFO] checking cassaundra/lpvz against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcassaundra%2Flpvz" "/workspace/builds/worker-6/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/cassaundra/lpvz on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/cassaundra/lpvz
[INFO] removed path dependency launchpad from git repo https://github.com/cassaundra/lpvz
[INFO] finished tweaking git repo https://github.com/cassaundra/lpvz
[INFO] tweaked toml for git repo https://github.com/cassaundra/lpvz written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/cassaundra/lpvz already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: dependency (launchpad) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-6/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 `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: dependency (launchpad) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] c392e6a4113008f1dec9180ec6fcce726caf4f20e76b29f4e4888015eafa0e3d
[INFO] running `"docker" "start" "-a" "c392e6a4113008f1dec9180ec6fcce726caf4f20e76b29f4e4888015eafa0e3d"`
[INFO] [stderr] warning: dependency (launchpad) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr]    Compiling libc v0.2.68
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]     Checking portmidi v0.2.4
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking png v0.11.0
[INFO] [stderr]     Checking launchpad v0.1.1
[INFO] [stderr]     Checking num_cpus v1.12.0
[INFO] [stderr]     Checking getrandom v0.1.14
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking rayon-core v1.7.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling phf_generator v0.8.0
[INFO] [stderr]    Compiling phf_codegen v0.8.0
[INFO] [stderr]    Compiling palette v0.5.0
[INFO] [stderr]     Checking jpeg-decoder v0.1.18
[INFO] [stderr]    Compiling palette_derive v0.5.0
[INFO] [stderr]     Checking image v0.18.0
[INFO] [stderr]     Checking noise v0.6.0
[INFO] [stderr]     Checking lpvz v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `Location`
[INFO] [stderr]   --> src/main.rs:91:13
[INFO] [stderr]    |
[INFO] [stderr] 91 |         use Location::*;
[INFO] [stderr]    |             ^^^^^^^^ use of undeclared type or module `Location`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `Mk2Event`
[INFO] [stderr]   --> src/main.rs:92:13
[INFO] [stderr]    |
[INFO] [stderr] 92 |         use Mk2Event::*;
[INFO] [stderr]    |             ^^^^^^^^ use of undeclared type or module `Mk2Event`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MidiLaunchpadMk2`
[INFO] [stderr]   --> src/main.rs:15:25
[INFO] [stderr]    |
[INFO] [stderr] 15 |     let mut launchpad = MidiLaunchpadMk2::autodetect()?;
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^ use of undeclared type or module `MidiLaunchpadMk2`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Mk2Event`
[INFO] [stderr]   --> src/main.rs:95:13
[INFO] [stderr]    |
[INFO] [stderr] 95 |             Mk2Event::Press(Location::Button(i, is_top)) => {
[INFO] [stderr]    |             ^^^^^^^^ use of undeclared type or module `Mk2Event`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Location`
[INFO] [stderr]   --> src/main.rs:95:29
[INFO] [stderr]    |
[INFO] [stderr] 95 |             Mk2Event::Press(Location::Button(i, is_top)) => {
[INFO] [stderr]    |                             ^^^^^^^^ use of undeclared type or module `Location`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `Location`
[INFO] [stderr]   --> src/main.rs:91:13
[INFO] [stderr]    |
[INFO] [stderr] 91 |         use Location::*;
[INFO] [stderr]    |             ^^^^^^^^ use of undeclared type or module `Location`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `Mk2Event`
[INFO] [stderr]   --> src/main.rs:92:13
[INFO] [stderr]    |
[INFO] [stderr] 92 |         use Mk2Event::*;
[INFO] [stderr]    |             ^^^^^^^^ use of undeclared type or module `Mk2Event`
[INFO] [stderr] 
[INFO] [stderr] error[E0404]: expected trait, found struct `LaunchpadMk2`
[INFO] [stderr]   --> src/main.rs:78:47
[INFO] [stderr]    |
[INFO] [stderr] 78 |     pub fn render(&self, launchpad: &mut impl LaunchpadMk2) -> launchpad::Result<()> {
[INFO] [stderr]    |                                               ^^^^^^^^^^^^ not a trait
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MidiLaunchpadMk2`
[INFO] [stderr]   --> src/main.rs:15:25
[INFO] [stderr]    |
[INFO] [stderr] 15 |     let mut launchpad = MidiLaunchpadMk2::autodetect()?;
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^ use of undeclared type or module `MidiLaunchpadMk2`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `launchpad`
[INFO] [stderr]   --> src/main.rs:78:75
[INFO] [stderr]    |
[INFO] [stderr] 78 |     pub fn render(&self, launchpad: &mut impl LaunchpadMk2) -> launchpad::Result<()> {
[INFO] [stderr]    |                                                                           ^^^^^^ not found in `launchpad`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use core::fmt::Result;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use core::prelude::v1::Result;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use core::result::Result;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::fmt::Result;
[INFO] [stderr]    |
[INFO] [stderr]      and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `pad_position` in this scope
[INFO] [stderr]   --> src/main.rs:81:40
[INFO] [stderr]    |
[INFO] [stderr] 81 |             launchpad.light_single_rgb(pad_position(x as u8, y as u8), c.0, c.1, c.2)?;
[INFO] [stderr]    |                                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `button_position` in this scope
[INFO] [stderr]   --> src/main.rs:83:40
[INFO] [stderr]    |
[INFO] [stderr] 83 |             launchpad.light_single_rgb(button_position(self.sat, true), 20, 20, 20)?;
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `button_position` in this scope
[INFO] [stderr]   --> src/main.rs:84:40
[INFO] [stderr]    |
[INFO] [stderr] 84 |             launchpad.light_single_rgb(button_position(self.val, false), 20, 20, 20)?;
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Mk2Event` in this scope
[INFO] [stderr]   --> src/main.rs:90:44
[INFO] [stderr]    |
[INFO] [stderr] 90 |     pub fn handle_event(&mut self, event: &Mk2Event) {
[INFO] [stderr]    |                                            ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0404]: expected trait, found struct `LaunchpadMk2`
[INFO] [stderr]    --> src/main.rs:123:27
[INFO] [stderr]     |
[INFO] [stderr] 123 | fn do_intro(lp: &mut impl LaunchpadMk2) -> launchpad::Result<()> {
[INFO] [stderr]     |                           ^^^^^^^^^^^^ not a trait
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `launchpad`
[INFO] [stderr]    --> src/main.rs:123:55
[INFO] [stderr]     |
[INFO] [stderr] 123 | fn do_intro(lp: &mut impl LaunchpadMk2) -> launchpad::Result<()> {
[INFO] [stderr]     |                                                       ^^^^^^ not found in `launchpad`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use core::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use core::prelude::v1::Result;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use core::result::Result;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use std::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr]       and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `pad_position` in this scope
[INFO] [stderr]    --> src/main.rs:160:37
[INFO] [stderr]     |
[INFO] [stderr] 160 |                 lp.light_single_rgb(pad_position(pad_x, pad_y), a, a, a)?;
[INFO] [stderr]     |                                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Mk2Event`
[INFO] [stderr]   --> src/main.rs:95:13
[INFO] [stderr]    |
[INFO] [stderr] 95 |             Mk2Event::Press(Location::Button(i, is_top)) => {
[INFO] [stderr]    |             ^^^^^^^^ use of undeclared type or module `Mk2Event`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Location`
[INFO] [stderr]   --> src/main.rs:95:29
[INFO] [stderr]    |
[INFO] [stderr] 95 |             Mk2Event::Press(Location::Button(i, is_top)) => {
[INFO] [stderr]    |                             ^^^^^^^^ use of undeclared type or module `Location`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 14 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0404, E0412, E0425, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0404`.
[INFO] [stderr] error[E0404]: expected trait, found struct `LaunchpadMk2`
[INFO] [stderr]   --> src/main.rs:78:47
[INFO] [stderr]    |
[INFO] [stderr] 78 |     pub fn render(&self, launchpad: &mut impl LaunchpadMk2) -> launchpad::Result<()> {
[INFO] [stderr]    |                                               ^^^^^^^^^^^^ not a trait
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `launchpad`
[INFO] [stderr]   --> src/main.rs:78:75
[INFO] [stderr]    |
[INFO] [stderr] 78 |     pub fn render(&self, launchpad: &mut impl LaunchpadMk2) -> launchpad::Result<()> {
[INFO] [stderr]    |                                                                           ^^^^^^ not found in `launchpad`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use core::fmt::Result;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use core::prelude::v1::Result;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use core::result::Result;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::fmt::Result;
[INFO] [stderr]    |
[INFO] [stderr]      and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `pad_position` in this scope
[INFO] [stderr]   --> src/main.rs:81:40
[INFO] [stderr]    |
[INFO] [stderr] 81 |             launchpad.light_single_rgb(pad_position(x as u8, y as u8), c.0, c.1, c.2)?;
[INFO] [stderr]    |                                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `button_position` in this scope
[INFO] [stderr]   --> src/main.rs:83:40
[INFO] [stderr]    |
[INFO] [stderr] 83 |             launchpad.light_single_rgb(button_position(self.sat, true), 20, 20, 20)?;
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `button_position` in this scope
[INFO] [stderr]   --> src/main.rs:84:40
[INFO] [stderr]    |
[INFO] [stderr] 84 |             launchpad.light_single_rgb(button_position(self.val, false), 20, 20, 20)?;
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Mk2Event` in this scope
[INFO] [stderr]   --> src/main.rs:90:44
[INFO] [stderr]    |
[INFO] [stderr] 90 |     pub fn handle_event(&mut self, event: &Mk2Event) {
[INFO] [stderr]    |                                            ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0404]: expected trait, found struct `LaunchpadMk2`
[INFO] [stderr]    --> src/main.rs:123:27
[INFO] [stderr]     |
[INFO] [stderr] 123 | fn do_intro(lp: &mut impl LaunchpadMk2) -> launchpad::Result<()> {
[INFO] [stderr]     |                           ^^^^^^^^^^^^ not a trait
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `launchpad`
[INFO] [stderr]    --> src/main.rs:123:55
[INFO] [stderr]     |
[INFO] [stderr] 123 | fn do_intro(lp: &mut impl LaunchpadMk2) -> launchpad::Result<()> {
[INFO] [stderr]     |                                                       ^^^^^^ not found in `launchpad`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use core::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use core::prelude::v1::Result;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use core::result::Result;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use std::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr]       and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `pad_position` in this scope
[INFO] [stderr]    --> src/main.rs:160:37
[INFO] [stderr]     |
[INFO] [stderr] 160 |                 lp.light_single_rgb(pad_position(pad_x, pad_y), a, a, a)?;
[INFO] [stderr]     |                                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `lpvz`.
[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] [stderr] error: aborting due to 14 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0404, E0412, E0425, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0404`.
[INFO] [stderr] error: could not compile `lpvz`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "c392e6a4113008f1dec9180ec6fcce726caf4f20e76b29f4e4888015eafa0e3d"`
[INFO] running `"docker" "rm" "-f" "c392e6a4113008f1dec9180ec6fcce726caf4f20e76b29f4e4888015eafa0e3d"`
[INFO] [stdout] c392e6a4113008f1dec9180ec6fcce726caf4f20e76b29f4e4888015eafa0e3d
