[INFO] fetching crate driver-station 0.0.2... [INFO] testing driver-station-0.0.2 against 1.90.0 for beta-1.91-3 [INFO] extracting crate driver-station 0.0.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate driver-station 0.0.2 [INFO] finished tweaking crates.io crate driver-station 0.0.2 [INFO] tweaked toml for crates.io crate driver-station 0.0.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate driver-station 0.0.2 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate driver-station 0.0.2 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.48.0 [INFO] [stderr] Downloaded serde v1.0.163 [INFO] [stderr] Downloaded local-ip-address v0.5.3 [INFO] [stderr] Downloaded either v1.8.1 [INFO] [stderr] Downloaded thiserror v1.0.40 [INFO] [stderr] Downloaded log v0.4.18 [INFO] [stderr] Downloaded neli v0.6.4 [INFO] [stderr] Downloaded unicode-ident v1.0.9 [INFO] [stderr] Downloaded proc-macro2 v1.0.59 [INFO] [stderr] Downloaded neli-proc-macros v0.1.3 [INFO] [stderr] Downloaded thiserror-impl v1.0.40 [INFO] [stderr] Downloaded serde_derive v1.0.163 [INFO] [stderr] Downloaded quote v1.0.28 [INFO] [stderr] Downloaded syn v2.0.18 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.48.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.48.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.48.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.48.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.48.0 [INFO] [stderr] Downloaded libc v0.2.146 [INFO] [stderr] Downloaded windows_i686_gnu v0.48.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.48.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4491e1a55d350e53a2f37cfcb21b6d22b52c47acd3d550d7f8eb40dce937dfb0 [INFO] running `Command { std: "docker" "start" "-a" "4491e1a55d350e53a2f37cfcb21b6d22b52c47acd3d550d7f8eb40dce937dfb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4491e1a55d350e53a2f37cfcb21b6d22b52c47acd3d550d7f8eb40dce937dfb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4491e1a55d350e53a2f37cfcb21b6d22b52c47acd3d550d7f8eb40dce937dfb0", kill_on_drop: false }` [INFO] [stdout] 4491e1a55d350e53a2f37cfcb21b6d22b52c47acd3d550d7f8eb40dce937dfb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d10bafdc640c89db964251f61c86d6e549b5c4408aba0fb3043e6450382e82e3 [INFO] running `Command { std: "docker" "start" "-a" "d10bafdc640c89db964251f61c86d6e549b5c4408aba0fb3043e6450382e82e3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.59 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling serde_derive v1.0.163 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling neli-proc-macros v0.1.3 [INFO] [stderr] Compiling neli v0.6.4 [INFO] [stderr] Compiling local-ip-address v0.5.3 [INFO] [stderr] Compiling driver-station v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `team_number` is never read [INFO] [stdout] --> src/driverstation.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DriverStation { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 23 | team_number: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/driverstation.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct FromRioUdpPacket { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 90 | sequence: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 91 | e_stopped: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 92 | brownout: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 93 | code_start: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 94 | enabled: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 95 | mode: Mode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 96 | robot_code: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 97 | is_rio: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 98 | test: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 99 | autonomous: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 100 | teleop_code: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 101 | disabled: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 102 | battery: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 103 | request_date: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `joysticks`, `left_rumble`, and `right_rumble` are never read [INFO] [stdout] --> src/driverstation.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct JoystickOutput { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 214 | joysticks: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 215 | left_rumble: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 216 | right_rumble: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytes_available` is never read [INFO] [stdout] --> src/driverstation.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct DiskInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 220 | bytes_available: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cpu_count`, `cpu_time_critical_per`, `cpu_above_normal_per`, `cpu_normal_per`, and `cpu_low_per` are never read [INFO] [stdout] --> src/driverstation.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 223 | pub struct CpuInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 224 | cpu_count: f32, // 0x02 on RoboRIO [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 225 | cpu_time_critical_per: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 226 | cpu_above_normal_per: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 227 | cpu_normal_per: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 228 | cpu_low_per: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block` and `free_space` are never read [INFO] [stdout] --> src/driverstation.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct RamInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 233 | block: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 234 | free_space: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/driverstation.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 238 | pub struct PdpLog { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 239 | unknown: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 240 | pdp_stats_1: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 241 | pdp_stats_2: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 242 | pdp_stats_3: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 243 | pdp_stats_4: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 244 | unknown_2: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 245 | unknown_3: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sec_1` and `sec_2` are never read [INFO] [stdout] --> src/driverstation.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 248 | pub struct UnknownTag { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 249 | sec_1: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 250 | sec_2: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `utilization`, `bus_off`, `tx_full`, `rx_errors`, and `tx_errors` are never read [INFO] [stdout] --> src/driverstation.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 253 | pub struct CanMetrics { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 254 | utilization: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 255 | bus_off: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 256 | tx_full: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 257 | rx_errors: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 258 | tx_errors: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alliance_from_int` is never used [INFO] [stdout] --> src/driverstation.rs:281:4 [INFO] [stdout] | [INFO] [stdout] 281 | fn alliance_from_int(num: u8) -> Alliance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.93s [INFO] running `Command { std: "docker" "inspect" "d10bafdc640c89db964251f61c86d6e549b5c4408aba0fb3043e6450382e82e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d10bafdc640c89db964251f61c86d6e549b5c4408aba0fb3043e6450382e82e3", kill_on_drop: false }` [INFO] [stdout] d10bafdc640c89db964251f61c86d6e549b5c4408aba0fb3043e6450382e82e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d013fee0c75ed97e7e3820501b3abe543e69101ff43c07985aace36fd8b4ea9 [INFO] running `Command { std: "docker" "start" "-a" "2d013fee0c75ed97e7e3820501b3abe543e69101ff43c07985aace36fd8b4ea9", kill_on_drop: false }` [INFO] [stdout] warning: field `team_number` is never read [INFO] [stdout] --> src/driverstation.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DriverStation { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 23 | team_number: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/driverstation.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct FromRioUdpPacket { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 90 | sequence: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 91 | e_stopped: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 92 | brownout: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 93 | code_start: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 94 | enabled: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 95 | mode: Mode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 96 | robot_code: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 97 | is_rio: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 98 | test: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 99 | autonomous: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 100 | teleop_code: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 101 | disabled: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 102 | battery: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 103 | request_date: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `joysticks`, `left_rumble`, and `right_rumble` are never read [INFO] [stdout] --> src/driverstation.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct JoystickOutput { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 214 | joysticks: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 215 | left_rumble: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 216 | right_rumble: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytes_available` is never read [INFO] [stdout] --> src/driverstation.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct DiskInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 220 | bytes_available: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cpu_count`, `cpu_time_critical_per`, `cpu_above_normal_per`, `cpu_normal_per`, and `cpu_low_per` are never read [INFO] [stdout] --> src/driverstation.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 223 | pub struct CpuInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 224 | cpu_count: f32, // 0x02 on RoboRIO [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 225 | cpu_time_critical_per: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 226 | cpu_above_normal_per: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 227 | cpu_normal_per: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 228 | cpu_low_per: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block` and `free_space` are never read [INFO] [stdout] --> src/driverstation.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct RamInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 233 | block: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 234 | free_space: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/driverstation.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 238 | pub struct PdpLog { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 239 | unknown: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 240 | pdp_stats_1: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 241 | pdp_stats_2: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 242 | pdp_stats_3: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 243 | pdp_stats_4: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 244 | unknown_2: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 245 | unknown_3: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sec_1` and `sec_2` are never read [INFO] [stdout] --> src/driverstation.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 248 | pub struct UnknownTag { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 249 | sec_1: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 250 | sec_2: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `utilization`, `bus_off`, `tx_full`, `rx_errors`, and `tx_errors` are never read [INFO] [stdout] --> src/driverstation.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 253 | pub struct CanMetrics { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 254 | utilization: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 255 | bus_off: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 256 | tx_full: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 257 | rx_errors: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 258 | tx_errors: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alliance_from_int` is never used [INFO] [stdout] --> src/driverstation.rs:281:4 [INFO] [stdout] | [INFO] [stdout] 281 | fn alliance_from_int(num: u8) -> Alliance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling driver-station v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `driver_station_rs` [INFO] [stdout] --> examples/simple.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use driver_station_rs::driverstation::DriverStation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `driver_station_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 - use driver_station_rs::driverstation::DriverStation; [INFO] [stdout] 1 + use driver_station::driverstation::DriverStation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `driver_station_rs` [INFO] [stdout] --> examples/simple.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use driver_station_rs::driverstation::state::DriverStationState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `driver_station_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 - use driver_station_rs::driverstation::state::DriverStationState; [INFO] [stdout] 2 + use driver_station::driverstation::state::DriverStationState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/simple.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/simple.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: field `team_number` is never read [INFO] [stdout] --> src/driverstation.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DriverStation { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 23 | team_number: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/driverstation.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct FromRioUdpPacket { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 90 | sequence: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 91 | e_stopped: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 92 | brownout: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 93 | code_start: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 94 | enabled: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 95 | mode: Mode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 96 | robot_code: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 97 | is_rio: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 98 | test: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 99 | autonomous: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 100 | teleop_code: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 101 | disabled: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 102 | battery: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 103 | request_date: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `joysticks`, `left_rumble`, and `right_rumble` are never read [INFO] [stdout] --> src/driverstation.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct JoystickOutput { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 214 | joysticks: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 215 | left_rumble: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 216 | right_rumble: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytes_available` is never read [INFO] [stdout] --> src/driverstation.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct DiskInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 220 | bytes_available: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cpu_count`, `cpu_time_critical_per`, `cpu_above_normal_per`, `cpu_normal_per`, and `cpu_low_per` are never read [INFO] [stdout] --> src/driverstation.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 223 | pub struct CpuInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 224 | cpu_count: f32, // 0x02 on RoboRIO [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 225 | cpu_time_critical_per: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 226 | cpu_above_normal_per: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 227 | cpu_normal_per: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 228 | cpu_low_per: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block` and `free_space` are never read [INFO] [stdout] --> src/driverstation.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct RamInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 233 | block: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 234 | free_space: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/driverstation.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 238 | pub struct PdpLog { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 239 | unknown: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 240 | pdp_stats_1: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 241 | pdp_stats_2: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 242 | pdp_stats_3: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 243 | pdp_stats_4: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 244 | unknown_2: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 245 | unknown_3: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sec_1` and `sec_2` are never read [INFO] [stdout] --> src/driverstation.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 248 | pub struct UnknownTag { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 249 | sec_1: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 250 | sec_2: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `utilization`, `bus_off`, `tx_full`, `rx_errors`, and `tx_errors` are never read [INFO] [stdout] --> src/driverstation.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 253 | pub struct CanMetrics { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 254 | utilization: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 255 | bus_off: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 256 | tx_full: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 257 | rx_errors: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 258 | tx_errors: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alliance_from_int` is never used [INFO] [stdout] --> src/driverstation.rs:281:4 [INFO] [stdout] | [INFO] [stdout] 281 | fn alliance_from_int(num: u8) -> Alliance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `driver-station` (example "simple") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2d013fee0c75ed97e7e3820501b3abe543e69101ff43c07985aace36fd8b4ea9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d013fee0c75ed97e7e3820501b3abe543e69101ff43c07985aace36fd8b4ea9", kill_on_drop: false }` [INFO] [stdout] 2d013fee0c75ed97e7e3820501b3abe543e69101ff43c07985aace36fd8b4ea9