[INFO] cloning repository https://github.com/advil4rent/Stepper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/advil4rent/Stepper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadvil4rent%2FStepper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadvil4rent%2FStepper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c6d6bfd153fd82a269fcd43f14635dae4412392 [INFO] checking advil4rent/Stepper against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadvil4rent%2FStepper" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/advil4rent/Stepper on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/advil4rent/Stepper [INFO] finished tweaking git repo https://github.com/advil4rent/Stepper [INFO] tweaked toml for git repo https://github.com/advil4rent/Stepper written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/advil4rent/Stepper already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bstr v0.2.17 [INFO] running `Command { std: "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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05a220f846c8494bbc94db3e20f15a3dc63405ee309493fde5e1954049477ae4 [INFO] running `Command { std: "docker" "start" "-a" "05a220f846c8494bbc94db3e20f15a3dc63405ee309493fde5e1954049477ae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05a220f846c8494bbc94db3e20f15a3dc63405ee309493fde5e1954049477ae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05a220f846c8494bbc94db3e20f15a3dc63405ee309493fde5e1954049477ae4", kill_on_drop: false }` [INFO] [stdout] 05a220f846c8494bbc94db3e20f15a3dc63405ee309493fde5e1954049477ae4 [INFO] running `Command { std: "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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f38563745a6173419f93bde0ff63c3b34c2282d1cc682dd90a6ed6fab2e62c92 [INFO] running `Command { std: "docker" "start" "-a" "f38563745a6173419f93bde0ff63c3b34c2282d1cc682dd90a6ed6fab2e62c92", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Checking object v0.26.2 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking globwalk v0.3.1 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking backtrace v0.3.61 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking exitfailure v0.5.1 [INFO] [stderr] Checking clap-verbosity-flag v0.2.0 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking structopt v0.3.23 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking gpio-cdev v0.4.0 [INFO] [stderr] Checking quicli v0.4.0 [INFO] [stderr] Checking stepper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `EventRequestFlags`, `EventType` [INFO] [stdout] --> src/main.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use gpio_cdev::{Chip, LineRequestFlags, EventRequestFlags, EventType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quicli::prelude::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use quicli::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `structopt::StructOpt` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventRequestFlags`, `EventType` [INFO] [stdout] --> src/main.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use gpio_cdev::{Chip, LineRequestFlags, EventRequestFlags, EventType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quicli::prelude::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use quicli::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `structopt::StructOpt` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_lines` found for enum `Result` in the current scope [INFO] [stdout] --> src/main.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | .get_lines(vec![13, 12]) [INFO] [stdout] | ^^^^^^^^^ method not found in `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/main.rs:13:57 [INFO] [stdout] | [INFO] [stdout] 7 | / fn main() { [INFO] [stdout] 8 | | let mut chip1 = Chip::new("/dev/gpiochip1"); [INFO] [stdout] 9 | | let mut chip3 = Chip::new("/dev/gpiochip3"); [INFO] [stdout] 10 | | [INFO] [stdout] ... | [INFO] [stdout] 13 | | .request(LineRequestFlags::OUTPUT, 0, "stepper")?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 64 | | [INFO] [stdout] 65 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_lines` found for enum `Result` in the current scope [INFO] [stdout] --> src/main.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | .get_lines(vec![13, 12]) [INFO] [stdout] | ^^^^^^^^^ method not found in `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_lines` found for enum `Result` in the current scope [INFO] [stdout] --> src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | .get_lines(vec![19, 21]) [INFO] [stdout] | ^^^^^^^^^ method not found in `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/main.rs:13:57 [INFO] [stdout] | [INFO] [stdout] 7 | / fn main() { [INFO] [stdout] 8 | | let mut chip1 = Chip::new("/dev/gpiochip1"); [INFO] [stdout] 9 | | let mut chip3 = Chip::new("/dev/gpiochip3"); [INFO] [stdout] 10 | | [INFO] [stdout] ... | [INFO] [stdout] 13 | | .request(LineRequestFlags::OUTPUT, 0, "stepper")?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 64 | | [INFO] [stdout] 65 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/main.rs:16:57 [INFO] [stdout] | [INFO] [stdout] 7 | / fn main() { [INFO] [stdout] 8 | | let mut chip1 = Chip::new("/dev/gpiochip1"); [INFO] [stdout] 9 | | let mut chip3 = Chip::new("/dev/gpiochip3"); [INFO] [stdout] 10 | | [INFO] [stdout] ... | [INFO] [stdout] 16 | | .request(LineRequestFlags::OUTPUT, 0, "stepper")?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 64 | | [INFO] [stdout] 65 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_lines` found for enum `Result` in the current scope [INFO] [stdout] --> src/main.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | .get_lines(vec![14, 15]) [INFO] [stdout] | ^^^^^^^^^ method not found in `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_lines` found for enum `Result` in the current scope [INFO] [stdout] --> src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | .get_lines(vec![19, 21]) [INFO] [stdout] | ^^^^^^^^^ method not found in `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/main.rs:20:55 [INFO] [stdout] | [INFO] [stdout] 7 | / fn main() { [INFO] [stdout] 8 | | let mut chip1 = Chip::new("/dev/gpiochip1"); [INFO] [stdout] 9 | | let mut chip3 = Chip::new("/dev/gpiochip3"); [INFO] [stdout] 10 | | [INFO] [stdout] ... | [INFO] [stdout] 20 | | .request(LineRequestFlags::INPUT, 0, "switch")?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 64 | | [INFO] [stdout] 65 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/main.rs:16:57 [INFO] [stdout] | [INFO] [stdout] 7 | / fn main() { [INFO] [stdout] 8 | | let mut chip1 = Chip::new("/dev/gpiochip1"); [INFO] [stdout] 9 | | let mut chip3 = Chip::new("/dev/gpiochip3"); [INFO] [stdout] 10 | | [INFO] [stdout] ... | [INFO] [stdout] 16 | | .request(LineRequestFlags::OUTPUT, 0, "stepper")?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 64 | | [INFO] [stdout] 65 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_lines` found for enum `Result` in the current scope [INFO] [stdout] --> src/main.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | .get_lines(vec![14, 15]) [INFO] [stdout] | ^^^^^^^^^ method not found in `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/main.rs:20:55 [INFO] [stdout] | [INFO] [stdout] 7 | / fn main() { [INFO] [stdout] 8 | | let mut chip1 = Chip::new("/dev/gpiochip1"); [INFO] [stdout] 9 | | let mut chip3 = Chip::new("/dev/gpiochip3"); [INFO] [stdout] 10 | | [INFO] [stdout] ... | [INFO] [stdout] 20 | | .request(LineRequestFlags::INPUT, 0, "switch")?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 64 | | [INFO] [stdout] 65 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[Vec]` cannot be indexed by `&u8` [INFO] [stdout] --> src/main.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | step_values = &half_steps[&step]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[Vec]>` is not implemented for `&u8` [INFO] [stdout] = note: required because of the requirements on the impl of `Index<&u8>` for `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[Vec]` cannot be indexed by `&u8` [INFO] [stdout] --> src/main.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | step_values = &half_steps[&step]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[Vec]>` is not implemented for `&u8` [INFO] [stdout] = note: required because of the requirements on the impl of `Index<&u8>` for `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stepper` due to 9 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the type `[Vec]` cannot be indexed by `&u8` [INFO] [stdout] --> src/main.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | step_values = &half_steps[&step]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[Vec]>` is not implemented for `&u8` [INFO] [stdout] = note: required because of the requirements on the impl of `Index<&u8>` for `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[Vec]` cannot be indexed by `&u8` [INFO] [stdout] --> src/main.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | step_values = &half_steps[&step]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[Vec]>` is not implemented for `&u8` [INFO] [stdout] = note: required because of the requirements on the impl of `Index<&u8>` for `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f38563745a6173419f93bde0ff63c3b34c2282d1cc682dd90a6ed6fab2e62c92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f38563745a6173419f93bde0ff63c3b34c2282d1cc682dd90a6ed6fab2e62c92", kill_on_drop: false }` [INFO] [stdout] f38563745a6173419f93bde0ff63c3b34c2282d1cc682dd90a6ed6fab2e62c92