[INFO] fetching crate ufo_rs 0.1.1... [INFO] checking ufo_rs-0.1.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [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 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c6bf3151726b0b03447f8342079a3b76419fdbff7dbd8e53f73edd1ce4635c7 [INFO] running `Command { std: "docker" "start" "-a" "0c6bf3151726b0b03447f8342079a3b76419fdbff7dbd8e53f73edd1ce4635c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c6bf3151726b0b03447f8342079a3b76419fdbff7dbd8e53f73edd1ce4635c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c6bf3151726b0b03447f8342079a3b76419fdbff7dbd8e53f73edd1ce4635c7", kill_on_drop: false }` [INFO] [stdout] 0c6bf3151726b0b03447f8342079a3b76419fdbff7dbd8e53f73edd1ce4635c7 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4aeb3c7c10fa70933197aa1b6ae707e54631cebefa3f06f11e11e180be89cf01 [INFO] running `Command { std: "docker" "start" "-a" "4aeb3c7c10fa70933197aa1b6ae707e54631cebefa3f06f11e11e180be89cf01", 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> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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> { [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> { [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> { [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> { [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> { [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> { [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> { [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> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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> { [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> { [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> { [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> { [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> { [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> { [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> { [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)]` 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: 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)]` 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)]` 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 `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)]` 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)]` 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)]` 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)]` 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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "4aeb3c7c10fa70933197aa1b6ae707e54631cebefa3f06f11e11e180be89cf01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aeb3c7c10fa70933197aa1b6ae707e54631cebefa3f06f11e11e180be89cf01", kill_on_drop: false }` [INFO] [stdout] 4aeb3c7c10fa70933197aa1b6ae707e54631cebefa3f06f11e11e180be89cf01