[INFO] fetching crate groundhog-nrf52 0.3.1... [INFO] testing groundhog-nrf52-0.3.1 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate groundhog-nrf52 0.3.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate groundhog-nrf52 0.3.1 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate groundhog-nrf52 0.3.1 [INFO] finished tweaking crates.io crate groundhog-nrf52 0.3.1 [INFO] tweaked toml for crates.io crate groundhog-nrf52 0.3.1 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fa737bf29a124f562415053ac95cc13d774bb229fad4c2ece56be40eda07e93 [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" "2fa737bf29a124f562415053ac95cc13d774bb229fad4c2ece56be40eda07e93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fa737bf29a124f562415053ac95cc13d774bb229fad4c2ece56be40eda07e93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fa737bf29a124f562415053ac95cc13d774bb229fad4c2ece56be40eda07e93", kill_on_drop: false }` [INFO] [stdout] 2fa737bf29a124f562415053ac95cc13d774bb229fad4c2ece56be40eda07e93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4929918540eaf890d3c778f13e26b41ec5c3dd2c5ca4101ed0f99baca327718c [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" "4929918540eaf890d3c778f13e26b41ec5c3dd2c5ca4101ed0f99baca327718c", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Compiling az v1.1.2 [INFO] [stderr] Compiling fixed v1.10.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling heapless v0.6.1 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling nrf-hal-common v0.12.2 [INFO] [stderr] Compiling nrf52840-hal v0.12.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rtic-core v0.3.1 [INFO] [stderr] Compiling groundhog v0.2.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-dma v0.1.2 [INFO] [stderr] Compiling cortex-m-rtic v0.5.9 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling embedded-hal v0.2.6 [INFO] [stderr] Compiling nrf52840-pac v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling cortex-m v0.7.3 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling aligned v0.3.5 [INFO] [stderr] Compiling rtic-syntax v0.4.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.6.15 [INFO] [stderr] Compiling cortex-m-rtic-macros v0.5.3 [INFO] [stderr] Compiling groundhog-nrf52 v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 35s [INFO] running `Command { std: "docker" "inspect" "4929918540eaf890d3c778f13e26b41ec5c3dd2c5ca4101ed0f99baca327718c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4929918540eaf890d3c778f13e26b41ec5c3dd2c5ca4101ed0f99baca327718c", kill_on_drop: false }` [INFO] [stdout] 4929918540eaf890d3c778f13e26b41ec5c3dd2c5ca4101ed0f99baca327718c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b3e8b9b0dbcf067c2fa6394995a015ff720825c384c7c73958854f96ad5c960 [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" "6b3e8b9b0dbcf067c2fa6394995a015ff720825c384c7c73958854f96ad5c960", kill_on_drop: false }` [INFO] [stderr] Compiling groundhog-nrf52 v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.96s [INFO] running `Command { std: "docker" "inspect" "6b3e8b9b0dbcf067c2fa6394995a015ff720825c384c7c73958854f96ad5c960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b3e8b9b0dbcf067c2fa6394995a015ff720825c384c7c73958854f96ad5c960", kill_on_drop: false }` [INFO] [stdout] 6b3e8b9b0dbcf067c2fa6394995a015ff720825c384c7c73958854f96ad5c960 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 00cf84a960935c4b95ca12618e3630018eb6b6d2137360ee0f5b7aabf6d7c23e [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" "00cf84a960935c4b95ca12618e3630018eb6b6d2137360ee0f5b7aabf6d7c23e", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/groundhog_nrf52-8bfd237f2cb51f0c) [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 13) ... FAILED [INFO] [stdout] test src/lib.rs - (line 30) ... FAILED [INFO] [stdout] test src/lib.rs - (line 19) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 13) stdout ---- [INFO] [stdout] error: expected statement after outer attribute [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[rtic::app(device = nrf52840_hal::pac, peripherals = true, monotonic = groundhog_nrf52::GlobalRollingTimer)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [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] 3 | #[task] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `my_task` [INFO] [stdout] --> src/lib.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 4 | fn my_task(ctx: my_task::Context) { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `my_task` [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] ---- 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] 3 | #[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]: failed to resolve: use of undeclared crate or module `init` [INFO] [stdout] --> src/lib.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 4 | fn init(ctx: init::Context) -> init::LateResources { [INFO] [stdout] | ^^^^ use of undeclared crate or module `init` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `init` [INFO] [stdout] --> src/lib.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 4 | fn init(ctx: init::Context) -> init::LateResources { [INFO] [stdout] | ^^^^ use of undeclared crate or module `init` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GlobalRollingTimer` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 6 | GlobalRollingTimer::init(ctx.device.TIMER0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use groundhog_nrf52::GlobalRollingTimer; [INFO] [stdout] | [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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 13) [INFO] [stdout] src/lib.rs - (line 19) [INFO] [stdout] src/lib.rs - (line 30) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.73s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "00cf84a960935c4b95ca12618e3630018eb6b6d2137360ee0f5b7aabf6d7c23e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00cf84a960935c4b95ca12618e3630018eb6b6d2137360ee0f5b7aabf6d7c23e", kill_on_drop: false }` [INFO] [stdout] 00cf84a960935c4b95ca12618e3630018eb6b6d2137360ee0f5b7aabf6d7c23e