[INFO] cloning repository https://github.com/brandonphelps/borg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brandonphelps/borg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrandonphelps%2Fborg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrandonphelps%2Fborg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f90354323ee8b3a3c79884137d4c486153134f4a [INFO] building brandonphelps/borg against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrandonphelps%2Fborg" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/brandonphelps/borg [INFO] finished tweaking git repo https://github.com/brandonphelps/borg [INFO] tweaked toml for git repo https://github.com/brandonphelps/borg written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/brandonphelps/borg on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/brandonphelps/borg 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unescaper v0.1.4 [INFO] [stderr] Downloaded num-complex v0.4.4 [INFO] [stderr] Downloaded serialport v4.3.0 [INFO] [stderr] Downloaded crevice v0.13.0 [INFO] [stderr] Downloaded libudev v0.3.0 [INFO] [stderr] Downloaded serde_derive v1.0.199 [INFO] [stderr] Downloaded float_next_after v1.0.0 [INFO] [stderr] Downloaded serde v1.0.199 [INFO] [stderr] Downloaded crevice-derive v0.10.0 [INFO] [stderr] Downloaded lyon_path v1.0.5 [INFO] [stderr] Downloaded gilrs-core v0.5.11 [INFO] [stderr] Downloaded glyph_brush_draw_cache v0.1.5 [INFO] [stderr] Downloaded lyon_geom v1.0.5 [INFO] [stderr] Downloaded glyph_brush v0.7.8 [INFO] [stderr] Downloaded owned_ttf_parser v0.21.0 [INFO] [stderr] Downloaded ggez v0.9.3 [INFO] [stderr] Downloaded wgpu-core v0.16.1 [INFO] [stderr] Downloaded lyon_algorithms v1.0.4 [INFO] [stderr] Downloaded gilrs v0.10.7 [INFO] [stderr] Downloaded lyon_tessellation v1.0.15 [INFO] [stderr] Downloaded zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Downloaded euclid v0.22.10 [INFO] [stderr] Downloaded camino v1.1.7 [INFO] [stderr] Downloaded wgpu-types v0.16.1 [INFO] [stderr] Downloaded backtrace v0.3.72 [INFO] [stderr] Downloaded ordered-float v4.2.0 [INFO] [stderr] Downloaded wgpu v0.16.3 [INFO] [stderr] Downloaded gpu-alloc v0.5.4 [INFO] [stderr] Downloaded naga v0.12.3 [INFO] [stderr] Downloaded unicode-width v0.1.12 [INFO] [stderr] Downloaded wgpu-hal v0.16.2 [INFO] [stderr] Downloaded ab_glyph v0.2.26 [INFO] [stderr] Downloaded lyon v1.0.1 [INFO] [stderr] Downloaded object v0.35.0 [INFO] [stderr] Downloaded mint v0.5.9 [INFO] [stderr] Downloaded smart-default v0.7.1 [INFO] [stderr] Downloaded gpu-alloc-types v0.2.0 [INFO] [stderr] Downloaded uom v0.36.0 [INFO] [stderr] Downloaded d3d12 v0.6.0 [INFO] [stderr] Downloaded metal v0.24.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f20013edfb0a70f0d9c095b7b025f93999fe5e351fb472af52dd843d094aa00 [INFO] running `Command { std: "docker" "start" "-a" "9f20013edfb0a70f0d9c095b7b025f93999fe5e351fb472af52dd843d094aa00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f20013edfb0a70f0d9c095b7b025f93999fe5e351fb472af52dd843d094aa00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f20013edfb0a70f0d9c095b7b025f93999fe5e351fb472af52dd843d094aa00", kill_on_drop: false }` [INFO] [stdout] 9f20013edfb0a70f0d9c095b7b025f93999fe5e351fb472af52dd843d094aa00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2feba891073ba75a34d932831c5c9a77deaad901de60f9fe1f218a3fbdf6f5e [INFO] running `Command { std: "docker" "start" "-a" "d2feba891073ba75a34d932831c5c9a77deaad901de60f9fe1f218a3fbdf6f5e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling euclid v0.22.10 [INFO] [stderr] Compiling owned_ttf_parser v0.21.0 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling ab_glyph v0.2.26 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling lyon_geom v1.0.5 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling naga v0.12.3 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling gpu-alloc v0.5.4 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling lyon_path v1.0.5 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling wgpu-types v0.16.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling inotify v0.10.2 [INFO] [stderr] Compiling alsa v0.9.0 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling float_next_after v1.0.0 [INFO] [stderr] Compiling mint v0.5.9 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling gilrs v0.10.7 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling glyph_brush_layout v0.2.3 [INFO] [stderr] Compiling glyph_brush_draw_cache v0.1.5 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling gilrs-core v0.5.11 [INFO] [stderr] Compiling lyon_tessellation v1.0.15 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling crevice-derive v0.10.0 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling ggez v0.9.3 [INFO] [stderr] Compiling lyon_algorithms v1.0.4 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling ordered-float v4.2.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling rodio v0.17.3 [INFO] [stderr] Compiling glyph_brush v0.7.8 [INFO] [stderr] Compiling lyon v1.0.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling wgpu-hal v0.16.2 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling crevice v0.13.0 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling glam v0.24.2 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling libudev v0.3.0 [INFO] [stderr] Compiling unescaper v0.1.4 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling wgpu-core v0.16.1 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling uom v0.36.0 [INFO] [stderr] Compiling serialport v4.3.0 [INFO] [stderr] Compiling wgpu v0.16.3 [INFO] [stderr] Compiling factorio-calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `usbportinfo-interface` [INFO] [stdout] --> src/main.rs:161:31 [INFO] [stdout] | [INFO] [stdout] 161 | #[cfg(feature = "usbportinfo-interface")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `usbportinfo-interface` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 223 | / loop { [INFO] [stdout] 224 | | bootloader.update_loop().expect("failed bootloader loop"); [INFO] [stdout] 225 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 226 | [INFO] [stdout] 227 | return Ok(()); [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/arduino/flash_utility/mod.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn read_memory(&mut self, address: u32, size: u32) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 53 | pub fn read_memory(&mut self, address: u32, _size: u32) -> Result> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PKTLEN_128` [INFO] [stdout] | [INFO] [stdout] 53 - pub fn read_memory(&mut self, address: u32, size: u32) -> Result> { [INFO] [stdout] 53 + pub fn read_memory(&mut self, address: u32, arduino::xmd_serial::PKTLEN_128: u32) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `data_transfered` is assigned to, but never used [INFO] [stdout] --> src/arduino/xmd_serial.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | let mut data_transfered = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_data_transfered` instead [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PKTLEN_128` [INFO] [stdout] | [INFO] [stdout] 65 - let mut data_transfered = 0; [INFO] [stdout] 65 + let mut arduino::xmd_serial::PKTLEN_128 = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/arduino/mod.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | Err(f) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `erase` is never used [INFO] [stdout] --> src/arduino/flash.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl FlashBlock { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn erase(&mut self, address: u32, length: u32) -> Result<()> { [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 `erase` is never used [INFO] [stdout] --> src/arduino/flash.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl Flash { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn erase(&mut self, address: u32, length: u32) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/arduino/flash_utility/mod.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type Result = core::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/arduino/flash_utility/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Device` is never used [INFO] [stdout] --> src/arduino/flash_utility/mod.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | trait Device {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flasher` is never constructed [INFO] [stdout] --> src/arduino/flash_utility/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Flasher { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/arduino/flash_utility/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 21 | / impl Flasher [INFO] [stdout] 22 | | where [INFO] [stdout] 23 | | C: std::io::Write + std::io::Read, [INFO] [stdout] | |______________________________________- associated function in this implementation [INFO] [stdout] 24 | { [INFO] [stdout] 25 | pub fn new(comm: C) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArduinoBootComm` is never constructed [INFO] [stdout] --> src/arduino/flash_utility/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct ArduinoBootComm { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read_byte`, and `read_memory` are never used [INFO] [stdout] --> src/arduino/flash_utility/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 36 | / impl ArduinoBootComm [INFO] [stdout] 37 | | where [INFO] [stdout] 38 | | C: std::io::Write + std::io::Read, [INFO] [stdout] | |______________________________________- associated items in this implementation [INFO] [stdout] 39 | { [INFO] [stdout] 40 | pub fn new(comm: C) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn read_byte(&mut self, address: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn read_memory(&mut self, address: u32, size: u32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BiChannel` is never constructed [INFO] [stdout] --> src/arduino/flash_utility/utils.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BiChannel { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `set_timeout` are never used [INFO] [stdout] --> src/arduino/flash_utility/utils.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl BiChannel { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn set_timeout(&mut self, timeout: Duration) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NAK` is never used [INFO] [stdout] --> src/arduino/xmd_serial.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const NAK: u8 = 0x15; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Clock` is never constructed [INFO] [stdout] --> src/i2c/mod.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Clock { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/i2c/mod.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Clock { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 54 | pub fn update(&mut self, dt: Duration) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_voltage` is never used [INFO] [stdout] --> src/i2c/mod.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Line { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn set_voltage(&mut self, volts: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Frame` is never constructed [INFO] [stdout] --> src/i2c/mod.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | struct Frame {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `read_bit`, `data_frame1`, and `data_frame2` are never read [INFO] [stdout] --> src/i2c/mod.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 100 | read_bit: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 101 | data_frame1: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | data_frame2: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Slave` is never constructed [INFO] [stdout] --> src/i2c/mod.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct Slave { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `I2cBus` is never constructed [INFO] [stdout] --> src/i2c/mod.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct I2cBus {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/arduino/mod.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | flash.write(0, &[1,2,3,4]); [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] 91 | let _ = flash.write(0, &[1,2,3,4]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/arduino/mod.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | self.comm_inter.write_all(&data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 167 | let _ = self.comm_inter.write_all(&data); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 11s [INFO] running `Command { std: "docker" "inspect" "d2feba891073ba75a34d932831c5c9a77deaad901de60f9fe1f218a3fbdf6f5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2feba891073ba75a34d932831c5c9a77deaad901de60f9fe1f218a3fbdf6f5e", kill_on_drop: false }` [INFO] [stdout] d2feba891073ba75a34d932831c5c9a77deaad901de60f9fe1f218a3fbdf6f5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 474ba457df684c80661f77bb47e7f6e9cc63db37a72bfe60f2e502042e710fcd [INFO] running `Command { std: "docker" "start" "-a" "474ba457df684c80661f77bb47e7f6e9cc63db37a72bfe60f2e502042e710fcd", kill_on_drop: false }` [INFO] [stderr] Compiling factorio-calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `usbportinfo-interface` [INFO] [stdout] --> src/main.rs:161:31 [INFO] [stdout] | [INFO] [stdout] 161 | #[cfg(feature = "usbportinfo-interface")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `usbportinfo-interface` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 223 | / loop { [INFO] [stdout] 224 | | bootloader.update_loop().expect("failed bootloader loop"); [INFO] [stdout] 225 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 226 | [INFO] [stdout] 227 | return Ok(()); [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/arduino/flash_utility/mod.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn read_memory(&mut self, address: u32, size: u32) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 53 | pub fn read_memory(&mut self, address: u32, _size: u32) -> Result> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PKTLEN_128` [INFO] [stdout] | [INFO] [stdout] 53 - pub fn read_memory(&mut self, address: u32, size: u32) -> Result> { [INFO] [stdout] 53 + pub fn read_memory(&mut self, address: u32, arduino::xmd_serial::PKTLEN_128: u32) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `data_transfered` is assigned to, but never used [INFO] [stdout] --> src/arduino/xmd_serial.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | let mut data_transfered = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_data_transfered` instead [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PKTLEN_128` [INFO] [stdout] | [INFO] [stdout] 65 - let mut data_transfered = 0; [INFO] [stdout] 65 + let mut arduino::xmd_serial::PKTLEN_128 = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/arduino/mod.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | Err(f) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `erase` is never used [INFO] [stdout] --> src/arduino/flash.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl FlashBlock { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn erase(&mut self, address: u32, length: u32) -> Result<()> { [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 `erase` is never used [INFO] [stdout] --> src/arduino/flash.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl Flash { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn erase(&mut self, address: u32, length: u32) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Device` is never used [INFO] [stdout] --> src/arduino/flash_utility/mod.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | trait Device {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flasher` is never constructed [INFO] [stdout] --> src/arduino/flash_utility/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Flasher { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/arduino/flash_utility/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 21 | / impl Flasher [INFO] [stdout] 22 | | where [INFO] [stdout] 23 | | C: std::io::Write + std::io::Read, [INFO] [stdout] | |______________________________________- associated function in this implementation [INFO] [stdout] 24 | { [INFO] [stdout] 25 | pub fn new(comm: C) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NAK` is never used [INFO] [stdout] --> src/arduino/xmd_serial.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const NAK: u8 = 0x15; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Clock` is never constructed [INFO] [stdout] --> src/i2c/mod.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Clock { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/i2c/mod.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Clock { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 54 | pub fn update(&mut self, dt: Duration) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_voltage` is never used [INFO] [stdout] --> src/i2c/mod.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Line { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn set_voltage(&mut self, volts: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Frame` is never constructed [INFO] [stdout] --> src/i2c/mod.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | struct Frame {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `read_bit`, `data_frame1`, and `data_frame2` are never read [INFO] [stdout] --> src/i2c/mod.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 100 | read_bit: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 101 | data_frame1: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | data_frame2: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Slave` is never constructed [INFO] [stdout] --> src/i2c/mod.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct Slave { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `I2cBus` is never constructed [INFO] [stdout] --> src/i2c/mod.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct I2cBus {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/arduino/mod.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | flash.write(0, &[1,2,3,4]); [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] 91 | let _ = flash.write(0, &[1,2,3,4]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/arduino/mod.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | self.comm_inter.write_all(&data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 167 | let _ = self.comm_inter.write_all(&data); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/arduino/mod.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | j.join(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 296 | let _ = j.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.26s [INFO] running `Command { std: "docker" "inspect" "474ba457df684c80661f77bb47e7f6e9cc63db37a72bfe60f2e502042e710fcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "474ba457df684c80661f77bb47e7f6e9cc63db37a72bfe60f2e502042e710fcd", kill_on_drop: false }` [INFO] [stdout] 474ba457df684c80661f77bb47e7f6e9cc63db37a72bfe60f2e502042e710fcd