[INFO] fetching crate groundhog-nrf52 0.2.1... [INFO] testing groundhog-nrf52-0.2.1 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate groundhog-nrf52 0.2.1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate groundhog-nrf52 0.2.1 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate groundhog-nrf52 0.2.1 [INFO] finished tweaking crates.io crate groundhog-nrf52 0.2.1 [INFO] tweaked toml for crates.io crate groundhog-nrf52 0.2.1 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a38663ec8b25aead34350c1629ae3dc8343b981efc567088513ef26d719692ad [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" "a38663ec8b25aead34350c1629ae3dc8343b981efc567088513ef26d719692ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a38663ec8b25aead34350c1629ae3dc8343b981efc567088513ef26d719692ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a38663ec8b25aead34350c1629ae3dc8343b981efc567088513ef26d719692ad", kill_on_drop: false }` [INFO] [stdout] a38663ec8b25aead34350c1629ae3dc8343b981efc567088513ef26d719692ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8441d0261e4a4590dfea0175d3dd2cf496c279fcfcc7357b3fc0337545c36c3d [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" "8441d0261e4a4590dfea0175d3dd2cf496c279fcfcc7357b3fc0337545c36c3d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cortex-m-rt v0.6.14 [INFO] [stderr] Compiling nrf52840-pac v0.9.0 [INFO] [stderr] Compiling heapless v0.6.1 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling nrf-hal-common v0.12.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling nrf52840-hal v0.12.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rtic-core v0.3.1 [INFO] [stderr] Compiling groundhog v0.1.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling cortex-m-rtic v0.5.6 [INFO] [stderr] Compiling embedded-dma v0.1.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling embedded-hal v0.2.5 [INFO] [stderr] Compiling fixed v1.9.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling cortex-m v0.7.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling aligned v0.3.4 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling cast v0.2.6 [INFO] [stderr] Compiling rtic-syntax v0.4.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling cortex-m-rtic-macros v0.5.2 [INFO] [stderr] Compiling groundhog-nrf52 v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 41s [INFO] running `Command { std: "docker" "inspect" "8441d0261e4a4590dfea0175d3dd2cf496c279fcfcc7357b3fc0337545c36c3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8441d0261e4a4590dfea0175d3dd2cf496c279fcfcc7357b3fc0337545c36c3d", kill_on_drop: false }` [INFO] [stdout] 8441d0261e4a4590dfea0175d3dd2cf496c279fcfcc7357b3fc0337545c36c3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 283b44b01385ad195cc36356e77e45c409efa5083b01d23ecb7785c1a0696fec [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" "283b44b01385ad195cc36356e77e45c409efa5083b01d23ecb7785c1a0696fec", kill_on_drop: false }` [INFO] [stderr] Compiling groundhog-nrf52 v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.12s [INFO] running `Command { std: "docker" "inspect" "283b44b01385ad195cc36356e77e45c409efa5083b01d23ecb7785c1a0696fec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "283b44b01385ad195cc36356e77e45c409efa5083b01d23ecb7785c1a0696fec", kill_on_drop: false }` [INFO] [stdout] 283b44b01385ad195cc36356e77e45c409efa5083b01d23ecb7785c1a0696fec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c572383c1b3e83abe52f2f8abdd125772cc2fc4556add963768f4112fe58f9b0 [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" "c572383c1b3e83abe52f2f8abdd125772cc2fc4556add963768f4112fe58f9b0", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/groundhog_nrf52-f5aa3e13a024d63c) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests groundhog-nrf52 [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] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 13) ... FAILED [INFO] [stdout] test src/lib.rs - (line 19) ... FAILED [INFO] [stdout] test src/lib.rs - (line 30) ... 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 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] 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] ---- 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] [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.67s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "c572383c1b3e83abe52f2f8abdd125772cc2fc4556add963768f4112fe58f9b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c572383c1b3e83abe52f2f8abdd125772cc2fc4556add963768f4112fe58f9b0", kill_on_drop: false }` [INFO] [stdout] c572383c1b3e83abe52f2f8abdd125772cc2fc4556add963768f4112fe58f9b0