[INFO] fetching crate fil-rustacuda 0.1.4...
[INFO] checking fil-rustacuda-0.1.4 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate fil-rustacuda 0.1.4 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate fil-rustacuda 0.1.4 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate fil-rustacuda 0.1.4
[INFO] finished tweaking crates.io crate fil-rustacuda 0.1.4
[INFO] tweaked toml for crates.io crate fil-rustacuda 0.1.4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate crates.io crate fil-rustacuda 0.1.4 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cuda-config v0.1.0
[INFO] [stderr]   Downloaded rustacuda_core v0.1.2
[INFO] [stderr]   Downloaded rustacuda_derive v0.1.2
[INFO] [stderr]   Downloaded cuda-driver-sys v0.3.0
[INFO] [stderr]   Downloaded syn v1.0.76
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9303a107f088d5efcce1d3aab2c6b3dafbdd0b7182d340f62a90add2e0e0f4e5
[INFO] running `Command { std: "docker" "start" "-a" "9303a107f088d5efcce1d3aab2c6b3dafbdd0b7182d340f62a90add2e0e0f4e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9303a107f088d5efcce1d3aab2c6b3dafbdd0b7182d340f62a90add2e0e0f4e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9303a107f088d5efcce1d3aab2c6b3dafbdd0b7182d340f62a90add2e0e0f4e5", kill_on_drop: false }`
[INFO] [stdout] 9303a107f088d5efcce1d3aab2c6b3dafbdd0b7182d340f62a90add2e0e0f4e5
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0369676d61a29ba3535e3065392ea65b545a258937af74875ff9db265033e1e3
[INFO] running `Command { std: "docker" "start" "-a" "0369676d61a29ba3535e3065392ea65b545a258937af74875ff9db265033e1e3", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling syn v1.0.76
[INFO] [stderr]     Checking rustacuda_core v0.1.2
[INFO] [stderr]    Compiling cuda-config v0.1.0
[INFO] [stderr]    Compiling cuda-driver-sys v0.3.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling rustacuda_derive v0.1.2
[INFO] [stderr]     Checking fil-rustacuda v0.1.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/device.rs:345:49
[INFO] [stdout]     |
[INFO] [stdout] 345 |                 &mut name[0] as *mut u8 as *mut ::std::os::raw::c_char,
[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] 345 -                 &mut name[0] as *mut u8 as *mut ::std::os::raw::c_char,
[INFO] [stdout] 345 +                 &mut name[0] as *mut u8 as *mut std::os::raw::c_char,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/device.rs:378:34
[INFO] [stdout]     |
[INFO] [stdout] 378 |             let uuid: [u8; 16] = ::std::mem::transmute(cu_uuid.bytes);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 378 -             let uuid: [u8; 16] = ::std::mem::transmute(cu_uuid.bytes);
[INFO] [stdout] 378 +             let uuid: [u8; 16] = std::mem::transmute(cu_uuid.bytes);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/device.rs:404:17
[INFO] [stdout]     |
[INFO] [stdout] 404 |                 ::std::mem::transmute(attr),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 404 -                 ::std::mem::transmute(attr),
[INFO] [stdout] 404 +                 std::mem::transmute(attr),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Result` is imported redundantly
[INFO] [stdout]   --> src/error.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::result::Result;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Result` is already defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/function.rs:197:17
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 ::std::mem::transmute(attr),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 197 -                 ::std::mem::transmute(attr),
[INFO] [stdout] 197 +                 transmute(attr),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/memory/array.rs:362:40
[INFO] [stdout]     |
[INFO] [stdout] 362 |             let bounds_invalid = |x: &[::std::ops::RangeInclusive<usize>; 3]| {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 362 -             let bounds_invalid = |x: &[::std::ops::RangeInclusive<usize>; 3]| {
[INFO] [stdout] 362 +             let bounds_invalid = |x: &[std::ops::RangeInclusive<usize>; 3]| {
[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_buffer.rs:233:37
[INFO] [stdout]     |
[INFO] [stdout] 233 |             DeviceSlice::from_slice(::std::slice::from_raw_parts(
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 233 -             DeviceSlice::from_slice(::std::slice::from_raw_parts(
[INFO] [stdout] 233 +             DeviceSlice::from_slice(std::slice::from_raw_parts(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/memory/device/device_buffer.rs:243:20
[INFO] [stdout]     |
[INFO] [stdout] 243 |             &mut *(::std::slice::from_raw_parts_mut(self.buf.as_raw_mut(), self.capacity)
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 243 -             &mut *(::std::slice::from_raw_parts_mut(self.buf.as_raw_mut(), self.capacity)
[INFO] [stdout] 243 +             &mut *(std::slice::from_raw_parts_mut(self.buf.as_raw_mut(), self.capacity)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly
[INFO] [stdout]  --> src/memory/device/device_slice.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::iter::{ExactSizeIterator, FusedIterator};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `ExactSizeIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsMut` is imported redundantly
[INFO] [stdout]  --> src/memory/unified.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::convert::{AsMut, AsRef};
[INFO] [stdout]   |                    ^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `AsMut` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout]  --> src/memory/unified.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::convert::{AsMut, AsRef};
[INFO] [stdout]   |                           ^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `AsRef` is already defined here
[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/device.rs:345:49
[INFO] [stdout]     |
[INFO] [stdout] 345 |                 &mut name[0] as *mut u8 as *mut ::std::os::raw::c_char,
[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] 345 -                 &mut name[0] as *mut u8 as *mut ::std::os::raw::c_char,
[INFO] [stdout] 345 +                 &mut name[0] as *mut u8 as *mut std::os::raw::c_char,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/device.rs:378:34
[INFO] [stdout]     |
[INFO] [stdout] 378 |             let uuid: [u8; 16] = ::std::mem::transmute(cu_uuid.bytes);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 378 -             let uuid: [u8; 16] = ::std::mem::transmute(cu_uuid.bytes);
[INFO] [stdout] 378 +             let uuid: [u8; 16] = std::mem::transmute(cu_uuid.bytes);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/device.rs:404:17
[INFO] [stdout]     |
[INFO] [stdout] 404 |                 ::std::mem::transmute(attr),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 404 -                 ::std::mem::transmute(attr),
[INFO] [stdout] 404 +                 std::mem::transmute(attr),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Result` is imported redundantly
[INFO] [stdout]   --> src/error.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::result::Result;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Result` is already defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/function.rs:197:17
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 ::std::mem::transmute(attr),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 197 -                 ::std::mem::transmute(attr),
[INFO] [stdout] 197 +                 transmute(attr),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/memory/array.rs:362:40
[INFO] [stdout]     |
[INFO] [stdout] 362 |             let bounds_invalid = |x: &[::std::ops::RangeInclusive<usize>; 3]| {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 362 -             let bounds_invalid = |x: &[::std::ops::RangeInclusive<usize>; 3]| {
[INFO] [stdout] 362 +             let bounds_invalid = |x: &[std::ops::RangeInclusive<usize>; 3]| {
[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_buffer.rs:233:37
[INFO] [stdout]     |
[INFO] [stdout] 233 |             DeviceSlice::from_slice(::std::slice::from_raw_parts(
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 233 -             DeviceSlice::from_slice(::std::slice::from_raw_parts(
[INFO] [stdout] 233 +             DeviceSlice::from_slice(std::slice::from_raw_parts(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/memory/device/device_buffer.rs:243:20
[INFO] [stdout]     |
[INFO] [stdout] 243 |             &mut *(::std::slice::from_raw_parts_mut(self.buf.as_raw_mut(), self.capacity)
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 243 -             &mut *(::std::slice::from_raw_parts_mut(self.buf.as_raw_mut(), self.capacity)
[INFO] [stdout] 243 +             &mut *(std::slice::from_raw_parts_mut(self.buf.as_raw_mut(), self.capacity)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Stream` is imported redundantly
[INFO] [stdout]    --> src/memory/device/device_buffer.rs:269:25
[INFO] [stdout]     |
[INFO] [stdout] 267 |     use super::*;
[INFO] [stdout]     |         -------- the item `Stream` is already imported here
[INFO] [stdout] 268 |     use crate::memory::device::DeviceBox;
[INFO] [stdout] 269 |     use crate::stream::{Stream, StreamFlags};
[INFO] [stdout]     |                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ExactSizeIterator` is imported redundantly
[INFO] [stdout]  --> src/memory/device/device_slice.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::iter::{ExactSizeIterator, FusedIterator};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `ExactSizeIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `mem` is imported redundantly
[INFO] [stdout]    --> src/memory/locked.rs:273:9
[INFO] [stdout]     |
[INFO] [stdout] 272 |     use super::*;
[INFO] [stdout]     |         -------- the item `mem` is already imported here
[INFO] [stdout] 273 |     use std::mem;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/memory/locked.rs:328:44
[INFO] [stdout]     |
[INFO] [stdout] 328 |         let err = LockedBuffer::new(&0u64, ::std::usize::MAX - 1).unwrap_err();
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 328 -         let err = LockedBuffer::new(&0u64, ::std::usize::MAX - 1).unwrap_err();
[INFO] [stdout] 328 +         let err = LockedBuffer::new(&0u64, std::usize::MAX - 1).unwrap_err();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/memory/malloc.rs:289:36
[INFO] [stdout]     |
[INFO] [stdout] 289 |                 cuda_malloc::<u64>(::std::usize::MAX - 1).unwrap_err()
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 289 -                 cuda_malloc::<u64>(::std::usize::MAX - 1).unwrap_err()
[INFO] [stdout] 289 +                 cuda_malloc::<u64>(std::usize::MAX - 1).unwrap_err()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/memory/malloc.rs:336:44
[INFO] [stdout]     |
[INFO] [stdout] 336 |                 cuda_malloc_unified::<u64>(::std::usize::MAX - 1).unwrap_err()
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 336 -                 cuda_malloc_unified::<u64>(::std::usize::MAX - 1).unwrap_err()
[INFO] [stdout] 336 +                 cuda_malloc_unified::<u64>(std::usize::MAX - 1).unwrap_err()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/memory/malloc.rs:344:20
[INFO] [stdout]     |
[INFO] [stdout] 344 |         let null = ::std::ptr::null_mut::<u64>();
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 344 -         let null = ::std::ptr::null_mut::<u64>();
[INFO] [stdout] 344 +         let null = ptr::null_mut::<u64>();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/memory/malloc.rs:395:43
[INFO] [stdout]     |
[INFO] [stdout] 395 |                 cuda_malloc_locked::<u64>(::std::usize::MAX - 1).unwrap_err()
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 395 -                 cuda_malloc_locked::<u64>(::std::usize::MAX - 1).unwrap_err()
[INFO] [stdout] 395 +                 cuda_malloc_locked::<u64>(std::usize::MAX - 1).unwrap_err()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/memory/malloc.rs:406:34
[INFO] [stdout]     |
[INFO] [stdout] 406 |                 cuda_free_locked(::std::ptr::null_mut::<u64>()).unwrap_err()
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 406 -                 cuda_free_locked(::std::ptr::null_mut::<u64>()).unwrap_err()
[INFO] [stdout] 406 +                 cuda_free_locked(ptr::null_mut::<u64>()).unwrap_err()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsMut` is imported redundantly
[INFO] [stdout]  --> src/memory/unified.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::convert::{AsMut, AsRef};
[INFO] [stdout]   |                    ^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `AsMut` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout]  --> src/memory/unified.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::convert::{AsMut, AsRef};
[INFO] [stdout]   |                           ^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `AsRef` is already defined here
[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: the item `mem` is imported redundantly
[INFO] [stdout]    --> src/memory/unified.rs:660:9
[INFO] [stdout]     |
[INFO] [stdout] 659 |     use super::*;
[INFO] [stdout]     |         -------- the item `mem` is already imported here
[INFO] [stdout] 660 |     use std::mem;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/memory/unified.rs:715:45
[INFO] [stdout]     |
[INFO] [stdout] 715 |         let err = UnifiedBuffer::new(&0u64, ::std::usize::MAX - 1).unwrap_err();
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 715 -         let err = UnifiedBuffer::new(&0u64, ::std::usize::MAX - 1).unwrap_err();
[INFO] [stdout] 715 +         let err = UnifiedBuffer::new(&0u64, std::usize::MAX - 1).unwrap_err();
[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: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustacuda`
[INFO] [stdout]  --> tests/test_derive.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate rustacuda;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustacuda`
[INFO] [stdout]  --> 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[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: 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:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Clone, DeviceCopy)]
[INFO] [stdout]   |                 ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[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:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Clone, DeviceCopy)]
[INFO] [stdout]    |                 ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[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 items
[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 items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fil_rustacuda::DeviceCopy;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use rustacuda_derive::DeviceCopy;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `DeviceCopy` in this scope
[INFO] [stdout]   --> tests/test_derive.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[derive(Clone, DeviceCopy)]
[INFO] [stdout]    |                 ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fil_rustacuda::DeviceCopy;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use rustacuda_derive::DeviceCopy;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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: 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 items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fil_rustacuda::DeviceCopy;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use rustacuda_derive::DeviceCopy;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 | #[derive(Clone, DeviceCopy)]
[INFO] [stdout]    |                 ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[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 items
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fil_rustacuda::DeviceCopy;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use rustacuda_derive::DeviceCopy;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CudaFlags`
[INFO] [stdout]   --> examples/launch.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 |     rustacuda::init(CudaFlags::empty())?;
[INFO] [stdout]    |                     ^^^^^^^^^ use of undeclared type `CudaFlags`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fil_rustacuda::CudaFlags;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Device`
[INFO] [stdout]   --> examples/launch.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let device = Device::get_device(0)?;
[INFO] [stdout]    |                  ^^^^^^ use of undeclared type `Device`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fil_rustacuda::prelude::Device;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context`
[INFO] [stdout]   --> examples/launch.rs:12:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let _ctx = Context::create_and_push(ContextFlags::MAP_HOST | ContextFlags::SCHED_AUTO, device)?;
[INFO] [stdout]    |                ^^^^^^^ use of undeclared type `Context`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 4  + use core::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fil_rustacuda::prelude::Context;
[INFO] [stdout]    |
[INFO] [stdout] 4  + use std::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContextFlags`
[INFO] [stdout]   --> examples/launch.rs:12:41
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let _ctx = Context::create_and_push(ContextFlags::MAP_HOST | ContextFlags::SCHED_AUTO, device)?;
[INFO] [stdout]    |                                         ^^^^^^^^^^^^ use of undeclared type `ContextFlags`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fil_rustacuda::prelude::ContextFlags;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContextFlags`
[INFO] [stdout]   --> examples/launch.rs:12:66
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let _ctx = Context::create_and_push(ContextFlags::MAP_HOST | ContextFlags::SCHED_AUTO, device)?;
[INFO] [stdout]    |                                                                  ^^^^^^^^^^^^ use of undeclared type `ContextFlags`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fil_rustacuda::prelude::ContextFlags;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module`
[INFO] [stdout]   --> examples/launch.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let module = Module::load_from_string(&ptx)?;
[INFO] [stdout]    |                  ^^^^^^ use of undeclared type `Module`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fil_rustacuda::prelude::Module;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stream`
[INFO] [stdout]   --> examples/launch.rs:16:18
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let stream = Stream::new(StreamFlags::NON_BLOCKING, None)?;
[INFO] [stdout]    |                  ^^^^^^ use of undeclared type `Stream`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fil_rustacuda::stream::Stream;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamFlags`
[INFO] [stdout]   --> examples/launch.rs:16:30
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let stream = Stream::new(StreamFlags::NON_BLOCKING, None)?;
[INFO] [stdout]    |                              ^^^^^^^^^^^ use of undeclared type `StreamFlags`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fil_rustacuda::stream::StreamFlags;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceBuffer`
[INFO] [stdout]   --> examples/launch.rs:19:20
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut in_x = DeviceBuffer::from_slice(&[1.0f32; 10])?;
[INFO] [stdout]    |                    ^^^^^^^^^^^^ use of undeclared type `DeviceBuffer`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fil_rustacuda::prelude::DeviceBuffer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceBuffer`
[INFO] [stdout]   --> examples/launch.rs:20:20
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut in_y = DeviceBuffer::from_slice(&[2.0f32; 10])?;
[INFO] [stdout]    |                    ^^^^^^^^^^^^ use of undeclared type `DeviceBuffer`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fil_rustacuda::prelude::DeviceBuffer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceBuffer`
[INFO] [stdout]   --> examples/launch.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut out_1 = DeviceBuffer::from_slice(&[0.0f32; 10])?;
[INFO] [stdout]    |                     ^^^^^^^^^^^^ use of undeclared type `DeviceBuffer`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fil_rustacuda::prelude::DeviceBuffer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeviceBuffer`
[INFO] [stdout]   --> examples/launch.rs:22:21
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut out_2 = DeviceBuffer::from_slice(&[0.0f32; 10])?;
[INFO] [stdout]    |                     ^^^^^^^^^^^^ use of undeclared type `DeviceBuffer`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fil_rustacuda::prelude::DeviceBuffer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0463.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0463.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fil-rustacuda` (test "test_stream") due to 8 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `fil-rustacuda` (example "launch") due to 16 previous errors
[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::<u64>(&GenericEnum::Unit);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ZeroSizedType` is never constructed
[INFO] [stdout]    --> src/memory/device/device_buffer.rs:272:12
[INFO] [stdout]     |
[INFO] [stdout] 272 |     struct ZeroSizedType;
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `__verify_TestUnion_can_implement_DeviceCopy` in this scope
[INFO] [stdout]   --> tests/test_derive.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 |     __verify_TestUnion_can_implement_DeviceCopy(&TestUnion { u: 0u64 });
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 17 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0463.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fil-rustacuda` (test "test_derive") due to 18 previous errors
[INFO] [stdout] warning: 26 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0369676d61a29ba3535e3065392ea65b545a258937af74875ff9db265033e1e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0369676d61a29ba3535e3065392ea65b545a258937af74875ff9db265033e1e3", kill_on_drop: false }`
[INFO] [stdout] 0369676d61a29ba3535e3065392ea65b545a258937af74875ff9db265033e1e3
