[INFO] cloning repository https://github.com/swapsCAPS/hexapod
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/swapsCAPS/hexapod" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FswapsCAPS%2Fhexapod", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FswapsCAPS%2Fhexapod'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 13d9e452f9ca34b94b5533db44f4b727466169d0
[INFO] checking swapsCAPS/hexapod against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FswapsCAPS%2Fhexapod" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/swapsCAPS/hexapod
[INFO] finished tweaking git repo https://github.com/swapsCAPS/hexapod
[INFO] tweaked toml for git repo https://github.com/swapsCAPS/hexapod written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/swapsCAPS/hexapod on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/swapsCAPS/hexapod 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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/querry43/i2c-pca9685`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 1 package to highest compatible version
[INFO] [stderr]       Adding i2c-pca9685 v0.1.9-pre (https://github.com/querry43/i2c-pca9685?branch=master#4b0ddf24)
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded winapi-util v0.1.2
[INFO] [stderr]   Downloaded same-file v1.0.4
[INFO] [stderr]   Downloaded i2cdev v0.3.2
[INFO] [stderr]   Downloaded skeptic v0.13.4
[INFO] [stderr]   Downloaded walkdir v2.2.7
[INFO] [stderr]   Downloaded tempdir v0.3.7
[INFO] [stderr]   Downloaded cargo_metadata v0.6.4
[INFO] [stderr]   Downloaded remove_dir_all v0.5.1
[INFO] [stderr]   Downloaded bytecount v0.4.0
[INFO] [stderr]   Downloaded itoa v0.4.3
[INFO] [stderr]   Downloaded bytes v0.4.12
[INFO] [stderr]   Downloaded rustc-demangle v0.1.13
[INFO] [stderr]   Downloaded semver v0.9.0
[INFO] [stderr]   Downloaded glob v0.2.11
[INFO] [stderr]   Downloaded byteorder v1.3.1
[INFO] [stderr]   Downloaded backtrace v0.3.15
[INFO] [stderr]   Downloaded iovec v0.1.2
[INFO] [stderr]   Downloaded serde_derive v1.0.90
[INFO] [stderr]   Downloaded quote v0.6.11
[INFO] [stderr]   Downloaded serde_json v1.0.39
[INFO] [stderr]   Downloaded ryu v0.2.7
[INFO] [stderr]   Downloaded error-chain v0.12.0
[INFO] [stderr]   Downloaded cc v1.0.34
[INFO] [stderr]   Downloaded gcc v0.3.55
[INFO] [stderr]   Downloaded serde v1.0.90
[INFO] [stderr]   Downloaded rand v0.4.6
[INFO] [stderr]   Downloaded nix v0.10.0
[INFO] [stderr]   Downloaded syn v0.15.30
[INFO] [stderr]   Downloaded pulldown-cmark v0.2.0
[INFO] [stderr]   Downloaded backtrace-sys v0.1.28
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 73013483e5547eede28e930255c7d0b857a37159cc54cd8334b039c8f9d8e9d7
[INFO] running `Command { std: "docker" "start" "73013483e5547eede28e930255c7d0b857a37159cc54cd8334b039c8f9d8e9d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "73013483e5547eede28e930255c7d0b857a37159cc54cd8334b039c8f9d8e9d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "73013483e5547eede28e930255c7d0b857a37159cc54cd8334b039c8f9d8e9d7" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "73013483e5547eede28e930255c7d0b857a37159cc54cd8334b039c8f9d8e9d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "73013483e5547eede28e930255c7d0b857a37159cc54cd8334b039c8f9d8e9d7" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.51
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]    Compiling cc v1.0.34
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]    Compiling serde v1.0.90
[INFO] [stderr]    Compiling syn v0.15.30
[INFO] [stderr]    Compiling ryu v0.2.7
[INFO] [stderr]    Compiling cfg-if v0.1.7
[INFO] [stderr]    Compiling rustc-demangle v0.1.13
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling itoa v0.4.3
[INFO] [stderr]    Compiling pulldown-cmark v0.2.0
[INFO] [stderr]    Compiling bitflags v1.0.4
[INFO] [stderr]    Compiling backtrace v0.3.15
[INFO] [stderr]    Compiling same-file v1.0.4
[INFO] [stderr]    Compiling remove_dir_all v0.5.1
[INFO] [stderr]    Compiling walkdir v2.2.7
[INFO] [stderr]    Compiling glob v0.2.11
[INFO] [stderr]    Compiling bytecount v0.4.0
[INFO] [stderr]    Compiling byteorder v1.3.1
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling quote v0.6.11
[INFO] [stderr]    Compiling nix v0.10.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling backtrace-sys v0.1.28
[INFO] [stderr]     Checking iovec v0.1.2
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]    Compiling error-chain v0.12.0
[INFO] [stderr]    Compiling serde_derive v1.0.90
[INFO] [stderr]    Compiling serde_json v1.0.39
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling cargo_metadata v0.6.4
[INFO] [stderr]    Compiling skeptic v0.13.4
[INFO] [stderr]    Compiling i2cdev v0.3.2
[INFO] [stderr]    Compiling i2c-pca9685 v0.1.9-pre (https://github.com/querry43/i2c-pca9685?branch=master#4b0ddf24)
[INFO] [stderr]     Checking hexapod v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:129:7
[INFO] [stdout]     |
[INFO] [stdout] 129 |       _ => {
[INFO] [stdout]     |       ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/main.rs:129:7
[INFO] [stdout]     |
[INFO] [stdout]  85 |       Side::Left => {
[INFO] [stdout]     |       ---------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 107 |       Side::Right => {
[INFO] [stdout]     |       ----------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 129 |       _ => {
[INFO] [stdout]     |       ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:102:11
[INFO] [stdout]     |
[INFO] [stdout] 102 |           _ => {
[INFO] [stdout]     |           ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/main.rs:102:11
[INFO] [stdout]     |
[INFO] [stdout]  87 |           LegType::Front => {
[INFO] [stdout]     |           -------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  92 |           LegType::Middle => {
[INFO] [stdout]     |           --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  97 |           LegType::Back => {
[INFO] [stdout]     |           ------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 102 |           _ => {
[INFO] [stdout]     |           ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:124:11
[INFO] [stdout]     |
[INFO] [stdout] 124 |           _ => {
[INFO] [stdout]     |           ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/main.rs:124:11
[INFO] [stdout]     |
[INFO] [stdout] 109 |           LegType::Front => {
[INFO] [stdout]     |           -------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 114 |           LegType::Middle => {
[INFO] [stdout]     |           --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 119 |           LegType::Back => {
[INFO] [stdout]     |           ------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 124 |           _ => {
[INFO] [stdout]     |           ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:156:7
[INFO] [stdout]     |
[INFO] [stdout] 156 |       _ => {
[INFO] [stdout]     |       ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/main.rs:156:7
[INFO] [stdout]     |
[INFO] [stdout] 147 |       LegType::Front => {
[INFO] [stdout]     |       -------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 150 |       LegType::Middle => {
[INFO] [stdout]     |       --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 153 |       LegType::Back => {
[INFO] [stdout]     |       ------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 156 |       _ => {
[INFO] [stdout]     |       ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:173:7
[INFO] [stdout]     |
[INFO] [stdout] 173 |       _ => {
[INFO] [stdout]     |       ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/main.rs:173:7
[INFO] [stdout]     |
[INFO] [stdout] 164 |       LegType::Front => {
[INFO] [stdout]     |       -------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 167 |       LegType::Middle => {
[INFO] [stdout]     |       --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 170 |       LegType::Back => {
[INFO] [stdout]     |       ------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 173 |       _ => {
[INFO] [stdout]     |       ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `speed`
[INFO] [stdout]    --> src/main.rs:179:33
[INFO] [stdout]     |
[INFO] [stdout] 179 |   fn step(&mut self, _dir: u16, speed: u64) {
[INFO] [stdout]     |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dir`
[INFO] [stdout]    --> src/main.rs:245:24
[INFO] [stdout]     |
[INFO] [stdout] 245 |   fn step_a(&mut self, dir: u16, speed: u64) {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `speed`
[INFO] [stdout]    --> src/main.rs:245:34
[INFO] [stdout]     |
[INFO] [stdout] 245 |   fn step_a(&mut self, dir: u16, speed: u64) {
[INFO] [stdout]     |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dir`
[INFO] [stdout]    --> src/main.rs:275:24
[INFO] [stdout]     |
[INFO] [stdout] 275 |   fn step_b(&mut self, dir: u16, speed: u64) {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `speed`
[INFO] [stdout]    --> src/main.rs:275:34
[INFO] [stdout]     |
[INFO] [stdout] 275 |   fn step_b(&mut self, dir: u16, speed: u64) {
[INFO] [stdout]     |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `max` is never read
[INFO] [stdout]   --> src/main.rs:26:3
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct Joint<'a> {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |   max:           u16,
[INFO] [stdout]    |   ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `test` is never used
[INFO] [stdout]   --> src/main.rs:44:6
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl<'a> Joint<'a> {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |   fn test(&self) {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `lower`, `raise`, `forward`, `backward`, and `step` are never used
[INFO] [stdout]    --> src/main.rs:79:6
[INFO] [stdout]     |
[INFO] [stdout]  78 | impl<'a> Leg<'a> {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout]  79 |   fn new(side: Side, leg_type: LegType, pelvis: Joint<'a>, knee: Joint<'a>, ankle: Joint<'a>) -> Leg<'a> {
[INFO] [stdout]     |      ^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |   fn lower(&mut self) {
[INFO] [stdout]     |      ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |   fn raise(&mut self) {
[INFO] [stdout]     |      ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |   fn forward(&mut self) {
[INFO] [stdout]     |      ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |   fn backward(&mut self) {
[INFO] [stdout]     |      ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |   fn step(&mut self, _dir: u16, speed: u64) {
[INFO] [stdout]     |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/main.rs:31:25
[INFO] [stdout]    |
[INFO] [stdout] 31 |   fn new(servo_wrapper: &ServoWrapper, pin: u8, min: u16, max: u16) -> Joint {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ the lifetime is elided here      ^^^^^ 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] 31 |   fn new(servo_wrapper: &ServoWrapper, pin: u8, min: u16, max: u16) -> Joint<'_> {
[INFO] [stdout]    |                                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:129:7
[INFO] [stdout]     |
[INFO] [stdout] 129 |       _ => {
[INFO] [stdout]     |       ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/main.rs:129:7
[INFO] [stdout]     |
[INFO] [stdout]  85 |       Side::Left => {
[INFO] [stdout]     |       ---------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 107 |       Side::Right => {
[INFO] [stdout]     |       ----------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 129 |       _ => {
[INFO] [stdout]     |       ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:102:11
[INFO] [stdout]     |
[INFO] [stdout] 102 |           _ => {
[INFO] [stdout]     |           ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/main.rs:102:11
[INFO] [stdout]     |
[INFO] [stdout]  87 |           LegType::Front => {
[INFO] [stdout]     |           -------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  92 |           LegType::Middle => {
[INFO] [stdout]     |           --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  97 |           LegType::Back => {
[INFO] [stdout]     |           ------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 102 |           _ => {
[INFO] [stdout]     |           ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:124:11
[INFO] [stdout]     |
[INFO] [stdout] 124 |           _ => {
[INFO] [stdout]     |           ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/main.rs:124:11
[INFO] [stdout]     |
[INFO] [stdout] 109 |           LegType::Front => {
[INFO] [stdout]     |           -------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 114 |           LegType::Middle => {
[INFO] [stdout]     |           --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 119 |           LegType::Back => {
[INFO] [stdout]     |           ------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 124 |           _ => {
[INFO] [stdout]     |           ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:156:7
[INFO] [stdout]     |
[INFO] [stdout] 156 |       _ => {
[INFO] [stdout]     |       ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/main.rs:156:7
[INFO] [stdout]     |
[INFO] [stdout] 147 |       LegType::Front => {
[INFO] [stdout]     |       -------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 150 |       LegType::Middle => {
[INFO] [stdout]     |       --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 153 |       LegType::Back => {
[INFO] [stdout]     |       ------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 156 |       _ => {
[INFO] [stdout]     |       ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:173:7
[INFO] [stdout]     |
[INFO] [stdout] 173 |       _ => {
[INFO] [stdout]     |       ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/main.rs:173:7
[INFO] [stdout]     |
[INFO] [stdout] 164 |       LegType::Front => {
[INFO] [stdout]     |       -------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 167 |       LegType::Middle => {
[INFO] [stdout]     |       --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 170 |       LegType::Back => {
[INFO] [stdout]     |       ------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 173 |       _ => {
[INFO] [stdout]     |       ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `speed`
[INFO] [stdout]    --> src/main.rs:179:33
[INFO] [stdout]     |
[INFO] [stdout] 179 |   fn step(&mut self, _dir: u16, speed: u64) {
[INFO] [stdout]     |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dir`
[INFO] [stdout]    --> src/main.rs:245:24
[INFO] [stdout]     |
[INFO] [stdout] 245 |   fn step_a(&mut self, dir: u16, speed: u64) {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `speed`
[INFO] [stdout]    --> src/main.rs:245:34
[INFO] [stdout]     |
[INFO] [stdout] 245 |   fn step_a(&mut self, dir: u16, speed: u64) {
[INFO] [stdout]     |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dir`
[INFO] [stdout]    --> src/main.rs:275:24
[INFO] [stdout]     |
[INFO] [stdout] 275 |   fn step_b(&mut self, dir: u16, speed: u64) {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `speed`
[INFO] [stdout]    --> src/main.rs:275:34
[INFO] [stdout]     |
[INFO] [stdout] 275 |   fn step_b(&mut self, dir: u16, speed: u64) {
[INFO] [stdout]     |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ServoWrapper` is never constructed
[INFO] [stdout]   --> src/main.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct ServoWrapper {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/main.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl ServoWrapper {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 14 |   fn new(address: u16) -> ServoWrapper {
[INFO] [stdout]    |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Joint` is never constructed
[INFO] [stdout]   --> src/main.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct Joint<'a> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `mv`, and `test` are never used
[INFO] [stdout]   --> src/main.rs:31:6
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl<'a> Joint<'a> {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 31 |   fn new(servo_wrapper: &ServoWrapper, pin: u8, min: u16, max: u16) -> Joint {
[INFO] [stdout]    |      ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |   fn mv(&mut self, degrees: u16) {
[INFO] [stdout]    |      ^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |   fn test(&self) {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `LegType` is never used
[INFO] [stdout]   --> src/main.rs:63:6
[INFO] [stdout]    |
[INFO] [stdout] 63 | enum LegType { Front, Middle, Back }
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Side` is never used
[INFO] [stdout]   --> src/main.rs:66:6
[INFO] [stdout]    |
[INFO] [stdout] 66 | enum Side { Left, Right }
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Leg` is never constructed
[INFO] [stdout]   --> src/main.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | struct Leg<'a> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/main.rs:79:6
[INFO] [stdout]     |
[INFO] [stdout]  78 | impl<'a> Leg<'a> {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout]  79 |   fn new(side: Side, leg_type: LegType, pelvis: Joint<'a>, knee: Joint<'a>, ankle: Joint<'a>) -> Leg<'a> {
[INFO] [stdout]     |      ^^^
[INFO] [stdout] ...
[INFO] [stdout]  83 |   fn reset(&mut self) {
[INFO] [stdout]     |      ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |   fn lower(&mut self) {
[INFO] [stdout]     |      ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |   fn raise(&mut self) {
[INFO] [stdout]     |      ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |   fn forward(&mut self) {
[INFO] [stdout]     |      ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |   fn backward(&mut self) {
[INFO] [stdout]     |      ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |   fn step(&mut self, _dir: u16, speed: u64) {
[INFO] [stdout]     |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Brain` is never constructed
[INFO] [stdout]    --> src/main.rs:187:8
[INFO] [stdout]     |
[INFO] [stdout] 187 | struct Brain<'a> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `step_a`, `step_b`, and `walk` are never used
[INFO] [stdout]    --> src/main.rs:196:6
[INFO] [stdout]     |
[INFO] [stdout] 195 | impl<'a> Brain<'a> {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 196 |   fn new(left: &'a ServoWrapper, right: &'a ServoWrapper) -> Brain<'a> {
[INFO] [stdout]     |      ^^^
[INFO] [stdout] ...
[INFO] [stdout] 245 |   fn step_a(&mut self, dir: u16, speed: u64) {
[INFO] [stdout]     |      ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 275 |   fn step_b(&mut self, dir: u16, speed: u64) {
[INFO] [stdout]     |      ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 310 |   fn walk(&mut self, dir: u16, speed: u64) {
[INFO] [stdout]     |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/main.rs:31:25
[INFO] [stdout]    |
[INFO] [stdout] 31 |   fn new(servo_wrapper: &ServoWrapper, pin: u8, min: u16, max: u16) -> Joint {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ the lifetime is elided here      ^^^^^ 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] 31 |   fn new(servo_wrapper: &ServoWrapper, pin: u8, min: u16, max: u16) -> Joint<'_> {
[INFO] [stdout]    |                                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.88s
[INFO] running `Command { std: "docker" "inspect" "73013483e5547eede28e930255c7d0b857a37159cc54cd8334b039c8f9d8e9d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "73013483e5547eede28e930255c7d0b857a37159cc54cd8334b039c8f9d8e9d7", kill_on_drop: false }`
[INFO] [stdout] 73013483e5547eede28e930255c7d0b857a37159cc54cd8334b039c8f9d8e9d7
