[INFO] fetching crate kea-hal 0.5.0... [INFO] linting kea-hal-0.5.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate kea-hal 0.5.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate kea-hal 0.5.0 [INFO] finished tweaking crates.io crate kea-hal 0.5.0 [INFO] tweaked toml for crates.io crate kea-hal 0.5.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kea-hal 0.5.0 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "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" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 30 packages to latest compatible versions [INFO] [stderr] Adding cortex-m-rt v0.6.15 (available: v0.7.5) [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding embedded-hal v1.0.0-alpha.4 (available: v1.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded r0 v0.2.2 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.6.15 [INFO] [stderr] Downloaded bare-metal v1.0.0 [INFO] [stderr] Downloaded cortex-m-rt v0.6.15 [INFO] [stderr] Downloaded embedded-hal v1.0.0-alpha.4 [INFO] [stderr] Downloaded SKEAZN642 v0.2.1 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57828c8993259c7e8b60c82f0bfa3edd0401648488e8bad0ee4c1372a120b1b3 [INFO] running `Command { std: "docker" "start" "-a" "57828c8993259c7e8b60c82f0bfa3edd0401648488e8bad0ee4c1372a120b1b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57828c8993259c7e8b60c82f0bfa3edd0401648488e8bad0ee4c1372a120b1b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57828c8993259c7e8b60c82f0bfa3edd0401648488e8bad0ee4c1372a120b1b3", kill_on_drop: false }` [INFO] [stdout] 57828c8993259c7e8b60c82f0bfa3edd0401648488e8bad0ee4c1372a120b1b3 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9db460d57f7ed586762cc3187e60fc62e3ab5575482539d48637b168d3108f76 [INFO] running `Command { std: "docker" "start" "-a" "9db460d57f7ed586762cc3187e60fc62e3ab5575482539d48637b168d3108f76", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling SKEAZN642 v0.2.1 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking embedded-hal v1.0.0-alpha.4 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking cortex-m v0.7.7 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking embedded-time v0.12.1 [INFO] [stderr] Checking kea-hal v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `rt-selected` [INFO] [stdout] --> src/lib.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "rt-selected")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cortex-m-rt` and `rt` [INFO] [stdout] = help: consider adding `rt-selected` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rt-selected` [INFO] [stdout] --> src/lib.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "rt-selected")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cortex-m-rt` and `rt` [INFO] [stdout] = help: consider adding `rt-selected` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Sealed` is never used [INFO] [stdout] --> src/lib.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Sealed {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/adc.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | !(!matches!(self.clock_source, AdcClocks::Bus) && matches!(divisor, ClockDivisor::_16)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `matches!(self.clock_source, AdcClocks::Bus) || !matches!(divisor, ClockDivisor::_16)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/clocks.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | //! (FCLK). 40MHz max [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] = note: `#[warn(clippy::doc_lazy_continuation)]` on by default [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 49 | //! (FCLK). 40MHz max [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/clocks.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | //! Max [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 52 | //! Max [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/clocks.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | //! source for RTC or WDOG modules. 31.25-39.0625kHz [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 57 | //! source for RTC or WDOG modules. 31.25-39.0625kHz [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/clocks.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | //! system clocks and more [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 59 | //! system clocks and more [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/clocks.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | //! DC-40MHz (bypass), 31.25-39.0625kHz (resonator), 4-20MHz (crystal) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 63 | //! DC-40MHz (bypass), 31.25-39.0625kHz (resonator), 4-20MHz (crystal) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/clocks/ics.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | //! (FCLK). 40MHz max [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 74 | //! (FCLK). 40MHz max [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/clocks/ics.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | //! Max [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 77 | //! Max [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/clocks/ics.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | //! source for RTC or WDOG modules. 31.25-39.0625kHz [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 82 | //! source for RTC or WDOG modules. 31.25-39.0625kHz [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/clocks/ics.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | //! system clocks and more [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 84 | //! system clocks and more [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/clocks/ics.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | //! DC-40MHz (bypass), 31.25-39.0625kHz (resonator), 4-20MHz (crystal) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 88 | //! DC-40MHz (bypass), 31.25-39.0625kHz (resonator), 4-20MHz (crystal) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-canonical implementation of `clone` on a `Copy` type [INFO] [stdout] --> src/clocks/ics.rs:237:59 [INFO] [stdout] | [INFO] [stdout] 237 | fn clone(&self) -> SystemClock { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 238 | | SystemClock { [INFO] [stdout] 239 | | _source: PhantomData, [INFO] [stdout] 240 | | _fll: PhantomData, [INFO] [stdout] ... | [INFO] [stdout] 243 | | } [INFO] [stdout] | |_____^ help: change this to: `{ *self }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_clone_impl [INFO] [stdout] = note: `#[warn(clippy::non_canonical_clone_impl)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary operation [INFO] [stdout] --> src/clocks/ics.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | &(*ICS::ptr()).c2.modify(|_, w| w.lp()._0()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: statement can be reduced to: `(*ICS::ptr()).c2.modify(|_, w| w.lp()._0());` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation [INFO] [stdout] = note: `#[warn(clippy::unnecessary_operation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary operation [INFO] [stdout] --> src/clocks/ics.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | &(*ICS::ptr()).c1.modify(|_, w| w.clks()._01()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: statement can be reduced to: `(*ICS::ptr()).c1.modify(|_, w| w.clks()._01());` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary operation [INFO] [stdout] --> src/clocks/ics.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | &(*ICS::ptr()).c1.modify(|_, w| w.clks()._10()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: statement can be reduced to: `(*ICS::ptr()).c1.modify(|_, w| w.clks()._10());` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary operation [INFO] [stdout] --> src/clocks/ics.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | &(*ICS::ptr()).c2.modify(|_, w| w.lp()._1()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: statement can be reduced to: `(*ICS::ptr()).c2.modify(|_, w| w.lp()._1());` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary operation [INFO] [stdout] --> src/clocks/ics.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | &(*ICS::ptr()).c1.modify(|_, w| w.rdiv().bits(div)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: statement can be reduced to: `(*ICS::ptr()).c1.modify(|_, w| w.rdiv().bits(div));` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary operation [INFO] [stdout] --> src/clocks/ics.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | &(*ICS::ptr()).c2.modify(|_, w| w.bdiv().bits(div)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: statement can be reduced to: `(*ICS::ptr()).c2.modify(|_, w| w.bdiv().bits(div));` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/clocks/osc.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | ) -> ( [INFO] [stdout] | __________^ [INFO] [stdout] 121 | | Result, Error>, [INFO] [stdout] 122 | | Osc, [INFO] [stdout] 123 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/clocks/osc.rs:261:10 [INFO] [stdout] | [INFO] [stdout] 261 | ) -> ( [INFO] [stdout] | __________^ [INFO] [stdout] 262 | | Result, Error>, [INFO] [stdout] 263 | | Osc, [INFO] [stdout] 264 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this returns a `Result<_, ()>` [INFO] [stdout] --> src/spi.rs:458:5 [INFO] [stdout] | [INFO] [stdout] 458 | pub const fn divisor(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a custom `Error` type instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err [INFO] [stdout] = note: `#[warn(clippy::result_unit_err)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric method [INFO] [stdout] --> src/spi.rs:481:30 [INFO] [stdout] | [INFO] [stdout] 481 | let mut old_error: u32 = u32::max_value(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] = note: `#[warn(clippy::legacy_numeric_constants)]` on by default [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 481 - let mut old_error: u32 = u32::max_value(); [INFO] [stdout] 481 + let mut old_error: u32 = u32::MAX; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/system.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | //! flash operations are being perfomed. Cannot be within the same sector. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 33 | //! flash operations are being perfomed. Cannot be within the same sector. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/system.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | //! instructions [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 35 | //! instructions [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/system.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | //! instructions [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 38 | //! instructions [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Sealed` is never used [INFO] [stdout] --> src/lib.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Sealed {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/clocks/ics.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | &(*ICS::ptr()).c2.modify(|_, w| w.lp()._0()); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 292 | let _ = &(*ICS::ptr()).c2.modify(|_, w| w.lp()._0()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/clocks/ics.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | &(*ICS::ptr()).c1.modify(|_, w| w.clks()._01()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 332 | let _ = &(*ICS::ptr()).c1.modify(|_, w| w.clks()._01()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/adc.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | !(!matches!(self.clock_source, AdcClocks::Bus) && matches!(divisor, ClockDivisor::_16)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `matches!(self.clock_source, AdcClocks::Bus) || !matches!(divisor, ClockDivisor::_16)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/clocks/ics.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | &(*ICS::ptr()).c1.modify(|_, w| w.clks()._10()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 369 | let _ = &(*ICS::ptr()).c1.modify(|_, w| w.clks()._10()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/clocks/ics.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | &(*ICS::ptr()).c2.modify(|_, w| w.lp()._1()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 388 | let _ = &(*ICS::ptr()).c2.modify(|_, w| w.lp()._1()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/clocks/ics.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | &(*ICS::ptr()).c1.modify(|_, w| w.rdiv().bits(div)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 421 | let _ = &(*ICS::ptr()).c1.modify(|_, w| w.rdiv().bits(div)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/clocks/ics.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | &(*ICS::ptr()).c2.modify(|_, w| w.bdiv().bits(div)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 458 | let _ = &(*ICS::ptr()).c2.modify(|_, w| w.bdiv().bits(div)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/clocks.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | //! (FCLK). 40MHz max [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] = note: `#[warn(clippy::doc_lazy_continuation)]` on by default [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 49 | //! (FCLK). 40MHz max [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/clocks.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | //! Max [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 52 | //! Max [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/clocks.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | //! source for RTC or WDOG modules. 31.25-39.0625kHz [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 57 | //! source for RTC or WDOG modules. 31.25-39.0625kHz [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/clocks.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | //! system clocks and more [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 59 | //! system clocks and more [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/clocks.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | //! DC-40MHz (bypass), 31.25-39.0625kHz (resonator), 4-20MHz (crystal) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 63 | //! DC-40MHz (bypass), 31.25-39.0625kHz (resonator), 4-20MHz (crystal) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/clocks/ics.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | //! (FCLK). 40MHz max [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 74 | //! (FCLK). 40MHz max [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/clocks/ics.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | //! Max [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 77 | //! Max [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/clocks/ics.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | //! source for RTC or WDOG modules. 31.25-39.0625kHz [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 82 | //! source for RTC or WDOG modules. 31.25-39.0625kHz [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/clocks/ics.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | //! system clocks and more [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 84 | //! system clocks and more [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/clocks/ics.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | //! DC-40MHz (bypass), 31.25-39.0625kHz (resonator), 4-20MHz (crystal) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 88 | //! DC-40MHz (bypass), 31.25-39.0625kHz (resonator), 4-20MHz (crystal) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-canonical implementation of `clone` on a `Copy` type [INFO] [stdout] --> src/clocks/ics.rs:237:59 [INFO] [stdout] | [INFO] [stdout] 237 | fn clone(&self) -> SystemClock { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 238 | | SystemClock { [INFO] [stdout] 239 | | _source: PhantomData, [INFO] [stdout] 240 | | _fll: PhantomData, [INFO] [stdout] ... | [INFO] [stdout] 243 | | } [INFO] [stdout] | |_____^ help: change this to: `{ *self }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_clone_impl [INFO] [stdout] = note: `#[warn(clippy::non_canonical_clone_impl)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary operation [INFO] [stdout] --> src/clocks/ics.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | &(*ICS::ptr()).c2.modify(|_, w| w.lp()._0()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: statement can be reduced to: `(*ICS::ptr()).c2.modify(|_, w| w.lp()._0());` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation [INFO] [stdout] = note: `#[warn(clippy::unnecessary_operation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary operation [INFO] [stdout] --> src/clocks/ics.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | &(*ICS::ptr()).c1.modify(|_, w| w.clks()._01()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: statement can be reduced to: `(*ICS::ptr()).c1.modify(|_, w| w.clks()._01());` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary operation [INFO] [stdout] --> src/clocks/ics.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | &(*ICS::ptr()).c1.modify(|_, w| w.clks()._10()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: statement can be reduced to: `(*ICS::ptr()).c1.modify(|_, w| w.clks()._10());` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary operation [INFO] [stdout] --> src/clocks/ics.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | &(*ICS::ptr()).c2.modify(|_, w| w.lp()._1()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: statement can be reduced to: `(*ICS::ptr()).c2.modify(|_, w| w.lp()._1());` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary operation [INFO] [stdout] --> src/clocks/ics.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | &(*ICS::ptr()).c1.modify(|_, w| w.rdiv().bits(div)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: statement can be reduced to: `(*ICS::ptr()).c1.modify(|_, w| w.rdiv().bits(div));` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary operation [INFO] [stdout] --> src/clocks/ics.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | &(*ICS::ptr()).c2.modify(|_, w| w.bdiv().bits(div)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: statement can be reduced to: `(*ICS::ptr()).c2.modify(|_, w| w.bdiv().bits(div));` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/clocks/osc.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | ) -> ( [INFO] [stdout] | __________^ [INFO] [stdout] 121 | | Result, Error>, [INFO] [stdout] 122 | | Osc, [INFO] [stdout] 123 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/clocks/osc.rs:261:10 [INFO] [stdout] | [INFO] [stdout] 261 | ) -> ( [INFO] [stdout] | __________^ [INFO] [stdout] 262 | | Result, Error>, [INFO] [stdout] 263 | | Osc, [INFO] [stdout] 264 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this returns a `Result<_, ()>` [INFO] [stdout] --> src/spi.rs:458:5 [INFO] [stdout] | [INFO] [stdout] 458 | pub const fn divisor(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a custom `Error` type instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err [INFO] [stdout] = note: `#[warn(clippy::result_unit_err)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric method [INFO] [stdout] --> src/spi.rs:481:30 [INFO] [stdout] | [INFO] [stdout] 481 | let mut old_error: u32 = u32::max_value(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] = note: `#[warn(clippy::legacy_numeric_constants)]` on by default [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 481 - let mut old_error: u32 = u32::max_value(); [INFO] [stdout] 481 + let mut old_error: u32 = u32::MAX; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/system.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | //! flash operations are being perfomed. Cannot be within the same sector. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 33 | //! flash operations are being perfomed. Cannot be within the same sector. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/system.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | //! instructions [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 35 | //! instructions [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/system.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | //! instructions [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 38 | //! instructions [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/clocks/ics.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | &(*ICS::ptr()).c2.modify(|_, w| w.lp()._0()); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 292 | let _ = &(*ICS::ptr()).c2.modify(|_, w| w.lp()._0()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/clocks/ics.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | &(*ICS::ptr()).c1.modify(|_, w| w.clks()._01()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 332 | let _ = &(*ICS::ptr()).c1.modify(|_, w| w.clks()._01()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/clocks/ics.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | &(*ICS::ptr()).c1.modify(|_, w| w.clks()._10()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 369 | let _ = &(*ICS::ptr()).c1.modify(|_, w| w.clks()._10()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/clocks/ics.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | &(*ICS::ptr()).c2.modify(|_, w| w.lp()._1()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 388 | let _ = &(*ICS::ptr()).c2.modify(|_, w| w.lp()._1()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/clocks/ics.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | &(*ICS::ptr()).c1.modify(|_, w| w.rdiv().bits(div)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 421 | let _ = &(*ICS::ptr()).c1.modify(|_, w| w.rdiv().bits(div)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/clocks/ics.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | &(*ICS::ptr()).c2.modify(|_, w| w.bdiv().bits(div)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 458 | let _ = &(*ICS::ptr()).c2.modify(|_, w| w.bdiv().bits(div)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.50s [INFO] running `Command { std: "docker" "inspect" "9db460d57f7ed586762cc3187e60fc62e3ab5575482539d48637b168d3108f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9db460d57f7ed586762cc3187e60fc62e3ab5575482539d48637b168d3108f76", kill_on_drop: false }` [INFO] [stdout] 9db460d57f7ed586762cc3187e60fc62e3ab5575482539d48637b168d3108f76