[INFO] fetching crate esb 0.1.0... [INFO] testing esb-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate esb 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate esb 0.1.0 [INFO] finished tweaking crates.io crate esb 0.1.0 [INFO] tweaked toml for crates.io crate esb 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate esb 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 27 packages to latest compatible versions [INFO] [stderr] Adding bbqueue v0.4.12 (available: v0.5.1) [INFO] [stderr] Adding nrf51 v0.9.0 (available: v0.10.0) [INFO] [stderr] Adding nrf52810-pac v0.9.0 (available: v0.12.2) [INFO] [stderr] Adding nrf52832-pac v0.9.0 (available: v0.12.2) [INFO] [stderr] Adding nrf52840-pac v0.9.0 (available: v0.12.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nrf52840-pac v0.9.0 [INFO] [stderr] Downloaded bbqueue v0.4.12 [INFO] [stderr] Downloaded nrf52832-pac v0.9.0 [INFO] [stderr] Downloaded nrf51 v0.9.0 [INFO] [stderr] Downloaded nrf52810-pac v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94fa0711bad89639824b240ece8d728883fa390f4d859b705b4153d5a711289f [INFO] running `Command { std: "docker" "start" "-a" "94fa0711bad89639824b240ece8d728883fa390f4d859b705b4153d5a711289f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94fa0711bad89639824b240ece8d728883fa390f4d859b705b4153d5a711289f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94fa0711bad89639824b240ece8d728883fa390f4d859b705b4153d5a711289f", kill_on_drop: false }` [INFO] [stdout] 94fa0711bad89639824b240ece8d728883fa390f4d859b705b4153d5a711289f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5110a9ad65fea4184502993c9994647aa985d15aca9fe0b52092944f578a9ce4 [INFO] running `Command { std: "docker" "start" "-a" "5110a9ad65fea4184502993c9994647aa985d15aca9fe0b52092944f578a9ce4", kill_on_drop: false }` [INFO] [stderr] Compiling bbqueue v0.4.12 [INFO] [stderr] Compiling esb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pac` [INFO] [stdout] --> src/peripherals.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) use pac::{radio::txpower::TXPOWER_A, Interrupt, NVIC, RADIO}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pac` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pac`, use `cargo add pac` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pac` [INFO] [stdout] --> src/peripherals.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) use pac::{radio::txpower::TXPOWER_A, Interrupt, NVIC, RADIO}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pac` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pac`, use `cargo add pac` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | .write(|w| unsafe { w.bits(0xFFFF_FFFF) }); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 79 | .write(|w: /* Type */| unsafe { w.bits(0xFFFF_FFFF) }); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | self.radio.mode.write(|w| w.mode().nrf_2mbit()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 80 | self.radio.mode.write(|w: /* Type */| w.mode().nrf_2mbit()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 88 | self.radio.shorts.write(|w| { [INFO] [stdout] | ^ [INFO] [stdout] 89 | w.ready_start() [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 88 | self.radio.shorts.write(|w: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:103:35 [INFO] [stdout] | [INFO] [stdout] 103 | self.radio.txpower.write(|w| w.txpower().variant(tx_power)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 103 | self.radio.txpower.write(|w: /* Type */| w.txpower().variant(tx_power)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | .write(|w| w.lflen().bits(len_bits).s1len().bits(3)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 107 | .write(|w: /* Type */| w.lflen().bits(len_bits).s1len().bits(3)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:109:37 [INFO] [stdout] | [INFO] [stdout] 109 | self.radio.pcnf1.write(|w| { [INFO] [stdout] | ^ [INFO] [stdout] 110 | w.maxlen() [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 109 | self.radio.pcnf1.write(|w: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | .write(|w| w.crcinit().bits(CRC_INIT & 0x00FF_FFFF)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 126 | .write(|w: /* Type */| w.crcinit().bits(CRC_INIT & 0x00FF_FFFF)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:130:25 [INFO] [stdout] | [INFO] [stdout] 130 | .write(|w| w.crcpoly().bits(CRC_POLY & 0x00FF_FFFF)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 130 | .write(|w: /* Type */| w.crcpoly().bits(CRC_POLY & 0x00FF_FFFF)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:132:38 [INFO] [stdout] | [INFO] [stdout] 132 | self.radio.crccnf.write(|w| w.len().two()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 132 | self.radio.crccnf.write(|w: /* Type */| w.len().two()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:134:37 [INFO] [stdout] | [INFO] [stdout] 134 | self.radio.base0.write(|w| w.bits(base0)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 134 | self.radio.base0.write(|w: /* Type */| w.bits(base0)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:135:37 [INFO] [stdout] | [INFO] [stdout] 135 | self.radio.base1.write(|w| w.bits(base1)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 135 | self.radio.base1.write(|w: /* Type */| w.bits(base1)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:137:39 [INFO] [stdout] | [INFO] [stdout] 137 | self.radio.prefix0.write(|w| w.bits(prefix0)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 137 | self.radio.prefix0.write(|w: /* Type */| w.bits(prefix0)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:138:39 [INFO] [stdout] | [INFO] [stdout] 138 | self.radio.prefix1.write(|w| w.bits(prefix1)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 138 | self.radio.prefix1.write(|w: /* Type */| w.bits(prefix1)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | .write(|w| w.frequency().bits(addresses.rf_channel)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 144 | .write(|w: /* Type */| w.frequency().bits(addresses.rf_channel)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:181:36 [INFO] [stdout] | [INFO] [stdout] 181 | self.radio.intenclr.write(|w| w.disabled().set_bit()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 181 | self.radio.intenclr.write(|w: /* Type */| w.disabled().set_bit()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:188:25 [INFO] [stdout] | [INFO] [stdout] 188 | .modify(|_, w| w.disabled_rxen().disabled().disabled_txen().disabled()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 188 | .modify(|_, w: /* Type */| w.disabled_rxen().disabled().disabled_txen().disabled()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:190:41 [INFO] [stdout] | [INFO] [stdout] 190 | self.radio.tasks_disable.write(|w| unsafe { w.bits(1) }); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 190 | self.radio.tasks_disable.write(|w: /* Type */| unsafe { w.bits(1) }); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:213:42 [INFO] [stdout] | [INFO] [stdout] 213 | self.radio.shorts.modify(|_, w| w.disabled_rxen().enabled()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 213 | self.radio.shorts.modify(|_, w: /* Type */| w.disabled_rxen().enabled()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:215:36 [INFO] [stdout] | [INFO] [stdout] 215 | self.radio.intenset.write(|w| w.disabled().set_bit()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 215 | self.radio.intenset.write(|w: /* Type */| w.disabled().set_bit()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:220:25 [INFO] [stdout] | [INFO] [stdout] 220 | .write(|w| w.txaddress().bits(payload.pipe())); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 220 | .write(|w: /* Type */| w.txaddress().bits(payload.pipe())); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:224:25 [INFO] [stdout] | [INFO] [stdout] 224 | .write(|w| w.bits(1 << payload.pipe())); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 224 | .write(|w: /* Type */| w.bits(1 << payload.pipe())); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:228:25 [INFO] [stdout] | [INFO] [stdout] 228 | .write(|w| w.bits(payload.dma_pointer() as u32)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 228 | .write(|w: /* Type */| w.bits(payload.dma_pointer() as u32)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:229:46 [INFO] [stdout] | [INFO] [stdout] 229 | self.radio.events_address.write(|w| w.bits(0)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 229 | self.radio.events_address.write(|w: /* Type */| w.bits(0)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:233:46 [INFO] [stdout] | [INFO] [stdout] 233 | self.radio.events_payload.write(|w| w.bits(0)); // do we need this ? Probably not [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 233 | self.radio.events_payload.write(|w: /* Type */| w.bits(0)); // do we need this ? Probably not [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:238:42 [INFO] [stdout] | [INFO] [stdout] 238 | self.radio.tasks_txen.write(|w| w.bits(1)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 238 | self.radio.tasks_txen.write(|w: /* Type */| w.bits(1)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:268:21 [INFO] [stdout] | [INFO] [stdout] 268 | .write(|w| unsafe { w.bits(rx_buf.dma_pointer() as u32) }); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 268 | .write(|w: /* Type */| unsafe { w.bits(rx_buf.dma_pointer() as u32) }); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:277:25 [INFO] [stdout] | [INFO] [stdout] 277 | .modify(|_, w| w.disabled_rxen().disabled()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 277 | .modify(|_, w: /* Type */| w.disabled_rxen().disabled()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:317:38 [INFO] [stdout] | [INFO] [stdout] 317 | self.radio.shorts.modify(|_, w| w.disabled_txen().enabled()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 317 | self.radio.shorts.modify(|_, w: /* Type */| w.disabled_txen().enabled()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:319:36 [INFO] [stdout] | [INFO] [stdout] 319 | self.radio.intenset.write(|w| w.disabled().set_bit()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 319 | self.radio.intenset.write(|w: /* Type */| w.disabled().set_bit()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:322:21 [INFO] [stdout] | [INFO] [stdout] 322 | .write(|w| unsafe { w.bits(enabled_pipes as u32) }); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 322 | .write(|w: /* Type */| unsafe { w.bits(enabled_pipes as u32) }); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:327:25 [INFO] [stdout] | [INFO] [stdout] 327 | .write(|w| w.bits(rx_buf.dma_pointer() as u32)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 327 | .write(|w: /* Type */| w.bits(rx_buf.dma_pointer() as u32)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:328:46 [INFO] [stdout] | [INFO] [stdout] 328 | self.radio.events_address.write(|w| w.bits(0)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 328 | self.radio.events_address.write(|w: /* Type */| w.bits(0)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:332:46 [INFO] [stdout] | [INFO] [stdout] 332 | self.radio.events_payload.write(|w| w.bits(0)); // TODO: do we need this ? Probably not [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 332 | self.radio.events_payload.write(|w: /* Type */| w.bits(0)); // TODO: do we need this ? Probably not [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:337:42 [INFO] [stdout] | [INFO] [stdout] 337 | self.radio.tasks_rxen.write(|w| w.bits(1)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 337 | self.radio.tasks_rxen.write(|w: /* Type */| w.bits(1)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:354:42 [INFO] [stdout] | [INFO] [stdout] 354 | self.radio.shorts.modify(|_, w| w.disabled_txen().enabled()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 354 | self.radio.shorts.modify(|_, w: /* Type */| w.disabled_txen().enabled()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:355:40 [INFO] [stdout] | [INFO] [stdout] 355 | self.radio.intenset.write(|w| w.disabled().set_bit()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 355 | self.radio.intenset.write(|w: /* Type */| w.disabled().set_bit()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:360:42 [INFO] [stdout] | [INFO] [stdout] 360 | self.radio.tasks_rxen.write(|w| unsafe { w.bits(1) }); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 360 | self.radio.tasks_rxen.write(|w: /* Type */| unsafe { w.bits(1) }); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:382:25 [INFO] [stdout] | [INFO] [stdout] 382 | .write(|w| unsafe { w.txaddress().bits(pipe as u8) }); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 382 | .write(|w: /* Type */| unsafe { w.txaddress().bits(pipe as u8) }); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:413:25 [INFO] [stdout] | [INFO] [stdout] 413 | .write(|w| unsafe { w.bits(dma_pointer) }); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 413 | .write(|w: /* Type */| unsafe { w.bits(dma_pointer) }); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:423:29 [INFO] [stdout] | [INFO] [stdout] 423 | .modify(|_, w| w.disabled_txen().disabled().disabled_rxen().enabled()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 423 | .modify(|_, w: /* Type */| w.disabled_txen().disabled().disabled_rxen().enabled()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:474:21 [INFO] [stdout] | [INFO] [stdout] 474 | .write(|w| unsafe { w.bits(dma_pointer) }); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 474 | .write(|w: /* Type */| unsafe { w.bits(dma_pointer) }); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:483:25 [INFO] [stdout] | [INFO] [stdout] 483 | .modify(|_, w| w.disabled_rxen().disabled().disabled_txen().enabled()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 483 | .modify(|_, w: /* Type */| w.disabled_rxen().disabled().disabled_txen().enabled()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:496:25 [INFO] [stdout] | [INFO] [stdout] 496 | .write(|w| unsafe { w.bits(grant.dma_pointer() as u32) }); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 496 | .write(|w: /* Type */| unsafe { w.bits(grant.dma_pointer() as u32) }); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:500:38 [INFO] [stdout] | [INFO] [stdout] 500 | self.radio.shorts.modify(|_, w| w.disabled_txen().enabled()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 500 | self.radio.shorts.modify(|_, w: /* Type */| w.disabled_txen().enabled()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:501:36 [INFO] [stdout] | [INFO] [stdout] 501 | self.radio.intenset.write(|w| w.disabled().set_bit()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 501 | self.radio.intenset.write(|w: /* Type */| w.disabled().set_bit()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:505:38 [INFO] [stdout] | [INFO] [stdout] 505 | self.radio.tasks_rxen.write(|w| unsafe { w.bits(1) }); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 505 | self.radio.tasks_rxen.write(|w: /* Type */| unsafe { w.bits(1) }); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:549:54 [INFO] [stdout] | [INFO] [stdout] 549 | self.intenclr.write(|w| unsafe { w.bits(0xFFFF_FFFF) }); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 632 | impl_timer!(pac::TIMER0, pac::TIMER1, pac::TIMER2); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:551:44 [INFO] [stdout] | [INFO] [stdout] 551 | self.bitmode.write(|w| w.bitmode()._32bit()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 632 | impl_timer!(pac::TIMER0, pac::TIMER1, pac::TIMER2); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:554:55 [INFO] [stdout] | [INFO] [stdout] 554 | self.prescaler.write(|w| unsafe { w.prescaler().bits(4) }); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 632 | impl_timer!(pac::TIMER0, pac::TIMER1, pac::TIMER2); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:562:51 [INFO] [stdout] | [INFO] [stdout] 562 | self.cc[0].write(|w| unsafe { w.bits(micros as u32) }); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 632 | impl_timer!(pac::TIMER0, pac::TIMER1, pac::TIMER2); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:564:45 [INFO] [stdout] | [INFO] [stdout] 564 | self.intenset.write(|w| w.compare0().set()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 632 | impl_timer!(pac::TIMER0, pac::TIMER1, pac::TIMER2); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:567:57 [INFO] [stdout] | [INFO] [stdout] 567 | self.tasks_clear.write(|w| unsafe { w.bits(1) }); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 632 | impl_timer!(pac::TIMER0, pac::TIMER1, pac::TIMER2); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:568:57 [INFO] [stdout] | [INFO] [stdout] 568 | self.tasks_start.write(|w| unsafe { w.bits(1) }); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 632 | impl_timer!(pac::TIMER0, pac::TIMER1, pac::TIMER2); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:576:46 [INFO] [stdout] | [INFO] [stdout] 576 | timer.intenclr.write(|w| w.compare0().clear()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 632 | impl_timer!(pac::TIMER0, pac::TIMER1, pac::TIMER2); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:592:62 [INFO] [stdout] | [INFO] [stdout] 592 | self.tasks_capture[1].write(|w| unsafe { w.bits(1) }); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 632 | impl_timer!(pac::TIMER0, pac::TIMER1, pac::TIMER2); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:595:51 [INFO] [stdout] | [INFO] [stdout] 595 | self.cc[1].write(|w| unsafe { w.bits(current_counter + micros as u32) }); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 632 | impl_timer!(pac::TIMER0, pac::TIMER1, pac::TIMER2); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:597:45 [INFO] [stdout] | [INFO] [stdout] 597 | self.intenset.write(|w| w.compare1().set()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 632 | impl_timer!(pac::TIMER0, pac::TIMER1, pac::TIMER2); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:605:46 [INFO] [stdout] | [INFO] [stdout] 605 | timer.intenclr.write(|w| w.compare1().clear()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 632 | impl_timer!(pac::TIMER0, pac::TIMER1, pac::TIMER2); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/peripherals.rs:622:57 [INFO] [stdout] | [INFO] [stdout] 622 | timer.tasks_stop.write(|w| unsafe { w.bits(1) }); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 632 | impl_timer!(pac::TIMER0, pac::TIMER1, pac::TIMER2); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_timer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pac` [INFO] [stdout] --> src/peripherals.rs:632:13 [INFO] [stdout] | [INFO] [stdout] 632 | impl_timer!(pac::TIMER0, pac::TIMER1, pac::TIMER2); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pac` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pac`, use `cargo add pac` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pac` [INFO] [stdout] --> src/peripherals.rs:632:26 [INFO] [stdout] | [INFO] [stdout] 632 | impl_timer!(pac::TIMER0, pac::TIMER1, pac::TIMER2); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pac` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pac`, use `cargo add pac` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pac` [INFO] [stdout] --> src/peripherals.rs:632:39 [INFO] [stdout] | [INFO] [stdout] 632 | impl_timer!(pac::TIMER0, pac::TIMER1, pac::TIMER2); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pac` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pac`, use `cargo add pac` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `esb` (lib) due to 64 previous errors [INFO] running `Command { std: "docker" "inspect" "5110a9ad65fea4184502993c9994647aa985d15aca9fe0b52092944f578a9ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5110a9ad65fea4184502993c9994647aa985d15aca9fe0b52092944f578a9ce4", kill_on_drop: false }` [INFO] [stdout] 5110a9ad65fea4184502993c9994647aa985d15aca9fe0b52092944f578a9ce4