[INFO] fetching crate ufo_rs 0.1.1...
[INFO] checking ufo_rs-0.1.1 against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] extracting crate ufo_rs 0.1.1 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate ufo_rs 0.1.1 on toolchain 507271bc119683008ec719ecee48814e8ac86c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "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" "+507271bc119683008ec719ecee48814e8ac86c65" "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" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f9f45bb3901d0cd71d410ab96fd5ce6c40bbf59249f7796bd49ffe7fa9c81d77
[INFO] running `Command { std: "docker" "start" "-a" "f9f45bb3901d0cd71d410ab96fd5ce6c40bbf59249f7796bd49ffe7fa9c81d77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f9f45bb3901d0cd71d410ab96fd5ce6c40bbf59249f7796bd49ffe7fa9c81d77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9f45bb3901d0cd71d410ab96fd5ce6c40bbf59249f7796bd49ffe7fa9c81d77", kill_on_drop: false }`
[INFO] [stdout] f9f45bb3901d0cd71d410ab96fd5ce6c40bbf59249f7796bd49ffe7fa9c81d77
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3d199130184000152e9c54fa63ee542180dcd84ad077a6750bce8d8001d5cd50
[INFO] running `Command { std: "docker" "start" "-a" "3d199130184000152e9c54fa63ee542180dcd84ad077a6750bce8d8001d5cd50", kill_on_drop: false }`
[INFO] [stderr]     Checking hex v0.3.2
[INFO] [stderr]     Checking ufo_rs v0.1.1 (/opt/rustwide/workdir)
[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: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: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: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: `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: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: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: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 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-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-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 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 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: `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 `dev` profile [unoptimized + debuginfo] target(s) in 1.03s
[INFO] running `Command { std: "docker" "inspect" "3d199130184000152e9c54fa63ee542180dcd84ad077a6750bce8d8001d5cd50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d199130184000152e9c54fa63ee542180dcd84ad077a6750bce8d8001d5cd50", kill_on_drop: false }`
[INFO] [stdout] 3d199130184000152e9c54fa63ee542180dcd84ad077a6750bce8d8001d5cd50
