[INFO] fetching crate gd32vf103xx-hal 0.4.0... [INFO] testing gd32vf103xx-hal-0.4.0 against try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] extracting crate gd32vf103xx-hal 0.4.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate gd32vf103xx-hal 0.4.0 on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate gd32vf103xx-hal 0.4.0 [INFO] finished tweaking crates.io crate gd32vf103xx-hal 0.4.0 [INFO] tweaked toml for crates.io crate gd32vf103xx-hal 0.4.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded riscv-target v0.1.2 [INFO] [stderr] Downloaded nb v1.0.0 [INFO] [stderr] Downloaded nb v0.1.3 [INFO] [stderr] Downloaded embedded-hal v0.2.4 [INFO] [stderr] Downloaded riscv v0.6.0 [INFO] [stderr] Downloaded bit_field v0.10.1 [INFO] [stderr] Downloaded gd32vf103-pac v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b86b28a533fee51c600c055be1aea5c61b79b48ecb77b5e1ca4d9c31432de463 [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" "b86b28a533fee51c600c055be1aea5c61b79b48ecb77b5e1ca4d9c31432de463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b86b28a533fee51c600c055be1aea5c61b79b48ecb77b5e1ca4d9c31432de463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b86b28a533fee51c600c055be1aea5c61b79b48ecb77b5e1ca4d9c31432de463", kill_on_drop: false }` [INFO] [stdout] b86b28a533fee51c600c055be1aea5c61b79b48ecb77b5e1ca4d9c31432de463 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8181f42d6ed2b8d9903dbe88c53fe9e802f9173e18ebd5fef04830dc5f927ead [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" "8181f42d6ed2b8d9903dbe88c53fe9e802f9173e18ebd5fef04830dc5f927ead", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling vcell v0.1.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling gd32vf103xx-hal v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling riscv-target v0.1.2 [INFO] [stderr] Compiling riscv v0.6.0 [INFO] [stderr] Compiling gd32vf103-pac v0.4.0 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.22s [INFO] running `Command { std: "docker" "inspect" "8181f42d6ed2b8d9903dbe88c53fe9e802f9173e18ebd5fef04830dc5f927ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8181f42d6ed2b8d9903dbe88c53fe9e802f9173e18ebd5fef04830dc5f927ead", kill_on_drop: false }` [INFO] [stdout] 8181f42d6ed2b8d9903dbe88c53fe9e802f9173e18ebd5fef04830dc5f927ead [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e9647b8190a92ac5d3bc5647e1ae22684466240655fd110f9e57d84988dbec99 [INFO] running `Command { std: "docker" "start" "-a" "e9647b8190a92ac5d3bc5647e1ae22684466240655fd110f9e57d84988dbec99", kill_on_drop: false }` [INFO] [stderr] Compiling gd32vf103xx-hal v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.85s [INFO] running `Command { std: "docker" "inspect" "e9647b8190a92ac5d3bc5647e1ae22684466240655fd110f9e57d84988dbec99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9647b8190a92ac5d3bc5647e1ae22684466240655fd110f9e57d84988dbec99", kill_on_drop: false }` [INFO] [stdout] e9647b8190a92ac5d3bc5647e1ae22684466240655fd110f9e57d84988dbec99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bf8f11c9e97f0198a6c5f89a99cd7af49405e411eeb3d71a3a7ef3c9e5684901 [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" "bf8f11c9e97f0198a6c5f89a99cd7af49405e411eeb3d71a3a7ef3c9e5684901", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/gd32vf103xx_hal-5a0f6311d26bf33b [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests gd32vf103xx-hal [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/exti.rs - exti::ExtiLine::from_gpio_line (line 29) ... FAILED [INFO] [stdout] test src/rtc.rs - rtc::Rtc::wait_alarm (line 178) ... FAILED [INFO] [stdout] test src/serial.rs - serial (line 8) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/exti.rs - exti::ExtiLine::from_gpio_line (line 29) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TriggerEdge` [INFO] [stdout] --> src/exti.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 4 | exti.listen(extiline, TriggerEdge::Falling); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `TriggerEdge` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `extiline` in this scope [INFO] [stdout] --> src/exti.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 3 | extiline = ExtiLine::from_gpio_line(some_pin.pin_number()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExtiLine` [INFO] [stdout] --> src/exti.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 3 | extiline = ExtiLine::from_gpio_line(some_pin.pin_number()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use gd32vf103xx_hal::exti::ExtiLine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `some_pin` in this scope [INFO] [stdout] --> src/exti.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 3 | extiline = ExtiLine::from_gpio_line(some_pin.pin_number()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `exti` in this scope [INFO] [stdout] --> src/exti.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 4 | exti.listen(extiline, TriggerEdge::Falling); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `extiline` in this scope [INFO] [stdout] --> src/exti.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 4 | exti.listen(extiline, TriggerEdge::Falling); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rtc.rs - rtc::Rtc::wait_alarm (line 178) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `rtc` in this scope [INFO] [stdout] --> src/rtc.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 5 | rtc.set_alarm(rtc.current_time() + 5); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rtc` in this scope [INFO] [stdout] --> src/rtc.rs:181:15 [INFO] [stdout] | [INFO] [stdout] 5 | rtc.set_alarm(rtc.current_time() + 5); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rtc` in this scope [INFO] [stdout] --> src/rtc.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 7 | block!(rtc.wait_alarm()).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/serial.rs - serial (line 8) stdout ---- [INFO] [stdout] error: cannot find macro `block` in this scope [INFO] [stdout] --> src/serial.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 26 | let received = block!(rx.read()).unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] nb::block [INFO] [stdout] [INFO] [stdout] error: cannot find macro `block` in this scope [INFO] [stdout] --> src/serial.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 24 | block!(tx.write(b'R')).ok(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] nb::block [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/serial.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 4 | let p = crate::pac::Peripherals::take().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `crate::pac` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use gd32vf103_pac::Peripherals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rcu` in this scope [INFO] [stdout] --> src/serial.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 5 | let mut afio = p.AFIO.constrain(&mut rcu); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Serial` [INFO] [stdout] --> src/serial.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 12 | let serial = Serial::new( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use gd32vf103xx_hal::serial::Serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> src/serial.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 15 | Config::default().baudrate(9_600.bps()), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use gd32vf103xx_hal::serial::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rcu` in this scope [INFO] [stdout] --> src/serial.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 17 | &mut rcu, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `bps` on ambiguous numeric type `{integer}` [INFO] [stdout] --> src/serial.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 15 | Config::default().baudrate(9_600.bps()), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a concrete type for this numeric value, like `i32` [INFO] [stdout] | [INFO] [stdout] 15 | Config::default().baudrate(9_600_i32.bps()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0689. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/exti.rs - exti::ExtiLine::from_gpio_line (line 29) [INFO] [stdout] src/rtc.rs - rtc::Rtc::wait_alarm (line 178) [INFO] [stdout] src/serial.rs - serial (line 8) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "bf8f11c9e97f0198a6c5f89a99cd7af49405e411eeb3d71a3a7ef3c9e5684901", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf8f11c9e97f0198a6c5f89a99cd7af49405e411eeb3d71a3a7ef3c9e5684901", kill_on_drop: false }` [INFO] [stdout] bf8f11c9e97f0198a6c5f89a99cd7af49405e411eeb3d71a3a7ef3c9e5684901