[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] checking jonlamb-gh/lmc against try#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonlamb-gh%2Flmc" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config [INFO] removed /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jonlamb-gh/lmc on toolchain 987a165cfab916796a8315782b83ac460a651ce2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "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" "+987a165cfab916796a8315782b83ac460a651ce2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking jonlamb-gh/lmc against try#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonlamb-gh%2Flmc" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config [INFO] removed /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jonlamb-gh/lmc on toolchain 987a165cfab916796a8315782b83ac460a651ce2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "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" "+987a165cfab916796a8315782b83ac460a651ce2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded heapless v0.4.2 [INFO] [stderr] Downloaded generic-array v0.11.1 [INFO] [stderr] Downloaded nom v4.2.2 [INFO] [stderr] Downloaded hash32 v0.1.0 [INFO] [stderr] Downloaded pwm-pca9685 v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afde6574badefabb873b2d037be9cbe58d8b869050785095066c131565cefc0a [INFO] running `Command { std: "docker" "start" "-a" "afde6574badefabb873b2d037be9cbe58d8b869050785095066c131565cefc0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afde6574badefabb873b2d037be9cbe58d8b869050785095066c131565cefc0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afde6574badefabb873b2d037be9cbe58d8b869050785095066c131565cefc0a", kill_on_drop: false }` [INFO] [stdout] afde6574badefabb873b2d037be9cbe58d8b869050785095066c131565cefc0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d79f7c75dce67c86173673d7fe0f26572731f3c74689930ffc07abb8602d4a3 [INFO] running `Command { std: "docker" "start" "-a" "0d79f7c75dce67c86173673d7fe0f26572731f3c74689930ffc07abb8602d4a3", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cortex-m v0.5.8 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Checking vcell v0.1.0 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Checking nb v0.1.1 [INFO] [stderr] Compiling cortex-m-rt v0.6.7 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.2 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling stm32f1 v0.6.0 [INFO] [stderr] Compiling ssd1306 v0.2.4 (/opt/rustwide/workdir/deps/ssd1306) [INFO] [stderr] Checking embedded-hal v0.2.2 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Checking pwm-pca9685 v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking nom v4.2.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking hash32 v0.1.0 [INFO] [stderr] Compiling bare-metal v0.2.4 [INFO] [stderr] Checking generic-array v0.11.1 [INFO] [stderr] Checking tinybmp v0.1.1-alpha.0 (/opt/rustwide/workdir/deps/embedded-graphics/tinybmp) [INFO] [stderr] Checking embedded-graphics v0.4.8-alpha.0 (/opt/rustwide/workdir/deps/embedded-graphics/embedded-graphics) [INFO] [stderr] Checking heapless v0.4.2 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking panic-semihosting v0.5.1 [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] Checking 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] error: 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: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f1xx-hal` (lib) due to 2 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0d79f7c75dce67c86173673d7fe0f26572731f3c74689930ffc07abb8602d4a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d79f7c75dce67c86173673d7fe0f26572731f3c74689930ffc07abb8602d4a3", kill_on_drop: false }` [INFO] [stdout] 0d79f7c75dce67c86173673d7fe0f26572731f3c74689930ffc07abb8602d4a3