[INFO] fetching crate groundhog-nrf52 0.5.0... [INFO] testing groundhog-nrf52-0.5.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate groundhog-nrf52 0.5.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate groundhog-nrf52 0.5.0 [INFO] finished tweaking crates.io crate groundhog-nrf52 0.5.0 [INFO] tweaked toml for crates.io crate groundhog-nrf52 0.5.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate groundhog-nrf52 0.5.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 54 packages to latest compatible versions [INFO] [stderr] Adding cortex-m-rtic v0.5.9 (available: v1.1.4) [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding nrf-usbd v0.1.0 (available: v0.1.1) [INFO] [stderr] Adding nrf52840-hal v0.14.1 (available: v0.19.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e22e8d54aae610fe1184d512209abcaa8599ddd9e9b919db078e8cdfb28f07d5 [INFO] running `Command { std: "docker" "start" "-a" "e22e8d54aae610fe1184d512209abcaa8599ddd9e9b919db078e8cdfb28f07d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e22e8d54aae610fe1184d512209abcaa8599ddd9e9b919db078e8cdfb28f07d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e22e8d54aae610fe1184d512209abcaa8599ddd9e9b919db078e8cdfb28f07d5", kill_on_drop: false }` [INFO] [stdout] e22e8d54aae610fe1184d512209abcaa8599ddd9e9b919db078e8cdfb28f07d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab94eed5aa452e167ec5d345b6fdfbe4f1b7de552a119818863e87625b58f1bd [INFO] running `Command { std: "docker" "start" "-a" "ab94eed5aa452e167ec5d345b6fdfbe4f1b7de552a119818863e87625b58f1bd", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling cortex-m-rt v0.7.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling fixed v1.31.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling nrf52840-pac v0.10.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling nrf-hal-common v0.14.1 [INFO] [stderr] Compiling usb-device v0.2.9 [INFO] [stderr] Compiling az v1.3.0 [INFO] [stderr] Compiling heapless v0.6.1 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling embedded-dma v0.1.2 [INFO] [stderr] Compiling cortex-m-rtic v0.5.9 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling embedded-storage v0.2.0 [INFO] [stderr] Compiling nrf52840-hal v0.14.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rtic-core v0.3.1 [INFO] [stderr] Compiling groundhog v0.2.5 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling nrf-usbd v0.1.0 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.5 [INFO] [stderr] Compiling rtic-syntax v0.4.0 [INFO] [stderr] Compiling cortex-m-rtic-macros v0.5.3 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling groundhog-nrf52 v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.23s [INFO] running `Command { std: "docker" "inspect" "ab94eed5aa452e167ec5d345b6fdfbe4f1b7de552a119818863e87625b58f1bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab94eed5aa452e167ec5d345b6fdfbe4f1b7de552a119818863e87625b58f1bd", kill_on_drop: false }` [INFO] [stdout] ab94eed5aa452e167ec5d345b6fdfbe4f1b7de552a119818863e87625b58f1bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06742943b35ef8129d7eaaa7c007adea1c6a8b249baa93d5e627b046a2519b4e [INFO] running `Command { std: "docker" "start" "-a" "06742943b35ef8129d7eaaa7c007adea1c6a8b249baa93d5e627b046a2519b4e", kill_on_drop: false }` [INFO] [stderr] Compiling groundhog-nrf52 v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "06742943b35ef8129d7eaaa7c007adea1c6a8b249baa93d5e627b046a2519b4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06742943b35ef8129d7eaaa7c007adea1c6a8b249baa93d5e627b046a2519b4e", kill_on_drop: false }` [INFO] [stdout] 06742943b35ef8129d7eaaa7c007adea1c6a8b249baa93d5e627b046a2519b4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 78bf8aeb4934de4b64ff76805c31c21a6e33e852c2af3680115e7e2aebed35f7 [INFO] running `Command { std: "docker" "start" "-a" "78bf8aeb4934de4b64ff76805c31c21a6e33e852c2af3680115e7e2aebed35f7", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/groundhog_nrf52-ce98dc0c211eb011) [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; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests groundhog_nrf52 [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 19) ... FAILED [INFO] [stdout] test src/lib.rs - (line 13) ... ok [INFO] [stdout] test src/lib.rs - (line 30) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 19) stdout ---- [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> src/lib.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[init] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `init` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `GlobalRollingTimer` in this scope [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | GlobalRollingTimer::init(ctx.device.TIMER0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `GlobalRollingTimer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 19 + use groundhog_nrf52::GlobalRollingTimer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `init` in this scope [INFO] [stdout] --> src/lib.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | fn init(ctx: init::Context) -> init::LateResources { [INFO] [stdout] | ^^^^ function `init` is not a crate or module [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `init` in this scope [INFO] [stdout] --> src/lib.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | fn init(ctx: init::Context) -> init::LateResources { [INFO] [stdout] | ^^^^ function `init` is not a crate or module [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 30) stdout ---- [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> src/lib.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[task] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `my_task` in this scope [INFO] [stdout] --> src/lib.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn my_task(ctx: my_task::Context) { [INFO] [stdout] | ^^^^^^^ function `my_task` is not a crate or module [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 19) [INFO] [stdout] src/lib.rs - (line 30) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "78bf8aeb4934de4b64ff76805c31c21a6e33e852c2af3680115e7e2aebed35f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78bf8aeb4934de4b64ff76805c31c21a6e33e852c2af3680115e7e2aebed35f7", kill_on_drop: false }` [INFO] [stdout] 78bf8aeb4934de4b64ff76805c31c21a6e33e852c2af3680115e7e2aebed35f7