[INFO] fetching crate groundhog-nrf52 0.5.0... [INFO] testing groundhog-nrf52-0.5.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate groundhog-nrf52 0.5.0 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate groundhog-nrf52 0.5.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d34deca3bf626c7256f1b80f4a12fd355bf2bfddd12418780e19eb929b0a3ed7 [INFO] running `Command { std: "docker" "start" "-a" "d34deca3bf626c7256f1b80f4a12fd355bf2bfddd12418780e19eb929b0a3ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d34deca3bf626c7256f1b80f4a12fd355bf2bfddd12418780e19eb929b0a3ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d34deca3bf626c7256f1b80f4a12fd355bf2bfddd12418780e19eb929b0a3ed7", kill_on_drop: false }` [INFO] [stdout] d34deca3bf626c7256f1b80f4a12fd355bf2bfddd12418780e19eb929b0a3ed7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d071bebdde3b840236e1690b9aab414673b9a4032a876295d06bdec3c0273de [INFO] running `Command { std: "docker" "start" "-a" "9d071bebdde3b840236e1690b9aab414673b9a4032a876295d06bdec3c0273de", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m-rt v0.7.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling nrf52840-pac v0.10.1 [INFO] [stderr] Compiling fixed v1.29.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling usb-device v0.2.9 [INFO] [stderr] Compiling nrf-hal-common v0.14.1 [INFO] [stderr] Compiling heapless v0.6.1 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.5 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling cortex-m-rtic v0.5.9 [INFO] [stderr] Compiling embedded-dma v0.1.2 [INFO] [stderr] Compiling embedded-storage v0.2.0 [INFO] [stderr] Compiling nrf52840-hal v0.14.1 [INFO] [stderr] Compiling rtic-core v0.3.1 [INFO] [stderr] Compiling groundhog v0.2.5 [INFO] [stderr] Compiling nrf-usbd v0.1.0 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling rtic-syntax v0.4.0 [INFO] [stderr] Compiling zerocopy v0.8.27 [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 28.64s [INFO] running `Command { std: "docker" "inspect" "9d071bebdde3b840236e1690b9aab414673b9a4032a876295d06bdec3c0273de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d071bebdde3b840236e1690b9aab414673b9a4032a876295d06bdec3c0273de", kill_on_drop: false }` [INFO] [stdout] 9d071bebdde3b840236e1690b9aab414673b9a4032a876295d06bdec3c0273de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 402f28db0d48518afd292feaf36ee273e6869fd5f620b7702042f240927dd7af [INFO] running `Command { std: "docker" "start" "-a" "402f28db0d48518afd292feaf36ee273e6869fd5f620b7702042f240927dd7af", 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.58s [INFO] running `Command { std: "docker" "inspect" "402f28db0d48518afd292feaf36ee273e6869fd5f620b7702042f240927dd7af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "402f28db0d48518afd292feaf36ee273e6869fd5f620b7702042f240927dd7af", kill_on_drop: false }` [INFO] [stdout] 402f28db0d48518afd292feaf36ee273e6869fd5f620b7702042f240927dd7af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 78488a77f56aa5f9f60a6b278be6884fa2573100eb15112723d9e7e879cea268 [INFO] running `Command { std: "docker" "start" "-a" "78488a77f56aa5f9f60a6b278be6884fa2573100eb15112723d9e7e879cea268", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/groundhog_nrf52-f9554ee477071be5) [INFO] [stdout] [INFO] [stderr] Doc-tests groundhog_nrf52 [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 19) ... FAILED [INFO] [stdout] test src/lib.rs - (line 30) ... FAILED [INFO] [stdout] test src/lib.rs - (line 13) ... ok [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]: failed to resolve: use of undeclared type `GlobalRollingTimer` [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]: failed to resolve: function `init` is not a crate or module [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]: failed to resolve: function `init` is not a crate or module [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]: failed to resolve: function `my_task` is not a crate or module [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.33s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "78488a77f56aa5f9f60a6b278be6884fa2573100eb15112723d9e7e879cea268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78488a77f56aa5f9f60a6b278be6884fa2573100eb15112723d9e7e879cea268", kill_on_drop: false }` [INFO] [stdout] 78488a77f56aa5f9f60a6b278be6884fa2573100eb15112723d9e7e879cea268