zcash_client_backend: Add cancellation logic to sync::run
#552
Triggered via pull request
September 11, 2024 04:16
Status
Success
Total duration
2m 37s
Artifacts
–
audits.yml
on: pull_request
Vet Rust dependencies
2m 26s
Check licenses
52s
Annotations
6 errors
failed to resolve: use of undeclared crate or module `tokio`:
zcash_client_backend/src/sync.rs#L81
error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
--> zcash_client_backend/src/sync.rs:81:17
|
81 | Err(tokio::sync::oneshot::error::TryRecvError::Empty);
| ^^^^^ use of undeclared crate or module `tokio`
|
failed to resolve: use of undeclared crate or module `tokio`:
zcash_client_backend/src/sync.rs#L80
error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
--> zcash_client_backend/src/sync.rs:80:41
|
80 | const NOT_TRIGGERED: Result<(), tokio::sync::oneshot::error::TryRecvError> =
| ^^^^^ use of undeclared crate or module `tokio`
|
failed to resolve: use of undeclared crate or module `tokio`:
zcash_client_backend/src/sync.rs#L75
error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
--> zcash_client_backend/src/sync.rs:75:18
|
75 | shutdown_rx: tokio::sync::oneshot::Receiver<()>,
| ^^^^^ use of undeclared crate or module `tokio`
|
failed to resolve: use of undeclared crate or module `tokio`:
zcash_client_backend/src/sync.rs#L62
error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
--> zcash_client_backend/src/sync.rs:62:42
|
62 | let (shutdown_tx, shutdown_rx) = tokio::sync::oneshot::channel();
| ^^^^^ use of undeclared crate or module `tokio`
|
failed to resolve: use of undeclared crate or module `tokio`:
zcash_client_backend/src/sync.rs#L56
error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
--> zcash_client_backend/src/sync.rs:56:18
|
56 | shutdown_tx: tokio::sync::oneshot::Sender<()>,
| ^^^^^ use of undeclared crate or module `tokio`
|
failed to resolve: use of undeclared crate or module `tokio`:
zcash_client_backend/src/sync.rs#L420
error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
--> zcash_client_backend/src/sync.rs:420:5
|
420 | tokio::pin!(compact_block_stream);
| ^^^^^ use of undeclared crate or module `tokio`
|