[INFO] fetching crate fil-rustacuda 0.1.4... [INFO] testing fil-rustacuda-0.1.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate fil-rustacuda 0.1.4 into /workspace/builds/worker-2-tc1/source [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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fil-rustacuda 0.1.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32ebc9d8cd45bdb7d1f8464e9e8997457b4448224b14f25d4c1eb48d1977c197 [INFO] running `Command { std: "docker" "start" "-a" "32ebc9d8cd45bdb7d1f8464e9e8997457b4448224b14f25d4c1eb48d1977c197", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32ebc9d8cd45bdb7d1f8464e9e8997457b4448224b14f25d4c1eb48d1977c197", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32ebc9d8cd45bdb7d1f8464e9e8997457b4448224b14f25d4c1eb48d1977c197", kill_on_drop: false }` [INFO] [stdout] 32ebc9d8cd45bdb7d1f8464e9e8997457b4448224b14f25d4c1eb48d1977c197 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f2c0b72fb6a238684801cac7b865fb22d4e6a877bcd57ed0e325b61940a4677b [INFO] running `Command { std: "docker" "start" "-a" "f2c0b72fb6a238684801cac7b865fb22d4e6a877bcd57ed0e325b61940a4677b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling 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] Compiling 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/function.rs:163:51 [INFO] [stdout] | [INFO] [stdout] 163 | pub(crate) fn new(inner: CUfunction, _module: &Module) -> Function { [INFO] [stdout] | ^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 163 | pub(crate) fn new(inner: CUfunction, _module: &Module) -> Function<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/memory/device/device_slice.rs:188:19 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn chunks(&self, chunk_size: usize) -> DeviceChunks { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 188 | pub fn chunks(&self, chunk_size: usize) -> DeviceChunks<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/memory/device/device_slice.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn chunks_mut(&mut self, chunk_size: usize) -> DeviceChunksMut { [INFO] [stdout] | ^^^^^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn chunks_mut(&mut self, chunk_size: usize) -> DeviceChunksMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.46s [INFO] running `Command { std: "docker" "inspect" "f2c0b72fb6a238684801cac7b865fb22d4e6a877bcd57ed0e325b61940a4677b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2c0b72fb6a238684801cac7b865fb22d4e6a877bcd57ed0e325b61940a4677b", kill_on_drop: false }` [INFO] [stdout] f2c0b72fb6a238684801cac7b865fb22d4e6a877bcd57ed0e325b61940a4677b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ba1d47d77eaf6793187eeb20e55472d4082f02aea65913a1248434a00e4cfe89 [INFO] running `Command { std: "docker" "start" "-a" "ba1d47d77eaf6793187eeb20e55472d4082f02aea65913a1248434a00e4cfe89", kill_on_drop: false }` [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] [stderr] Compiling fil-rustacuda v0.1.4 (/opt/rustwide/workdir) [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/function.rs:163:51 [INFO] [stdout] | [INFO] [stdout] 163 | pub(crate) fn new(inner: CUfunction, _module: &Module) -> Function { [INFO] [stdout] | ^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 163 | pub(crate) fn new(inner: CUfunction, _module: &Module) -> Function<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/memory/device/device_slice.rs:188:19 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn chunks(&self, chunk_size: usize) -> DeviceChunks { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 188 | pub fn chunks(&self, chunk_size: usize) -> DeviceChunks<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/memory/device/device_slice.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn chunks_mut(&mut self, chunk_size: usize) -> DeviceChunksMut { [INFO] [stdout] | ^^^^^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn chunks_mut(&mut self, chunk_size: usize) -> DeviceChunksMut<'_, T> { [INFO] [stdout] | +++ [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] --> 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] --> 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[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 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: 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] 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 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: 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: 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: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] [stderr] error: could not compile `fil-rustacuda` (test "test_stream") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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] 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] 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] 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] 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] 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[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] 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] 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[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] Some errors have detailed explanations: E0425, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fil-rustacuda` (example "launch") due to 15 previous errors [INFO] [stderr] error: could not compile `fil-rustacuda` (test "test_derive") due to 17 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: `ZeroSizedType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/function.rs:163:51 [INFO] [stdout] | [INFO] [stdout] 163 | pub(crate) fn new(inner: CUfunction, _module: &Module) -> Function { [INFO] [stdout] | ^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 163 | pub(crate) fn new(inner: CUfunction, _module: &Module) -> Function<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/memory/device/device_slice.rs:188:19 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn chunks(&self, chunk_size: usize) -> DeviceChunks { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 188 | pub fn chunks(&self, chunk_size: usize) -> DeviceChunks<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/memory/device/device_slice.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn chunks_mut(&mut self, chunk_size: usize) -> DeviceChunksMut { [INFO] [stdout] | ^^^^^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn chunks_mut(&mut self, chunk_size: usize) -> DeviceChunksMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcSqfC3F/symbols.o" "<9 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libcuda_driver_sys-e4fbd7ae65e6dc8a.rlib,librustacuda_core-80e42cbc39391af1.rlib,libbitflags-e274cd04b58a060d.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lcuda" "-L" "/tmp/rustcSqfC3F/raw-dylibs" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/fil_rustacuda-d7230cce393b635b" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: cannot find -lcuda: No such file or directory [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fil-rustacuda` (lib test) due to 1 previous error; 45 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ba1d47d77eaf6793187eeb20e55472d4082f02aea65913a1248434a00e4cfe89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba1d47d77eaf6793187eeb20e55472d4082f02aea65913a1248434a00e4cfe89", kill_on_drop: false }` [INFO] [stdout] ba1d47d77eaf6793187eeb20e55472d4082f02aea65913a1248434a00e4cfe89