[INFO] fetching crate rotary-encoder-hal 0.3.0... [INFO] checking rotary-encoder-hal-0.3.0 against try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] extracting crate rotary-encoder-hal 0.3.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate rotary-encoder-hal 0.3.0 on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rotary-encoder-hal 0.3.0 [INFO] finished tweaking crates.io crate rotary-encoder-hal 0.3.0 [INFO] tweaked toml for crates.io crate rotary-encoder-hal 0.3.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded defmt-macros v0.1.1 [INFO] [stderr] Downloaded defmt v0.1.3 [INFO] [stderr] Downloaded stm32f3xx-hal v0.5.0 [INFO] [stderr] Downloaded stm32f3 v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 472f0a32a7e3742f775d2a76b48d5e919c0dd1eb8650fc5a3bc9fde1a5457466 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "472f0a32a7e3742f775d2a76b48d5e919c0dd1eb8650fc5a3bc9fde1a5457466", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "472f0a32a7e3742f775d2a76b48d5e919c0dd1eb8650fc5a3bc9fde1a5457466", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "472f0a32a7e3742f775d2a76b48d5e919c0dd1eb8650fc5a3bc9fde1a5457466", kill_on_drop: false }` [INFO] [stdout] 472f0a32a7e3742f775d2a76b48d5e919c0dd1eb8650fc5a3bc9fde1a5457466 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3785615b2aeab00dcfffc740c16bf378fc60275f76824c595fa6c9a32e3698cd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3785615b2aeab00dcfffc740c16bf378fc60275f76824c595fa6c9a32e3698cd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cortex-m-rt v0.6.14 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling stm32f3 v0.11.0 [INFO] [stderr] Checking semver-parser v0.9.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking embedded-hal v0.2.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking rotary-encoder-hal v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking pulldown-cmark v0.8.0 [INFO] [stderr] Checking unicode-normalization v0.1.18 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking cortex-m v0.7.2 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking panic-semihosting v0.5.6 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Checking cortex-m v0.6.7 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling cast v0.2.6 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking version-sync v0.9.2 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Checking stm32f3xx-hal v0.5.0 [INFO] [stdout] error: This crate requires you to specify your target chip as a feature. [INFO] [stdout] [INFO] [stdout] Please select one of the following [INFO] [stdout] [INFO] [stdout] (Note: `x` denotes any character in [a-z]) [INFO] [stdout] * stm32f301 [INFO] [stdout] * stm32f318 [INFO] [stdout] * stm32f302xb [INFO] [stdout] * stm32f302xc [INFO] [stdout] * stm32f302xd [INFO] [stdout] * stm32f302xe [INFO] [stdout] * stm32f303xb [INFO] [stdout] * stm32f303xc [INFO] [stdout] * stm32f303xd [INFO] [stdout] * stm32f303xe [INFO] [stdout] * stm32f303x6 [INFO] [stdout] * stm32f303x8 [INFO] [stdout] * stm32f373 [INFO] [stdout] * stm32f378 [INFO] [stdout] * stm32f334 [INFO] [stdout] * stm32f328 [INFO] [stdout] * stm32f358 [INFO] [stdout] * stm32f398 [INFO] [stdout] [INFO] [stdout] Example: The STM32F3Discovery board has a STM32F303VCT6 chip. [INFO] [stdout] So you want to expand your call to `cargo` with `--features stm32f303xc`. [INFO] [stdout] [INFO] [stdout] For more information, see README -> Selecting the right chip. [INFO] [stdout] [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f3xx-hal-0.5.0/src/lib.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / compile_error!( [INFO] [stdout] 38 | | "This crate requires you to specify your target chip as a feature. [INFO] [stdout] 39 | | [INFO] [stdout] 40 | | Please select one of the following [INFO] [stdout] ... | [INFO] [stdout] 66 | | " [INFO] [stdout] 67 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: The feature you selected is deprecated, because it was split up into sub-devices. [INFO] [stdout] [INFO] [stdout] Example: The STM32F3Discovery board has a STM32F303VCT6 chip. [INFO] [stdout] You probably used to use `--features stm32f303` but now functionalities for the sub-device were added. [INFO] [stdout] In this case replace it with `--features stm32f303xc` to make your code build again. [INFO] [stdout] [INFO] [stdout] Please select one of the chip features stated above. [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f3xx-hal-0.5.0/src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / compile_error!( [INFO] [stdout] 71 | | "The feature you selected is deprecated, because it was split up into sub-devices. [INFO] [stdout] 72 | | [INFO] [stdout] 73 | | Example: The STM32F3Discovery board has a STM32F303VCT6 chip. [INFO] [stdout] ... | [INFO] [stdout] 77 | | Please select one of the chip features stated above." [INFO] [stdout] 78 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::gpio`, `crate::rcc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f3xx-hal-0.5.0/src/adc.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | gpio::Analog, [INFO] [stdout] | ^^^^ could not find `gpio` in the crate root [INFO] [stdout] 9 | rcc::{Clocks, AHB}, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `crate::pac::rcc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::gpio` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f3xx-hal-0.5.0/src/adc.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | gpio::{gpioa, gpiob, gpioc}, [INFO] [stdout] | ^^^^ could not find `gpio` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::rcc`, `crate::serial` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f3xx-hal-0.5.0/src/dma.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | rcc::AHB, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `crate::pac::rcc` [INFO] [stdout] 11 | serial, [INFO] [stdout] | ^^^^^^ no `serial` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f3xx-hal` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "3785615b2aeab00dcfffc740c16bf378fc60275f76824c595fa6c9a32e3698cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3785615b2aeab00dcfffc740c16bf378fc60275f76824c595fa6c9a32e3698cd", kill_on_drop: false }` [INFO] [stdout] 3785615b2aeab00dcfffc740c16bf378fc60275f76824c595fa6c9a32e3698cd