[INFO] fetching crate esp-radio-rtos-driver 0.2.0... [INFO] testing esp-radio-rtos-driver-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate esp-radio-rtos-driver 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate esp-radio-rtos-driver 0.2.0 [INFO] finished tweaking crates.io crate esp-radio-rtos-driver 0.2.0 [INFO] tweaked toml for crates.io crate esp-radio-rtos-driver 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate esp-radio-rtos-driver 0.2.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] crate crates.io crate esp-radio-rtos-driver 0.2.0 already has a lockfile, it will not be regenerated [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] c499285a6f37aa6c9eeb843ab5789d9648669d113ce4c9f1171444e7f535f66f [INFO] running `Command { std: "docker" "start" "-a" "c499285a6f37aa6c9eeb843ab5789d9648669d113ce4c9f1171444e7f535f66f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c499285a6f37aa6c9eeb843ab5789d9648669d113ce4c9f1171444e7f535f66f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c499285a6f37aa6c9eeb843ab5789d9648669d113ce4c9f1171444e7f535f66f", kill_on_drop: false }` [INFO] [stdout] c499285a6f37aa6c9eeb843ab5789d9648669d113ce4c9f1171444e7f535f66f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 74f486c67105a5ebba450e96bfc5caa30c3ded554938535a4343df0f13b46e9a [INFO] running `Command { std: "docker" "start" "-a" "74f486c67105a5ebba450e96bfc5caa30c3ded554938535a4343df0f13b46e9a", kill_on_drop: false }` [INFO] [stderr] Compiling esp-radio-rtos-driver v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "74f486c67105a5ebba450e96bfc5caa30c3ded554938535a4343df0f13b46e9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74f486c67105a5ebba450e96bfc5caa30c3ded554938535a4343df0f13b46e9a", kill_on_drop: false }` [INFO] [stdout] 74f486c67105a5ebba450e96bfc5caa30c3ded554938535a4343df0f13b46e9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 73735b32e90b4700b585ebaebddb62054e56043f75ceb5d4f7091fb380730f50 [INFO] running `Command { std: "docker" "start" "-a" "73735b32e90b4700b585ebaebddb62054e56043f75ceb5d4f7091fb380730f50", kill_on_drop: false }` [INFO] [stderr] Compiling esp-radio-rtos-driver v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "73735b32e90b4700b585ebaebddb62054e56043f75ceb5d4f7091fb380730f50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73735b32e90b4700b585ebaebddb62054e56043f75ceb5d4f7091fb380730f50", kill_on_drop: false }` [INFO] [stdout] 73735b32e90b4700b585ebaebddb62054e56043f75ceb5d4f7091fb380730f50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 5ad0ec79e6cad6c280ce6e342d80082ba2f6a1336c6b1208aba5aee974e33b10 [INFO] running `Command { std: "docker" "start" "-a" "5ad0ec79e6cad6c280ce6e342d80082ba2f6a1336c6b1208aba5aee974e33b10", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/esp_radio_rtos_driver-b34fadf7b2977838) [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 esp_radio_rtos_driver [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/queue.rs - queue::QueueImplementation (line 60) - compile ... ok [INFO] [stdout] test src/queue.rs - queue::CompatQueue (line 561) ... FAILED [INFO] [stdout] test src/lib.rs - Scheduler (line 149) - compile ... FAILED [INFO] [stdout] test src/timer.rs - timer::TimerImplementation (line 38) - compile ... FAILED [INFO] [stdout] test src/semaphore.rs - semaphore::SemaphoreImplementation (line 65) - compile ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/queue.rs - queue::CompatQueue (line 561) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `QueuePtr` in this scope [INFO] [stdout] --> src/queue.rs:565:1 [INFO] [stdout] | [INFO] [stdout] 565 | register_queue_implementation!(CompatQueue); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `register_queue_implementation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 560 + use esp_radio_rtos_driver::queue::QueuePtr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueuePtr` in this scope [INFO] [stdout] --> src/queue.rs:565:1 [INFO] [stdout] | [INFO] [stdout] 565 | register_queue_implementation!(CompatQueue); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `register_queue_implementation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 560 + use esp_radio_rtos_driver::queue::QueuePtr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueuePtr` in this scope [INFO] [stdout] --> src/queue.rs:565:1 [INFO] [stdout] | [INFO] [stdout] 565 | register_queue_implementation!(CompatQueue); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `register_queue_implementation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 560 + use esp_radio_rtos_driver::queue::QueuePtr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueuePtr` in this scope [INFO] [stdout] --> src/queue.rs:565:1 [INFO] [stdout] | [INFO] [stdout] 565 | register_queue_implementation!(CompatQueue); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] = note: this error originates in the macro `register_queue_implementation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 560 + use esp_radio_rtos_driver::queue::QueuePtr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueuePtr` in this scope [INFO] [stdout] --> src/queue.rs:565:1 [INFO] [stdout] | [INFO] [stdout] 565 | register_queue_implementation!(CompatQueue); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `register_queue_implementation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 560 + use esp_radio_rtos_driver::queue::QueuePtr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueuePtr` in this scope [INFO] [stdout] --> src/queue.rs:565:1 [INFO] [stdout] | [INFO] [stdout] 565 | register_queue_implementation!(CompatQueue); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `register_queue_implementation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 560 + use esp_radio_rtos_driver::queue::QueuePtr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueuePtr` in this scope [INFO] [stdout] --> src/queue.rs:565:1 [INFO] [stdout] | [INFO] [stdout] 565 | register_queue_implementation!(CompatQueue); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `register_queue_implementation` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 560 + use esp_radio_rtos_driver::queue::QueuePtr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Scheduler (line 149) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/lib.rs:174:33 [INFO] [stdout] | [INFO] [stdout] 174 | task: extern "C" fn(*mut c_void), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 148 + use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 148 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 148 + use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/lib.rs:175:20 [INFO] [stdout] | [INFO] [stdout] 175 | param: *mut c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 148 + use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 148 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 148 + use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/lib.rs:179:15 [INFO] [stdout] | [INFO] [stdout] 179 | ) -> *mut c_void { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 148 + use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 148 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 148 + use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/lib.rs:183:36 [INFO] [stdout] | [INFO] [stdout] 183 | fn current_task(&self) -> *mut c_void { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 148 + use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 148 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 148 + use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/lib.rs:187:56 [INFO] [stdout] | [INFO] [stdout] 187 | fn schedule_task_deletion(&self, task_handle: *mut c_void) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 148 + use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 148 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 148 + use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SemaphorePtr` in this scope [INFO] [stdout] --> src/lib.rs:191:48 [INFO] [stdout] | [INFO] [stdout] 191 | fn current_task_thread_semaphore(&self) -> SemaphorePtr { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 148 + use esp_radio_rtos_driver::semaphore::SemaphorePtr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/lib.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | esp_radio_rtos_driver::scheduler_impl!(static SCHEDULER: MyScheduler = MyScheduler {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `esp_radio_rtos_driver::scheduler_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 148 + use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 148 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 148 + use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/lib.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | esp_radio_rtos_driver::scheduler_impl!(static SCHEDULER: MyScheduler = MyScheduler {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `esp_radio_rtos_driver::scheduler_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 148 + use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 148 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 148 + use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/lib.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | esp_radio_rtos_driver::scheduler_impl!(static SCHEDULER: MyScheduler = MyScheduler {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `esp_radio_rtos_driver::scheduler_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 148 + use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 148 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 148 + use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/lib.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | esp_radio_rtos_driver::scheduler_impl!(static SCHEDULER: MyScheduler = MyScheduler {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `esp_radio_rtos_driver::scheduler_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 148 + use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 148 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 148 + use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/lib.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | esp_radio_rtos_driver::scheduler_impl!(static SCHEDULER: MyScheduler = MyScheduler {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `esp_radio_rtos_driver::scheduler_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 148 + use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 148 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 148 + use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/timer.rs - timer::TimerImplementation (line 38) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/timer.rs:50:51 [INFO] [stdout] | [INFO] [stdout] 50 | fn create(function: unsafe extern "C" fn(*mut c_void), data: *mut c_void) -> TimerPtr { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 37 + use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 37 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 37 + use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/timer.rs:50:71 [INFO] [stdout] | [INFO] [stdout] 50 | fn create(function: unsafe extern "C" fn(*mut c_void), data: *mut c_void) -> TimerPtr { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 37 + use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 37 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 37 + use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MutexPtr` in this scope [INFO] [stdout] --> src/timer.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | unsafe fn delete(mutex: MutexPtr) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0053]: method `disarm` has an incompatible type for trait [INFO] [stdout] --> src/timer.rs:66:42 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe fn disarm(timer: TimerPtr) -> bool { [INFO] [stdout] | ^^^^ expected `()`, found `bool` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `unsafe fn(NonNull<_>) -> ()` [INFO] [stdout] found signature `unsafe fn(NonNull<_>) -> bool` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 66 - unsafe fn disarm(timer: TimerPtr) -> bool { [INFO] [stdout] 66 + unsafe fn disarm(timer: TimerPtr) -> () { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Scheduler (line 149) [INFO] [stdout] src/queue.rs - queue::CompatQueue (line 561) [INFO] [stdout] src/timer.rs - timer::TimerImplementation (line 38) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.39s; merged doctests compilation took 0.16s [INFO] running `Command { std: "docker" "inspect" "5ad0ec79e6cad6c280ce6e342d80082ba2f6a1336c6b1208aba5aee974e33b10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ad0ec79e6cad6c280ce6e342d80082ba2f6a1336c6b1208aba5aee974e33b10", kill_on_drop: false }` [INFO] [stdout] 5ad0ec79e6cad6c280ce6e342d80082ba2f6a1336c6b1208aba5aee974e33b10