[INFO] fetching crate fil-rustacuda 0.1.4... [INFO] checking fil-rustacuda-0.1.4 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate fil-rustacuda 0.1.4 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate fil-rustacuda 0.1.4 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fil-rustacuda 0.1.4 [INFO] finished tweaking crates.io crate fil-rustacuda 0.1.4 [INFO] tweaked toml for crates.io crate fil-rustacuda 0.1.4 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate fil-rustacuda 0.1.4 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 478278766d2bd84c18107f9da86ed232867ea740c362268dfa1f0d21a3d3dd15 [INFO] running `Command { std: "docker" "start" "-a" "478278766d2bd84c18107f9da86ed232867ea740c362268dfa1f0d21a3d3dd15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "478278766d2bd84c18107f9da86ed232867ea740c362268dfa1f0d21a3d3dd15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "478278766d2bd84c18107f9da86ed232867ea740c362268dfa1f0d21a3d3dd15", kill_on_drop: false }` [INFO] [stdout] 478278766d2bd84c18107f9da86ed232867ea740c362268dfa1f0d21a3d3dd15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 335a5088f49f26b2f225b15d6ab6b370381fd845171966f332fbd14e65f8cfb8 [INFO] running `Command { std: "docker" "start" "-a" "335a5088f49f26b2f225b15d6ab6b370381fd845171966f332fbd14e65f8cfb8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking rustacuda_core v0.1.2 [INFO] [stderr] Compiling cuda-config v0.1.0 [INFO] [stderr] Compiling cuda-driver-sys v0.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rustacuda_derive v0.1.2 [INFO] [stderr] Checking fil-rustacuda v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_box.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | if mem::size_of::() == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | unused_qualifications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 62 - if mem::size_of::() == 0 { [INFO] [stdout] 62 + if size_of::() == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_box.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | if mem::size_of::() != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 94 - if mem::size_of::() != 0 { [INFO] [stdout] 94 + if size_of::() != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_box.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | mem::size_of::(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 98 - mem::size_of::(), [INFO] [stdout] 98 + size_of::(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_box.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | fmt::Pointer::fmt(&self.ptr, f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 253 - fmt::Pointer::fmt(&self.ptr, f) [INFO] [stdout] 253 + Pointer::fmt(&self.ptr, f) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_box.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 259 | let size = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 259 - let size = mem::size_of::(); [INFO] [stdout] 259 + let size = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_box.rs:274:20 [INFO] [stdout] | [INFO] [stdout] 274 | let size = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 274 - let size = mem::size_of::(); [INFO] [stdout] 274 + let size = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_box.rs:290:20 [INFO] [stdout] | [INFO] [stdout] 290 | let size = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 290 - let size = mem::size_of::(); [INFO] [stdout] 290 + let size = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_box.rs:305:20 [INFO] [stdout] | [INFO] [stdout] 305 | let size = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 305 - let size = mem::size_of::(); [INFO] [stdout] 305 + let size = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_box.rs:321:20 [INFO] [stdout] | [INFO] [stdout] 321 | let size = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 321 - let size = mem::size_of::(); [INFO] [stdout] 321 + let size = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_box.rs:335:20 [INFO] [stdout] | [INFO] [stdout] 335 | let size = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 335 - let size = mem::size_of::(); [INFO] [stdout] 335 + let size = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_buffer.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | let ptr = if size > 0 && mem::size_of::() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 41 - let ptr = if size > 0 && mem::size_of::() > 0 { [INFO] [stdout] 41 + let ptr = if size > 0 && size_of::() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_buffer.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | let ptr = if size > 0 && mem::size_of::() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 77 - let ptr = if size > 0 && mem::size_of::() > 0 { [INFO] [stdout] 77 + let ptr = if size > 0 && size_of::() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_buffer.rs:79:79 [INFO] [stdout] | [INFO] [stdout] 79 | cuda_driver_sys::cuMemsetD8_v2(ptr.as_raw_mut() as u64, 0, size * mem::size_of::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 79 - cuda_driver_sys::cuMemsetD8_v2(ptr.as_raw_mut() as u64, 0, size * mem::size_of::()) [INFO] [stdout] 79 + cuda_driver_sys::cuMemsetD8_v2(ptr.as_raw_mut() as u64, 0, size * size_of::()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_buffer.rs:155:36 [INFO] [stdout] | [INFO] [stdout] 155 | if dev_buf.capacity > 0 && mem::size_of::() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 155 - if dev_buf.capacity > 0 && mem::size_of::() > 0 { [INFO] [stdout] 155 + if dev_buf.capacity > 0 && size_of::() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_buffer.rs:254:33 [INFO] [stdout] | [INFO] [stdout] 254 | if self.capacity > 0 && mem::size_of::() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 254 - if self.capacity > 0 && mem::size_of::() > 0 { [INFO] [stdout] 254 + if self.capacity > 0 && size_of::() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_slice.rs:446:20 [INFO] [stdout] | [INFO] [stdout] 446 | let size = mem::size_of::() * self.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 446 - let size = mem::size_of::() * self.len(); [INFO] [stdout] 446 + let size = size_of::() * self.len(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_slice.rs:466:20 [INFO] [stdout] | [INFO] [stdout] 466 | let size = mem::size_of::() * self.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 466 - let size = mem::size_of::() * self.len(); [INFO] [stdout] 466 + let size = size_of::() * self.len(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_slice.rs:486:20 [INFO] [stdout] | [INFO] [stdout] 486 | let size = mem::size_of::() * self.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 486 - let size = mem::size_of::() * self.len(); [INFO] [stdout] 486 + let size = size_of::() * self.len(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_slice.rs:505:20 [INFO] [stdout] | [INFO] [stdout] 505 | let size = mem::size_of::() * self.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 505 - let size = mem::size_of::() * self.len(); [INFO] [stdout] 505 + let size = size_of::() * self.len(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_slice.rs:537:20 [INFO] [stdout] | [INFO] [stdout] 537 | let size = mem::size_of::() * self.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 537 - let size = mem::size_of::() * self.len(); [INFO] [stdout] 537 + let size = size_of::() * self.len(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_slice.rs:556:20 [INFO] [stdout] | [INFO] [stdout] 556 | let size = mem::size_of::() * self.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 556 - let size = mem::size_of::() * self.len(); [INFO] [stdout] 556 + let size = size_of::() * self.len(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_slice.rs:575:20 [INFO] [stdout] | [INFO] [stdout] 575 | let size = mem::size_of::() * self.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 575 - let size = mem::size_of::() * self.len(); [INFO] [stdout] 575 + let size = size_of::() * self.len(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_slice.rs:593:20 [INFO] [stdout] | [INFO] [stdout] 593 | let size = mem::size_of::() * self.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 593 - let size = mem::size_of::() * self.len(); [INFO] [stdout] 593 + let size = size_of::() * self.len(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/locked.rs:96:42 [INFO] [stdout] | [INFO] [stdout] 96 | let ptr: *mut T = if size > 0 && mem::size_of::() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 96 - let ptr: *mut T = if size > 0 && mem::size_of::() > 0 { [INFO] [stdout] 96 + let ptr: *mut T = if size > 0 && size_of::() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/locked.rs:208:32 [INFO] [stdout] | [INFO] [stdout] 208 | if buf.capacity > 0 && mem::size_of::() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 208 - if buf.capacity > 0 && mem::size_of::() > 0 { [INFO] [stdout] 208 + if buf.capacity > 0 && size_of::() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/locked.rs:260:33 [INFO] [stdout] | [INFO] [stdout] 260 | if self.capacity > 0 && mem::size_of::() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 260 - if self.capacity > 0 && mem::size_of::() > 0 { [INFO] [stdout] 260 + if self.capacity > 0 && size_of::() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/malloc.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | let size = count.checked_mul(mem::size_of::()).unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 41 - let size = count.checked_mul(mem::size_of::()).unwrap_or(0); [INFO] [stdout] 41 + let size = count.checked_mul(size_of::()).unwrap_or(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/malloc.rs:86:34 [INFO] [stdout] | [INFO] [stdout] 86 | let size = count.checked_mul(mem::size_of::()).unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 86 - let size = count.checked_mul(mem::size_of::()).unwrap_or(0); [INFO] [stdout] 86 + let size = count.checked_mul(size_of::()).unwrap_or(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/malloc.rs:200:34 [INFO] [stdout] | [INFO] [stdout] 200 | let size = count.checked_mul(mem::size_of::()).unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 200 - let size = count.checked_mul(mem::size_of::()).unwrap_or(0); [INFO] [stdout] 200 + let size = count.checked_mul(size_of::()).unwrap_or(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/unified.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | if mem::size_of::() == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 41 - if mem::size_of::() == 0 { [INFO] [stdout] 41 + if size_of::() == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/unified.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | if mem::size_of::() == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 75 - if mem::size_of::() == 0 { [INFO] [stdout] 75 + if size_of::() == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/unified.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | fmt::Display::fmt(&**self, f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 283 - fmt::Display::fmt(&**self, f) [INFO] [stdout] 283 + Display::fmt(&**self, f) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/unified.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | fmt::Pointer::fmt(&self.ptr, f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 288 - fmt::Pointer::fmt(&self.ptr, f) [INFO] [stdout] 288 + Pointer::fmt(&self.ptr, f) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/unified.rs:411:34 [INFO] [stdout] | [INFO] [stdout] 411 | let ptr = if size > 0 && mem::size_of::() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 411 - let ptr = if size > 0 && mem::size_of::() > 0 { [INFO] [stdout] 411 + let ptr = if size > 0 && size_of::() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/unified.rs:532:36 [INFO] [stdout] | [INFO] [stdout] 532 | if uni_buf.capacity > 0 && mem::size_of::() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 532 - if uni_buf.capacity > 0 && mem::size_of::() > 0 { [INFO] [stdout] 532 + if uni_buf.capacity > 0 && size_of::() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/unified.rs:584:33 [INFO] [stdout] | [INFO] [stdout] 584 | if self.capacity > 0 && mem::size_of::() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 584 - if self.capacity > 0 && mem::size_of::() > 0 { [INFO] [stdout] 584 + if self.capacity > 0 && size_of::() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/module.rs:165:30 [INFO] [stdout] | [INFO] [stdout] 165 | assert_eq!(size, mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 165 - assert_eq!(size, mem::size_of::()); [INFO] [stdout] 165 + assert_eq!(size, size_of::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/module.rs:279:20 [INFO] [stdout] | [INFO] [stdout] 279 | let size = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 279 - let size = mem::size_of::(); [INFO] [stdout] 279 + let size = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/module.rs:294:20 [INFO] [stdout] | [INFO] [stdout] 294 | let size = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 294 - let size = mem::size_of::(); [INFO] [stdout] 294 + let size = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_box.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | if mem::size_of::() == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | unused_qualifications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 62 - if mem::size_of::() == 0 { [INFO] [stdout] 62 + if size_of::() == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_box.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | if mem::size_of::() != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 94 - if mem::size_of::() != 0 { [INFO] [stdout] 94 + if size_of::() != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_box.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | mem::size_of::(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 98 - mem::size_of::(), [INFO] [stdout] 98 + size_of::(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_box.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | fmt::Pointer::fmt(&self.ptr, f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 253 - fmt::Pointer::fmt(&self.ptr, f) [INFO] [stdout] 253 + Pointer::fmt(&self.ptr, f) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_box.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 259 | let size = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 259 - let size = mem::size_of::(); [INFO] [stdout] 259 + let size = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_box.rs:274:20 [INFO] [stdout] | [INFO] [stdout] 274 | let size = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 274 - let size = mem::size_of::(); [INFO] [stdout] 274 + let size = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_box.rs:290:20 [INFO] [stdout] | [INFO] [stdout] 290 | let size = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 290 - let size = mem::size_of::(); [INFO] [stdout] 290 + let size = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_box.rs:305:20 [INFO] [stdout] | [INFO] [stdout] 305 | let size = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 305 - let size = mem::size_of::(); [INFO] [stdout] 305 + let size = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_box.rs:321:20 [INFO] [stdout] | [INFO] [stdout] 321 | let size = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 321 - let size = mem::size_of::(); [INFO] [stdout] 321 + let size = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_box.rs:335:20 [INFO] [stdout] | [INFO] [stdout] 335 | let size = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 335 - let size = mem::size_of::(); [INFO] [stdout] 335 + let size = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_buffer.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | let ptr = if size > 0 && mem::size_of::() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 41 - let ptr = if size > 0 && mem::size_of::() > 0 { [INFO] [stdout] 41 + let ptr = if size > 0 && size_of::() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_buffer.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | let ptr = if size > 0 && mem::size_of::() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 77 - let ptr = if size > 0 && mem::size_of::() > 0 { [INFO] [stdout] 77 + let ptr = if size > 0 && size_of::() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_buffer.rs:79:79 [INFO] [stdout] | [INFO] [stdout] 79 | cuda_driver_sys::cuMemsetD8_v2(ptr.as_raw_mut() as u64, 0, size * mem::size_of::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 79 - cuda_driver_sys::cuMemsetD8_v2(ptr.as_raw_mut() as u64, 0, size * mem::size_of::()) [INFO] [stdout] 79 + cuda_driver_sys::cuMemsetD8_v2(ptr.as_raw_mut() as u64, 0, size * size_of::()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_buffer.rs:155:36 [INFO] [stdout] | [INFO] [stdout] 155 | if dev_buf.capacity > 0 && mem::size_of::() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 155 - if dev_buf.capacity > 0 && mem::size_of::() > 0 { [INFO] [stdout] 155 + if dev_buf.capacity > 0 && size_of::() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_buffer.rs:254:33 [INFO] [stdout] | [INFO] [stdout] 254 | if self.capacity > 0 && mem::size_of::() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 254 - if self.capacity > 0 && mem::size_of::() > 0 { [INFO] [stdout] 254 + if self.capacity > 0 && size_of::() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_buffer.rs:467:56 [INFO] [stdout] | [INFO] [stdout] 467 | let allocation_size = (total_memory * 3) / 4 / mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 467 - let allocation_size = (total_memory * 3) / 4 / mem::size_of::(); [INFO] [stdout] 467 + let allocation_size = (total_memory * 3) / 4 / size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_slice.rs:446:20 [INFO] [stdout] | [INFO] [stdout] 446 | let size = mem::size_of::() * self.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 446 - let size = mem::size_of::() * self.len(); [INFO] [stdout] 446 + let size = size_of::() * self.len(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_slice.rs:466:20 [INFO] [stdout] | [INFO] [stdout] 466 | let size = mem::size_of::() * self.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 466 - let size = mem::size_of::() * self.len(); [INFO] [stdout] 466 + let size = size_of::() * self.len(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_slice.rs:486:20 [INFO] [stdout] | [INFO] [stdout] 486 | let size = mem::size_of::() * self.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 486 - let size = mem::size_of::() * self.len(); [INFO] [stdout] 486 + let size = size_of::() * self.len(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_slice.rs:505:20 [INFO] [stdout] | [INFO] [stdout] 505 | let size = mem::size_of::() * self.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 505 - let size = mem::size_of::() * self.len(); [INFO] [stdout] 505 + let size = size_of::() * self.len(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_slice.rs:537:20 [INFO] [stdout] | [INFO] [stdout] 537 | let size = mem::size_of::() * self.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 537 - let size = mem::size_of::() * self.len(); [INFO] [stdout] 537 + let size = size_of::() * self.len(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_slice.rs:556:20 [INFO] [stdout] | [INFO] [stdout] 556 | let size = mem::size_of::() * self.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 556 - let size = mem::size_of::() * self.len(); [INFO] [stdout] 556 + let size = size_of::() * self.len(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_slice.rs:575:20 [INFO] [stdout] | [INFO] [stdout] 575 | let size = mem::size_of::() * self.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 575 - let size = mem::size_of::() * self.len(); [INFO] [stdout] 575 + let size = size_of::() * self.len(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/device/device_slice.rs:593:20 [INFO] [stdout] | [INFO] [stdout] 593 | let size = mem::size_of::() * self.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 593 - let size = mem::size_of::() * self.len(); [INFO] [stdout] 593 + let size = size_of::() * self.len(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/locked.rs:96:42 [INFO] [stdout] | [INFO] [stdout] 96 | let ptr: *mut T = if size > 0 && mem::size_of::() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 96 - let ptr: *mut T = if size > 0 && mem::size_of::() > 0 { [INFO] [stdout] 96 + let ptr: *mut T = if size > 0 && size_of::() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/locked.rs:208:32 [INFO] [stdout] | [INFO] [stdout] 208 | if buf.capacity > 0 && mem::size_of::() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 208 - if buf.capacity > 0 && mem::size_of::() > 0 { [INFO] [stdout] 208 + if buf.capacity > 0 && size_of::() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/locked.rs:260:33 [INFO] [stdout] | [INFO] [stdout] 260 | if self.capacity > 0 && mem::size_of::() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 260 - if self.capacity > 0 && mem::size_of::() > 0 { [INFO] [stdout] 260 + if self.capacity > 0 && size_of::() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/malloc.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | let size = count.checked_mul(mem::size_of::()).unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 41 - let size = count.checked_mul(mem::size_of::()).unwrap_or(0); [INFO] [stdout] 41 + let size = count.checked_mul(size_of::()).unwrap_or(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/malloc.rs:86:34 [INFO] [stdout] | [INFO] [stdout] 86 | let size = count.checked_mul(mem::size_of::()).unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 86 - let size = count.checked_mul(mem::size_of::()).unwrap_or(0); [INFO] [stdout] 86 + let size = count.checked_mul(size_of::()).unwrap_or(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/malloc.rs:200:34 [INFO] [stdout] | [INFO] [stdout] 200 | let size = count.checked_mul(mem::size_of::()).unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 200 - let size = count.checked_mul(mem::size_of::()).unwrap_or(0); [INFO] [stdout] 200 + let size = count.checked_mul(size_of::()).unwrap_or(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/unified.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | if mem::size_of::() == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 41 - if mem::size_of::() == 0 { [INFO] [stdout] 41 + if size_of::() == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/unified.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | if mem::size_of::() == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 75 - if mem::size_of::() == 0 { [INFO] [stdout] 75 + if size_of::() == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/unified.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | fmt::Display::fmt(&**self, f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 283 - fmt::Display::fmt(&**self, f) [INFO] [stdout] 283 + Display::fmt(&**self, f) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/unified.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | fmt::Pointer::fmt(&self.ptr, f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 288 - fmt::Pointer::fmt(&self.ptr, f) [INFO] [stdout] 288 + Pointer::fmt(&self.ptr, f) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/unified.rs:411:34 [INFO] [stdout] | [INFO] [stdout] 411 | let ptr = if size > 0 && mem::size_of::() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 411 - let ptr = if size > 0 && mem::size_of::() > 0 { [INFO] [stdout] 411 + let ptr = if size > 0 && size_of::() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/unified.rs:532:36 [INFO] [stdout] | [INFO] [stdout] 532 | if uni_buf.capacity > 0 && mem::size_of::() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 532 - if uni_buf.capacity > 0 && mem::size_of::() > 0 { [INFO] [stdout] 532 + if uni_buf.capacity > 0 && size_of::() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/unified.rs:584:33 [INFO] [stdout] | [INFO] [stdout] 584 | if self.capacity > 0 && mem::size_of::() > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 584 - if self.capacity > 0 && mem::size_of::() > 0 { [INFO] [stdout] 584 + if self.capacity > 0 && size_of::() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/memory/unified.rs:731:9 [INFO] [stdout] | [INFO] [stdout] 731 | std::hash::Hash::hash(&x.as_unified_ptr(), &mut hasher); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 731 - std::hash::Hash::hash(&x.as_unified_ptr(), &mut hasher); [INFO] [stdout] 731 + Hash::hash(&x.as_unified_ptr(), &mut hasher); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/module.rs:165:30 [INFO] [stdout] | [INFO] [stdout] 165 | assert_eq!(size, mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 165 - assert_eq!(size, mem::size_of::()); [INFO] [stdout] 165 + assert_eq!(size, size_of::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/module.rs:279:20 [INFO] [stdout] | [INFO] [stdout] 279 | let size = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 279 - let size = mem::size_of::(); [INFO] [stdout] 279 + let size = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/module.rs:294:20 [INFO] [stdout] | [INFO] [stdout] 294 | let size = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 294 - let size = mem::size_of::(); [INFO] [stdout] 294 + let size = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustacuda` [INFO] [stdout] --> tests/test_derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate rustacuda; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustacuda` [INFO] [stdout] --> tests/test_stream.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate rustacuda; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustacuda` [INFO] [stdout] --> examples/launch.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rustacuda; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stream` [INFO] [stdout] --> tests/test_stream.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | let stream = Stream::new(StreamFlags::NON_BLOCKING, None).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Stream` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use fil_rustacuda::stream::Stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamFlags` [INFO] [stdout] --> tests/test_stream.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | let stream = Stream::new(StreamFlags::NON_BLOCKING, None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `StreamFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use fil_rustacuda::stream::StreamFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stream` [INFO] [stdout] --> tests/test_stream.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let stream = Stream::new(StreamFlags::NON_BLOCKING, None).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Stream` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use fil_rustacuda::stream::Stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamFlags` [INFO] [stdout] --> tests/test_stream.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | let stream = Stream::new(StreamFlags::NON_BLOCKING, None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `StreamFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use fil_rustacuda::stream::StreamFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stream` [INFO] [stdout] --> tests/test_stream.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | let stream = Stream::new(StreamFlags::NON_BLOCKING, None).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Stream` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use fil_rustacuda::stream::Stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `launch` in this scope [INFO] [stdout] --> examples/launch.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | let result = launch!(module.sum<<<1, 1, 0, stream>>>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use fil_rustacuda::launch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamFlags` [INFO] [stdout] --> tests/test_stream.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | let stream = Stream::new(StreamFlags::NON_BLOCKING, None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `StreamFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use fil_rustacuda::stream::StreamFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `launch` in this scope [INFO] [stdout] --> examples/launch.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | let result = launch!(sum<<<(1, 1, 1), (10, 1, 1), 0, stream>>>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 4 + use fil_rustacuda::launch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, DeviceCopy)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 3 + use fil_rustacuda::DeviceCopy; [INFO] [stdout] | [INFO] [stdout] 3 + use rustacuda_derive::DeviceCopy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, DeviceCopy)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 3 + use fil_rustacuda::DeviceCopy; [INFO] [stdout] | [INFO] [stdout] 3 + use rustacuda_derive::DeviceCopy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, DeviceCopy)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 3 + use fil_rustacuda::DeviceCopy; [INFO] [stdout] | [INFO] [stdout] 3 + use rustacuda_derive::DeviceCopy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone, DeviceCopy)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 3 + use fil_rustacuda::DeviceCopy; [INFO] [stdout] | [INFO] [stdout] 3 + use rustacuda_derive::DeviceCopy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Clone, DeviceCopy)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 3 + use fil_rustacuda::DeviceCopy; [INFO] [stdout] | [INFO] [stdout] 3 + use rustacuda_derive::DeviceCopy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CudaFlags` [INFO] [stdout] --> examples/launch.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | rustacuda::init(CudaFlags::empty())?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CudaFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use fil_rustacuda::CudaFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Device` [INFO] [stdout] --> examples/launch.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | let device = Device::get_device(0)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Device` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use fil_rustacuda::prelude::Device; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> examples/launch.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | let _ctx = Context::create_and_push(ContextFlags::MAP_HOST | ContextFlags::SCHED_AUTO, device)?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 4 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] 4 + use fil_rustacuda::prelude::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContextFlags` [INFO] [stdout] --> examples/launch.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | let _ctx = Context::create_and_push(ContextFlags::MAP_HOST | ContextFlags::SCHED_AUTO, device)?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ContextFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use fil_rustacuda::prelude::ContextFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContextFlags` [INFO] [stdout] --> examples/launch.rs:12:66 [INFO] [stdout] | [INFO] [stdout] 12 | let _ctx = Context::create_and_push(ContextFlags::MAP_HOST | ContextFlags::SCHED_AUTO, device)?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ContextFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use fil_rustacuda::prelude::ContextFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> examples/launch.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | let module = Module::load_from_string(&ptx)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Module` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use fil_rustacuda::prelude::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stream` [INFO] [stdout] --> examples/launch.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | let stream = Stream::new(StreamFlags::NON_BLOCKING, None)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Stream` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use fil_rustacuda::stream::Stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamFlags` [INFO] [stdout] --> examples/launch.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | let stream = Stream::new(StreamFlags::NON_BLOCKING, None)?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `StreamFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use fil_rustacuda::stream::StreamFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Clone, DeviceCopy)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 3 + use fil_rustacuda::DeviceCopy; [INFO] [stdout] | [INFO] [stdout] 3 + use rustacuda_derive::DeviceCopy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceBuffer` [INFO] [stdout] --> examples/launch.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let mut in_x = DeviceBuffer::from_slice(&[1.0f32; 10])?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `DeviceBuffer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use fil_rustacuda::prelude::DeviceBuffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceBuffer` [INFO] [stdout] --> examples/launch.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let mut in_y = DeviceBuffer::from_slice(&[2.0f32; 10])?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `DeviceBuffer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use fil_rustacuda::prelude::DeviceBuffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceBuffer` [INFO] [stdout] --> examples/launch.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let mut out_1 = DeviceBuffer::from_slice(&[0.0f32; 10])?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `DeviceBuffer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use fil_rustacuda::prelude::DeviceBuffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceBuffer` [INFO] [stdout] --> examples/launch.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut out_2 = DeviceBuffer::from_slice(&[0.0f32; 10])?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `DeviceBuffer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use fil_rustacuda::prelude::DeviceBuffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone, DeviceCopy)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 3 + use fil_rustacuda::DeviceCopy; [INFO] [stdout] | [INFO] [stdout] 3 + use rustacuda_derive::DeviceCopy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Copy, Clone, DeviceCopy)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 3 + use fil_rustacuda::DeviceCopy; [INFO] [stdout] | [INFO] [stdout] 3 + use rustacuda_derive::DeviceCopy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fil-rustacuda` (test "test_stream") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fil-rustacuda` (example "launch") due to 16 previous errors [INFO] [stdout] warning: struct `ZeroSizedType` is never constructed [INFO] [stdout] --> src/memory/device/device_buffer.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 272 | struct ZeroSizedType; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__verify_ZeroSizedStruct_can_implement_DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | __verify_ZeroSizedStruct_can_implement_DeviceCopy(&ZeroSizedStruct); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__verify_TupleStruct_can_implement_DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | __verify_TupleStruct_can_implement_DeviceCopy(&TupleStruct(0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__verify_NormalStruct_can_implement_DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | __verify_NormalStruct_can_implement_DeviceCopy(&NormalStruct { x: 0, y: 0 }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__verify_ContainerStruct_can_implement_DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | __verify_ContainerStruct_can_implement_DeviceCopy(&ContainerStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__verify_GenericStruct_can_implement_DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | __verify_GenericStruct_can_implement_DeviceCopy(&GenericStruct { value: 0u64 }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__verify_TestEnum_can_implement_DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | __verify_TestEnum_can_implement_DeviceCopy(&TestEnum::Unit); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__verify_GenericEnum_can_implement_DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | __verify_GenericEnum_can_implement_DeviceCopy::(&GenericEnum::Unit); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__verify_TestUnion_can_implement_DeviceCopy` in this scope [INFO] [stdout] --> tests/test_derive.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | __verify_TestUnion_can_implement_DeviceCopy(&TestUnion { u: 0u64 }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fil-rustacuda` (test "test_derive") due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "335a5088f49f26b2f225b15d6ab6b370381fd845171966f332fbd14e65f8cfb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "335a5088f49f26b2f225b15d6ab6b370381fd845171966f332fbd14e65f8cfb8", kill_on_drop: false }` [INFO] [stdout] 335a5088f49f26b2f225b15d6ab6b370381fd845171966f332fbd14e65f8cfb8