[INFO] cloning repository https://github.com/luojia65/example-gd32vf103 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luojia65/example-gd32vf103" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Fexample-gd32vf103", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Fexample-gd32vf103'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9ac28520c97418d6ca0599239b549794a0f6874 [INFO] checking luojia65/example-gd32vf103 against master#85c39893a761fe4c050523278da4e7e45ab42b6e for pr-134688 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Fexample-gd32vf103" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luojia65/example-gd32vf103 on toolchain 85c39893a761fe4c050523278da4e7e45ab42b6e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/luojia65/example-gd32vf103 [INFO] finished tweaking git repo https://github.com/luojia65/example-gd32vf103 [INFO] tweaked toml for git repo https://github.com/luojia65/example-gd32vf103 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/luojia65/example-gd32vf103 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" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v1.1.3 [INFO] [stderr] Adding bit_field v0.10.2 [INFO] [stderr] Updating embedded-hal v0.2.3 -> v1.0.0 [INFO] [stderr] Adding gd32vf103-hal v0.0.6 [INFO] [stderr] Updating gd32vf103-pac v0.1.0 -> v0.4.0 [INFO] [stderr] Adding lazy_static v1.5.0 [INFO] [stderr] Adding memchr v2.7.4 [INFO] [stderr] Updating nb v0.1.2 -> v1.1.0 [INFO] [stderr] Adding regex v1.11.1 [INFO] [stderr] Adding regex-automata v0.4.9 [INFO] [stderr] Adding regex-syntax v0.8.5 [INFO] [stderr] Adding riscv v0.6.0 [INFO] [stderr] Adding riscv-target v0.1.2 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded riscv v0.5.4 [INFO] [stderr] Downloaded gd32vf103-hal v0.0.6 [INFO] [stderr] Downloaded riscv-rt v0.6.1 [INFO] [stderr] Downloaded gd32vf103-pac v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d1de1795b8b6428c6ae7b1f050b815c1a64f488c71ef335d3904799e889620e [INFO] running `Command { std: "docker" "start" "-a" "2d1de1795b8b6428c6ae7b1f050b815c1a64f488c71ef335d3904799e889620e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d1de1795b8b6428c6ae7b1f050b815c1a64f488c71ef335d3904799e889620e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d1de1795b8b6428c6ae7b1f050b815c1a64f488c71ef335d3904799e889620e", kill_on_drop: false }` [INFO] [stdout] 2d1de1795b8b6428c6ae7b1f050b815c1a64f488c71ef335d3904799e889620e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7e59824e3cf6cf70d23b1b5193e293437119e2b32b171753ad42baaf78d5ed1 [INFO] running `Command { std: "docker" "start" "-a" "b7e59824e3cf6cf70d23b1b5193e293437119e2b32b171753ad42baaf78d5ed1", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Compiling riscv v0.5.4 [INFO] [stderr] Compiling gd32vf103-hal v0.0.6 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Checking bit_field v0.9.0 [INFO] [stderr] Compiling riscv-rt v0.6.1 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling riscv-rt-macros v0.1.6 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling riscv-target v0.1.2 [INFO] [stderr] Compiling riscv v0.6.0 [INFO] [stderr] Checking gd32vf103-pac v0.4.0 [INFO] [stdout] error[E0433]: failed to resolve: could not find `blocking` in `embedded_hal` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gd32vf103-hal-0.0.6/src/delay.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use embedded_hal::blocking::delay::DelayMs; [INFO] [stdout] | ^^^^^^^^ could not find `blocking` in `embedded_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embedded_hal::digital::ToggleableOutputPin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gd32vf103-hal-0.0.6/src/gpio.rs:93:73 [INFO] [stdout] | [INFO] [stdout] 93 | use embedded_hal::digital::{InputPin, OutputPin, StatefulOutputPin, ToggleableOutputPin}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `ToggleableOutputPin` in `digital` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `blocking` in `embedded_hal` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gd32vf103-hal-0.0.6/src/spi.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use embedded_hal::blocking::spi::*; [INFO] [stdout] | ^^^^^^^^ could not find `blocking` in `embedded_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embedded_hal::serial` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gd32vf103-hal-0.0.6/src/serial.rs:429:27 [INFO] [stdout] | [INFO] [stdout] 429 | use embedded_hal::serial::Write; [INFO] [stdout] | ^^^^^^ could not find `serial` in `embedded_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `blocking` in `embedded_hal` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gd32vf103-hal-0.0.6/src/timer.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use embedded_hal::blocking::delay::DelayMs; [INFO] [stdout] | ^^^^^^^^ could not find `blocking` in `embedded_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embedded_hal::spi::FullDuplex` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gd32vf103-hal-0.0.6/src/spi.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use embedded_hal::spi::{FullDuplex, Mode, Phase, Polarity}; [INFO] [stdout] | ^^^^^^^^^^ no `FullDuplex` in `spi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embedded_hal::timer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gd32vf103-hal-0.0.6/src/timer.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use embedded_hal::timer::CountDown; [INFO] [stdout] | ^^^^^ could not find `timer` in `embedded_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embedded_hal::watchdog` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gd32vf103-hal-0.0.6/src/wdog.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use embedded_hal::watchdog::{Watchdog, Enable}; [INFO] [stdout] | ^^^^^^^^ could not find `watchdog` in `embedded_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embedded_hal::prelude` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gd32vf103-hal-0.0.6/src/lib.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | pub use embedded_hal::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `embedded_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embedded_hal::digital::ToggleableOutputPin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gd32vf103-hal-0.0.6/src/gpio.rs:201:73 [INFO] [stdout] | [INFO] [stdout] 201 | use embedded_hal::digital::{InputPin, OutputPin, StatefulOutputPin, ToggleableOutputPin}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `ToggleableOutputPin` in `digital` [INFO] [stdout] ... [INFO] [stdout] 691 | / impl_gpio! { GPIOA, gpioa, gpioa, paen, parst, PAx, [ [INFO] [stdout] 692 | | PA0: (pa0, 0, Input, CTL0, ctl0), [INFO] [stdout] 693 | | PA1: (pa1, 1, Input, CTL0, ctl0), [INFO] [stdout] 694 | | PA2: (pa2, 2, Input, CTL0, ctl0), [INFO] [stdout] ... | [INFO] [stdout] 707 | | PA15: (pa15, 15, Input, CTL1, ctl1), [INFO] [stdout] 708 | | ] } [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embedded_hal::digital::ToggleableOutputPin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gd32vf103-hal-0.0.6/src/gpio.rs:201:73 [INFO] [stdout] | [INFO] [stdout] 201 | use embedded_hal::digital::{InputPin, OutputPin, StatefulOutputPin, ToggleableOutputPin}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `ToggleableOutputPin` in `digital` [INFO] [stdout] ... [INFO] [stdout] 710 | / impl_gpio! { GPIOB, gpiob, gpioa, pben, pbrst, PBx, [ [INFO] [stdout] 711 | | PB0: (pb0, 0, Input, CTL0, ctl0), [INFO] [stdout] 712 | | PB1: (pb1, 1, Input, CTL0, ctl0), [INFO] [stdout] 713 | | PB2: (pb2, 2, Input, CTL0, ctl0), [INFO] [stdout] ... | [INFO] [stdout] 726 | | PB15: (pb15, 15, Input, CTL1, ctl1), [INFO] [stdout] 727 | | ] } [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embedded_hal::digital::ToggleableOutputPin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gd32vf103-hal-0.0.6/src/gpio.rs:201:73 [INFO] [stdout] | [INFO] [stdout] 201 | use embedded_hal::digital::{InputPin, OutputPin, StatefulOutputPin, ToggleableOutputPin}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `ToggleableOutputPin` in `digital` [INFO] [stdout] ... [INFO] [stdout] 729 | / impl_gpio! { GPIOC, gpioc, gpioa, pcen, pcrst, PCx, [ [INFO] [stdout] 730 | | PC0: (pc0, 0, Input, CTL0, ctl0), [INFO] [stdout] 731 | | PC1: (pc1, 1, Input, CTL0, ctl0), [INFO] [stdout] 732 | | PC2: (pc2, 2, Input, CTL0, ctl0), [INFO] [stdout] ... | [INFO] [stdout] 745 | | PC15: (pc15, 15, Input, CTL1, ctl1), [INFO] [stdout] 746 | | ] } [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embedded_hal::digital::ToggleableOutputPin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gd32vf103-hal-0.0.6/src/gpio.rs:201:73 [INFO] [stdout] | [INFO] [stdout] 201 | use embedded_hal::digital::{InputPin, OutputPin, StatefulOutputPin, ToggleableOutputPin}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `ToggleableOutputPin` in `digital` [INFO] [stdout] ... [INFO] [stdout] 748 | / impl_gpio! { GPIOD, gpiod, gpioa, pden, pdrst, PDx, [ [INFO] [stdout] 749 | | PD0: (pd0, 0, Input, CTL0, ctl0), [INFO] [stdout] 750 | | PD1: (pd1, 1, Input, CTL0, ctl0), [INFO] [stdout] 751 | | PD2: (pd2, 2, Input, CTL0, ctl0), [INFO] [stdout] ... | [INFO] [stdout] 764 | | PD15: (pd15, 15, Input, CTL1, ctl1), [INFO] [stdout] 765 | | ] } [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embedded_hal::digital::ToggleableOutputPin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gd32vf103-hal-0.0.6/src/gpio.rs:201:73 [INFO] [stdout] | [INFO] [stdout] 201 | use embedded_hal::digital::{InputPin, OutputPin, StatefulOutputPin, ToggleableOutputPin}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `ToggleableOutputPin` in `digital` [INFO] [stdout] ... [INFO] [stdout] 767 | / impl_gpio! { GPIOE, gpioe, gpioa, peen, perst, PEx, [ [INFO] [stdout] 768 | | PE0: (pe0, 0, Input, CTL0, ctl0), [INFO] [stdout] 769 | | PE1: (pe1, 1, Input, CTL0, ctl0), [INFO] [stdout] 770 | | PE2: (pe2, 2, Input, CTL0, ctl0), [INFO] [stdout] ... | [INFO] [stdout] 783 | | PE15: (pe15, 15, Input, CTL1, ctl1), [INFO] [stdout] 784 | | ] } [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_gpio` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gd32vf103-hal-0.0.6/src/gpio.rs:129:48 [INFO] [stdout] | [INFO] [stdout] 129 | fn try_toggle(&mut self) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use fully-qualified syntax [INFO] [stdout] | [INFO] [stdout] 129 | fn try_toggle(&mut self) -> Result<(), as TryFrom>::Error> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 129 | fn try_toggle(&mut self) -> Result<(), as TryInto>::Error> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gd32vf103-hal` (lib) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "b7e59824e3cf6cf70d23b1b5193e293437119e2b32b171753ad42baaf78d5ed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7e59824e3cf6cf70d23b1b5193e293437119e2b32b171753ad42baaf78d5ed1", kill_on_drop: false }` [INFO] [stdout] b7e59824e3cf6cf70d23b1b5193e293437119e2b32b171753ad42baaf78d5ed1