[INFO] fetching crate collenchyma 0.0.8... [INFO] testing collenchyma-0.0.8 against 1.60.0 for beta-1.61-1 [INFO] extracting crate collenchyma 0.0.8 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate collenchyma 0.0.8 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate collenchyma 0.0.8 [INFO] finished tweaking crates.io crate collenchyma 0.0.8 [INFO] tweaked toml for crates.io crate collenchyma 0.0.8 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 572277f4695cd9902446e76af8c74aa247664a2953037bfd4eb875e68c3d118c [INFO] running `Command { std: "docker" "start" "-a" "572277f4695cd9902446e76af8c74aa247664a2953037bfd4eb875e68c3d118c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "572277f4695cd9902446e76af8c74aa247664a2953037bfd4eb875e68c3d118c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "572277f4695cd9902446e76af8c74aa247664a2953037bfd4eb875e68c3d118c", kill_on_drop: false }` [INFO] [stdout] 572277f4695cd9902446e76af8c74aa247664a2953037bfd4eb875e68c3d118c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 308a1b60928d5de857e29d510d69bb514c2ecb627c258b225ec169c280418717 [INFO] running `Command { std: "docker" "start" "-a" "308a1b60928d5de857e29d510d69bb514c2ecb627c258b225ec169c280418717", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling linear-map v0.0.4 [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling collenchyma v0.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/backend.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | let device = try!(config.framework.new_device(config.hardwares)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/framework.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | fn new_device(&self, &[Self::H]) -> Result; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[Self::H]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/native/device.rs:52:39 [INFO] [stdout] | [INFO] [stdout] 52 | Some(h_mem) => Ok(try!(context.sync_out(&h_mem, dest_data))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/native/device.rs:59:39 [INFO] [stdout] | [INFO] [stdout] 59 | Some(h_mem) => Ok(try!(context.sync_out(&h_mem, dest_data))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/context.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | try!(API::create_context(devices.clone(), ptr::null(), callback, ptr::null_mut())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/context.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | ... try!(API::read_from_memory(self.queue().unwrap(), source_data, true, 0, dest_data.byte_size(), dest_data.as_mut_slice().as_mut_ptr(... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/context.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | Ok(try!(Memory::new(self, size))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/context.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | ... try!(API::write_to_memory(self.queue().unwrap(), dest_data, true, 0, h_mem.byte_size(), h_mem.as_slice().as_ptr(), &[])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/memory.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / bitflags! { [INFO] [stdout] 38 | | flags MemoryFlags: cl::bitfield { [INFO] [stdout] 39 | | const MEM_READ_WRITE = 1 << 0, [INFO] [stdout] 40 | | const MEM_WRITE_ONLY = 1 << 1, [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/memory.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / bitflags! { [INFO] [stdout] 38 | | flags MemoryFlags: cl::bitfield { [INFO] [stdout] 39 | | const MEM_READ_WRITE = 1 << 0, [INFO] [stdout] 40 | | const MEM_WRITE_ONLY = 1 << 1, [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/queue.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / bitflags! { [INFO] [stdout] 57 | | #[allow(missing_docs)] [INFO] [stdout] 58 | | flags QueueFlags: cl::bitfield { [INFO] [stdout] 59 | | #[allow(missing_docs)] [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/queue.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / bitflags! { [INFO] [stdout] 57 | | #[allow(missing_docs)] [INFO] [stdout] 58 | | flags QueueFlags: cl::bitfield { [INFO] [stdout] 59 | | #[allow(missing_docs)] [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/context.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/device.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | try!(unsafe { API::ffi_get_device_ids(platform.id_c(), cl::CL_DEVICE_TYPE_ALL, 0, ptr::null_mut(), (&mut num_devices)) }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/device.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | ... try!(unsafe { API::ffi_get_device_ids(platform.id_c(), cl::CL_DEVICE_TYPE_ALL, ids.len() as cl::uint, ids.as_mut_ptr(), ptr::null_m... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/frameworks/opencl/api/device.rs:39:108 [INFO] [stdout] | [INFO] [stdout] 39 | try!(unsafe { API::ffi_get_device_ids(platform.id_c(), cl::CL_DEVICE_TYPE_ALL, 0, ptr::null_mut(), (&mut num_devices)) }); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - try!(unsafe { API::ffi_get_device_ids(platform.id_c(), cl::CL_DEVICE_TYPE_ALL, 0, ptr::null_mut(), (&mut num_devices)) }); [INFO] [stdout] 39 + try!(unsafe { API::ffi_get_device_ids(platform.id_c(), cl::CL_DEVICE_TYPE_ALL, 0, ptr::null_mut(), &mut num_devices) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/device.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | try!(unsafe {API::ffi_get_device_info(device.id_c(), info, 0, ptr::null_mut(), &mut size)}); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/device.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | try!(unsafe {API::ffi_get_device_info(device.id_c(), info, size, buf_ptr, ptr::null_mut())}); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/memory.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | Ok(Memory::from_c(try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/memory.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(try!(unsafe {API::ffi_release_mem_object(memory.id_c())})) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/platform.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | try!(unsafe {API::ffi_get_platform_ids(0, ptr::null_mut(), (&mut num_platforms))}); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/platform.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | try!(unsafe {API::ffi_get_platform_ids(num_platforms, ids.as_mut_ptr(), (&mut num_platforms))}); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/frameworks/opencl/api/platform.rs:30:68 [INFO] [stdout] | [INFO] [stdout] 30 | try!(unsafe {API::ffi_get_platform_ids(0, ptr::null_mut(), (&mut num_platforms))}); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - try!(unsafe {API::ffi_get_platform_ids(0, ptr::null_mut(), (&mut num_platforms))}); [INFO] [stdout] 30 + try!(unsafe {API::ffi_get_platform_ids(0, ptr::null_mut(), &mut num_platforms)}); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/frameworks/opencl/api/platform.rs:34:81 [INFO] [stdout] | [INFO] [stdout] 34 | try!(unsafe {API::ffi_get_platform_ids(num_platforms, ids.as_mut_ptr(), (&mut num_platforms))}); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - try!(unsafe {API::ffi_get_platform_ids(num_platforms, ids.as_mut_ptr(), (&mut num_platforms))}); [INFO] [stdout] 34 + try!(unsafe {API::ffi_get_platform_ids(num_platforms, ids.as_mut_ptr(), &mut num_platforms)}); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/queue.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(Queue::from_c(try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/queue.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | Ok(try!(unsafe {API::ffi_release_command_queue(queue.id_c())})) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/mod.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | let platforms = try!(API::load_platforms()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/mod.rs:96:31 [INFO] [stdout] | [INFO] [stdout] 96 | Ok(DeviceType::OpenCL(try!(Context::new(hardwares.to_vec())))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/context.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | try!(Driver::create_context(devices.clone())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/context.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | Ok(try!(Driver::mem_cpy_d_to_h(source_data, dest_data))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/context.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | Ok(try!(Driver::mem_alloc(size))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/context.rs:95:39 [INFO] [stdout] | [INFO] [stdout] 95 | Some(h_mem) => Ok(try!(Driver::mem_cpy_h_to_d(h_mem, dest_data))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/api/driver/device.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | try!(unsafe {API::ffi_device_get_count(&mut device_counter)}); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/api/driver/device.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | try!(unsafe { API::ffi_device_get_name(name.as_mut_ptr(), 1024, device.id_c()) }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/api/driver/device.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | try!(unsafe { API::ffi_device_get_attribute(&mut value, info, device.id_c()) }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/api/driver/memory.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | Ok(Memory::from_c(try!(unsafe {API::ffi_mem_alloc(bytesize)}))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/api/driver/utils.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | Ok(try!( unsafe { API::ffi_init() })) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/mod.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | Ok(try!(Driver::load_devices())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/mod.rs:80:38 [INFO] [stdout] | [INFO] [stdout] 80 | 1 => Ok(DeviceType::Cuda(try!(Context::new(hardwares[0].clone())))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/mod.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | Ok(try!(ctx.synchronize())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:230:20 [INFO] [stdout] | [INFO] [stdout] 230 | let copy = try!(Self::alloc_on_device(dev, desc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:263:28 [INFO] [stdout] | [INFO] [stdout] 263 | self.latest_copy = try!(Self::alloc_on_device(self.latest_device(), desc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:275:63 [INFO] [stdout] | [INFO] [stdout] 275 | DeviceType::Native(ref cpu) => MemoryType::Native(try!(cpu.alloc_memory(alloc_size))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:277:67 [INFO] [stdout] | [INFO] [stdout] 277 | DeviceType::OpenCL(ref context) => MemoryType::OpenCL(try!(context.alloc_memory(alloc_size))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:279:63 [INFO] [stdout] | [INFO] [stdout] 279 | DeviceType::Cuda(ref context) => MemoryType::Cuda(try!(context.alloc_memory(alloc_size))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | try!(self.sync_from_to(&latest, &destination)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:291:33 [INFO] [stdout] | [INFO] [stdout] 291 | ... let mut swap_copy = try!(self.copies.remove(destination).ok_or(Error::MissingDestination("Tensor does not hold a copy on destinatio... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:330:54 [INFO] [stdout] | [INFO] [stdout] 330 | ... Some(ref mut mem) => try!(cpu.sync_in(&self.latest_location, &self.latest_copy, mem)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:337:54 [INFO] [stdout] | [INFO] [stdout] 337 | ... Some(ref mut mem) => try!(context.sync_in(&self.latest_location, &self.latest_copy, mem)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:344:54 [INFO] [stdout] | [INFO] [stdout] 344 | ... Some(ref mut mem) => try!(context.sync_in(&self.latest_location, &self.latest_copy, mem)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/tensor.rs:359:71 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn remove_copy(&mut self, destination: &DeviceType) -> Result<(MemoryType), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 359 - pub fn remove_copy(&mut self, destination: &DeviceType) -> Result<(MemoryType), Error> { [INFO] [stdout] 359 + pub fn remove_copy(&mut self, destination: &DeviceType) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | try!(self.sync(&first)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:390:78 [INFO] [stdout] | [INFO] [stdout] 390 | DeviceType::Native(ref cpu) => copy = MemoryType::Native(try!(cpu.alloc_memory(Self::mem_size(self.capacity())))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:392:82 [INFO] [stdout] | [INFO] [stdout] 392 | ... DeviceType::OpenCL(ref context) => copy = MemoryType::OpenCL(try!(context.alloc_memory(Self::mem_size(self.capacity())))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:394:78 [INFO] [stdout] | [INFO] [stdout] 394 | DeviceType::Cuda(ref context) => copy = MemoryType::Cuda(try!(context.alloc_memory(Self::mem_size(self.capacity())))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/frameworks/opencl/api/platform.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref PLATFORM_MUTEX: Mutex<()> = Mutex::new(()); [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/frameworks/opencl/api/platform.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref PLATFORM_MUTEX: Mutex<()> = Mutex::new(()); [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/device.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 106 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 101 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tensor.rs:473:32 [INFO] [stdout] | [INFO] [stdout] 473 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 473 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 473 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 39 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plugin.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/frameworks/native/error.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 27 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/frameworks/opencl/api/error.rs:107:32 [INFO] [stdout] | [INFO] [stdout] 107 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 107 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/frameworks/cuda/api/driver/error.rs:251:32 [INFO] [stdout] | [INFO] [stdout] 251 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 251 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 251 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/device.rs:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | Error::Native(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/device.rs:100:43 [INFO] [stdout] | [INFO] [stdout] 100 | Error::OpenCL(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/device.rs:102:41 [INFO] [stdout] | [INFO] [stdout] 102 | Error::Cuda(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/framework.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 94 | Error::OpenCL(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/framework.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | Error::Cuda(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/tensor.rs:467:58 [INFO] [stdout] | [INFO] [stdout] 467 | Error::MemoryAllocationError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/tensor.rs:468:63 [INFO] [stdout] | [INFO] [stdout] 468 | Error::MemorySynchronizationError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 32 | Error::Framework(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:33:43 [INFO] [stdout] | [INFO] [stdout] 33 | Error::Tensor(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | Error::Plugin(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:35:43 [INFO] [stdout] | [INFO] [stdout] 35 | Error::Device(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IDevice` [INFO] [stdout] --> src/backend.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | use device::{IDevice, DeviceType}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> src/frameworks/opencl/device.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use byteorder::{ByteOrder, LittleEndian, ReadBytesExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> src/frameworks/cuda/device.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use byteorder::{ByteOrder, LittleEndian, ReadBytesExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> src/frameworks/cuda/api/driver/device.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder::{ByteOrder, LittleEndian, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tensor.rs:325:22 [INFO] [stdout] | [INFO] [stdout] 325 | Some(mut destination_copy) => { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/frameworks/native/mod.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | Err(err) => panic!(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 61 | Err(err) => panic!("{}", err) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 61 | Err(err) => std::panic::panic_any(err) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/frameworks/opencl/mod.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | Err(err) => panic!(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 66 | Err(err) => panic!("{}", err) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 66 | Err(err) => std::panic::panic_any(err) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type does not implement `Debug`; consider adding `#[derive(Debug)]` or a manual implementation [INFO] [stdout] --> src/frameworks/cuda/api/driver/ffi.rs:596:1 [INFO] [stdout] | [INFO] [stdout] 596 | pub enum Struct_CUctx_st { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | missing_debug_implementations, missing_copy_implementations, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type could implement `Copy`; consider adding `impl Copy` [INFO] [stdout] --> src/frameworks/cuda/api/driver/ffi.rs:596:1 [INFO] [stdout] | [INFO] [stdout] 596 | pub enum Struct_CUctx_st { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:143:40 [INFO] [stdout] | [INFO] [stdout] 143 | missing_debug_implementations, missing_copy_implementations, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type could implement `Copy`; consider adding `impl Copy` [INFO] [stdout] --> src/frameworks/cuda/api/driver/ffi.rs:709:1 [INFO] [stdout] | [INFO] [stdout] 709 | / pub enum CUdevice_attribute { [INFO] [stdout] 710 | | CU_DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK = 1, [INFO] [stdout] 711 | | CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X = 2, [INFO] [stdout] 712 | | CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y = 3, [INFO] [stdout] ... | [INFO] [stdout] 798 | | CU_DEVICE_MEMORY_TOTAL = 1000, [INFO] [stdout] 799 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 86 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.37s [INFO] running `Command { std: "docker" "inspect" "308a1b60928d5de857e29d510d69bb514c2ecb627c258b225ec169c280418717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "308a1b60928d5de857e29d510d69bb514c2ecb627c258b225ec169c280418717", kill_on_drop: false }` [INFO] [stdout] 308a1b60928d5de857e29d510d69bb514c2ecb627c258b225ec169c280418717 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 94f192cf4171945c9117218961160d7195bfbe2003b18f12e2cb60252b79cefb [INFO] running `Command { std: "docker" "start" "-a" "94f192cf4171945c9117218961160d7195bfbe2003b18f12e2cb60252b79cefb", kill_on_drop: false }` [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/backend.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | let device = try!(config.framework.new_device(config.hardwares)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/framework.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | fn new_device(&self, &[Self::H]) -> Result; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[Self::H]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/native/device.rs:52:39 [INFO] [stdout] | [INFO] [stdout] 52 | Some(h_mem) => Ok(try!(context.sync_out(&h_mem, dest_data))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/native/device.rs:59:39 [INFO] [stdout] | [INFO] [stdout] 59 | Some(h_mem) => Ok(try!(context.sync_out(&h_mem, dest_data))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/context.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | try!(API::create_context(devices.clone(), ptr::null(), callback, ptr::null_mut())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/context.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | ... try!(API::read_from_memory(self.queue().unwrap(), source_data, true, 0, dest_data.byte_size(), dest_data.as_mut_slice().as_mut_ptr(... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/context.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | Ok(try!(Memory::new(self, size))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/context.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | ... try!(API::write_to_memory(self.queue().unwrap(), dest_data, true, 0, h_mem.byte_size(), h_mem.as_slice().as_ptr(), &[])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/memory.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / bitflags! { [INFO] [stdout] 38 | | flags MemoryFlags: cl::bitfield { [INFO] [stdout] 39 | | const MEM_READ_WRITE = 1 << 0, [INFO] [stdout] 40 | | const MEM_WRITE_ONLY = 1 << 1, [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/memory.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / bitflags! { [INFO] [stdout] 38 | | flags MemoryFlags: cl::bitfield { [INFO] [stdout] 39 | | const MEM_READ_WRITE = 1 << 0, [INFO] [stdout] 40 | | const MEM_WRITE_ONLY = 1 << 1, [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/queue.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / bitflags! { [INFO] [stdout] 57 | | #[allow(missing_docs)] [INFO] [stdout] 58 | | flags QueueFlags: cl::bitfield { [INFO] [stdout] 59 | | #[allow(missing_docs)] [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/queue.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / bitflags! { [INFO] [stdout] 57 | | #[allow(missing_docs)] [INFO] [stdout] 58 | | flags QueueFlags: cl::bitfield { [INFO] [stdout] 59 | | #[allow(missing_docs)] [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/context.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/device.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | try!(unsafe { API::ffi_get_device_ids(platform.id_c(), cl::CL_DEVICE_TYPE_ALL, 0, ptr::null_mut(), (&mut num_devices)) }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/device.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | ... try!(unsafe { API::ffi_get_device_ids(platform.id_c(), cl::CL_DEVICE_TYPE_ALL, ids.len() as cl::uint, ids.as_mut_ptr(), ptr::null_m... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/frameworks/opencl/api/device.rs:39:108 [INFO] [stdout] | [INFO] [stdout] 39 | try!(unsafe { API::ffi_get_device_ids(platform.id_c(), cl::CL_DEVICE_TYPE_ALL, 0, ptr::null_mut(), (&mut num_devices)) }); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - try!(unsafe { API::ffi_get_device_ids(platform.id_c(), cl::CL_DEVICE_TYPE_ALL, 0, ptr::null_mut(), (&mut num_devices)) }); [INFO] [stdout] 39 + try!(unsafe { API::ffi_get_device_ids(platform.id_c(), cl::CL_DEVICE_TYPE_ALL, 0, ptr::null_mut(), &mut num_devices) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/device.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | try!(unsafe {API::ffi_get_device_info(device.id_c(), info, 0, ptr::null_mut(), &mut size)}); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/device.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | try!(unsafe {API::ffi_get_device_info(device.id_c(), info, size, buf_ptr, ptr::null_mut())}); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/memory.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | Ok(Memory::from_c(try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/memory.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(try!(unsafe {API::ffi_release_mem_object(memory.id_c())})) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/platform.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | try!(unsafe {API::ffi_get_platform_ids(0, ptr::null_mut(), (&mut num_platforms))}); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/platform.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | try!(unsafe {API::ffi_get_platform_ids(num_platforms, ids.as_mut_ptr(), (&mut num_platforms))}); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/frameworks/opencl/api/platform.rs:30:68 [INFO] [stdout] | [INFO] [stdout] 30 | try!(unsafe {API::ffi_get_platform_ids(0, ptr::null_mut(), (&mut num_platforms))}); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - try!(unsafe {API::ffi_get_platform_ids(0, ptr::null_mut(), (&mut num_platforms))}); [INFO] [stdout] 30 + try!(unsafe {API::ffi_get_platform_ids(0, ptr::null_mut(), &mut num_platforms)}); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/frameworks/opencl/api/platform.rs:34:81 [INFO] [stdout] | [INFO] [stdout] 34 | try!(unsafe {API::ffi_get_platform_ids(num_platforms, ids.as_mut_ptr(), (&mut num_platforms))}); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - try!(unsafe {API::ffi_get_platform_ids(num_platforms, ids.as_mut_ptr(), (&mut num_platforms))}); [INFO] [stdout] 34 + try!(unsafe {API::ffi_get_platform_ids(num_platforms, ids.as_mut_ptr(), &mut num_platforms)}); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/queue.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(Queue::from_c(try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/queue.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | Ok(try!(unsafe {API::ffi_release_command_queue(queue.id_c())})) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/mod.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | let platforms = try!(API::load_platforms()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/mod.rs:96:31 [INFO] [stdout] | [INFO] [stdout] 96 | Ok(DeviceType::OpenCL(try!(Context::new(hardwares.to_vec())))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/context.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | try!(Driver::create_context(devices.clone())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/context.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | Ok(try!(Driver::mem_cpy_d_to_h(source_data, dest_data))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/context.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | Ok(try!(Driver::mem_alloc(size))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/context.rs:95:39 [INFO] [stdout] | [INFO] [stdout] 95 | Some(h_mem) => Ok(try!(Driver::mem_cpy_h_to_d(h_mem, dest_data))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/api/driver/device.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | try!(unsafe {API::ffi_device_get_count(&mut device_counter)}); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/api/driver/device.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | try!(unsafe { API::ffi_device_get_name(name.as_mut_ptr(), 1024, device.id_c()) }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/api/driver/device.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | try!(unsafe { API::ffi_device_get_attribute(&mut value, info, device.id_c()) }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/api/driver/memory.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | Ok(Memory::from_c(try!(unsafe {API::ffi_mem_alloc(bytesize)}))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/api/driver/utils.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | Ok(try!( unsafe { API::ffi_init() })) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/mod.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | Ok(try!(Driver::load_devices())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/mod.rs:80:38 [INFO] [stdout] | [INFO] [stdout] 80 | 1 => Ok(DeviceType::Cuda(try!(Context::new(hardwares[0].clone())))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/mod.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | Ok(try!(ctx.synchronize())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:230:20 [INFO] [stdout] | [INFO] [stdout] 230 | let copy = try!(Self::alloc_on_device(dev, desc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:263:28 [INFO] [stdout] | [INFO] [stdout] 263 | self.latest_copy = try!(Self::alloc_on_device(self.latest_device(), desc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:275:63 [INFO] [stdout] | [INFO] [stdout] 275 | DeviceType::Native(ref cpu) => MemoryType::Native(try!(cpu.alloc_memory(alloc_size))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:277:67 [INFO] [stdout] | [INFO] [stdout] 277 | DeviceType::OpenCL(ref context) => MemoryType::OpenCL(try!(context.alloc_memory(alloc_size))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:279:63 [INFO] [stdout] | [INFO] [stdout] 279 | DeviceType::Cuda(ref context) => MemoryType::Cuda(try!(context.alloc_memory(alloc_size))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | try!(self.sync_from_to(&latest, &destination)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:291:33 [INFO] [stdout] | [INFO] [stdout] 291 | ... let mut swap_copy = try!(self.copies.remove(destination).ok_or(Error::MissingDestination("Tensor does not hold a copy on destinatio... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:330:54 [INFO] [stdout] | [INFO] [stdout] 330 | ... Some(ref mut mem) => try!(cpu.sync_in(&self.latest_location, &self.latest_copy, mem)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:337:54 [INFO] [stdout] | [INFO] [stdout] 337 | ... Some(ref mut mem) => try!(context.sync_in(&self.latest_location, &self.latest_copy, mem)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:344:54 [INFO] [stdout] | [INFO] [stdout] 344 | ... Some(ref mut mem) => try!(context.sync_in(&self.latest_location, &self.latest_copy, mem)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/tensor.rs:359:71 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn remove_copy(&mut self, destination: &DeviceType) -> Result<(MemoryType), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 359 - pub fn remove_copy(&mut self, destination: &DeviceType) -> Result<(MemoryType), Error> { [INFO] [stdout] 359 + pub fn remove_copy(&mut self, destination: &DeviceType) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | try!(self.sync(&first)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:390:78 [INFO] [stdout] | [INFO] [stdout] 390 | DeviceType::Native(ref cpu) => copy = MemoryType::Native(try!(cpu.alloc_memory(Self::mem_size(self.capacity())))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:392:82 [INFO] [stdout] | [INFO] [stdout] 392 | ... DeviceType::OpenCL(ref context) => copy = MemoryType::OpenCL(try!(context.alloc_memory(Self::mem_size(self.capacity())))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:394:78 [INFO] [stdout] | [INFO] [stdout] 394 | DeviceType::Cuda(ref context) => copy = MemoryType::Cuda(try!(context.alloc_memory(Self::mem_size(self.capacity())))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/frameworks/opencl/api/platform.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref PLATFORM_MUTEX: Mutex<()> = Mutex::new(()); [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/frameworks/opencl/api/platform.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref PLATFORM_MUTEX: Mutex<()> = Mutex::new(()); [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/device.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 106 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 101 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tensor.rs:473:32 [INFO] [stdout] | [INFO] [stdout] 473 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 473 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 473 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 39 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plugin.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/frameworks/native/error.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 27 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/frameworks/opencl/api/error.rs:107:32 [INFO] [stdout] | [INFO] [stdout] 107 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 107 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/frameworks/cuda/api/driver/error.rs:251:32 [INFO] [stdout] | [INFO] [stdout] 251 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 251 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 251 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/device.rs:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | Error::Native(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/device.rs:100:43 [INFO] [stdout] | [INFO] [stdout] 100 | Error::OpenCL(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/device.rs:102:41 [INFO] [stdout] | [INFO] [stdout] 102 | Error::Cuda(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/framework.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 94 | Error::OpenCL(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/framework.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | Error::Cuda(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/tensor.rs:467:58 [INFO] [stdout] | [INFO] [stdout] 467 | Error::MemoryAllocationError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/tensor.rs:468:63 [INFO] [stdout] | [INFO] [stdout] 468 | Error::MemorySynchronizationError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 32 | Error::Framework(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:33:43 [INFO] [stdout] | [INFO] [stdout] 33 | Error::Tensor(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | Error::Plugin(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:35:43 [INFO] [stdout] | [INFO] [stdout] 35 | Error::Device(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IDevice` [INFO] [stdout] --> src/backend.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | use device::{IDevice, DeviceType}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> src/frameworks/opencl/device.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use byteorder::{ByteOrder, LittleEndian, ReadBytesExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> src/frameworks/cuda/device.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use byteorder::{ByteOrder, LittleEndian, ReadBytesExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> src/frameworks/cuda/api/driver/device.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder::{ByteOrder, LittleEndian, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tensor.rs:325:22 [INFO] [stdout] | [INFO] [stdout] 325 | Some(mut destination_copy) => { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/frameworks/native/mod.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | Err(err) => panic!(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 61 | Err(err) => panic!("{}", err) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 61 | Err(err) => std::panic::panic_any(err) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/frameworks/opencl/mod.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | Err(err) => panic!(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 66 | Err(err) => panic!("{}", err) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 66 | Err(err) => std::panic::panic_any(err) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type does not implement `Debug`; consider adding `#[derive(Debug)]` or a manual implementation [INFO] [stdout] --> src/frameworks/cuda/api/driver/ffi.rs:596:1 [INFO] [stdout] | [INFO] [stdout] 596 | pub enum Struct_CUctx_st { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | missing_debug_implementations, missing_copy_implementations, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type could implement `Copy`; consider adding `impl Copy` [INFO] [stdout] --> src/frameworks/cuda/api/driver/ffi.rs:596:1 [INFO] [stdout] | [INFO] [stdout] 596 | pub enum Struct_CUctx_st { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:143:40 [INFO] [stdout] | [INFO] [stdout] 143 | missing_debug_implementations, missing_copy_implementations, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type could implement `Copy`; consider adding `impl Copy` [INFO] [stdout] --> src/frameworks/cuda/api/driver/ffi.rs:709:1 [INFO] [stdout] | [INFO] [stdout] 709 | / pub enum CUdevice_attribute { [INFO] [stdout] 710 | | CU_DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK = 1, [INFO] [stdout] 711 | | CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X = 2, [INFO] [stdout] 712 | | CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y = 3, [INFO] [stdout] ... | [INFO] [stdout] 798 | | CU_DEVICE_MEMORY_TOTAL = 1000, [INFO] [stdout] 799 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 86 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling collenchyma v0.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/backend_specs.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | let backend: Rc> = backend.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - let backend: Rc> = backend.clone(); [INFO] [stdout] 26 + let backend: Rc> = backend.clone(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/shared_memory_specs.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | let mut mem_buffer = mem.as_mut_slice::(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/shared_memory_specs.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let mut shared_data = &mut SharedTensor::::new(&cpu_dev, &10).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/shared_memory_specs.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let mut shared_data = &mut SharedTensor::::new(&cpu_dev, &10).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/backend.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | let device = try!(config.framework.new_device(config.hardwares)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/framework.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | fn new_device(&self, &[Self::H]) -> Result; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[Self::H]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/native/device.rs:52:39 [INFO] [stdout] | [INFO] [stdout] 52 | Some(h_mem) => Ok(try!(context.sync_out(&h_mem, dest_data))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/native/device.rs:59:39 [INFO] [stdout] | [INFO] [stdout] 59 | Some(h_mem) => Ok(try!(context.sync_out(&h_mem, dest_data))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/context.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | try!(API::create_context(devices.clone(), ptr::null(), callback, ptr::null_mut())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/context.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | ... try!(API::read_from_memory(self.queue().unwrap(), source_data, true, 0, dest_data.byte_size(), dest_data.as_mut_slice().as_mut_ptr(... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/context.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | Ok(try!(Memory::new(self, size))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/context.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | ... try!(API::write_to_memory(self.queue().unwrap(), dest_data, true, 0, h_mem.byte_size(), h_mem.as_slice().as_ptr(), &[])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/memory.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / bitflags! { [INFO] [stdout] 38 | | flags MemoryFlags: cl::bitfield { [INFO] [stdout] 39 | | const MEM_READ_WRITE = 1 << 0, [INFO] [stdout] 40 | | const MEM_WRITE_ONLY = 1 << 1, [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/memory.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / bitflags! { [INFO] [stdout] 38 | | flags MemoryFlags: cl::bitfield { [INFO] [stdout] 39 | | const MEM_READ_WRITE = 1 << 0, [INFO] [stdout] 40 | | const MEM_WRITE_ONLY = 1 << 1, [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/queue.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / bitflags! { [INFO] [stdout] 57 | | #[allow(missing_docs)] [INFO] [stdout] 58 | | flags QueueFlags: cl::bitfield { [INFO] [stdout] 59 | | #[allow(missing_docs)] [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/queue.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / bitflags! { [INFO] [stdout] 57 | | #[allow(missing_docs)] [INFO] [stdout] 58 | | flags QueueFlags: cl::bitfield { [INFO] [stdout] 59 | | #[allow(missing_docs)] [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/context.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/device.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | try!(unsafe { API::ffi_get_device_ids(platform.id_c(), cl::CL_DEVICE_TYPE_ALL, 0, ptr::null_mut(), (&mut num_devices)) }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/device.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | ... try!(unsafe { API::ffi_get_device_ids(platform.id_c(), cl::CL_DEVICE_TYPE_ALL, ids.len() as cl::uint, ids.as_mut_ptr(), ptr::null_m... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/frameworks/opencl/api/device.rs:39:108 [INFO] [stdout] | [INFO] [stdout] 39 | try!(unsafe { API::ffi_get_device_ids(platform.id_c(), cl::CL_DEVICE_TYPE_ALL, 0, ptr::null_mut(), (&mut num_devices)) }); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - try!(unsafe { API::ffi_get_device_ids(platform.id_c(), cl::CL_DEVICE_TYPE_ALL, 0, ptr::null_mut(), (&mut num_devices)) }); [INFO] [stdout] 39 + try!(unsafe { API::ffi_get_device_ids(platform.id_c(), cl::CL_DEVICE_TYPE_ALL, 0, ptr::null_mut(), &mut num_devices) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/device.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | try!(unsafe {API::ffi_get_device_info(device.id_c(), info, 0, ptr::null_mut(), &mut size)}); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/device.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | try!(unsafe {API::ffi_get_device_info(device.id_c(), info, size, buf_ptr, ptr::null_mut())}); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/memory.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | Ok(Memory::from_c(try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/memory.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(try!(unsafe {API::ffi_release_mem_object(memory.id_c())})) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/platform.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | try!(unsafe {API::ffi_get_platform_ids(0, ptr::null_mut(), (&mut num_platforms))}); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/platform.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | try!(unsafe {API::ffi_get_platform_ids(num_platforms, ids.as_mut_ptr(), (&mut num_platforms))}); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/frameworks/opencl/api/platform.rs:30:68 [INFO] [stdout] | [INFO] [stdout] 30 | try!(unsafe {API::ffi_get_platform_ids(0, ptr::null_mut(), (&mut num_platforms))}); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - try!(unsafe {API::ffi_get_platform_ids(0, ptr::null_mut(), (&mut num_platforms))}); [INFO] [stdout] 30 + try!(unsafe {API::ffi_get_platform_ids(0, ptr::null_mut(), &mut num_platforms)}); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/frameworks/opencl/api/platform.rs:34:81 [INFO] [stdout] | [INFO] [stdout] 34 | try!(unsafe {API::ffi_get_platform_ids(num_platforms, ids.as_mut_ptr(), (&mut num_platforms))}); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - try!(unsafe {API::ffi_get_platform_ids(num_platforms, ids.as_mut_ptr(), (&mut num_platforms))}); [INFO] [stdout] 34 + try!(unsafe {API::ffi_get_platform_ids(num_platforms, ids.as_mut_ptr(), &mut num_platforms)}); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/queue.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(Queue::from_c(try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/api/queue.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | Ok(try!(unsafe {API::ffi_release_command_queue(queue.id_c())})) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/mod.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | let platforms = try!(API::load_platforms()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/opencl/mod.rs:96:31 [INFO] [stdout] | [INFO] [stdout] 96 | Ok(DeviceType::OpenCL(try!(Context::new(hardwares.to_vec())))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/context.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | try!(Driver::create_context(devices.clone())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/context.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | Ok(try!(Driver::mem_cpy_d_to_h(source_data, dest_data))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/context.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | Ok(try!(Driver::mem_alloc(size))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/context.rs:95:39 [INFO] [stdout] | [INFO] [stdout] 95 | Some(h_mem) => Ok(try!(Driver::mem_cpy_h_to_d(h_mem, dest_data))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/api/driver/device.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | try!(unsafe {API::ffi_device_get_count(&mut device_counter)}); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/api/driver/device.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | try!(unsafe { API::ffi_device_get_name(name.as_mut_ptr(), 1024, device.id_c()) }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/api/driver/device.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | try!(unsafe { API::ffi_device_get_attribute(&mut value, info, device.id_c()) }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/api/driver/memory.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | Ok(Memory::from_c(try!(unsafe {API::ffi_mem_alloc(bytesize)}))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/api/driver/utils.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | Ok(try!( unsafe { API::ffi_init() })) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/mod.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | Ok(try!(Driver::load_devices())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/mod.rs:80:38 [INFO] [stdout] | [INFO] [stdout] 80 | 1 => Ok(DeviceType::Cuda(try!(Context::new(hardwares[0].clone())))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frameworks/cuda/mod.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | Ok(try!(ctx.synchronize())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:230:20 [INFO] [stdout] | [INFO] [stdout] 230 | let copy = try!(Self::alloc_on_device(dev, desc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:263:28 [INFO] [stdout] | [INFO] [stdout] 263 | self.latest_copy = try!(Self::alloc_on_device(self.latest_device(), desc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:275:63 [INFO] [stdout] | [INFO] [stdout] 275 | DeviceType::Native(ref cpu) => MemoryType::Native(try!(cpu.alloc_memory(alloc_size))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:277:67 [INFO] [stdout] | [INFO] [stdout] 277 | DeviceType::OpenCL(ref context) => MemoryType::OpenCL(try!(context.alloc_memory(alloc_size))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:279:63 [INFO] [stdout] | [INFO] [stdout] 279 | DeviceType::Cuda(ref context) => MemoryType::Cuda(try!(context.alloc_memory(alloc_size))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | try!(self.sync_from_to(&latest, &destination)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:291:33 [INFO] [stdout] | [INFO] [stdout] 291 | ... let mut swap_copy = try!(self.copies.remove(destination).ok_or(Error::MissingDestination("Tensor does not hold a copy on destinatio... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:330:54 [INFO] [stdout] | [INFO] [stdout] 330 | ... Some(ref mut mem) => try!(cpu.sync_in(&self.latest_location, &self.latest_copy, mem)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:337:54 [INFO] [stdout] | [INFO] [stdout] 337 | ... Some(ref mut mem) => try!(context.sync_in(&self.latest_location, &self.latest_copy, mem)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:344:54 [INFO] [stdout] | [INFO] [stdout] 344 | ... Some(ref mut mem) => try!(context.sync_in(&self.latest_location, &self.latest_copy, mem)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/tensor.rs:359:71 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn remove_copy(&mut self, destination: &DeviceType) -> Result<(MemoryType), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 359 - pub fn remove_copy(&mut self, destination: &DeviceType) -> Result<(MemoryType), Error> { [INFO] [stdout] 359 + pub fn remove_copy(&mut self, destination: &DeviceType) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | try!(self.sync(&first)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:390:78 [INFO] [stdout] | [INFO] [stdout] 390 | DeviceType::Native(ref cpu) => copy = MemoryType::Native(try!(cpu.alloc_memory(Self::mem_size(self.capacity())))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:392:82 [INFO] [stdout] | [INFO] [stdout] 392 | ... DeviceType::OpenCL(ref context) => copy = MemoryType::OpenCL(try!(context.alloc_memory(Self::mem_size(self.capacity())))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tensor.rs:394:78 [INFO] [stdout] | [INFO] [stdout] 394 | DeviceType::Cuda(ref context) => copy = MemoryType::Cuda(try!(context.alloc_memory(Self::mem_size(self.capacity())))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/framework_cuda_specs-ac21946c5701d9e9.framework_cuda_specs.e0cb4a03-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/framework_cuda_specs-ac21946c5701d9e9.framework_cuda_specs.e0cb4a03-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/framework_cuda_specs-ac21946c5701d9e9.framework_cuda_specs.e0cb4a03-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/framework_cuda_specs-ac21946c5701d9e9.framework_cuda_specs.e0cb4a03-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/framework_cuda_specs-ac21946c5701d9e9.framework_cuda_specs.e0cb4a03-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/framework_cuda_specs-ac21946c5701d9e9.framework_cuda_specs.e0cb4a03-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/framework_cuda_specs-ac21946c5701d9e9.framework_cuda_specs.e0cb4a03-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/framework_cuda_specs-ac21946c5701d9e9.framework_cuda_specs.e0cb4a03-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/framework_cuda_specs-ac21946c5701d9e9.framework_cuda_specs.e0cb4a03-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/framework_cuda_specs-ac21946c5701d9e9.framework_cuda_specs.e0cb4a03-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/framework_cuda_specs-ac21946c5701d9e9.framework_cuda_specs.e0cb4a03-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/framework_cuda_specs-ac21946c5701d9e9.framework_cuda_specs.e0cb4a03-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/framework_cuda_specs-ac21946c5701d9e9.framework_cuda_specs.e0cb4a03-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/framework_cuda_specs-ac21946c5701d9e9.framework_cuda_specs.e0cb4a03-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/framework_cuda_specs-ac21946c5701d9e9.framework_cuda_specs.e0cb4a03-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/framework_cuda_specs-ac21946c5701d9e9.framework_cuda_specs.e0cb4a03-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/framework_cuda_specs-ac21946c5701d9e9.136epr2wjz5vid17.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-b6a068090bf40c71.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-1c1e08c768cd8903.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-3f4474e7a3a1f53f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-ec55ab174918e77a.rlib" "/opt/rustwide/target/debug/deps/libcollenchyma-c05f058c598dfaf7.rlib" "/opt/rustwide/target/debug/deps/liblinear_map-fbdd970c4f3a6369.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-3aa3e11d15622499.rlib" "/opt/rustwide/target/debug/deps/libnum-d08a3255ef8bdcaf.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-e81551886ac330ff.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-422f699255bfb6b2.rlib" "/opt/rustwide/target/debug/deps/librand-e1ff99d7365d2f72.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-7680b96acd4a9d26.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-f5cf36b4640ed572.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-8f34e6e06bd01354.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-ab8040034daf36d5.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-5b78e41d6342e66d.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-4cf74296994bf753.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-9c85fa38730aeaeb.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-fee3ef04727f9865.rlib" "/opt/rustwide/target/debug/deps/libbitflags-9f08f646975d4fe7.rlib" "/opt/rustwide/target/debug/deps/liblibc-cbcf0797f466a12c.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.rlib" "-Wl,-Bdynamic" "-lOpenCL" "-lcuda" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/framework_cuda_specs-ac21946c5701d9e9" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lOpenCL [INFO] [stdout] /usr/bin/ld: cannot find -lcuda [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `collenchyma` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/tensor_specs-57c982992cea0b5d.tensor_specs.46cf64fe-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/tensor_specs-57c982992cea0b5d.tensor_specs.46cf64fe-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/tensor_specs-57c982992cea0b5d.tensor_specs.46cf64fe-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/tensor_specs-57c982992cea0b5d.tensor_specs.46cf64fe-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/tensor_specs-57c982992cea0b5d.tensor_specs.46cf64fe-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/tensor_specs-57c982992cea0b5d.tensor_specs.46cf64fe-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/tensor_specs-57c982992cea0b5d.tensor_specs.46cf64fe-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/tensor_specs-57c982992cea0b5d.tensor_specs.46cf64fe-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/tensor_specs-57c982992cea0b5d.tensor_specs.46cf64fe-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/tensor_specs-57c982992cea0b5d.tensor_specs.46cf64fe-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/tensor_specs-57c982992cea0b5d.tensor_specs.46cf64fe-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/tensor_specs-57c982992cea0b5d.tensor_specs.46cf64fe-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/tensor_specs-57c982992cea0b5d.tensor_specs.46cf64fe-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/tensor_specs-57c982992cea0b5d.tensor_specs.46cf64fe-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/tensor_specs-57c982992cea0b5d.tensor_specs.46cf64fe-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/tensor_specs-57c982992cea0b5d.tensor_specs.46cf64fe-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/tensor_specs-57c982992cea0b5d.yiw8rambcqhcj4m.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-b6a068090bf40c71.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-1c1e08c768cd8903.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-3f4474e7a3a1f53f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-ec55ab174918e77a.rlib" "/opt/rustwide/target/debug/deps/libcollenchyma-c05f058c598dfaf7.rlib" "/opt/rustwide/target/debug/deps/liblinear_map-fbdd970c4f3a6369.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-3aa3e11d15622499.rlib" "/opt/rustwide/target/debug/deps/libnum-d08a3255ef8bdcaf.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-e81551886ac330ff.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-422f699255bfb6b2.rlib" "/opt/rustwide/target/debug/deps/librand-e1ff99d7365d2f72.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-7680b96acd4a9d26.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-f5cf36b4640ed572.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-8f34e6e06bd01354.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-ab8040034daf36d5.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-5b78e41d6342e66d.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-4cf74296994bf753.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-9c85fa38730aeaeb.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-fee3ef04727f9865.rlib" "/opt/rustwide/target/debug/deps/libbitflags-9f08f646975d4fe7.rlib" "/opt/rustwide/target/debug/deps/liblibc-cbcf0797f466a12c.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.rlib" "-Wl,-Bdynamic" "-lOpenCL" "-lcuda" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/tensor_specs-57c982992cea0b5d" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lOpenCL [INFO] [stdout] /usr/bin/ld: cannot find -lcuda [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/hardware_specs-b58880817c4fcb9c.hardware_specs.cd126ab9-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/hardware_specs-b58880817c4fcb9c.hardware_specs.cd126ab9-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/hardware_specs-b58880817c4fcb9c.hardware_specs.cd126ab9-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/hardware_specs-b58880817c4fcb9c.hardware_specs.cd126ab9-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/hardware_specs-b58880817c4fcb9c.hardware_specs.cd126ab9-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/hardware_specs-b58880817c4fcb9c.hardware_specs.cd126ab9-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/hardware_specs-b58880817c4fcb9c.hardware_specs.cd126ab9-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/hardware_specs-b58880817c4fcb9c.hardware_specs.cd126ab9-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/hardware_specs-b58880817c4fcb9c.hardware_specs.cd126ab9-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/hardware_specs-b58880817c4fcb9c.hardware_specs.cd126ab9-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/hardware_specs-b58880817c4fcb9c.hardware_specs.cd126ab9-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/hardware_specs-b58880817c4fcb9c.hardware_specs.cd126ab9-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/hardware_specs-b58880817c4fcb9c.hardware_specs.cd126ab9-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/hardware_specs-b58880817c4fcb9c.46dvfmd0up8hij1g.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-b6a068090bf40c71.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-1c1e08c768cd8903.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-3f4474e7a3a1f53f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-ec55ab174918e77a.rlib" "/opt/rustwide/target/debug/deps/libcollenchyma-c05f058c598dfaf7.rlib" "/opt/rustwide/target/debug/deps/liblinear_map-fbdd970c4f3a6369.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-3aa3e11d15622499.rlib" "/opt/rustwide/target/debug/deps/libnum-d08a3255ef8bdcaf.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-e81551886ac330ff.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-422f699255bfb6b2.rlib" "/opt/rustwide/target/debug/deps/librand-e1ff99d7365d2f72.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-7680b96acd4a9d26.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-f5cf36b4640ed572.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-8f34e6e06bd01354.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-ab8040034daf36d5.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-5b78e41d6342e66d.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-4cf74296994bf753.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-9c85fa38730aeaeb.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-fee3ef04727f9865.rlib" "/opt/rustwide/target/debug/deps/libbitflags-9f08f646975d4fe7.rlib" "/opt/rustwide/target/debug/deps/liblibc-cbcf0797f466a12c.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.rlib" "-Wl,-Bdynamic" "-lOpenCL" "-lcuda" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/hardware_specs-b58880817c4fcb9c" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lOpenCL [INFO] [stdout] /usr/bin/ld: cannot find -lcuda [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/frameworks/opencl/api/platform.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref PLATFORM_MUTEX: Mutex<()> = Mutex::new(()); [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/framework_native_specs-dc8ffb8fa550547d.framework_native_specs.5d40bdb2-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/framework_native_specs-dc8ffb8fa550547d.framework_native_specs.5d40bdb2-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/framework_native_specs-dc8ffb8fa550547d.framework_native_specs.5d40bdb2-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/framework_native_specs-dc8ffb8fa550547d.framework_native_specs.5d40bdb2-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/framework_native_specs-dc8ffb8fa550547d.framework_native_specs.5d40bdb2-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/framework_native_specs-dc8ffb8fa550547d.framework_native_specs.5d40bdb2-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/framework_native_specs-dc8ffb8fa550547d.framework_native_specs.5d40bdb2-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/framework_native_specs-dc8ffb8fa550547d.framework_native_specs.5d40bdb2-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/framework_native_specs-dc8ffb8fa550547d.framework_native_specs.5d40bdb2-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/framework_native_specs-dc8ffb8fa550547d.framework_native_specs.5d40bdb2-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/framework_native_specs-dc8ffb8fa550547d.framework_native_specs.5d40bdb2-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/framework_native_specs-dc8ffb8fa550547d.47yn25pr4k3bcqml.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-b6a068090bf40c71.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-1c1e08c768cd8903.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-3f4474e7a3a1f53f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-ec55ab174918e77a.rlib" "/opt/rustwide/target/debug/deps/libcollenchyma-c05f058c598dfaf7.rlib" "/opt/rustwide/target/debug/deps/liblinear_map-fbdd970c4f3a6369.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-3aa3e11d15622499.rlib" "/opt/rustwide/target/debug/deps/libnum-d08a3255ef8bdcaf.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-e81551886ac330ff.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-422f699255bfb6b2.rlib" "/opt/rustwide/target/debug/deps/librand-e1ff99d7365d2f72.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-7680b96acd4a9d26.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-f5cf36b4640ed572.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-8f34e6e06bd01354.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-ab8040034daf36d5.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-5b78e41d6342e66d.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-4cf74296994bf753.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-9c85fa38730aeaeb.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-fee3ef04727f9865.rlib" "/opt/rustwide/target/debug/deps/libbitflags-9f08f646975d4fe7.rlib" "/opt/rustwide/target/debug/deps/liblibc-cbcf0797f466a12c.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.rlib" "-Wl,-Bdynamic" "-lOpenCL" "-lcuda" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/framework_native_specs-dc8ffb8fa550547d" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lOpenCL [INFO] [stdout] /usr/bin/ld: cannot find -lcuda [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/frameworks/opencl/api/platform.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | static ref PLATFORM_MUTEX: Mutex<()> = Mutex::new(()); [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/device.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 106 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/framework.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 101 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tensor.rs:473:32 [INFO] [stdout] | [INFO] [stdout] 473 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 473 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 473 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 39 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plugin.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/frameworks/native/error.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 27 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/frameworks/opencl/api/error.rs:107:32 [INFO] [stdout] | [INFO] [stdout] 107 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 107 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/frameworks/cuda/api/driver/error.rs:251:32 [INFO] [stdout] | [INFO] [stdout] 251 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 251 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 251 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/framework_opencl_specs-c5accf3010fee1d5.framework_opencl_specs.5f74d11d-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/framework_opencl_specs-c5accf3010fee1d5.framework_opencl_specs.5f74d11d-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/framework_opencl_specs-c5accf3010fee1d5.framework_opencl_specs.5f74d11d-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/framework_opencl_specs-c5accf3010fee1d5.framework_opencl_specs.5f74d11d-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/framework_opencl_specs-c5accf3010fee1d5.framework_opencl_specs.5f74d11d-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/framework_opencl_specs-c5accf3010fee1d5.framework_opencl_specs.5f74d11d-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/framework_opencl_specs-c5accf3010fee1d5.framework_opencl_specs.5f74d11d-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/framework_opencl_specs-c5accf3010fee1d5.framework_opencl_specs.5f74d11d-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/framework_opencl_specs-c5accf3010fee1d5.framework_opencl_specs.5f74d11d-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/framework_opencl_specs-c5accf3010fee1d5.framework_opencl_specs.5f74d11d-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/framework_opencl_specs-c5accf3010fee1d5.framework_opencl_specs.5f74d11d-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/framework_opencl_specs-c5accf3010fee1d5.framework_opencl_specs.5f74d11d-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/framework_opencl_specs-c5accf3010fee1d5.framework_opencl_specs.5f74d11d-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/framework_opencl_specs-c5accf3010fee1d5.framework_opencl_specs.5f74d11d-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/framework_opencl_specs-c5accf3010fee1d5.framework_opencl_specs.5f74d11d-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/framework_opencl_specs-c5accf3010fee1d5.framework_opencl_specs.5f74d11d-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/framework_opencl_specs-c5accf3010fee1d5.1geo4lzrhjxcb783.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-b6a068090bf40c71.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-1c1e08c768cd8903.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-3f4474e7a3a1f53f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-ec55ab174918e77a.rlib" "/opt/rustwide/target/debug/deps/libcollenchyma-c05f058c598dfaf7.rlib" "/opt/rustwide/target/debug/deps/liblinear_map-fbdd970c4f3a6369.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-3aa3e11d15622499.rlib" "/opt/rustwide/target/debug/deps/libnum-d08a3255ef8bdcaf.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-e81551886ac330ff.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-422f699255bfb6b2.rlib" "/opt/rustwide/target/debug/deps/librand-e1ff99d7365d2f72.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-7680b96acd4a9d26.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-f5cf36b4640ed572.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-8f34e6e06bd01354.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-ab8040034daf36d5.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-5b78e41d6342e66d.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-4cf74296994bf753.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-9c85fa38730aeaeb.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-fee3ef04727f9865.rlib" "/opt/rustwide/target/debug/deps/libbitflags-9f08f646975d4fe7.rlib" "/opt/rustwide/target/debug/deps/liblibc-cbcf0797f466a12c.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.rlib" "-Wl,-Bdynamic" "-lOpenCL" "-lcuda" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/framework_opencl_specs-c5accf3010fee1d5" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lOpenCL [INFO] [stdout] /usr/bin/ld: cannot find -lcuda [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/shared_memory_specs-253a1129a67c0fe8.shared_memory_specs.1ba57edf-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/shared_memory_specs-253a1129a67c0fe8.shared_memory_specs.1ba57edf-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/shared_memory_specs-253a1129a67c0fe8.shared_memory_specs.1ba57edf-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/shared_memory_specs-253a1129a67c0fe8.shared_memory_specs.1ba57edf-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/shared_memory_specs-253a1129a67c0fe8.shared_memory_specs.1ba57edf-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/shared_memory_specs-253a1129a67c0fe8.shared_memory_specs.1ba57edf-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/shared_memory_specs-253a1129a67c0fe8.shared_memory_specs.1ba57edf-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/shared_memory_specs-253a1129a67c0fe8.shared_memory_specs.1ba57edf-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/shared_memory_specs-253a1129a67c0fe8.shared_memory_specs.1ba57edf-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/shared_memory_specs-253a1129a67c0fe8.shared_memory_specs.1ba57edf-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/shared_memory_specs-253a1129a67c0fe8.shared_memory_specs.1ba57edf-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/shared_memory_specs-253a1129a67c0fe8.shared_memory_specs.1ba57edf-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/shared_memory_specs-253a1129a67c0fe8.shared_memory_specs.1ba57edf-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/shared_memory_specs-253a1129a67c0fe8.shared_memory_specs.1ba57edf-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/shared_memory_specs-253a1129a67c0fe8.shared_memory_specs.1ba57edf-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/shared_memory_specs-253a1129a67c0fe8.shared_memory_specs.1ba57edf-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/shared_memory_specs-253a1129a67c0fe8.2wotu7y1d39ox57y.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-b6a068090bf40c71.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-1c1e08c768cd8903.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-3f4474e7a3a1f53f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-ec55ab174918e77a.rlib" "/opt/rustwide/target/debug/deps/libcollenchyma-c05f058c598dfaf7.rlib" "/opt/rustwide/target/debug/deps/liblinear_map-fbdd970c4f3a6369.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-3aa3e11d15622499.rlib" "/opt/rustwide/target/debug/deps/libnum-d08a3255ef8bdcaf.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-e81551886ac330ff.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-422f699255bfb6b2.rlib" "/opt/rustwide/target/debug/deps/librand-e1ff99d7365d2f72.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-7680b96acd4a9d26.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-f5cf36b4640ed572.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-8f34e6e06bd01354.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-ab8040034daf36d5.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-5b78e41d6342e66d.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-4cf74296994bf753.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-9c85fa38730aeaeb.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-fee3ef04727f9865.rlib" "/opt/rustwide/target/debug/deps/libbitflags-9f08f646975d4fe7.rlib" "/opt/rustwide/target/debug/deps/liblibc-cbcf0797f466a12c.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.rlib" "-Wl,-Bdynamic" "-lOpenCL" "-lcuda" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/shared_memory_specs-253a1129a67c0fe8" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lOpenCL [INFO] [stdout] /usr/bin/ld: cannot find -lcuda [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/backend_specs-66c56bd6e9bc69a2.backend_specs.fc7b6189-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/backend_specs-66c56bd6e9bc69a2.backend_specs.fc7b6189-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/backend_specs-66c56bd6e9bc69a2.backend_specs.fc7b6189-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/backend_specs-66c56bd6e9bc69a2.backend_specs.fc7b6189-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/backend_specs-66c56bd6e9bc69a2.backend_specs.fc7b6189-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/backend_specs-66c56bd6e9bc69a2.backend_specs.fc7b6189-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/backend_specs-66c56bd6e9bc69a2.backend_specs.fc7b6189-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/backend_specs-66c56bd6e9bc69a2.backend_specs.fc7b6189-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/backend_specs-66c56bd6e9bc69a2.backend_specs.fc7b6189-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/backend_specs-66c56bd6e9bc69a2.backend_specs.fc7b6189-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/backend_specs-66c56bd6e9bc69a2.backend_specs.fc7b6189-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/backend_specs-66c56bd6e9bc69a2.backend_specs.fc7b6189-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/backend_specs-66c56bd6e9bc69a2.backend_specs.fc7b6189-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/backend_specs-66c56bd6e9bc69a2.backend_specs.fc7b6189-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/backend_specs-66c56bd6e9bc69a2.backend_specs.fc7b6189-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/backend_specs-66c56bd6e9bc69a2.backend_specs.fc7b6189-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/backend_specs-66c56bd6e9bc69a2.2ly8y4nnpsk34o2t.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-b6a068090bf40c71.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-1c1e08c768cd8903.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-3f4474e7a3a1f53f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-ec55ab174918e77a.rlib" "/opt/rustwide/target/debug/deps/libcollenchyma-c05f058c598dfaf7.rlib" "/opt/rustwide/target/debug/deps/liblinear_map-fbdd970c4f3a6369.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-3aa3e11d15622499.rlib" "/opt/rustwide/target/debug/deps/libnum-d08a3255ef8bdcaf.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-e81551886ac330ff.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-422f699255bfb6b2.rlib" "/opt/rustwide/target/debug/deps/librand-e1ff99d7365d2f72.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-7680b96acd4a9d26.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-f5cf36b4640ed572.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-8f34e6e06bd01354.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-ab8040034daf36d5.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-5b78e41d6342e66d.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-4cf74296994bf753.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-9c85fa38730aeaeb.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-fee3ef04727f9865.rlib" "/opt/rustwide/target/debug/deps/libbitflags-9f08f646975d4fe7.rlib" "/opt/rustwide/target/debug/deps/liblibc-cbcf0797f466a12c.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.rlib" "-Wl,-Bdynamic" "-lOpenCL" "-lcuda" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/backend_specs-66c56bd6e9bc69a2" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lOpenCL [INFO] [stdout] /usr/bin/ld: cannot find -lcuda [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/device.rs:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | Error::Native(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/device.rs:100:43 [INFO] [stdout] | [INFO] [stdout] 100 | Error::OpenCL(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/device.rs:102:41 [INFO] [stdout] | [INFO] [stdout] 102 | Error::Cuda(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/framework.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 94 | Error::OpenCL(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/framework.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | Error::Cuda(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/tensor.rs:467:58 [INFO] [stdout] | [INFO] [stdout] 467 | Error::MemoryAllocationError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/tensor.rs:468:63 [INFO] [stdout] | [INFO] [stdout] 468 | Error::MemorySynchronizationError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 32 | Error::Framework(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:33:43 [INFO] [stdout] | [INFO] [stdout] 33 | Error::Tensor(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | Error::Plugin(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:35:43 [INFO] [stdout] | [INFO] [stdout] 35 | Error::Device(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IDevice` [INFO] [stdout] --> src/backend.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | use device::{IDevice, DeviceType}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> src/frameworks/opencl/device.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use byteorder::{ByteOrder, LittleEndian, ReadBytesExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> src/frameworks/cuda/device.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use byteorder::{ByteOrder, LittleEndian, ReadBytesExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> src/frameworks/cuda/api/driver/device.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder::{ByteOrder, LittleEndian, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tensor.rs:325:22 [INFO] [stdout] | [INFO] [stdout] 325 | Some(mut destination_copy) => { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/frameworks/native/mod.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | Err(err) => panic!(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 61 | Err(err) => panic!("{}", err) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 61 | Err(err) => std::panic::panic_any(err) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/frameworks/opencl/mod.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | Err(err) => panic!(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 66 | Err(err) => panic!("{}", err) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 66 | Err(err) => std::panic::panic_any(err) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type does not implement `Debug`; consider adding `#[derive(Debug)]` or a manual implementation [INFO] [stdout] --> src/frameworks/cuda/api/driver/ffi.rs:596:1 [INFO] [stdout] | [INFO] [stdout] 596 | pub enum Struct_CUctx_st { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | missing_debug_implementations, missing_copy_implementations, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type could implement `Copy`; consider adding `impl Copy` [INFO] [stdout] --> src/frameworks/cuda/api/driver/ffi.rs:596:1 [INFO] [stdout] | [INFO] [stdout] 596 | pub enum Struct_CUctx_st { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:143:40 [INFO] [stdout] | [INFO] [stdout] 143 | missing_debug_implementations, missing_copy_implementations, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type could implement `Copy`; consider adding `impl Copy` [INFO] [stdout] --> src/frameworks/cuda/api/driver/ffi.rs:709:1 [INFO] [stdout] | [INFO] [stdout] 709 | / pub enum CUdevice_attribute { [INFO] [stdout] 710 | | CU_DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK = 1, [INFO] [stdout] 711 | | CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X = 2, [INFO] [stdout] 712 | | CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y = 3, [INFO] [stdout] ... | [INFO] [stdout] 798 | | CU_DEVICE_MEMORY_TOTAL = 1000, [INFO] [stdout] 799 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/collenchyma-debdc7d5c78dca77.collenchyma.f1c7e5bd-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/collenchyma-debdc7d5c78dca77.collenchyma.f1c7e5bd-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/collenchyma-debdc7d5c78dca77.collenchyma.f1c7e5bd-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/collenchyma-debdc7d5c78dca77.collenchyma.f1c7e5bd-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/collenchyma-debdc7d5c78dca77.collenchyma.f1c7e5bd-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/collenchyma-debdc7d5c78dca77.collenchyma.f1c7e5bd-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/collenchyma-debdc7d5c78dca77.collenchyma.f1c7e5bd-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/collenchyma-debdc7d5c78dca77.collenchyma.f1c7e5bd-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/collenchyma-debdc7d5c78dca77.collenchyma.f1c7e5bd-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/collenchyma-debdc7d5c78dca77.3j5qvmbwj0rssnnr.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lOpenCL" "-lcuda" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-b6a068090bf40c71.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-1c1e08c768cd8903.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-3f4474e7a3a1f53f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-ec55ab174918e77a.rlib" "/opt/rustwide/target/debug/deps/liblinear_map-fbdd970c4f3a6369.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-3aa3e11d15622499.rlib" "/opt/rustwide/target/debug/deps/libnum-d08a3255ef8bdcaf.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-e81551886ac330ff.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-422f699255bfb6b2.rlib" "/opt/rustwide/target/debug/deps/librand-e1ff99d7365d2f72.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-7680b96acd4a9d26.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-f5cf36b4640ed572.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-8f34e6e06bd01354.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-ab8040034daf36d5.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-5b78e41d6342e66d.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-4cf74296994bf753.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-9c85fa38730aeaeb.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-fee3ef04727f9865.rlib" "/opt/rustwide/target/debug/deps/libbitflags-9f08f646975d4fe7.rlib" "/opt/rustwide/target/debug/deps/liblibc-cbcf0797f466a12c.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/collenchyma-debdc7d5c78dca77" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lOpenCL [INFO] [stdout] /usr/bin/ld: cannot find -lcuda [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 86 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "94f192cf4171945c9117218961160d7195bfbe2003b18f12e2cb60252b79cefb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94f192cf4171945c9117218961160d7195bfbe2003b18f12e2cb60252b79cefb", kill_on_drop: false }` [INFO] [stdout] 94f192cf4171945c9117218961160d7195bfbe2003b18f12e2cb60252b79cefb