[INFO] crate ocl-core 0.11.2 is already in cache [INFO] checking ocl-core-0.11.2 against try#38f08371587f97c145dedb2c055ac7b01bf1e788 for pr-65294 [INFO] extracting crate ocl-core 0.11.2 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate ocl-core 0.11.2 on toolchain 38f08371587f97c145dedb2c055ac7b01bf1e788 [INFO] running `"/workspace/cargo-home/bin/cargo" "+38f08371587f97c145dedb2c055ac7b01bf1e788" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate ocl-core 0.11.2 [INFO] finished tweaking crates.io crate ocl-core 0.11.2 [INFO] tweaked toml for crates.io crate ocl-core 0.11.2 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate ocl-core 0.11.2 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+38f08371587f97c145dedb2c055ac7b01bf1e788" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+38f08371587f97c145dedb2c055ac7b01bf1e788" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 020f01d037455215a6c987893af7243be3e6828502b5f5a29a25070a6244c239 [INFO] running `"docker" "start" "-a" "020f01d037455215a6c987893af7243be3e6828502b5f5a29a25070a6244c239"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v0.15.38 [INFO] [stderr] Compiling cl-sys v0.4.2 [INFO] [stderr] Checking colorify v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling backtrace-sys v0.1.29 [INFO] [stderr] Compiling ocl-core v0.11.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking backtrace v0.3.32 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking ocl-core-vector v0.1.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:514:5 [INFO] [stderr] | [INFO] [stderr] 514 | try!(eval_errcode(errcode, (), "clGetPlatformIDs", None::)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:595:47 [INFO] [stderr] | [INFO] [stderr] 595 | let device_types = device_types.unwrap_or(try!(default_device_type())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:619:5 [INFO] [stderr] | [INFO] [stderr] 619 | try!(eval_errcode(errcode, (), "clGetDeviceIDs", None::)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1065:5 [INFO] [stderr] | [INFO] [stderr] 1065 | try!(verify_context(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1152:5 [INFO] [stderr] | [INFO] [stderr] 1152 | try!(verify_context(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1197:5 [INFO] [stderr] | [INFO] [stderr] 1197 | try!(verify_context(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1229:5 [INFO] [stderr] | [INFO] [stderr] 1229 | try!(verify_context(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1268:5 [INFO] [stderr] | [INFO] [stderr] 1268 | try!(verify_context(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1319:5 [INFO] [stderr] | [INFO] [stderr] 1319 | try!(verify_context(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1349:5 [INFO] [stderr] | [INFO] [stderr] 1349 | try!(verify_context(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1416:5 [INFO] [stderr] | [INFO] [stderr] 1416 | try!(verify_context(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1482:5 [INFO] [stderr] | [INFO] [stderr] 1482 | try!(eval_errcode(errcode, (), "clGetSupportedImageFormats", None::)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1504:5 [INFO] [stderr] | [INFO] [stderr] 1504 | try!(eval_errcode(errcode, (), "clGetSupportedImageFormats", None::)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1670:5 [INFO] [stderr] | [INFO] [stderr] 1670 | try!(verify_context(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1731:5 [INFO] [stderr] | [INFO] [stderr] 1731 | try!(eval_errcode(errcode, (), "clCreateProgramWithBinary", None::)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1734:9 [INFO] [stderr] | [INFO] [stderr] 1734 | try!(eval_errcode(*item, (), "clCreateProgramWithBinary", Some(format!("Device [{}]", i)))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1925:5 [INFO] [stderr] | [INFO] [stderr] 1925 | try!(verify_context(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:2087:13 [INFO] [stderr] | [INFO] [stderr] 2087 | try!(CString::new(name.as_ref().as_bytes())).as_ptr(), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:3600:23 [INFO] [stderr] | [INFO] [stderr] 3600 | let func_name_c = try!(CString::new(func_name)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:3626:25 [INFO] [stderr] | [INFO] [stderr] 3626 | d_versions.push(try!(device_id.version())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:3643:25 [INFO] [stderr] | [INFO] [stderr] 3643 | let platform_list = try!(get_platform_ids()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:3695:19 [INFO] [stderr] | [INFO] [stderr] 3695 | let program = try!(create_program_with_source(context, src_strings)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:3696:5 [INFO] [stderr] | [INFO] [stderr] 3696 | try!(build_program(&program, device_ids, cmplr_opts, None, None)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:3723:5 [INFO] [stderr] | [INFO] [stderr] 3723 | try!(eval_errcode(errcode, (), "clGetEventInfo", None::)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:129:37 [INFO] [stderr] | [INFO] [stderr] 129 | functions::verify_versions(&try!(self.device_versions()), required_version, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:134:20 [INFO] [stderr] | [INFO] [stderr] 134 | let ver = [try!(self.platform_version())]; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:380:23 [INFO] [stderr] | [INFO] [stderr] 380 | let devices = try!(functions::get_device_ids(self, Some(DeviceType::ALL), None)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:546:23 [INFO] [stderr] | [INFO] [stderr] 546 | let devices = try!(self.devices()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:551:23 [INFO] [stderr] | [INFO] [stderr] 551 | let devices = try!(self.devices()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:645:22 [INFO] [stderr] | [INFO] [stderr] 645 | let device = try!(self.device()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:650:9 [INFO] [stderr] | [INFO] [stderr] 650 | try!(self.device()).platform_version() [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:834:23 [INFO] [stderr] | [INFO] [stderr] 834 | let devices = try!(self.devices()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:839:23 [INFO] [stderr] | [INFO] [stderr] 839 | let devices = try!(self.devices()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:919:23 [INFO] [stderr] | [INFO] [stderr] 919 | let devices = try!(try!(self.program()).devices()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:919:28 [INFO] [stderr] | [INFO] [stderr] 919 | let devices = try!(try!(self.program()).devices()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:924:23 [INFO] [stderr] | [INFO] [stderr] 924 | let devices = try!(try!(self.program()).devices()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:924:28 [INFO] [stderr] | [INFO] [stderr] 924 | let devices = try!(try!(self.program()).devices()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:514:5 [INFO] [stderr] | [INFO] [stderr] 514 | try!(eval_errcode(errcode, (), "clGetPlatformIDs", None::)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:595:47 [INFO] [stderr] | [INFO] [stderr] 595 | let device_types = device_types.unwrap_or(try!(default_device_type())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:619:5 [INFO] [stderr] | [INFO] [stderr] 619 | try!(eval_errcode(errcode, (), "clGetDeviceIDs", None::)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1065:5 [INFO] [stderr] | [INFO] [stderr] 1065 | try!(verify_context(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1152:5 [INFO] [stderr] | [INFO] [stderr] 1152 | try!(verify_context(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1197:5 [INFO] [stderr] | [INFO] [stderr] 1197 | try!(verify_context(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1229:5 [INFO] [stderr] | [INFO] [stderr] 1229 | try!(verify_context(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1268:5 [INFO] [stderr] | [INFO] [stderr] 1268 | try!(verify_context(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1319:5 [INFO] [stderr] | [INFO] [stderr] 1319 | try!(verify_context(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1349:5 [INFO] [stderr] | [INFO] [stderr] 1349 | try!(verify_context(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1416:5 [INFO] [stderr] | [INFO] [stderr] 1416 | try!(verify_context(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1482:5 [INFO] [stderr] | [INFO] [stderr] 1482 | try!(eval_errcode(errcode, (), "clGetSupportedImageFormats", None::)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1504:5 [INFO] [stderr] | [INFO] [stderr] 1504 | try!(eval_errcode(errcode, (), "clGetSupportedImageFormats", None::)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1670:5 [INFO] [stderr] | [INFO] [stderr] 1670 | try!(verify_context(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1731:5 [INFO] [stderr] | [INFO] [stderr] 1731 | try!(eval_errcode(errcode, (), "clCreateProgramWithBinary", None::)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1734:9 [INFO] [stderr] | [INFO] [stderr] 1734 | try!(eval_errcode(*item, (), "clCreateProgramWithBinary", Some(format!("Device [{}]", i)))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:1925:5 [INFO] [stderr] | [INFO] [stderr] 1925 | try!(verify_context(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:2087:13 [INFO] [stderr] | [INFO] [stderr] 2087 | try!(CString::new(name.as_ref().as_bytes())).as_ptr(), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:3600:23 [INFO] [stderr] | [INFO] [stderr] 3600 | let func_name_c = try!(CString::new(func_name)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:3626:25 [INFO] [stderr] | [INFO] [stderr] 3626 | d_versions.push(try!(device_id.version())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:3643:25 [INFO] [stderr] | [INFO] [stderr] 3643 | let platform_list = try!(get_platform_ids()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:3695:19 [INFO] [stderr] | [INFO] [stderr] 3695 | let program = try!(create_program_with_source(context, src_strings)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:3696:5 [INFO] [stderr] | [INFO] [stderr] 3696 | try!(build_program(&program, device_ids, cmplr_opts, None, None)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/functions.rs:3723:5 [INFO] [stderr] | [INFO] [stderr] 3723 | try!(eval_errcode(errcode, (), "clGetEventInfo", None::)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:129:37 [INFO] [stderr] | [INFO] [stderr] 129 | functions::verify_versions(&try!(self.device_versions()), required_version, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:134:20 [INFO] [stderr] | [INFO] [stderr] 134 | let ver = [try!(self.platform_version())]; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:380:23 [INFO] [stderr] | [INFO] [stderr] 380 | let devices = try!(functions::get_device_ids(self, Some(DeviceType::ALL), None)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:546:23 [INFO] [stderr] | [INFO] [stderr] 546 | let devices = try!(self.devices()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:551:23 [INFO] [stderr] | [INFO] [stderr] 551 | let devices = try!(self.devices()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:645:22 [INFO] [stderr] | [INFO] [stderr] 645 | let device = try!(self.device()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:650:9 [INFO] [stderr] | [INFO] [stderr] 650 | try!(self.device()).platform_version() [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:834:23 [INFO] [stderr] | [INFO] [stderr] 834 | let devices = try!(self.devices()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:839:23 [INFO] [stderr] | [INFO] [stderr] 839 | let devices = try!(self.devices()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:919:23 [INFO] [stderr] | [INFO] [stderr] 919 | let devices = try!(try!(self.program()).devices()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:919:28 [INFO] [stderr] | [INFO] [stderr] 919 | let devices = try!(try!(self.program()).devices()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:924:23 [INFO] [stderr] | [INFO] [stderr] 924 | let devices = try!(try!(self.program()).devices()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/types/abs.rs:924:28 [INFO] [stderr] | [INFO] [stderr] 924 | let devices = try!(try!(self.program()).devices()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:335:1 [INFO] [stderr] | [INFO] [stderr] 335 | / bitflags! { [INFO] [stderr] 336 | | /// cl_device_type - bitfield [INFO] [stderr] 337 | | /// [INFO] [stderr] 338 | | /// * `CL_DEVICE_TYPE_DEFAULT`: The default `OpenCL` device in the system. [INFO] [stderr] ... | [INFO] [stderr] 357 | | } [INFO] [stderr] 358 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:382:1 [INFO] [stderr] | [INFO] [stderr] 382 | / bitflags! { [INFO] [stderr] 383 | | /// cl_device_fp_config - bitfield [INFO] [stderr] 384 | | pub struct DeviceFpConfig: u64 { [INFO] [stderr] 385 | | const DENORM = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 393 | | } [INFO] [stderr] 394 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:406:1 [INFO] [stderr] | [INFO] [stderr] 406 | / bitflags! { [INFO] [stderr] 407 | | /// cl_device_exec_capabilities - bitfield [INFO] [stderr] 408 | | pub struct DeviceExecCapabilities: u64 { [INFO] [stderr] 409 | | const KERNEL = 1 << 0; [INFO] [stderr] 410 | | const NATIVE_KERNEL = 1 << 1; [INFO] [stderr] 411 | | } [INFO] [stderr] 412 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:418:1 [INFO] [stderr] | [INFO] [stderr] 418 | / bitflags! { [INFO] [stderr] 419 | | /// cl_command_queue_properties - bitfield [INFO] [stderr] 420 | | pub struct CommandQueueProperties: u64 { [INFO] [stderr] 421 | | const OUT_OF_ORDER_EXEC_MODE_ENABLE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 425 | | } [INFO] [stderr] 426 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:449:1 [INFO] [stderr] | [INFO] [stderr] 449 | / bitflags! { [INFO] [stderr] 450 | | /// cl_device_affinity_domain [INFO] [stderr] 451 | | pub struct DeviceAffinityDomain: u64 { [INFO] [stderr] 452 | | const NUMA = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 458 | | } [INFO] [stderr] 459 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:469:1 [INFO] [stderr] | [INFO] [stderr] 469 | / bitflags! { [INFO] [stderr] 470 | | /// cl_mem_flags - bitfield [INFO] [stderr] 471 | | pub struct MemFlags: u64 { [INFO] [stderr] 472 | | const READ_WRITE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 482 | | } [INFO] [stderr] 483 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:514:1 [INFO] [stderr] | [INFO] [stderr] 514 | / bitflags! { [INFO] [stderr] 515 | | /// cl_mem_migration_flags - bitfield [INFO] [stderr] 516 | | pub struct MemMigrationFlags: u64 { [INFO] [stderr] 517 | | const OBJECT_HOST = 1 << 0; [INFO] [stderr] 518 | | const OBJECT_CONTENT_UNDEFINED = 1 << 1; [INFO] [stderr] 519 | | } [INFO] [stderr] 520 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:526:1 [INFO] [stderr] | [INFO] [stderr] 526 | / bitflags! { [INFO] [stderr] 527 | | /// cl_map_flags - bitfield [INFO] [stderr] 528 | | pub struct MapFlags: u64 { [INFO] [stderr] 529 | | const READ = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 532 | | } [INFO] [stderr] 533 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:552:1 [INFO] [stderr] | [INFO] [stderr] 552 | / bitflags! { [INFO] [stderr] 553 | | /// cl_program_binary_type [INFO] [stderr] 554 | | pub struct ProgramBinaryType: u32 { [INFO] [stderr] 555 | | const NONE = 0x0; [INFO] [stderr] ... | [INFO] [stderr] 559 | | } [INFO] [stderr] 560 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:568:1 [INFO] [stderr] | [INFO] [stderr] 568 | / bitflags! { [INFO] [stderr] 569 | | /// cl_kernel_arg_type_qualifer [INFO] [stderr] 570 | | pub struct KernelArgTypeQualifier: u64 { [INFO] [stderr] 571 | | const NONE = 0; [INFO] [stderr] ... | [INFO] [stderr] 575 | | } [INFO] [stderr] 576 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:335:1 [INFO] [stderr] | [INFO] [stderr] 335 | / bitflags! { [INFO] [stderr] 336 | | /// cl_device_type - bitfield [INFO] [stderr] 337 | | /// [INFO] [stderr] 338 | | /// * `CL_DEVICE_TYPE_DEFAULT`: The default `OpenCL` device in the system. [INFO] [stderr] ... | [INFO] [stderr] 357 | | } [INFO] [stderr] 358 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:335:1 [INFO] [stderr] | [INFO] [stderr] 335 | / bitflags! { [INFO] [stderr] 336 | | /// cl_device_type - bitfield [INFO] [stderr] 337 | | /// [INFO] [stderr] 338 | | /// * `CL_DEVICE_TYPE_DEFAULT`: The default `OpenCL` device in the system. [INFO] [stderr] ... | [INFO] [stderr] 357 | | } [INFO] [stderr] 358 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:335:1 [INFO] [stderr] | [INFO] [stderr] 335 | / bitflags! { [INFO] [stderr] 336 | | /// cl_device_type - bitfield [INFO] [stderr] 337 | | /// [INFO] [stderr] 338 | | /// * `CL_DEVICE_TYPE_DEFAULT`: The default `OpenCL` device in the system. [INFO] [stderr] ... | [INFO] [stderr] 357 | | } [INFO] [stderr] 358 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:335:1 [INFO] [stderr] | [INFO] [stderr] 335 | / bitflags! { [INFO] [stderr] 336 | | /// cl_device_type - bitfield [INFO] [stderr] 337 | | /// [INFO] [stderr] 338 | | /// * `CL_DEVICE_TYPE_DEFAULT`: The default `OpenCL` device in the system. [INFO] [stderr] ... | [INFO] [stderr] 357 | | } [INFO] [stderr] 358 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:335:1 [INFO] [stderr] | [INFO] [stderr] 335 | / bitflags! { [INFO] [stderr] 336 | | /// cl_device_type - bitfield [INFO] [stderr] 337 | | /// [INFO] [stderr] 338 | | /// * `CL_DEVICE_TYPE_DEFAULT`: The default `OpenCL` device in the system. [INFO] [stderr] ... | [INFO] [stderr] 357 | | } [INFO] [stderr] 358 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:335:1 [INFO] [stderr] | [INFO] [stderr] 335 | / bitflags! { [INFO] [stderr] 336 | | /// cl_device_type - bitfield [INFO] [stderr] 337 | | /// [INFO] [stderr] 338 | | /// * `CL_DEVICE_TYPE_DEFAULT`: The default `OpenCL` device in the system. [INFO] [stderr] ... | [INFO] [stderr] 357 | | } [INFO] [stderr] 358 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:382:1 [INFO] [stderr] | [INFO] [stderr] 382 | / bitflags! { [INFO] [stderr] 383 | | /// cl_device_fp_config - bitfield [INFO] [stderr] 384 | | pub struct DeviceFpConfig: u64 { [INFO] [stderr] 385 | | const DENORM = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 393 | | } [INFO] [stderr] 394 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:382:1 [INFO] [stderr] | [INFO] [stderr] 382 | / bitflags! { [INFO] [stderr] 383 | | /// cl_device_fp_config - bitfield [INFO] [stderr] 384 | | pub struct DeviceFpConfig: u64 { [INFO] [stderr] 385 | | const DENORM = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 393 | | } [INFO] [stderr] 394 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:382:1 [INFO] [stderr] | [INFO] [stderr] 382 | / bitflags! { [INFO] [stderr] 383 | | /// cl_device_fp_config - bitfield [INFO] [stderr] 384 | | pub struct DeviceFpConfig: u64 { [INFO] [stderr] 385 | | const DENORM = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 393 | | } [INFO] [stderr] 394 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:382:1 [INFO] [stderr] | [INFO] [stderr] 382 | / bitflags! { [INFO] [stderr] 383 | | /// cl_device_fp_config - bitfield [INFO] [stderr] 384 | | pub struct DeviceFpConfig: u64 { [INFO] [stderr] 385 | | const DENORM = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 393 | | } [INFO] [stderr] 394 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:382:1 [INFO] [stderr] | [INFO] [stderr] 382 | / bitflags! { [INFO] [stderr] 383 | | /// cl_device_fp_config - bitfield [INFO] [stderr] 384 | | pub struct DeviceFpConfig: u64 { [INFO] [stderr] 385 | | const DENORM = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 393 | | } [INFO] [stderr] 394 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:382:1 [INFO] [stderr] | [INFO] [stderr] 382 | / bitflags! { [INFO] [stderr] 383 | | /// cl_device_fp_config - bitfield [INFO] [stderr] 384 | | pub struct DeviceFpConfig: u64 { [INFO] [stderr] 385 | | const DENORM = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 393 | | } [INFO] [stderr] 394 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:382:1 [INFO] [stderr] | [INFO] [stderr] 382 | / bitflags! { [INFO] [stderr] 383 | | /// cl_device_fp_config - bitfield [INFO] [stderr] 384 | | pub struct DeviceFpConfig: u64 { [INFO] [stderr] 385 | | const DENORM = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 393 | | } [INFO] [stderr] 394 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:382:1 [INFO] [stderr] | [INFO] [stderr] 382 | / bitflags! { [INFO] [stderr] 383 | | /// cl_device_fp_config - bitfield [INFO] [stderr] 384 | | pub struct DeviceFpConfig: u64 { [INFO] [stderr] 385 | | const DENORM = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 393 | | } [INFO] [stderr] 394 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:406:1 [INFO] [stderr] | [INFO] [stderr] 406 | / bitflags! { [INFO] [stderr] 407 | | /// cl_device_exec_capabilities - bitfield [INFO] [stderr] 408 | | pub struct DeviceExecCapabilities: u64 { [INFO] [stderr] 409 | | const KERNEL = 1 << 0; [INFO] [stderr] 410 | | const NATIVE_KERNEL = 1 << 1; [INFO] [stderr] 411 | | } [INFO] [stderr] 412 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:406:1 [INFO] [stderr] | [INFO] [stderr] 406 | / bitflags! { [INFO] [stderr] 407 | | /// cl_device_exec_capabilities - bitfield [INFO] [stderr] 408 | | pub struct DeviceExecCapabilities: u64 { [INFO] [stderr] 409 | | const KERNEL = 1 << 0; [INFO] [stderr] 410 | | const NATIVE_KERNEL = 1 << 1; [INFO] [stderr] 411 | | } [INFO] [stderr] 412 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:418:1 [INFO] [stderr] | [INFO] [stderr] 418 | / bitflags! { [INFO] [stderr] 419 | | /// cl_command_queue_properties - bitfield [INFO] [stderr] 420 | | pub struct CommandQueueProperties: u64 { [INFO] [stderr] 421 | | const OUT_OF_ORDER_EXEC_MODE_ENABLE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 425 | | } [INFO] [stderr] 426 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:418:1 [INFO] [stderr] | [INFO] [stderr] 418 | / bitflags! { [INFO] [stderr] 419 | | /// cl_command_queue_properties - bitfield [INFO] [stderr] 420 | | pub struct CommandQueueProperties: u64 { [INFO] [stderr] 421 | | const OUT_OF_ORDER_EXEC_MODE_ENABLE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 425 | | } [INFO] [stderr] 426 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:418:1 [INFO] [stderr] | [INFO] [stderr] 418 | / bitflags! { [INFO] [stderr] 419 | | /// cl_command_queue_properties - bitfield [INFO] [stderr] 420 | | pub struct CommandQueueProperties: u64 { [INFO] [stderr] 421 | | const OUT_OF_ORDER_EXEC_MODE_ENABLE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 425 | | } [INFO] [stderr] 426 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:418:1 [INFO] [stderr] | [INFO] [stderr] 418 | / bitflags! { [INFO] [stderr] 419 | | /// cl_command_queue_properties - bitfield [INFO] [stderr] 420 | | pub struct CommandQueueProperties: u64 { [INFO] [stderr] 421 | | const OUT_OF_ORDER_EXEC_MODE_ENABLE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 425 | | } [INFO] [stderr] 426 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:449:1 [INFO] [stderr] | [INFO] [stderr] 449 | / bitflags! { [INFO] [stderr] 450 | | /// cl_device_affinity_domain [INFO] [stderr] 451 | | pub struct DeviceAffinityDomain: u64 { [INFO] [stderr] 452 | | const NUMA = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 458 | | } [INFO] [stderr] 459 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:449:1 [INFO] [stderr] | [INFO] [stderr] 449 | / bitflags! { [INFO] [stderr] 450 | | /// cl_device_affinity_domain [INFO] [stderr] 451 | | pub struct DeviceAffinityDomain: u64 { [INFO] [stderr] 452 | | const NUMA = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 458 | | } [INFO] [stderr] 459 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:449:1 [INFO] [stderr] | [INFO] [stderr] 449 | / bitflags! { [INFO] [stderr] 450 | | /// cl_device_affinity_domain [INFO] [stderr] 451 | | pub struct DeviceAffinityDomain: u64 { [INFO] [stderr] 452 | | const NUMA = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 458 | | } [INFO] [stderr] 459 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:449:1 [INFO] [stderr] | [INFO] [stderr] 449 | / bitflags! { [INFO] [stderr] 450 | | /// cl_device_affinity_domain [INFO] [stderr] 451 | | pub struct DeviceAffinityDomain: u64 { [INFO] [stderr] 452 | | const NUMA = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 458 | | } [INFO] [stderr] 459 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:449:1 [INFO] [stderr] | [INFO] [stderr] 449 | / bitflags! { [INFO] [stderr] 450 | | /// cl_device_affinity_domain [INFO] [stderr] 451 | | pub struct DeviceAffinityDomain: u64 { [INFO] [stderr] 452 | | const NUMA = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 458 | | } [INFO] [stderr] 459 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:449:1 [INFO] [stderr] | [INFO] [stderr] 449 | / bitflags! { [INFO] [stderr] 450 | | /// cl_device_affinity_domain [INFO] [stderr] 451 | | pub struct DeviceAffinityDomain: u64 { [INFO] [stderr] 452 | | const NUMA = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 458 | | } [INFO] [stderr] 459 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:469:1 [INFO] [stderr] | [INFO] [stderr] 469 | / bitflags! { [INFO] [stderr] 470 | | /// cl_mem_flags - bitfield [INFO] [stderr] 471 | | pub struct MemFlags: u64 { [INFO] [stderr] 472 | | const READ_WRITE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 482 | | } [INFO] [stderr] 483 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:469:1 [INFO] [stderr] | [INFO] [stderr] 469 | / bitflags! { [INFO] [stderr] 470 | | /// cl_mem_flags - bitfield [INFO] [stderr] 471 | | pub struct MemFlags: u64 { [INFO] [stderr] 472 | | const READ_WRITE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 482 | | } [INFO] [stderr] 483 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:469:1 [INFO] [stderr] | [INFO] [stderr] 469 | / bitflags! { [INFO] [stderr] 470 | | /// cl_mem_flags - bitfield [INFO] [stderr] 471 | | pub struct MemFlags: u64 { [INFO] [stderr] 472 | | const READ_WRITE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 482 | | } [INFO] [stderr] 483 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:469:1 [INFO] [stderr] | [INFO] [stderr] 469 | / bitflags! { [INFO] [stderr] 470 | | /// cl_mem_flags - bitfield [INFO] [stderr] 471 | | pub struct MemFlags: u64 { [INFO] [stderr] 472 | | const READ_WRITE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 482 | | } [INFO] [stderr] 483 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:469:1 [INFO] [stderr] | [INFO] [stderr] 469 | / bitflags! { [INFO] [stderr] 470 | | /// cl_mem_flags - bitfield [INFO] [stderr] 471 | | pub struct MemFlags: u64 { [INFO] [stderr] 472 | | const READ_WRITE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 482 | | } [INFO] [stderr] 483 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:469:1 [INFO] [stderr] | [INFO] [stderr] 469 | / bitflags! { [INFO] [stderr] 470 | | /// cl_mem_flags - bitfield [INFO] [stderr] 471 | | pub struct MemFlags: u64 { [INFO] [stderr] 472 | | const READ_WRITE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 482 | | } [INFO] [stderr] 483 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:469:1 [INFO] [stderr] | [INFO] [stderr] 469 | / bitflags! { [INFO] [stderr] 470 | | /// cl_mem_flags - bitfield [INFO] [stderr] 471 | | pub struct MemFlags: u64 { [INFO] [stderr] 472 | | const READ_WRITE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 482 | | } [INFO] [stderr] 483 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:469:1 [INFO] [stderr] | [INFO] [stderr] 469 | / bitflags! { [INFO] [stderr] 470 | | /// cl_mem_flags - bitfield [INFO] [stderr] 471 | | pub struct MemFlags: u64 { [INFO] [stderr] 472 | | const READ_WRITE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 482 | | } [INFO] [stderr] 483 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:469:1 [INFO] [stderr] | [INFO] [stderr] 469 | / bitflags! { [INFO] [stderr] 470 | | /// cl_mem_flags - bitfield [INFO] [stderr] 471 | | pub struct MemFlags: u64 { [INFO] [stderr] 472 | | const READ_WRITE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 482 | | } [INFO] [stderr] 483 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:514:1 [INFO] [stderr] | [INFO] [stderr] 514 | / bitflags! { [INFO] [stderr] 515 | | /// cl_mem_migration_flags - bitfield [INFO] [stderr] 516 | | pub struct MemMigrationFlags: u64 { [INFO] [stderr] 517 | | const OBJECT_HOST = 1 << 0; [INFO] [stderr] 518 | | const OBJECT_CONTENT_UNDEFINED = 1 << 1; [INFO] [stderr] 519 | | } [INFO] [stderr] 520 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:514:1 [INFO] [stderr] | [INFO] [stderr] 514 | / bitflags! { [INFO] [stderr] 515 | | /// cl_mem_migration_flags - bitfield [INFO] [stderr] 516 | | pub struct MemMigrationFlags: u64 { [INFO] [stderr] 517 | | const OBJECT_HOST = 1 << 0; [INFO] [stderr] 518 | | const OBJECT_CONTENT_UNDEFINED = 1 << 1; [INFO] [stderr] 519 | | } [INFO] [stderr] 520 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:526:1 [INFO] [stderr] | [INFO] [stderr] 526 | / bitflags! { [INFO] [stderr] 527 | | /// cl_map_flags - bitfield [INFO] [stderr] 528 | | pub struct MapFlags: u64 { [INFO] [stderr] 529 | | const READ = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 532 | | } [INFO] [stderr] 533 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:526:1 [INFO] [stderr] | [INFO] [stderr] 526 | / bitflags! { [INFO] [stderr] 527 | | /// cl_map_flags - bitfield [INFO] [stderr] 528 | | pub struct MapFlags: u64 { [INFO] [stderr] 529 | | const READ = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 532 | | } [INFO] [stderr] 533 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:526:1 [INFO] [stderr] | [INFO] [stderr] 526 | / bitflags! { [INFO] [stderr] 527 | | /// cl_map_flags - bitfield [INFO] [stderr] 528 | | pub struct MapFlags: u64 { [INFO] [stderr] 529 | | const READ = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 532 | | } [INFO] [stderr] 533 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:552:1 [INFO] [stderr] | [INFO] [stderr] 552 | / bitflags! { [INFO] [stderr] 553 | | /// cl_program_binary_type [INFO] [stderr] 554 | | pub struct ProgramBinaryType: u32 { [INFO] [stderr] 555 | | const NONE = 0x0; [INFO] [stderr] ... | [INFO] [stderr] 559 | | } [INFO] [stderr] 560 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:552:1 [INFO] [stderr] | [INFO] [stderr] 552 | / bitflags! { [INFO] [stderr] 553 | | /// cl_program_binary_type [INFO] [stderr] 554 | | pub struct ProgramBinaryType: u32 { [INFO] [stderr] 555 | | const NONE = 0x0; [INFO] [stderr] ... | [INFO] [stderr] 559 | | } [INFO] [stderr] 560 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:552:1 [INFO] [stderr] | [INFO] [stderr] 552 | / bitflags! { [INFO] [stderr] 553 | | /// cl_program_binary_type [INFO] [stderr] 554 | | pub struct ProgramBinaryType: u32 { [INFO] [stderr] 555 | | const NONE = 0x0; [INFO] [stderr] ... | [INFO] [stderr] 559 | | } [INFO] [stderr] 560 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:552:1 [INFO] [stderr] | [INFO] [stderr] 552 | / bitflags! { [INFO] [stderr] 553 | | /// cl_program_binary_type [INFO] [stderr] 554 | | pub struct ProgramBinaryType: u32 { [INFO] [stderr] 555 | | const NONE = 0x0; [INFO] [stderr] ... | [INFO] [stderr] 559 | | } [INFO] [stderr] 560 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:568:1 [INFO] [stderr] | [INFO] [stderr] 568 | / bitflags! { [INFO] [stderr] 569 | | /// cl_kernel_arg_type_qualifer [INFO] [stderr] 570 | | pub struct KernelArgTypeQualifier: u64 { [INFO] [stderr] 571 | | const NONE = 0; [INFO] [stderr] ... | [INFO] [stderr] 575 | | } [INFO] [stderr] 576 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:568:1 [INFO] [stderr] | [INFO] [stderr] 568 | / bitflags! { [INFO] [stderr] 569 | | /// cl_kernel_arg_type_qualifer [INFO] [stderr] 570 | | pub struct KernelArgTypeQualifier: u64 { [INFO] [stderr] 571 | | const NONE = 0; [INFO] [stderr] ... | [INFO] [stderr] 575 | | } [INFO] [stderr] 576 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:568:1 [INFO] [stderr] | [INFO] [stderr] 568 | / bitflags! { [INFO] [stderr] 569 | | /// cl_kernel_arg_type_qualifer [INFO] [stderr] 570 | | pub struct KernelArgTypeQualifier: u64 { [INFO] [stderr] 571 | | const NONE = 0; [INFO] [stderr] ... | [INFO] [stderr] 575 | | } [INFO] [stderr] 576 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:568:1 [INFO] [stderr] | [INFO] [stderr] 568 | / bitflags! { [INFO] [stderr] 569 | | /// cl_kernel_arg_type_qualifer [INFO] [stderr] 570 | | pub struct KernelArgTypeQualifier: u64 { [INFO] [stderr] 571 | | const NONE = 0; [INFO] [stderr] ... | [INFO] [stderr] 575 | | } [INFO] [stderr] 576 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/util.rs:113:30 [INFO] [stderr] | [INFO] [stderr] 113 | let mut new_val: T = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/util.rs:134:30 [INFO] [stderr] | [INFO] [stderr] 134 | let mut new_val: T = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:335:1 [INFO] [stderr] | [INFO] [stderr] 335 | / bitflags! { [INFO] [stderr] 336 | | /// cl_device_type - bitfield [INFO] [stderr] 337 | | /// [INFO] [stderr] 338 | | /// * `CL_DEVICE_TYPE_DEFAULT`: The default `OpenCL` device in the system. [INFO] [stderr] ... | [INFO] [stderr] 357 | | } [INFO] [stderr] 358 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:382:1 [INFO] [stderr] | [INFO] [stderr] 382 | / bitflags! { [INFO] [stderr] 383 | | /// cl_device_fp_config - bitfield [INFO] [stderr] 384 | | pub struct DeviceFpConfig: u64 { [INFO] [stderr] 385 | | const DENORM = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 393 | | } [INFO] [stderr] 394 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:406:1 [INFO] [stderr] | [INFO] [stderr] 406 | / bitflags! { [INFO] [stderr] 407 | | /// cl_device_exec_capabilities - bitfield [INFO] [stderr] 408 | | pub struct DeviceExecCapabilities: u64 { [INFO] [stderr] 409 | | const KERNEL = 1 << 0; [INFO] [stderr] 410 | | const NATIVE_KERNEL = 1 << 1; [INFO] [stderr] 411 | | } [INFO] [stderr] 412 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:418:1 [INFO] [stderr] | [INFO] [stderr] 418 | / bitflags! { [INFO] [stderr] 419 | | /// cl_command_queue_properties - bitfield [INFO] [stderr] 420 | | pub struct CommandQueueProperties: u64 { [INFO] [stderr] 421 | | const OUT_OF_ORDER_EXEC_MODE_ENABLE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 425 | | } [INFO] [stderr] 426 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:449:1 [INFO] [stderr] | [INFO] [stderr] 449 | / bitflags! { [INFO] [stderr] 450 | | /// cl_device_affinity_domain [INFO] [stderr] 451 | | pub struct DeviceAffinityDomain: u64 { [INFO] [stderr] 452 | | const NUMA = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 458 | | } [INFO] [stderr] 459 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:469:1 [INFO] [stderr] | [INFO] [stderr] 469 | / bitflags! { [INFO] [stderr] 470 | | /// cl_mem_flags - bitfield [INFO] [stderr] 471 | | pub struct MemFlags: u64 { [INFO] [stderr] 472 | | const READ_WRITE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 482 | | } [INFO] [stderr] 483 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:514:1 [INFO] [stderr] | [INFO] [stderr] 514 | / bitflags! { [INFO] [stderr] 515 | | /// cl_mem_migration_flags - bitfield [INFO] [stderr] 516 | | pub struct MemMigrationFlags: u64 { [INFO] [stderr] 517 | | const OBJECT_HOST = 1 << 0; [INFO] [stderr] 518 | | const OBJECT_CONTENT_UNDEFINED = 1 << 1; [INFO] [stderr] 519 | | } [INFO] [stderr] 520 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:526:1 [INFO] [stderr] | [INFO] [stderr] 526 | / bitflags! { [INFO] [stderr] 527 | | /// cl_map_flags - bitfield [INFO] [stderr] 528 | | pub struct MapFlags: u64 { [INFO] [stderr] 529 | | const READ = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 532 | | } [INFO] [stderr] 533 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:552:1 [INFO] [stderr] | [INFO] [stderr] 552 | / bitflags! { [INFO] [stderr] 553 | | /// cl_program_binary_type [INFO] [stderr] 554 | | pub struct ProgramBinaryType: u32 { [INFO] [stderr] 555 | | const NONE = 0x0; [INFO] [stderr] ... | [INFO] [stderr] 559 | | } [INFO] [stderr] 560 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:568:1 [INFO] [stderr] | [INFO] [stderr] 568 | / bitflags! { [INFO] [stderr] 569 | | /// cl_kernel_arg_type_qualifer [INFO] [stderr] 570 | | pub struct KernelArgTypeQualifier: u64 { [INFO] [stderr] 571 | | const NONE = 0; [INFO] [stderr] ... | [INFO] [stderr] 575 | | } [INFO] [stderr] 576 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:335:1 [INFO] [stderr] | [INFO] [stderr] 335 | / bitflags! { [INFO] [stderr] 336 | | /// cl_device_type - bitfield [INFO] [stderr] 337 | | /// [INFO] [stderr] 338 | | /// * `CL_DEVICE_TYPE_DEFAULT`: The default `OpenCL` device in the system. [INFO] [stderr] ... | [INFO] [stderr] 357 | | } [INFO] [stderr] 358 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:335:1 [INFO] [stderr] | [INFO] [stderr] 335 | / bitflags! { [INFO] [stderr] 336 | | /// cl_device_type - bitfield [INFO] [stderr] 337 | | /// [INFO] [stderr] 338 | | /// * `CL_DEVICE_TYPE_DEFAULT`: The default `OpenCL` device in the system. [INFO] [stderr] ... | [INFO] [stderr] 357 | | } [INFO] [stderr] 358 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:335:1 [INFO] [stderr] | [INFO] [stderr] 335 | / bitflags! { [INFO] [stderr] 336 | | /// cl_device_type - bitfield [INFO] [stderr] 337 | | /// [INFO] [stderr] 338 | | /// * `CL_DEVICE_TYPE_DEFAULT`: The default `OpenCL` device in the system. [INFO] [stderr] ... | [INFO] [stderr] 357 | | } [INFO] [stderr] 358 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:335:1 [INFO] [stderr] | [INFO] [stderr] 335 | / bitflags! { [INFO] [stderr] 336 | | /// cl_device_type - bitfield [INFO] [stderr] 337 | | /// [INFO] [stderr] 338 | | /// * `CL_DEVICE_TYPE_DEFAULT`: The default `OpenCL` device in the system. [INFO] [stderr] ... | [INFO] [stderr] 357 | | } [INFO] [stderr] 358 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:335:1 [INFO] [stderr] | [INFO] [stderr] 335 | / bitflags! { [INFO] [stderr] 336 | | /// cl_device_type - bitfield [INFO] [stderr] 337 | | /// [INFO] [stderr] 338 | | /// * `CL_DEVICE_TYPE_DEFAULT`: The default `OpenCL` device in the system. [INFO] [stderr] ... | [INFO] [stderr] 357 | | } [INFO] [stderr] 358 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:335:1 [INFO] [stderr] | [INFO] [stderr] 335 | / bitflags! { [INFO] [stderr] 336 | | /// cl_device_type - bitfield [INFO] [stderr] 337 | | /// [INFO] [stderr] 338 | | /// * `CL_DEVICE_TYPE_DEFAULT`: The default `OpenCL` device in the system. [INFO] [stderr] ... | [INFO] [stderr] 357 | | } [INFO] [stderr] 358 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:382:1 [INFO] [stderr] | [INFO] [stderr] 382 | / bitflags! { [INFO] [stderr] 383 | | /// cl_device_fp_config - bitfield [INFO] [stderr] 384 | | pub struct DeviceFpConfig: u64 { [INFO] [stderr] 385 | | const DENORM = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 393 | | } [INFO] [stderr] 394 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:382:1 [INFO] [stderr] | [INFO] [stderr] 382 | / bitflags! { [INFO] [stderr] 383 | | /// cl_device_fp_config - bitfield [INFO] [stderr] 384 | | pub struct DeviceFpConfig: u64 { [INFO] [stderr] 385 | | const DENORM = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 393 | | } [INFO] [stderr] 394 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:382:1 [INFO] [stderr] | [INFO] [stderr] 382 | / bitflags! { [INFO] [stderr] 383 | | /// cl_device_fp_config - bitfield [INFO] [stderr] 384 | | pub struct DeviceFpConfig: u64 { [INFO] [stderr] 385 | | const DENORM = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 393 | | } [INFO] [stderr] 394 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:382:1 [INFO] [stderr] | [INFO] [stderr] 382 | / bitflags! { [INFO] [stderr] 383 | | /// cl_device_fp_config - bitfield [INFO] [stderr] 384 | | pub struct DeviceFpConfig: u64 { [INFO] [stderr] 385 | | const DENORM = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 393 | | } [INFO] [stderr] 394 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:382:1 [INFO] [stderr] | [INFO] [stderr] 382 | / bitflags! { [INFO] [stderr] 383 | | /// cl_device_fp_config - bitfield [INFO] [stderr] 384 | | pub struct DeviceFpConfig: u64 { [INFO] [stderr] 385 | | const DENORM = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 393 | | } [INFO] [stderr] 394 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:382:1 [INFO] [stderr] | [INFO] [stderr] 382 | / bitflags! { [INFO] [stderr] 383 | | /// cl_device_fp_config - bitfield [INFO] [stderr] 384 | | pub struct DeviceFpConfig: u64 { [INFO] [stderr] 385 | | const DENORM = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 393 | | } [INFO] [stderr] 394 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:382:1 [INFO] [stderr] | [INFO] [stderr] 382 | / bitflags! { [INFO] [stderr] 383 | | /// cl_device_fp_config - bitfield [INFO] [stderr] 384 | | pub struct DeviceFpConfig: u64 { [INFO] [stderr] 385 | | const DENORM = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 393 | | } [INFO] [stderr] 394 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:382:1 [INFO] [stderr] | [INFO] [stderr] 382 | / bitflags! { [INFO] [stderr] 383 | | /// cl_device_fp_config - bitfield [INFO] [stderr] 384 | | pub struct DeviceFpConfig: u64 { [INFO] [stderr] 385 | | const DENORM = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 393 | | } [INFO] [stderr] 394 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:406:1 [INFO] [stderr] | [INFO] [stderr] 406 | / bitflags! { [INFO] [stderr] 407 | | /// cl_device_exec_capabilities - bitfield [INFO] [stderr] 408 | | pub struct DeviceExecCapabilities: u64 { [INFO] [stderr] 409 | | const KERNEL = 1 << 0; [INFO] [stderr] 410 | | const NATIVE_KERNEL = 1 << 1; [INFO] [stderr] 411 | | } [INFO] [stderr] 412 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:406:1 [INFO] [stderr] | [INFO] [stderr] 406 | / bitflags! { [INFO] [stderr] 407 | | /// cl_device_exec_capabilities - bitfield [INFO] [stderr] 408 | | pub struct DeviceExecCapabilities: u64 { [INFO] [stderr] 409 | | const KERNEL = 1 << 0; [INFO] [stderr] 410 | | const NATIVE_KERNEL = 1 << 1; [INFO] [stderr] 411 | | } [INFO] [stderr] 412 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:418:1 [INFO] [stderr] | [INFO] [stderr] 418 | / bitflags! { [INFO] [stderr] 419 | | /// cl_command_queue_properties - bitfield [INFO] [stderr] 420 | | pub struct CommandQueueProperties: u64 { [INFO] [stderr] 421 | | const OUT_OF_ORDER_EXEC_MODE_ENABLE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 425 | | } [INFO] [stderr] 426 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:418:1 [INFO] [stderr] | [INFO] [stderr] 418 | / bitflags! { [INFO] [stderr] 419 | | /// cl_command_queue_properties - bitfield [INFO] [stderr] 420 | | pub struct CommandQueueProperties: u64 { [INFO] [stderr] 421 | | const OUT_OF_ORDER_EXEC_MODE_ENABLE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 425 | | } [INFO] [stderr] 426 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:418:1 [INFO] [stderr] | [INFO] [stderr] 418 | / bitflags! { [INFO] [stderr] 419 | | /// cl_command_queue_properties - bitfield [INFO] [stderr] 420 | | pub struct CommandQueueProperties: u64 { [INFO] [stderr] 421 | | const OUT_OF_ORDER_EXEC_MODE_ENABLE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 425 | | } [INFO] [stderr] 426 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:418:1 [INFO] [stderr] | [INFO] [stderr] 418 | / bitflags! { [INFO] [stderr] 419 | | /// cl_command_queue_properties - bitfield [INFO] [stderr] 420 | | pub struct CommandQueueProperties: u64 { [INFO] [stderr] 421 | | const OUT_OF_ORDER_EXEC_MODE_ENABLE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 425 | | } [INFO] [stderr] 426 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:449:1 [INFO] [stderr] | [INFO] [stderr] 449 | / bitflags! { [INFO] [stderr] 450 | | /// cl_device_affinity_domain [INFO] [stderr] 451 | | pub struct DeviceAffinityDomain: u64 { [INFO] [stderr] 452 | | const NUMA = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 458 | | } [INFO] [stderr] 459 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:449:1 [INFO] [stderr] | [INFO] [stderr] 449 | / bitflags! { [INFO] [stderr] 450 | | /// cl_device_affinity_domain [INFO] [stderr] 451 | | pub struct DeviceAffinityDomain: u64 { [INFO] [stderr] 452 | | const NUMA = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 458 | | } [INFO] [stderr] 459 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:449:1 [INFO] [stderr] | [INFO] [stderr] 449 | / bitflags! { [INFO] [stderr] 450 | | /// cl_device_affinity_domain [INFO] [stderr] 451 | | pub struct DeviceAffinityDomain: u64 { [INFO] [stderr] 452 | | const NUMA = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 458 | | } [INFO] [stderr] 459 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:449:1 [INFO] [stderr] | [INFO] [stderr] 449 | / bitflags! { [INFO] [stderr] 450 | | /// cl_device_affinity_domain [INFO] [stderr] 451 | | pub struct DeviceAffinityDomain: u64 { [INFO] [stderr] 452 | | const NUMA = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 458 | | } [INFO] [stderr] 459 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:449:1 [INFO] [stderr] | [INFO] [stderr] 449 | / bitflags! { [INFO] [stderr] 450 | | /// cl_device_affinity_domain [INFO] [stderr] 451 | | pub struct DeviceAffinityDomain: u64 { [INFO] [stderr] 452 | | const NUMA = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 458 | | } [INFO] [stderr] 459 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:449:1 [INFO] [stderr] | [INFO] [stderr] 449 | / bitflags! { [INFO] [stderr] 450 | | /// cl_device_affinity_domain [INFO] [stderr] 451 | | pub struct DeviceAffinityDomain: u64 { [INFO] [stderr] 452 | | const NUMA = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 458 | | } [INFO] [stderr] 459 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:469:1 [INFO] [stderr] | [INFO] [stderr] 469 | / bitflags! { [INFO] [stderr] 470 | | /// cl_mem_flags - bitfield [INFO] [stderr] 471 | | pub struct MemFlags: u64 { [INFO] [stderr] 472 | | const READ_WRITE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 482 | | } [INFO] [stderr] 483 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:469:1 [INFO] [stderr] | [INFO] [stderr] 469 | / bitflags! { [INFO] [stderr] 470 | | /// cl_mem_flags - bitfield [INFO] [stderr] 471 | | pub struct MemFlags: u64 { [INFO] [stderr] 472 | | const READ_WRITE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 482 | | } [INFO] [stderr] 483 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:469:1 [INFO] [stderr] | [INFO] [stderr] 469 | / bitflags! { [INFO] [stderr] 470 | | /// cl_mem_flags - bitfield [INFO] [stderr] 471 | | pub struct MemFlags: u64 { [INFO] [stderr] 472 | | const READ_WRITE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 482 | | } [INFO] [stderr] 483 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:469:1 [INFO] [stderr] | [INFO] [stderr] 469 | / bitflags! { [INFO] [stderr] 470 | | /// cl_mem_flags - bitfield [INFO] [stderr] 471 | | pub struct MemFlags: u64 { [INFO] [stderr] 472 | | const READ_WRITE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 482 | | } [INFO] [stderr] 483 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:469:1 [INFO] [stderr] | [INFO] [stderr] 469 | / bitflags! { [INFO] [stderr] 470 | | /// cl_mem_flags - bitfield [INFO] [stderr] 471 | | pub struct MemFlags: u64 { [INFO] [stderr] 472 | | const READ_WRITE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 482 | | } [INFO] [stderr] 483 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:469:1 [INFO] [stderr] | [INFO] [stderr] 469 | / bitflags! { [INFO] [stderr] 470 | | /// cl_mem_flags - bitfield [INFO] [stderr] 471 | | pub struct MemFlags: u64 { [INFO] [stderr] 472 | | const READ_WRITE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 482 | | } [INFO] [stderr] 483 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:469:1 [INFO] [stderr] | [INFO] [stderr] 469 | / bitflags! { [INFO] [stderr] 470 | | /// cl_mem_flags - bitfield [INFO] [stderr] 471 | | pub struct MemFlags: u64 { [INFO] [stderr] 472 | | const READ_WRITE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 482 | | } [INFO] [stderr] 483 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:469:1 [INFO] [stderr] | [INFO] [stderr] 469 | / bitflags! { [INFO] [stderr] 470 | | /// cl_mem_flags - bitfield [INFO] [stderr] 471 | | pub struct MemFlags: u64 { [INFO] [stderr] 472 | | const READ_WRITE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 482 | | } [INFO] [stderr] 483 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:469:1 [INFO] [stderr] | [INFO] [stderr] 469 | / bitflags! { [INFO] [stderr] 470 | | /// cl_mem_flags - bitfield [INFO] [stderr] 471 | | pub struct MemFlags: u64 { [INFO] [stderr] 472 | | const READ_WRITE = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 482 | | } [INFO] [stderr] 483 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:514:1 [INFO] [stderr] | [INFO] [stderr] 514 | / bitflags! { [INFO] [stderr] 515 | | /// cl_mem_migration_flags - bitfield [INFO] [stderr] 516 | | pub struct MemMigrationFlags: u64 { [INFO] [stderr] 517 | | const OBJECT_HOST = 1 << 0; [INFO] [stderr] 518 | | const OBJECT_CONTENT_UNDEFINED = 1 << 1; [INFO] [stderr] 519 | | } [INFO] [stderr] 520 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:514:1 [INFO] [stderr] | [INFO] [stderr] 514 | / bitflags! { [INFO] [stderr] 515 | | /// cl_mem_migration_flags - bitfield [INFO] [stderr] 516 | | pub struct MemMigrationFlags: u64 { [INFO] [stderr] 517 | | const OBJECT_HOST = 1 << 0; [INFO] [stderr] 518 | | const OBJECT_CONTENT_UNDEFINED = 1 << 1; [INFO] [stderr] 519 | | } [INFO] [stderr] 520 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:526:1 [INFO] [stderr] | [INFO] [stderr] 526 | / bitflags! { [INFO] [stderr] 527 | | /// cl_map_flags - bitfield [INFO] [stderr] 528 | | pub struct MapFlags: u64 { [INFO] [stderr] 529 | | const READ = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 532 | | } [INFO] [stderr] 533 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:526:1 [INFO] [stderr] | [INFO] [stderr] 526 | / bitflags! { [INFO] [stderr] 527 | | /// cl_map_flags - bitfield [INFO] [stderr] 528 | | pub struct MapFlags: u64 { [INFO] [stderr] 529 | | const READ = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 532 | | } [INFO] [stderr] 533 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:526:1 [INFO] [stderr] | [INFO] [stderr] 526 | / bitflags! { [INFO] [stderr] 527 | | /// cl_map_flags - bitfield [INFO] [stderr] 528 | | pub struct MapFlags: u64 { [INFO] [stderr] 529 | | const READ = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 532 | | } [INFO] [stderr] 533 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:552:1 [INFO] [stderr] | [INFO] [stderr] 552 | / bitflags! { [INFO] [stderr] 553 | | /// cl_program_binary_type [INFO] [stderr] 554 | | pub struct ProgramBinaryType: u32 { [INFO] [stderr] 555 | | const NONE = 0x0; [INFO] [stderr] ... | [INFO] [stderr] 559 | | } [INFO] [stderr] 560 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:552:1 [INFO] [stderr] | [INFO] [stderr] 552 | / bitflags! { [INFO] [stderr] 553 | | /// cl_program_binary_type [INFO] [stderr] 554 | | pub struct ProgramBinaryType: u32 { [INFO] [stderr] 555 | | const NONE = 0x0; [INFO] [stderr] ... | [INFO] [stderr] 559 | | } [INFO] [stderr] 560 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:552:1 [INFO] [stderr] | [INFO] [stderr] 552 | / bitflags! { [INFO] [stderr] 553 | | /// cl_program_binary_type [INFO] [stderr] 554 | | pub struct ProgramBinaryType: u32 { [INFO] [stderr] 555 | | const NONE = 0x0; [INFO] [stderr] ... | [INFO] [stderr] 559 | | } [INFO] [stderr] 560 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:552:1 [INFO] [stderr] | [INFO] [stderr] 552 | / bitflags! { [INFO] [stderr] 553 | | /// cl_program_binary_type [INFO] [stderr] 554 | | pub struct ProgramBinaryType: u32 { [INFO] [stderr] 555 | | const NONE = 0x0; [INFO] [stderr] ... | [INFO] [stderr] 559 | | } [INFO] [stderr] 560 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:568:1 [INFO] [stderr] | [INFO] [stderr] 568 | / bitflags! { [INFO] [stderr] 569 | | /// cl_kernel_arg_type_qualifer [INFO] [stderr] 570 | | pub struct KernelArgTypeQualifier: u64 { [INFO] [stderr] 571 | | const NONE = 0; [INFO] [stderr] ... | [INFO] [stderr] 575 | | } [INFO] [stderr] 576 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:568:1 [INFO] [stderr] | [INFO] [stderr] 568 | / bitflags! { [INFO] [stderr] 569 | | /// cl_kernel_arg_type_qualifer [INFO] [stderr] 570 | | pub struct KernelArgTypeQualifier: u64 { [INFO] [stderr] 571 | | const NONE = 0; [INFO] [stderr] ... | [INFO] [stderr] 575 | | } [INFO] [stderr] 576 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:568:1 [INFO] [stderr] | [INFO] [stderr] 568 | / bitflags! { [INFO] [stderr] 569 | | /// cl_kernel_arg_type_qualifer [INFO] [stderr] 570 | | pub struct KernelArgTypeQualifier: u64 { [INFO] [stderr] 571 | | const NONE = 0; [INFO] [stderr] ... | [INFO] [stderr] 575 | | } [INFO] [stderr] 576 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/lib.rs:568:1 [INFO] [stderr] | [INFO] [stderr] 568 | / bitflags! { [INFO] [stderr] 569 | | /// cl_kernel_arg_type_qualifer [INFO] [stderr] 570 | | pub struct KernelArgTypeQualifier: u64 { [INFO] [stderr] 571 | | const NONE = 0; [INFO] [stderr] ... | [INFO] [stderr] 575 | | } [INFO] [stderr] 576 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/util.rs:113:30 [INFO] [stderr] | [INFO] [stderr] 113 | let mut new_val: T = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/util.rs:134:30 [INFO] [stderr] | [INFO] [stderr] 134 | let mut new_val: T = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 58 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0518`. [INFO] [stderr] error: could not compile `ocl-core`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 58 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0518`. [INFO] [stderr] error: could not compile `ocl-core`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "020f01d037455215a6c987893af7243be3e6828502b5f5a29a25070a6244c239"` [INFO] running `"docker" "rm" "-f" "020f01d037455215a6c987893af7243be3e6828502b5f5a29a25070a6244c239"` [INFO] [stdout] 020f01d037455215a6c987893af7243be3e6828502b5f5a29a25070a6244c239