[INFO] fetching crate gaffe-xilinx 0.1.0...
[INFO] building gaffe-xilinx-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] extracting crate gaffe-xilinx 0.1.0 into /workspace/builds/worker-0-tc1/source
[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-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate gaffe-xilinx 0.1.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 72 packages to latest compatible versions
[INFO] [stderr]       Adding env_logger v0.5.13 (available: v0.11.8)
[INFO] [stderr]       Adding hex v0.3.2 (available: v0.4.3)
[INFO] [stderr]       Adding packed_struct v0.2.3 (available: v0.10.1)
[INFO] [stderr]       Adding packed_struct_codegen v0.2.4 (available: v0.10.1)
[INFO] [stderr]       Adding serde_yaml v0.7.5 (available: v0.9.34+deprecated)
[INFO] [stderr]       Adding smart-default v0.2.0 (available: v0.7.1)
[INFO] [stderr]       Adding structopt v0.2.18 (available: v0.3.26)
[INFO] [stderr]       Adding strum v0.9.0 (available: v0.27.2)
[INFO] [stderr]       Adding strum_macros v0.9.1 (available: v0.27.2)
[INFO] [stderr]       Adding twoway v0.1.8 (available: v0.2.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded structopt v0.2.18
[INFO] [stderr]   Downloaded structopt-derive v0.2.18
[INFO] [stderr]   Downloaded twoway v0.1.8
[INFO] [stderr]   Downloaded strum v0.9.0
[INFO] [stderr]   Downloaded strum_macros v0.9.1
[INFO] [stderr]   Downloaded unicode-xid v0.0.4
[INFO] [stderr]   Downloaded serde_test v1.0.177
[INFO] [stderr]   Downloaded syn v0.14.9
[INFO] [stderr]   Downloaded env_logger v0.5.13
[INFO] [stderr]   Downloaded quote v0.3.15
[INFO] [stderr]   Downloaded synom v0.11.3
[INFO] [stderr]   Downloaded smart-default v0.2.0
[INFO] [stderr]   Downloaded packed_struct v0.2.3
[INFO] [stderr]   Downloaded packed_struct_codegen v0.2.4
[INFO] [stderr]   Downloaded syn v0.11.11
[INFO] [stderr]   Downloaded serde_yaml v0.7.5
[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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bffe7813d2a9deb05e239103335fbbc2c2190cd55b313e05bf8abba96f457731
[INFO] running `Command { std: "docker" "start" "-a" "bffe7813d2a9deb05e239103335fbbc2c2190cd55b313e05bf8abba96f457731", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bffe7813d2a9deb05e239103335fbbc2c2190cd55b313e05bf8abba96f457731", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bffe7813d2a9deb05e239103335fbbc2c2190cd55b313e05bf8abba96f457731", kill_on_drop: false }`
[INFO] [stdout] bffe7813d2a9deb05e239103335fbbc2c2190cd55b313e05bf8abba96f457731
[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=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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b9279ffa378fb4a8fb3227c066b1b51b45789fe6e779f0da58a03331d52802d5
[INFO] running `Command { std: "docker" "start" "-a" "b9279ffa378fb4a8fb3227c066b1b51b45789fe6e779f0da58a03331d52802d5", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling packed_struct v0.2.3
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling syn v0.14.9
[INFO] [stderr]    Compiling strum v0.9.0
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling hex v0.3.2
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling object v0.37.3
[INFO] [stderr]    Compiling twoway v0.1.8
[INFO] [stderr]    Compiling serde_test v1.0.177
[INFO] [stderr]    Compiling serde_yaml v0.7.5
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling strum_macros v0.9.1
[INFO] [stderr]    Compiling structopt-derive v0.2.18
[INFO] [stderr]    Compiling smart-default v0.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling regex-automata v0.4.11
[INFO] [stderr]    Compiling structopt v0.2.18
[INFO] [stderr]    Compiling backtrace v0.3.76
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling regex v1.11.3
[INFO] [stderr]    Compiling env_logger v0.5.13
[INFO] [stderr]    Compiling packed_struct_codegen v0.2.4
[INFO] [stderr]    Compiling gaffe-xilinx v0.1.0 (/opt/rustwide/workdir)
[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<Self, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn from_bytes(reader: &mut dyn BufRead) -> Result<Self, 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<Self, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn from_bytes(reader: &mut dyn BufRead) -> Result<Self, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible 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/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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible 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/xc7/bitstream.rs:228:31
[INFO] [stdout]     |
[INFO] [stdout] 228 |     fn from_bytes(bytes: &mut BufRead) -> Result<Self, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 228 |     fn from_bytes(bytes: &mut dyn BufRead) -> Result<Self, Error> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible 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<Self, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 342 |     fn from_bytes(mut bytes: &mut dyn BufRead) -> Result<Self, Error> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/xc7/bitstream.rs:326:17
[INFO] [stdout]     |
[INFO] [stdout] 326 |     pub fn iter(&self) -> ::std::slice::Iter<Packet> {
[INFO] [stdout]     |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 326 |     pub fn iter(&self) -> ::std::slice::Iter<'_, Packet> {
[INFO] [stdout]     |                                              +++
[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: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/xc7/frame_address.rs:552:34
[INFO] [stdout]     |
[INFO] [stdout] 552 |     pub fn iter<'a>(&'a self) -> SetIter<btree_set::Iter<'a, Range>> {
[INFO] [stdout]     |                      --          ^^^^^^^^^^^^^^^^^^^^^^^^--^^^^^^^^^
[INFO] [stdout]     |                      |           |                       |
[INFO] [stdout]     |                      |           |                       the same lifetime is named here
[INFO] [stdout]     |                      |           the same lifetime is hidden here
[INFO] [stdout]     |                      the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 552 |     pub fn iter<'a>(&'a self) -> SetIter<'a, btree_set::Iter<'a, Range>> {
[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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.77s
[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" "b9279ffa378fb4a8fb3227c066b1b51b45789fe6e779f0da58a03331d52802d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9279ffa378fb4a8fb3227c066b1b51b45789fe6e779f0da58a03331d52802d5", kill_on_drop: false }`
[INFO] [stdout] b9279ffa378fb4a8fb3227c066b1b51b45789fe6e779f0da58a03331d52802d5
[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=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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 83228342acd84d8c8ee5f42927bd25ca1da928338394d11406e86adc40f02632
[INFO] running `Command { std: "docker" "start" "-a" "83228342acd84d8c8ee5f42927bd25ca1da928338394d11406e86adc40f02632", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[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<Self, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn from_bytes(reader: &mut dyn BufRead) -> Result<Self, 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<Self, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn from_bytes(reader: &mut dyn BufRead) -> Result<Self, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible 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/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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible 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/xc7/bitstream.rs:228:31
[INFO] [stdout]     |
[INFO] [stdout] 228 |     fn from_bytes(bytes: &mut BufRead) -> Result<Self, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 228 |     fn from_bytes(bytes: &mut dyn BufRead) -> Result<Self, Error> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible 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<Self, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 342 |     fn from_bytes(mut bytes: &mut dyn BufRead) -> Result<Self, Error> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/xc7/bitstream.rs:326:17
[INFO] [stdout]     |
[INFO] [stdout] 326 |     pub fn iter(&self) -> ::std::slice::Iter<Packet> {
[INFO] [stdout]     |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 326 |     pub fn iter(&self) -> ::std::slice::Iter<'_, Packet> {
[INFO] [stdout]     |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling gaffe-xilinx v0.1.0 (/opt/rustwide/workdir)
[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: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/xc7/frame_address.rs:552:34
[INFO] [stdout]     |
[INFO] [stdout] 552 |     pub fn iter<'a>(&'a self) -> SetIter<btree_set::Iter<'a, Range>> {
[INFO] [stdout]     |                      --          ^^^^^^^^^^^^^^^^^^^^^^^^--^^^^^^^^^
[INFO] [stdout]     |                      |           |                       |
[INFO] [stdout]     |                      |           |                       the same lifetime is named here
[INFO] [stdout]     |                      |           the same lifetime is hidden here
[INFO] [stdout]     |                      the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 552 |     pub fn iter<'a>(&'a self) -> SetIter<'a, btree_set::Iter<'a, Range>> {
[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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: `...` 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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<Self, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn from_bytes(reader: &mut dyn BufRead) -> Result<Self, 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<Self, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn from_bytes(reader: &mut dyn BufRead) -> Result<Self, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible 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/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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible 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/xc7/bitstream.rs:228:31
[INFO] [stdout]     |
[INFO] [stdout] 228 |     fn from_bytes(bytes: &mut BufRead) -> Result<Self, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 228 |     fn from_bytes(bytes: &mut dyn BufRead) -> Result<Self, Error> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible 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<Self, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 342 |     fn from_bytes(mut bytes: &mut dyn BufRead) -> Result<Self, Error> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/xc7/bitstream.rs:326:17
[INFO] [stdout]     |
[INFO] [stdout] 326 |     pub fn iter(&self) -> ::std::slice::Iter<Packet> {
[INFO] [stdout]     |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 326 |     pub fn iter(&self) -> ::std::slice::Iter<'_, Packet> {
[INFO] [stdout]     |                                              +++
[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: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/xc7/frame_address.rs:552:34
[INFO] [stdout]     |
[INFO] [stdout] 552 |     pub fn iter<'a>(&'a self) -> SetIter<btree_set::Iter<'a, Range>> {
[INFO] [stdout]     |                      --          ^^^^^^^^^^^^^^^^^^^^^^^^--^^^^^^^^^
[INFO] [stdout]     |                      |           |                       |
[INFO] [stdout]     |                      |           |                       the same lifetime is named here
[INFO] [stdout]     |                      |           the same lifetime is hidden here
[INFO] [stdout]     |                      the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 552 |     pub fn iter<'a>(&'a self) -> SetIter<'a, btree_set::Iter<'a, Range>> {
[INFO] [stdout]     |                                          +++
[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)]` (part of `#[warn(rust_2021_compatibility)]`) 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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.13s
[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" "83228342acd84d8c8ee5f42927bd25ca1da928338394d11406e86adc40f02632", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83228342acd84d8c8ee5f42927bd25ca1da928338394d11406e86adc40f02632", kill_on_drop: false }`
[INFO] [stdout] 83228342acd84d8c8ee5f42927bd25ca1da928338394d11406e86adc40f02632
