[INFO] updating cached repository https://github.com/cassaundra/lpvz [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 269207384535151bb716b420575f5ec281d1b907 [INFO] testing cassaundra/lpvz against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcassaundra%2Flpvz" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cassaundra/lpvz on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-13/source/Cargo.toml [INFO] crate git repo https://github.com/cassaundra/lpvz already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-13/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" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bca8424f35e86714778591e928b0ae678bafe0e810237c1c4d4424b8c90a7a62 [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" "bca8424f35e86714778591e928b0ae678bafe0e810237c1c4d4424b8c90a7a62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bca8424f35e86714778591e928b0ae678bafe0e810237c1c4d4424b8c90a7a62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bca8424f35e86714778591e928b0ae678bafe0e810237c1c4d4424b8c90a7a62", kill_on_drop: false }` [INFO] [stdout] bca8424f35e86714778591e928b0ae678bafe0e810237c1c4d4424b8c90a7a62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7654ce2b311c9fde26be006266f5e6d686dd513510c04d8e5e1d17c38f0e16da [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" "7654ce2b311c9fde26be006266f5e6d686dd513510c04d8e5e1d17c38f0e16da", kill_on_drop: false }` [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 siphasher v0.3.3 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling portmidi v0.2.4 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling launchpad v0.1.1 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling palette v0.5.0 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling image v0.18.0 [INFO] [stderr] Compiling palette_derive v0.5.0 [INFO] [stderr] Compiling noise v0.6.0 [INFO] [stderr] Compiling lpvz v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `Location` [INFO] [stdout] --> src/main.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | use Location::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Mk2Event` [INFO] [stdout] --> src/main.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | use Mk2Event::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Mk2Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MidiLaunchpadMk2` [INFO] [stdout] --> src/main.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | let mut launchpad = MidiLaunchpadMk2::autodetect()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `MidiLaunchpadMk2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Mk2Event` [INFO] [stdout] --> src/main.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | Mk2Event::Press(Location::Button(i, is_top)) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Mk2Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Location` [INFO] [stdout] --> src/main.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | Mk2Event::Press(Location::Button(i, is_top)) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found struct `LaunchpadMk2` [INFO] [stdout] --> src/main.rs:78:47 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn render(&self, launchpad: &mut impl LaunchpadMk2) -> launchpad::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ not a trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in crate `launchpad` [INFO] [stdout] --> src/main.rs:78:75 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn render(&self, launchpad: &mut impl LaunchpadMk2) -> launchpad::Result<()> { [INFO] [stdout] | ^^^^^^ not found in `launchpad` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 1 | use core::prelude::v1::Result; [INFO] [stdout] | [INFO] [stdout] 1 | use core::result::Result; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] and 4 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pad_position` in this scope [INFO] [stdout] --> src/main.rs:81:40 [INFO] [stdout] | [INFO] [stdout] 81 | launchpad.light_single_rgb(pad_position(x as u8, y as u8), c.0, c.1, c.2)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `button_position` in this scope [INFO] [stdout] --> src/main.rs:83:40 [INFO] [stdout] | [INFO] [stdout] 83 | launchpad.light_single_rgb(button_position(self.sat, true), 20, 20, 20)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `button_position` in this scope [INFO] [stdout] --> src/main.rs:84:40 [INFO] [stdout] | [INFO] [stdout] 84 | launchpad.light_single_rgb(button_position(self.val, false), 20, 20, 20)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mk2Event` in this scope [INFO] [stdout] --> src/main.rs:90:44 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn handle_event(&mut self, event: &Mk2Event) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found struct `LaunchpadMk2` [INFO] [stdout] --> src/main.rs:123:27 [INFO] [stdout] | [INFO] [stdout] 123 | fn do_intro(lp: &mut impl LaunchpadMk2) -> launchpad::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ not a trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in crate `launchpad` [INFO] [stdout] --> src/main.rs:123:55 [INFO] [stdout] | [INFO] [stdout] 123 | fn do_intro(lp: &mut impl LaunchpadMk2) -> launchpad::Result<()> { [INFO] [stdout] | ^^^^^^ not found in `launchpad` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 1 | use core::prelude::v1::Result; [INFO] [stdout] | [INFO] [stdout] 1 | use core::result::Result; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] and 4 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pad_position` in this scope [INFO] [stdout] --> src/main.rs:160:37 [INFO] [stdout] | [INFO] [stdout] 160 | lp.light_single_rgb(pad_position(pad_x, pad_y), a, a, a)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0404, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0404`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lpvz`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "7654ce2b311c9fde26be006266f5e6d686dd513510c04d8e5e1d17c38f0e16da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7654ce2b311c9fde26be006266f5e6d686dd513510c04d8e5e1d17c38f0e16da", kill_on_drop: false }` [INFO] [stdout] 7654ce2b311c9fde26be006266f5e6d686dd513510c04d8e5e1d17c38f0e16da