[INFO] cloning repository https://github.com/jonlamb-gh/lmc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jonlamb-gh/lmc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonlamb-gh%2Flmc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonlamb-gh%2Flmc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a159918458502387f762d0cf53a9ae53d2a81c5 [INFO] testing jonlamb-gh/lmc against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonlamb-gh%2Flmc" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/jonlamb-gh/lmc [INFO] finished tweaking git repo https://github.com/jonlamb-gh/lmc [INFO] tweaked toml for git repo https://github.com/jonlamb-gh/lmc written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jonlamb-gh/lmc on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jonlamb-gh/lmc already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vcell v0.1.0 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.1.5 [INFO] [stderr] Downloaded cortex-m v0.5.8 [INFO] [stderr] Downloaded aligned v0.2.0 [INFO] [stderr] Downloaded proc-macro2 v0.4.27 [INFO] [stderr] Downloaded generic-array v0.11.1 [INFO] [stderr] Downloaded heapless v0.4.2 [INFO] [stderr] Downloaded embedded-hal v0.2.2 [INFO] [stderr] Downloaded nb v0.1.1 [INFO] [stderr] Downloaded syn v0.15.29 [INFO] [stderr] Downloaded hash32 v0.1.0 [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.2 [INFO] [stderr] Downloaded pwm-pca9685 v0.1.0 [INFO] [stderr] Downloaded cast v0.2.2 [INFO] [stderr] Downloaded bare-metal v0.2.4 [INFO] [stderr] Downloaded r0 v0.2.2 [INFO] [stderr] Downloaded cortex-m-rt v0.6.7 [INFO] [stderr] Downloaded volatile-register v0.2.0 [INFO] [stderr] Downloaded nom v4.2.2 [INFO] [stderr] Downloaded panic-semihosting v0.5.1 [INFO] [stderr] Downloaded stm32f1 v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54c05113ab0a605b8bd0d35d9bf3aee03337a5a9899fc6e7fccdf77cc7b65a73 [INFO] running `Command { std: "docker" "start" "-a" "54c05113ab0a605b8bd0d35d9bf3aee03337a5a9899fc6e7fccdf77cc7b65a73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54c05113ab0a605b8bd0d35d9bf3aee03337a5a9899fc6e7fccdf77cc7b65a73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54c05113ab0a605b8bd0d35d9bf3aee03337a5a9899fc6e7fccdf77cc7b65a73", kill_on_drop: false }` [INFO] [stdout] 54c05113ab0a605b8bd0d35d9bf3aee03337a5a9899fc6e7fccdf77cc7b65a73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4def3f9b379633d92e1ecca90c1e57dffe7b7ede8dcb0092833e707c2a0c733 [INFO] running `Command { std: "docker" "start" "-a" "f4def3f9b379633d92e1ecca90c1e57dffe7b7ede8dcb0092833e707c2a0c733", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling vcell v0.1.0 [INFO] [stderr] Compiling cortex-m v0.5.8 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling aligned v0.2.0 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling cortex-m-rt v0.6.7 [INFO] [stderr] Compiling nb v0.1.1 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.2 [INFO] [stderr] Compiling stm32f1 v0.6.0 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling ssd1306 v0.2.4 (/opt/rustwide/workdir/deps/ssd1306) [INFO] [stderr] Compiling bare-metal v0.2.4 [INFO] [stderr] Compiling volatile-register v0.2.0 [INFO] [stderr] Compiling embedded-hal v0.2.2 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling pwm-pca9685 v0.1.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling hash32 v0.1.0 [INFO] [stderr] Compiling nom v4.2.2 [INFO] [stderr] Compiling generic-array v0.11.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling panic-semihosting v0.5.1 [INFO] [stderr] Compiling heapless v0.4.2 [INFO] [stderr] Compiling tinybmp v0.1.1-alpha.0 (/opt/rustwide/workdir/deps/embedded-graphics/tinybmp) [INFO] [stderr] Compiling embedded-graphics v0.4.8-alpha.0 (/opt/rustwide/workdir/deps/embedded-graphics/embedded-graphics) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> deps/embedded-graphics/embedded-graphics/src/image/image16bpp.rs:172:20 [INFO] [stdout] | [INFO] [stdout] 172 | ..*self.clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Image16BPP<'_, C>` does not implement `Clone`, so calling `clone` on `&Image16BPP<'_, C>` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 172 - ..*self.clone() [INFO] [stdout] 172 + ..*self [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Image16BPP<'_, C>`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 25 + #[derive(Clone)] [INFO] [stdout] 26 | pub struct Image16BPP<'a, C: PixelColor> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> deps/embedded-graphics/embedded-graphics/src/image/image1bpp.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | ..*self.clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Image1BPP<'_, C>` does not implement `Clone`, so calling `clone` on `&Image1BPP<'_, C>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 174 - ..*self.clone() [INFO] [stdout] 174 + ..*self [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Image1BPP<'_, C>`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 21 + #[derive(Clone)] [INFO] [stdout] 22 | pub struct Image1BPP<'a, C> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> deps/embedded-graphics/embedded-graphics/src/image/image8bpp.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | ..*self.clone() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Image8BPP<'_, C>` does not implement `Clone`, so calling `clone` on `&Image8BPP<'_, C>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 167 - ..*self.clone() [INFO] [stdout] 167 + ..*self [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Image8BPP<'_, C>`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 21 + #[derive(Clone)] [INFO] [stdout] 22 | pub struct Image8BPP<'a, C: PixelColor> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.5 [INFO] [stderr] Compiling stm32f1xx-hal v0.2.1 (/opt/rustwide/workdir/deps/stm32f1xx-hal) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> deps/stm32f1xx-hal/src/rcc.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | 3...5 => 0b1001, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> deps/stm32f1xx-hal/src/rcc.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 189 | 6...11 => 0b1010, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> deps/stm32f1xx-hal/src/rcc.rs:190:19 [INFO] [stdout] | [INFO] [stdout] 190 | 12...39 => 0b1011, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> deps/stm32f1xx-hal/src/rcc.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | 40...95 => 0b1100, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> deps/stm32f1xx-hal/src/rcc.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | 96...191 => 0b1101, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> deps/stm32f1xx-hal/src/rcc.rs:193:20 [INFO] [stdout] | [INFO] [stdout] 193 | 192...383 => 0b1110, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> deps/stm32f1xx-hal/src/rcc.rs:207:18 [INFO] [stdout] | [INFO] [stdout] 207 | 3...5 => 0b101, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> deps/stm32f1xx-hal/src/rcc.rs:208:18 [INFO] [stdout] | [INFO] [stdout] 208 | 6...11 => 0b110, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> deps/stm32f1xx-hal/src/rcc.rs:223:18 [INFO] [stdout] | [INFO] [stdout] 223 | 3...5 => 0b101, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> deps/stm32f1xx-hal/src/rcc.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | 6...11 => 0b110, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> deps/stm32f1xx-hal/src/spi.rs:126:26 [INFO] [stdout] | [INFO] [stdout] 126 | 1...2 => 0b000, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 226 | / hal! { [INFO] [stdout] 227 | | SPI1: (_spi1, spi1en, spi1rst, APB2), [INFO] [stdout] 228 | | SPI2: (_spi2, spi2en, spi2rst, APB1), [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> deps/stm32f1xx-hal/src/spi.rs:127:26 [INFO] [stdout] | [INFO] [stdout] 127 | 3...5 => 0b001, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 226 | / hal! { [INFO] [stdout] 227 | | SPI1: (_spi1, spi1en, spi1rst, APB2), [INFO] [stdout] 228 | | SPI2: (_spi2, spi2en, spi2rst, APB1), [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> deps/stm32f1xx-hal/src/spi.rs:128:26 [INFO] [stdout] | [INFO] [stdout] 128 | 6...11 => 0b010, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 226 | / hal! { [INFO] [stdout] 227 | | SPI1: (_spi1, spi1en, spi1rst, APB2), [INFO] [stdout] 228 | | SPI2: (_spi2, spi2en, spi2rst, APB1), [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> deps/stm32f1xx-hal/src/spi.rs:129:27 [INFO] [stdout] | [INFO] [stdout] 129 | 12...23 => 0b011, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 226 | / hal! { [INFO] [stdout] 227 | | SPI1: (_spi1, spi1en, spi1rst, APB2), [INFO] [stdout] 228 | | SPI2: (_spi2, spi2en, spi2rst, APB1), [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> deps/stm32f1xx-hal/src/spi.rs:130:27 [INFO] [stdout] | [INFO] [stdout] 130 | 24...47 => 0b100, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 226 | / hal! { [INFO] [stdout] 227 | | SPI1: (_spi1, spi1en, spi1rst, APB2), [INFO] [stdout] 228 | | SPI2: (_spi2, spi2en, spi2rst, APB1), [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> deps/stm32f1xx-hal/src/spi.rs:131:27 [INFO] [stdout] | [INFO] [stdout] 131 | 48...95 => 0b101, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 226 | / hal! { [INFO] [stdout] 227 | | SPI1: (_spi1, spi1en, spi1rst, APB2), [INFO] [stdout] 228 | | SPI2: (_spi2, spi2en, spi2rst, APB1), [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> deps/stm32f1xx-hal/src/spi.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | 96...191 => 0b110, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 226 | / hal! { [INFO] [stdout] 227 | | SPI1: (_spi1, spi1en, spi1rst, APB2), [INFO] [stdout] 228 | | SPI2: (_spi2, spi2en, spi2rst, APB1), [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> deps/stm32f1xx-hal/src/pwm.rs:233:31 [INFO] [stdout] | [INFO] [stdout] 233 | unsafe { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | / hal! { [INFO] [stdout] 336 | | TIM2: (tim2, tim2en, tim2rst), [INFO] [stdout] 337 | | TIM3: (tim3, tim3en, tim3rst), [INFO] [stdout] 338 | | TIM4: (tim4, tim4en, tim4rst), [INFO] [stdout] 339 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> deps/stm32f1xx-hal/src/pwm_input.rs:269:27 [INFO] [stdout] | [INFO] [stdout] 269 | unsafe { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | / hal! { [INFO] [stdout] 338 | | TIM2: (tim2, tim2en, tim2rst, dbg_tim2_stop), [INFO] [stdout] 339 | | TIM3: (tim3, tim3en, tim3rst, dbg_tim3_stop), [INFO] [stdout] 340 | | TIM4: (tim4, tim4en, tim4rst, dbg_tim4_stop), [INFO] [stdout] 341 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: assigning to `&T` is undefined behavior, consider using an `UnsafeCell` [INFO] [stdout] --> deps/stm32f1xx-hal/src/serial.rs:449:29 [INFO] [stdout] | [INFO] [stdout] 449 | ptr::write_volatile(&(*$USARTX::ptr()).dr as *const _ as *mut _, byte) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 461 | / hal! { [INFO] [stdout] 462 | | /// # USART1 functions [INFO] [stdout] 463 | | USART1: ( [INFO] [stdout] 464 | | usart1, [INFO] [stdout] ... | [INFO] [stdout] 494 | | ), [INFO] [stdout] 495 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get` [INFO] [stdout] = note: `#[warn(invalid_reference_casting)]` on by default [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: assigning to `&T` is undefined behavior, consider using an `UnsafeCell` [INFO] [stdout] --> deps/stm32f1xx-hal/src/spi.rs:210:34 [INFO] [stdout] | [INFO] [stdout] 210 | unsafe { ptr::write_volatile(&self.spi.dr as *const _ as *mut u8, byte) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | / hal! { [INFO] [stdout] 227 | | SPI1: (_spi1, spi1en, spi1rst, APB2), [INFO] [stdout] 228 | | SPI2: (_spi2, spi2en, spi2rst, APB1), [INFO] [stdout] 229 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get` [INFO] [stdout] = note: this warning originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lmc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `embedded_hal::timer::CountDown` [INFO] [stdout] --> src/lcm.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use embedded_hal::timer::CountDown; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `panic_semihosting` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use panic_semihosting; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut wdt = Iwdg::new(p.IWDG, IwdgConfig::from(WatchdogTimeout::Wdto500ms)); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lmc` (bin "lmc") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f4def3f9b379633d92e1ecca90c1e57dffe7b7ede8dcb0092833e707c2a0c733", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4def3f9b379633d92e1ecca90c1e57dffe7b7ede8dcb0092833e707c2a0c733", kill_on_drop: false }` [INFO] [stdout] f4def3f9b379633d92e1ecca90c1e57dffe7b7ede8dcb0092833e707c2a0c733