[INFO] fetching crate ufo_rs 0.1.1...
[INFO] building ufo_rs-0.1.1 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] extracting crate ufo_rs 0.1.1 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate ufo_rs 0.1.1
[INFO] finished tweaking crates.io crate ufo_rs 0.1.1
[INFO] tweaked toml for crates.io crate ufo_rs 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate ufo_rs 0.1.1 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 1 package to latest compatible version
[INFO] [stderr]       Adding hex v0.3.2 (available: v0.4.3)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8624260031eeb72d8ca7d60681db34ef8ec37f4ae3a5d3b4c15cea254845a406
[INFO] running `Command { std: "docker" "start" "-a" "8624260031eeb72d8ca7d60681db34ef8ec37f4ae3a5d3b4c15cea254845a406", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8624260031eeb72d8ca7d60681db34ef8ec37f4ae3a5d3b4c15cea254845a406", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8624260031eeb72d8ca7d60681db34ef8ec37f4ae3a5d3b4c15cea254845a406", kill_on_drop: false }`
[INFO] [stdout] 8624260031eeb72d8ca7d60681db34ef8ec37f4ae3a5d3b4c15cea254845a406
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 47fb6c032fd6d4df6d532994859d965954b61a8780db5172bb341d59fe6b06a7
[INFO] running `Command { std: "docker" "start" "-a" "47fb6c032fd6d4df6d532994859d965954b61a8780db5172bb341d59fe6b06a7", kill_on_drop: false }`
[INFO] [stderr]    Compiling hex v0.3.2
[INFO] [stderr]    Compiling ufo_rs v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:204:29
[INFO] [stdout]     |
[INFO] [stdout] 204 |     fn backwards(&mut self, time: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:211:28
[INFO] [stdout]     |
[INFO] [stdout] 211 |     fn rot_left(&mut self, time: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:186:25
[INFO] [stdout]     |
[INFO] [stdout] 186 |     fn right(&mut self, time: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:190:22
[INFO] [stdout]     |
[INFO] [stdout] 190 |     fn up(&mut self, time: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:215:29
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn rot_right(&mut self, time: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:194:24
[INFO] [stdout]     |
[INFO] [stdout] 194 |     fn down(&mut self, time: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:200:28
[INFO] [stdout]     |
[INFO] [stdout] 200 |     fn forwards(&mut self, time: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:182:24
[INFO] [stdout]     |
[INFO] [stdout] 182 |     fn left(&mut self, time: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `bind_ip` and `bind_port` are never read
[INFO] [stdout]   --> src/lib.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct DroneUdpConnection {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] 59 |     /// Ip to listen on
[INFO] [stdout] 60 |     bind_ip: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 61 |     /// Port to listen on
[INFO] [stdout] 62 |     bind_port: String,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `bat_charge` and `bat_cap` are never read
[INFO] [stdout]    --> src/lib.rs:139:5
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub struct DroneStatus{
[INFO] [stdout]     |            ----------- fields in this struct
[INFO] [stdout] 138 |     /// Battery charge of the drone
[INFO] [stdout] 139 |     bat_charge: usize,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 140 |     /// Capacity of drone battery
[INFO] [stdout] 141 |     bat_cap: usize
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `bind_ip`, `bind_port`, `connect_ip`, and `connect_port` are never read
[INFO] [stdout]    --> src/lib.rs:146:5
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub struct DroneTcpConnection {
[INFO] [stdout]     |            ------------------ fields in this struct
[INFO] [stdout] 145 |     /// Ip to listen on
[INFO] [stdout] 146 |     bind_ip: String,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 147 |     /// Port to listen on
[INFO] [stdout] 148 |     bind_port: String,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 151 |     connect_ip: String,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 152 |     /// Port to connect to
[INFO] [stdout] 153 |     connect_port: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:166:9
[INFO] [stdout]     |
[INFO] [stdout] 166 |         self.connection.send_command(UdpHex::Land.value());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 166 |         let _ = self.connection.send_command(UdpHex::Land.value());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.07s
[INFO] running `Command { std: "docker" "inspect" "47fb6c032fd6d4df6d532994859d965954b61a8780db5172bb341d59fe6b06a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47fb6c032fd6d4df6d532994859d965954b61a8780db5172bb341d59fe6b06a7", kill_on_drop: false }`
[INFO] [stdout] 47fb6c032fd6d4df6d532994859d965954b61a8780db5172bb341d59fe6b06a7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1014094b7f685a45254f0d0fa763a4f31ab827db43a862faa7877d04159057bb
[INFO] running `Command { std: "docker" "start" "-a" "1014094b7f685a45254f0d0fa763a4f31ab827db43a862faa7877d04159057bb", kill_on_drop: false }`
[INFO] [stderr]    Compiling ufo_rs v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:204:29
[INFO] [stdout]     |
[INFO] [stdout] 204 |     fn backwards(&mut self, time: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:211:28
[INFO] [stdout]     |
[INFO] [stdout] 211 |     fn rot_left(&mut self, time: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:186:25
[INFO] [stdout]     |
[INFO] [stdout] 186 |     fn right(&mut self, time: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:190:22
[INFO] [stdout]     |
[INFO] [stdout] 190 |     fn up(&mut self, time: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:215:29
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn rot_right(&mut self, time: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:194:24
[INFO] [stdout]     |
[INFO] [stdout] 194 |     fn down(&mut self, time: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:200:28
[INFO] [stdout]     |
[INFO] [stdout] 200 |     fn forwards(&mut self, time: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:182:24
[INFO] [stdout]     |
[INFO] [stdout] 182 |     fn left(&mut self, time: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `bind_ip` and `bind_port` are never read
[INFO] [stdout]   --> src/lib.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct DroneUdpConnection {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] 59 |     /// Ip to listen on
[INFO] [stdout] 60 |     bind_ip: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 61 |     /// Port to listen on
[INFO] [stdout] 62 |     bind_port: String,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `bat_charge` and `bat_cap` are never read
[INFO] [stdout]    --> src/lib.rs:139:5
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub struct DroneStatus{
[INFO] [stdout]     |            ----------- fields in this struct
[INFO] [stdout] 138 |     /// Battery charge of the drone
[INFO] [stdout] 139 |     bat_charge: usize,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 140 |     /// Capacity of drone battery
[INFO] [stdout] 141 |     bat_cap: usize
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `bind_ip`, `bind_port`, `connect_ip`, and `connect_port` are never read
[INFO] [stdout]    --> src/lib.rs:146:5
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub struct DroneTcpConnection {
[INFO] [stdout]     |            ------------------ fields in this struct
[INFO] [stdout] 145 |     /// Ip to listen on
[INFO] [stdout] 146 |     bind_ip: String,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 147 |     /// Port to listen on
[INFO] [stdout] 148 |     bind_port: String,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 151 |     connect_ip: String,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 152 |     /// Port to connect to
[INFO] [stdout] 153 |     connect_port: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:166:9
[INFO] [stdout]     |
[INFO] [stdout] 166 |         self.connection.send_command(UdpHex::Land.value());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 166 |         let _ = self.connection.send_command(UdpHex::Land.value());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ufo_rs::traits::drone::*`
[INFO] [stdout]  --> examples/h61-forward-march.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use ufo_rs::traits::drone::*;
[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: `ufo_rs::traits::drone::*`
[INFO] [stdout]  --> examples/h61-takeoff-landing.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use ufo_rs::traits::drone::*;
[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 variable: `e`
[INFO] [stdout]   --> examples/h61-hover.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         Err(e) => panic!("Connection Error, check connection to drone"),
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> examples/h61-takeoff-landing.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         Err(e) => panic!("Connection Error, check connection to drone"),
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> examples/h61-forward-march.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         Err(e) => panic!("Connection Error, check connection to drone"),
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:182:24
[INFO] [stdout]     |
[INFO] [stdout] 182 |     fn left(&mut self, time: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:186:25
[INFO] [stdout]     |
[INFO] [stdout] 186 |     fn right(&mut self, time: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:190:22
[INFO] [stdout]     |
[INFO] [stdout] 190 |     fn up(&mut self, time: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:204:29
[INFO] [stdout]     |
[INFO] [stdout] 204 |     fn backwards(&mut self, time: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:200:28
[INFO] [stdout]     |
[INFO] [stdout] 200 |     fn forwards(&mut self, time: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:194:24
[INFO] [stdout]     |
[INFO] [stdout] 194 |     fn down(&mut self, time: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:211:28
[INFO] [stdout]     |
[INFO] [stdout] 211 |     fn rot_left(&mut self, time: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:215:29
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn rot_right(&mut self, time: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `bind_ip` and `bind_port` are never read
[INFO] [stdout]   --> src/lib.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct DroneUdpConnection {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] 59 |     /// Ip to listen on
[INFO] [stdout] 60 |     bind_ip: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 61 |     /// Port to listen on
[INFO] [stdout] 62 |     bind_port: String,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `bat_charge` and `bat_cap` are never read
[INFO] [stdout]    --> src/lib.rs:139:5
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub struct DroneStatus{
[INFO] [stdout]     |            ----------- fields in this struct
[INFO] [stdout] 138 |     /// Battery charge of the drone
[INFO] [stdout] 139 |     bat_charge: usize,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 140 |     /// Capacity of drone battery
[INFO] [stdout] 141 |     bat_cap: usize
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `bind_ip`, `bind_port`, `connect_ip`, and `connect_port` are never read
[INFO] [stdout]    --> src/lib.rs:146:5
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub struct DroneTcpConnection {
[INFO] [stdout]     |            ------------------ fields in this struct
[INFO] [stdout] 145 |     /// Ip to listen on
[INFO] [stdout] 146 |     bind_ip: String,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 147 |     /// Port to listen on
[INFO] [stdout] 148 |     bind_port: String,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 151 |     connect_ip: String,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 152 |     /// Port to connect to
[INFO] [stdout] 153 |     connect_port: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/drones/jjrc/h61.rs:166:9
[INFO] [stdout]     |
[INFO] [stdout] 166 |         self.connection.send_command(UdpHex::Land.value());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 166 |         let _ = self.connection.send_command(UdpHex::Land.value());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> examples/h61-rotate90.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         Err(e) => panic!("Connection Error, check connection to drone"),
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s
[INFO] running `Command { std: "docker" "inspect" "1014094b7f685a45254f0d0fa763a4f31ab827db43a862faa7877d04159057bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1014094b7f685a45254f0d0fa763a4f31ab827db43a862faa7877d04159057bb", kill_on_drop: false }`
[INFO] [stdout] 1014094b7f685a45254f0d0fa763a4f31ab827db43a862faa7877d04159057bb
