[INFO] fetching crate gaffe-xilinx 0.1.0... [INFO] checking gaffe-xilinx-0.1.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate gaffe-xilinx 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate gaffe-xilinx 0.1.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gaffe-xilinx 0.1.0 [INFO] finished tweaking crates.io crate gaffe-xilinx 0.1.0 [INFO] tweaked toml for crates.io crate gaffe-xilinx 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 82 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.16) [INFO] [stderr] Adding dtoa v0.4.8 (latest: v1.0.9) [INFO] [stderr] Adding env_logger v0.5.13 (latest: v0.11.5) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding heck v0.3.3 (latest: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding hex v0.3.2 (latest: v0.4.3) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding packed_struct v0.2.3 (latest: v0.10.1) [INFO] [stderr] Adding packed_struct_codegen v0.2.4 (latest: v0.10.1) [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.86) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding quote v0.3.15 (latest: v1.0.37) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.37) [INFO] [stderr] Adding serde_yaml v0.7.5 (latest: v0.9.34+deprecated) [INFO] [stderr] Adding smart-default v0.2.0 (latest: v0.7.1) [INFO] [stderr] Adding strsim v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding structopt v0.2.18 (latest: v0.3.26) [INFO] [stderr] Adding structopt-derive v0.2.18 (latest: v0.4.18) [INFO] [stderr] Adding strum v0.9.0 (latest: v0.26.3) [INFO] [stderr] Adding strum_macros v0.9.1 (latest: v0.26.4) [INFO] [stderr] Adding syn v0.11.11 (latest: v2.0.77) [INFO] [stderr] Adding syn v0.14.9 (latest: v2.0.77) [INFO] [stderr] Adding syn v0.15.44 (latest: v2.0.77) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (latest: v0.13.1) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding twoway v0.1.8 (latest: v0.2.2) [INFO] [stderr] Adding unicode-xid v0.0.4 (latest: v0.2.5) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum_macros v0.9.1 [INFO] [stderr] Downloaded twoway v0.1.8 [INFO] [stderr] Downloaded strum v0.9.0 [INFO] [stderr] Downloaded smart-default v0.2.0 [INFO] [stderr] Downloaded packed_struct v0.2.3 [INFO] [stderr] Downloaded serde_yaml v0.7.5 [INFO] [stderr] Downloaded syn v0.14.9 [INFO] [stderr] Downloaded packed_struct_codegen v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45dc47669792f5c4b6a838aa8f156fdec974de1042b568e3a17667c634286f1c [INFO] running `Command { std: "docker" "start" "-a" "45dc47669792f5c4b6a838aa8f156fdec974de1042b568e3a17667c634286f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45dc47669792f5c4b6a838aa8f156fdec974de1042b568e3a17667c634286f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45dc47669792f5c4b6a838aa8f156fdec974de1042b568e3a17667c634286f1c", kill_on_drop: false }` [INFO] [stdout] 45dc47669792f5c4b6a838aa8f156fdec974de1042b568e3a17667c634286f1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3c86389e0ade78fc8497c35f39fea134d7bc7d5b587a55391101dcc98caed6c [INFO] running `Command { std: "docker" "start" "-a" "e3c86389e0ade78fc8497c35f39fea134d7bc7d5b587a55391101dcc98caed6c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling packed_struct v0.2.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking strum v0.9.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling smart-default v0.2.0 [INFO] [stderr] Compiling strum_macros v0.9.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking serde_yaml v0.7.5 [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Compiling packed_struct_codegen v0.2.4 [INFO] [stderr] Checking gaffe-xilinx v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/xc7/frame_address.rs:532:18 [INFO] [stdout] | [INFO] [stdout] 532 | 0...1 => assert_eq!(addr, (range_start + ii as u8).unwrap()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/xc7/frame_address.rs:907:18 [INFO] [stdout] | [INFO] [stdout] 907 | 0...1 => assert_eq!(addr, (range1_start + ii as u8).unwrap()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/xc7/frame_address.rs:908:18 [INFO] [stdout] | [INFO] [stdout] 908 | 2...3 => assert_eq!(addr, (range2_start + (ii as u8 - 2)).unwrap()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/xc7/frame_address.rs:983:18 [INFO] [stdout] | [INFO] [stdout] 983 | 0...1 => assert_eq!(addr, (range1_start + ii as u8).unwrap()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/xc7/frame_address.rs:984:18 [INFO] [stdout] | [INFO] [stdout] 984 | 2...3 => assert_eq!(addr, (range2_start + (ii as u8 - 2)).unwrap()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/xc7/frame_address.rs:1022:18 [INFO] [stdout] | [INFO] [stdout] 1022 | 0...1 => assert_eq!(addr, (range2_start + ii as u8).unwrap()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/from_bytes.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | fn from_bytes(reader: &mut BufRead) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn from_bytes(reader: &mut dyn BufRead) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/from_bytes.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | fn from_bytes(reader: &mut BufRead) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn from_bytes(reader: &mut dyn BufRead) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/from_bytes.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | fn to_bytes(&self, writer: &mut Write) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | fn to_bytes(&self, writer: &mut dyn Write) -> Result<(), Error>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/from_bytes.rs:47:37 [INFO] [stdout] | [INFO] [stdout] 47 | fn to_bytes(&self, writer: &mut Write) -> Result<(), Error> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | fn to_bytes(&self, writer: &mut dyn Write) -> Result<(), Error> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xc7/bitstream.rs:228:31 [INFO] [stdout] | [INFO] [stdout] 228 | fn from_bytes(bytes: &mut BufRead) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 228 | fn from_bytes(bytes: &mut dyn BufRead) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xc7/bitstream.rs:266:37 [INFO] [stdout] | [INFO] [stdout] 266 | fn to_bytes(&self, writer: &mut Write) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 266 | fn to_bytes(&self, writer: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xc7/bitstream.rs:342:35 [INFO] [stdout] | [INFO] [stdout] 342 | fn from_bytes(mut bytes: &mut BufRead) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 342 | fn from_bytes(mut bytes: &mut dyn BufRead) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xc7/bitstream.rs:361:37 [INFO] [stdout] | [INFO] [stdout] 361 | fn to_bytes(&self, writer: &mut Write) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 361 | fn to_bytes(&self, writer: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/from_bytes.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | fn from_bytes(reader: &mut BufRead) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn from_bytes(reader: &mut dyn BufRead) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/from_bytes.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | fn from_bytes(reader: &mut BufRead) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn from_bytes(reader: &mut dyn BufRead) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/from_bytes.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | fn to_bytes(&self, writer: &mut Write) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | fn to_bytes(&self, writer: &mut dyn Write) -> Result<(), Error>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/from_bytes.rs:47:37 [INFO] [stdout] | [INFO] [stdout] 47 | fn to_bytes(&self, writer: &mut Write) -> Result<(), Error> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | fn to_bytes(&self, writer: &mut dyn Write) -> Result<(), Error> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xc7/bitstream.rs:228:31 [INFO] [stdout] | [INFO] [stdout] 228 | fn from_bytes(bytes: &mut BufRead) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 228 | fn from_bytes(bytes: &mut dyn BufRead) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xc7/bitstream.rs:266:37 [INFO] [stdout] | [INFO] [stdout] 266 | fn to_bytes(&self, writer: &mut Write) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 266 | fn to_bytes(&self, writer: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xc7/bitstream.rs:342:35 [INFO] [stdout] | [INFO] [stdout] 342 | fn from_bytes(mut bytes: &mut BufRead) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 342 | fn from_bytes(mut bytes: &mut dyn BufRead) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xc7/bitstream.rs:361:37 [INFO] [stdout] | [INFO] [stdout] 361 | fn to_bytes(&self, writer: &mut Write) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 361 | fn to_bytes(&self, writer: &mut dyn Write) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/xc7/configuration.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | let mut frame_address_iter = device_def.config_mem_layout.iter(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/xc7/configuration.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | let mut frame_address_iter = device_def.config_mem_layout.iter(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/xc7/configuration.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | let mut frame_address_iter = device_def.config_mem_layout.iter(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/xc7/configuration.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | let mut frame_address_iter = device_def.config_mem_layout.iter(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/bitstream.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(PackedStruct, Default, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/bitstream.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(PackedStruct, Default, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/bitstream.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(PackedStruct, Default, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/frame_address.rs:35:101 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Copy, Debug, Default, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/xc7/frame_address.rs:83:41 [INFO] [stdout] | [INFO] [stdout] 83 | None => panic!("FrameAddress{minor: 0} + 1 yielded no result"), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 83 | None => panic!("{}", "FrameAddress{minor: 0} + 1 yielded no result"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/idcode.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Copy, Debug, Default, PartialEq, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:133:26 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:194:26 [INFO] [stdout] | [INFO] [stdout] 194 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:246:26 [INFO] [stdout] | [INFO] [stdout] 246 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:295:26 [INFO] [stdout] | [INFO] [stdout] 295 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:333:26 [INFO] [stdout] | [INFO] [stdout] 333 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:362:26 [INFO] [stdout] | [INFO] [stdout] 362 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:381:26 [INFO] [stdout] | [INFO] [stdout] 381 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:400:26 [INFO] [stdout] | [INFO] [stdout] 400 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:458:26 [INFO] [stdout] | [INFO] [stdout] 458 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:471:26 [INFO] [stdout] | [INFO] [stdout] 471 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:484:26 [INFO] [stdout] | [INFO] [stdout] 484 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/bitstream.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(PackedStruct, Default, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/bitstream.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(PackedStruct, Default, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/bitstream.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(PackedStruct, Default, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/frame_address.rs:35:101 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Copy, Debug, Default, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/idcode.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Copy, Debug, Default, PartialEq, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:133:26 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:194:26 [INFO] [stdout] | [INFO] [stdout] 194 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:246:26 [INFO] [stdout] | [INFO] [stdout] 246 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:295:26 [INFO] [stdout] | [INFO] [stdout] 295 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:333:26 [INFO] [stdout] | [INFO] [stdout] 333 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:362:26 [INFO] [stdout] | [INFO] [stdout] 362 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:381:26 [INFO] [stdout] | [INFO] [stdout] 381 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:400:26 [INFO] [stdout] | [INFO] [stdout] 400 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:458:26 [INFO] [stdout] | [INFO] [stdout] 458 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:471:26 [INFO] [stdout] | [INFO] [stdout] 471 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/xc7/registers.rs:484:26 [INFO] [stdout] | [INFO] [stdout] 484 | #[derive(Debug, Default, PackedStruct)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/xc7-tool.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/xc7-tool.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/xc7-tool.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | let mut device_file = std::fs::File::open(device_file)?; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/xc7-tool.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let mut device_file = std::fs::File::open(device_file)?; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/xc7-tool.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | let mut device_file = std::fs::File::open(device_file)?; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/xc7-tool.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let mut device_file = std::fs::File::open(device_file)?; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.01s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e3c86389e0ade78fc8497c35f39fea134d7bc7d5b587a55391101dcc98caed6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3c86389e0ade78fc8497c35f39fea134d7bc7d5b587a55391101dcc98caed6c", kill_on_drop: false }` [INFO] [stdout] e3c86389e0ade78fc8497c35f39fea134d7bc7d5b587a55391101dcc98caed6c