dbg #592
build-all-targets.yml
on: push
build-tests
9m 7s
build-bins
7m 3s
Annotations
5 errors
unsafe function's docs are missing a `# Safety` section:
src/helpers/mod.rs#L126
error: unsafe function's docs are missing a `# Safety` section
--> src/helpers/mod.rs:126:1
|
126 | / pub unsafe fn alloc_on_stream<T>(
127 | | device: &Arc<CudaDevice>,
128 | | len: usize,
129 | | stream: &CudaStream,
130 | | ) -> CudaSlice<T> {
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
= note: `-D clippy::missing-safety-doc` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::missing_safety_doc)]`
|
casting to the same type is unnecessary (`u64` -> `u64`):
src/dot/share_db.rs#L490
error: casting to the same type is unnecessary (`u64` -> `u64`)
--> src/dot/share_db.rs:490:82
|
490 | println!("{}: db0 pointer for dev {}: {:#x}", self.peer_id, idx, *slice.device_ptr() as u64);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `{ *slice.device_ptr() }`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting to the same type is unnecessary (`u64` -> `u64`):
src/dot/share_db.rs#L473
error: casting to the same type is unnecessary (`u64` -> `u64`)
--> src/dot/share_db.rs:473:82
|
473 | println!("{}: db1 pointer for dev {}: {:#x}", self.peer_id, idx, *slice.device_ptr() as u64);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `{ *slice.device_ptr() }`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `-D clippy::unnecessary-cast` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_cast)]`
|
unused variable: `sums`:
src/server/actor.rs#L675
error: unused variable: `sums`
--> src/server/actor.rs:675:33
|
675 | for (db, query, sums) in [
| ^^^^ help: if this is intentional, prefix it with an underscore: `_sums`
|
= note: `-D unused-variables` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_variables)]`
|
unused import: `mem`:
src/server/actor.rs#L23
error: unused import: `mem`
--> src/server/actor.rs:23:5
|
23 | mem,
| ^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|