[INFO] fetching crate fil-ocl 0.19.6... [INFO] testing fil-ocl-0.19.6 against 1.60.0 for beta-1.61-1 [INFO] extracting crate fil-ocl 0.19.6 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate fil-ocl 0.19.6 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fil-ocl 0.19.6 [INFO] finished tweaking crates.io crate fil-ocl 0.19.6 [INFO] tweaked toml for crates.io crate fil-ocl 0.19.6 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate crates.io crate fil-ocl 0.19.6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fil-ocl-core v0.11.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0b3c30a2f6b171aae6fba6c69ad3cb5da57813f309afc0432984b3d1742f8fb [INFO] running `Command { std: "docker" "start" "-a" "e0b3c30a2f6b171aae6fba6c69ad3cb5da57813f309afc0432984b3d1742f8fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0b3c30a2f6b171aae6fba6c69ad3cb5da57813f309afc0432984b3d1742f8fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0b3c30a2f6b171aae6fba6c69ad3cb5da57813f309afc0432984b3d1742f8fb", kill_on_drop: false }` [INFO] [stdout] e0b3c30a2f6b171aae6fba6c69ad3cb5da57813f309afc0432984b3d1742f8fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f66c009fcf33a2daab891cb458ac37a3ffca50e1d0de3381d7626a6467e394a9 [INFO] running `Command { std: "docker" "start" "-a" "f66c009fcf33a2daab891cb458ac37a3ffca50e1d0de3381d7626a6467e394a9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling cl-sys v0.4.2 [INFO] [stderr] Compiling futures v0.1.30 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling qutex v0.2.3 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling fil-ocl-core v0.11.4 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling ocl-core-vector v0.1.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling fil-ocl v0.19.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/standard/event.rs:293:22 [INFO] [stdout] | [INFO] [stdout] 293 | array = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.76s [INFO] running `Command { std: "docker" "inspect" "f66c009fcf33a2daab891cb458ac37a3ffca50e1d0de3381d7626a6467e394a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f66c009fcf33a2daab891cb458ac37a3ffca50e1d0de3381d7626a6467e394a9", kill_on_drop: false }` [INFO] [stdout] f66c009fcf33a2daab891cb458ac37a3ffca50e1d0de3381d7626a6467e394a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4af812cc4785e428c2471ad2e2b98b9507417e6688b2cdf89d0a801194c610d [INFO] running `Command { std: "docker" "start" "-a" "c4af812cc4785e428c2471ad2e2b98b9507417e6688b2cdf89d0a801194c610d", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling colorify v0.2.3 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/standard/event.rs:293:22 [INFO] [stdout] | [INFO] [stdout] 293 | array = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling fil-ocl v0.19.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `ocl_extras` [INFO] [stdout] --> examples/event_callbacks.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate ocl_extras; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for slice `[_]` in the current scope [INFO] [stdout] --> examples/event_callbacks.rs:144:32 [INFO] [stdout] | [INFO] [stdout] 144 | seed_vec: seed_vec.as_slice() as *const [u32], [INFO] [stdout] | ^^^^^^^^ method not found in `[_]` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 13 | use core::slice::SlicePattern; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fil-ocl` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `len` found for enum `Result` in the current scope [INFO] [stdout] --> examples/threads.rs:34:69 [INFO] [stdout] | [INFO] [stdout] 34 | println!("Looping through avaliable platforms ({}):", platforms.len()); [INFO] [stdout] | ^^^ method not found in `Result, ocl::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for enum `Result` in the current scope [INFO] [stdout] --> examples/info.rs:35:69 [INFO] [stdout] | [INFO] [stdout] 35 | println!("Looping through avaliable platforms ({}):", platforms.len()); [INFO] [stdout] | ^^^ method not found in `Result, ocl::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for enum `Result` in the current scope [INFO] [stdout] --> examples/threads.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | for p_idx in 0..platforms.len() { [INFO] [stdout] | ^^^ method not found in `Result, ocl::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, ocl::Error>` [INFO] [stdout] --> examples/threads.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | let platform = &platforms[p_idx]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ocl` [INFO] [stdout] --> examples/buffer_sink.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate ocl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ocl_extras` [INFO] [stdout] --> examples/buffer_sink.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate ocl_extras; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for enum `Result` in the current scope [INFO] [stdout] --> examples/info.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | for p_idx in 0..platforms.len() { [INFO] [stdout] | ^^^ method not found in `Result, ocl::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Result, ocl::Error>` [INFO] [stdout] --> examples/info.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | let platform = &platforms[p_idx]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ocl_extras` [INFO] [stdout] --> examples/timed.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate ocl_extras; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ocl_extras` [INFO] [stdout] --> examples/basics.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate ocl_extras; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Vec: Borrow` is not satisfied [INFO] [stdout] --> examples/img_formats.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | for (d_idx, device) in Device::list_all(&platform)?.into_iter().enumerate() { [INFO] [stdout] | ---------------- ^^^^^^^^^ the trait `Borrow` is not implemented for `&Vec` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as Borrow<[T]>> [INFO] [stdout] note: required by a bound in `ocl::Device::list_all` [INFO] [stdout] --> /opt/rustwide/workdir/src/standard/device.rs:343:24 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn list_all>(platform: P) -> OclResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `ocl::Device::list_all` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProQue` [INFO] [stdout] --> examples/buffer_sink.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | let ocl_pq = ProQue::builder() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use fil_ocl::ProQue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Buffer` [INFO] [stdout] --> examples/buffer_sink.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | let source_buffer = Buffer::::builder() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use fil_ocl::Buffer; [INFO] [stdout] | [INFO] [stdout] 6 | use futures::sink::Buffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemFlags` [INFO] [stdout] --> examples/buffer_sink.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | .flags(MemFlags::new().read_write().alloc_host_ptr()) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use fil_ocl::MemFlags; [INFO] [stdout] | [INFO] [stdout] 6 | use fil_ocl_core::MemFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Buffer` in this scope [INFO] [stdout] --> examples/buffer_sink.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | let result_buffer: Buffer = ocl_pq.create_buffer()?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use fil_ocl::Buffer; [INFO] [stdout] | [INFO] [stdout] 6 | use futures::sink::Buffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufferSink` [INFO] [stdout] --> examples/buffer_sink.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | BufferSink::from_buffer(source_buffer.clone(), Some(ocl_pq.queue().clone()), 0, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use fil_ocl::r#async::BufferSink; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufferSink` in this scope [INFO] [stdout] --> examples/buffer_sink.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | let buffer_sink: BufferSink<_> = WriteGuard::release(write_guard).into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use fil_ocl::r#async::BufferSink; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WriteGuard` [INFO] [stdout] --> examples/buffer_sink.rs:67:46 [INFO] [stdout] | [INFO] [stdout] 67 | let buffer_sink: BufferSink<_> = WriteGuard::release(write_guard).into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use fil_ocl::WriteGuard; [INFO] [stdout] | [INFO] [stdout] 6 | use qutex::WriteGuard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> examples/device_check.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / lazy_static! { [INFO] [stdout] 83 | | pub static ref CONFIG_MAPPED_WRITE_OOO_ASYNC: Switches = Switches { [INFO] [stdout] 84 | | config_name: "Out of Order | Async-Future ", [INFO] [stdout] 85 | | kern: Kern { [INFO] [stdout] ... | [INFO] [stdout] 277 | | }; [INFO] [stdout] 278 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> examples/device_check.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / lazy_static! { [INFO] [stdout] 83 | | pub static ref CONFIG_MAPPED_WRITE_OOO_ASYNC: Switches = Switches { [INFO] [stdout] 84 | | config_name: "Out of Order | Async-Future ", [INFO] [stdout] 85 | | kern: Kern { [INFO] [stdout] ... | [INFO] [stdout] 277 | | }; [INFO] [stdout] 278 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> examples/device_check.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / lazy_static! { [INFO] [stdout] 83 | | pub static ref CONFIG_MAPPED_WRITE_OOO_ASYNC: Switches = Switches { [INFO] [stdout] 84 | | config_name: "Out of Order | Async-Future ", [INFO] [stdout] 85 | | kern: Kern { [INFO] [stdout] ... | [INFO] [stdout] 277 | | }; [INFO] [stdout] 278 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/timed.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | verify_results(&vec_init, &vec_result, KERNEL_RUN_ITERS)?; [INFO] [stdout] | ^^^^^^^^^ expected struct `Vec`, found slice [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec` [INFO] [stdout] found reference `&[_]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufferSink` in this scope [INFO] [stdout] --> examples/buffer_sink.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | let buffer_sink: BufferSink<_> = WriteGuard::release(write_guard).into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use fil_ocl::r#async::BufferSink; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WriteGuard` [INFO] [stdout] --> examples/buffer_sink.rs:77:46 [INFO] [stdout] | [INFO] [stdout] 77 | let buffer_sink: BufferSink<_> = WriteGuard::release(write_guard).into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use fil_ocl::WriteGuard; [INFO] [stdout] | [INFO] [stdout] 6 | use qutex::WriteGuard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> examples/device_check.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / lazy_static! { [INFO] [stdout] 83 | | pub static ref CONFIG_MAPPED_WRITE_OOO_ASYNC: Switches = Switches { [INFO] [stdout] 84 | | config_name: "Out of Order | Async-Future ", [INFO] [stdout] 85 | | kern: Kern { [INFO] [stdout] ... | [INFO] [stdout] 277 | | }; [INFO] [stdout] 278 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> examples/device_check.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / lazy_static! { [INFO] [stdout] 83 | | pub static ref CONFIG_MAPPED_WRITE_OOO_ASYNC: Switches = Switches { [INFO] [stdout] 84 | | config_name: "Out of Order | Async-Future ", [INFO] [stdout] 85 | | kern: Kern { [INFO] [stdout] ... | [INFO] [stdout] 277 | | }; [INFO] [stdout] 278 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> examples/device_check.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / lazy_static! { [INFO] [stdout] 83 | | pub static ref CONFIG_MAPPED_WRITE_OOO_ASYNC: Switches = Switches { [INFO] [stdout] 84 | | config_name: "Out of Order | Async-Future ", [INFO] [stdout] 85 | | kern: Kern { [INFO] [stdout] ... | [INFO] [stdout] 277 | | }; [INFO] [stdout] 278 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> examples/device_check.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / lazy_static! { [INFO] [stdout] 83 | | pub static ref CONFIG_MAPPED_WRITE_OOO_ASYNC: Switches = Switches { [INFO] [stdout] 84 | | config_name: "Out of Order | Async-Future ", [INFO] [stdout] 85 | | kern: Kern { [INFO] [stdout] ... | [INFO] [stdout] 277 | | }; [INFO] [stdout] 278 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::Future` [INFO] [stdout] --> examples/buffer_sink.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `name` found for struct `Vec` in the current scope [INFO] [stdout] --> examples/img_formats.rs:9:66 [INFO] [stdout] | [INFO] [stdout] 9 | printlnc!(blue: "Platform [{}]: {}", p_idx, platform.name()?); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> examples/basics.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | kern.set_arg(0, &COEFF)?; [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `ocl::standard::kernel::ArgIdxSpecifier: ~const From<{integer}>` found in the `fil_ocl` crate: [INFO] [stdout] - impl From for ocl::standard::kernel::ArgIdxSpecifier; [INFO] [stdout] - impl From for ocl::standard::kernel::ArgIdxSpecifier; [INFO] [stdout] - impl From for ocl::standard::kernel::ArgIdxSpecifier; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] note: required by a bound in `ocl::Kernel::set_arg` [INFO] [stdout] --> /opt/rustwide/workdir/src/standard/kernel.rs:608:34 [INFO] [stdout] | [INFO] [stdout] 608 | where T: OclPrm, Ai: Into, Av: Into> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ocl::Kernel::set_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> examples/basics.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | kern.set_arg(1, Some(&source_buffer))?; [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `ocl::standard::kernel::ArgIdxSpecifier: ~const From<{integer}>` found in the `fil_ocl` crate: [INFO] [stdout] - impl From for ocl::standard::kernel::ArgIdxSpecifier; [INFO] [stdout] - impl From for ocl::standard::kernel::ArgIdxSpecifier; [INFO] [stdout] - impl From for ocl::standard::kernel::ArgIdxSpecifier; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] note: required by a bound in `ocl::Kernel::set_arg` [INFO] [stdout] --> /opt/rustwide/workdir/src/standard/kernel.rs:608:34 [INFO] [stdout] | [INFO] [stdout] 608 | where T: OclPrm, Ai: Into, Av: Into> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ocl::Kernel::set_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> examples/basics.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | kern.set_arg(2, &result_buffer)?; [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `ocl::standard::kernel::ArgIdxSpecifier: ~const From<{integer}>` found in the `fil_ocl` crate: [INFO] [stdout] - impl From for ocl::standard::kernel::ArgIdxSpecifier; [INFO] [stdout] - impl From for ocl::standard::kernel::ArgIdxSpecifier; [INFO] [stdout] - impl From for ocl::standard::kernel::ArgIdxSpecifier; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] note: required by a bound in `ocl::Kernel::set_arg` [INFO] [stdout] --> /opt/rustwide/workdir/src/standard/kernel.rs:608:34 [INFO] [stdout] | [INFO] [stdout] 608 | where T: OclPrm, Ai: Into, Av: Into> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ocl::Kernel::set_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/timed.rs:143:20 [INFO] [stdout] | [INFO] [stdout] 143 | verify_results(&vec_init, &vec_result, KERNEL_AND_BUFFER_ITERS + KERNEL_RUN_ITERS)?; [INFO] [stdout] | ^^^^^^^^^ expected struct `Vec`, found slice [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec` [INFO] [stdout] found reference `&[_]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ocl_extras` [INFO] [stdout] --> examples/async_menagerie.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate ocl_extras as extras; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/img_formats.rs:12:55 [INFO] [stdout] | [INFO] [stdout] 12 | let context = Context::builder().platform(platform).devices(device).build()?; [INFO] [stdout] | ^^^^^^^^ expected struct `ocl::Platform`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ocl::Platform` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandGraph` [INFO] [stdout] --> examples/async_menagerie.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | cmd_graph: CommandGraph::new(), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CommandGraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandDetails` [INFO] [stdout] --> examples/async_menagerie.rs:69:41 [INFO] [stdout] | [INFO] [stdout] 69 | self.cmd_graph.add(Command::new(CommandDetails::Fill { target: target_buffer_id })) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CommandDetails` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandDetails` [INFO] [stdout] --> examples/async_menagerie.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | self.cmd_graph.add(Command::new(CommandDetails::Write { target: target_buffer_id })) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CommandDetails` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandDetails` [INFO] [stdout] --> examples/async_menagerie.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | self.cmd_graph.add(Command::new(CommandDetails::Read { source: source_buffer_id })) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CommandDetails` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandDetails` [INFO] [stdout] --> examples/async_menagerie.rs:88:41 [INFO] [stdout] | [INFO] [stdout] 88 | self.cmd_graph.add(Command::new(CommandDetails::Kernel { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CommandDetails` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandDetails` [INFO] [stdout] --> examples/async_menagerie.rs:99:41 [INFO] [stdout] | [INFO] [stdout] 99 | self.cmd_graph.add(Command::new(CommandDetails::Copy { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CommandDetails` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandDetails` [INFO] [stdout] --> examples/async_menagerie.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | CommandDetails::Fill { target } => target, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CommandDetails` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandDetails` [INFO] [stdout] --> examples/async_menagerie.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | CommandDetails::Write { target } => (target, MapFlags::new().write_invalidate_region(), true), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CommandDetails` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandDetails` [INFO] [stdout] --> examples/async_menagerie.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | CommandDetails::Read { source } => (source, MapFlags::new().read(), false), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CommandDetails` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandDetails` [INFO] [stdout] --> examples/async_menagerie.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | CommandDetails::Copy { source, target } => (source, target), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CommandDetails` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandDetails` [INFO] [stdout] --> examples/async_menagerie.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | CommandDetails::Kernel { id, .. } => id, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CommandDetails` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Vec: Borrow` is not satisfied [INFO] [stdout] --> examples/device_check.rs:1076:40 [INFO] [stdout] | [INFO] [stdout] 1076 | let devices = Device::list_all(&platform).unwrap(); [INFO] [stdout] | ---------------- ^^^^^^^^^ the trait `Borrow` is not implemented for `&Vec` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as Borrow<[T]>> [INFO] [stdout] note: required by a bound in `ocl::Device::list_all` [INFO] [stdout] --> /opt/rustwide/workdir/src/standard/device.rs:343:24 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn list_all>(platform: P) -> OclResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `ocl::Device::list_all` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KernelArgBuffer` [INFO] [stdout] --> examples/async_menagerie.rs:319:14 [INFO] [stdout] | [INFO] [stdout] 319 | vec![KernelArgBuffer::new(0, write_buf_id)], [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `KernelArgBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KernelArgBuffer` [INFO] [stdout] --> examples/async_menagerie.rs:320:14 [INFO] [stdout] | [INFO] [stdout] 320 | vec![KernelArgBuffer::new(2, read_buf_id)]).unwrap() == 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `KernelArgBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KernelArgBuffer` [INFO] [stdout] --> examples/async_menagerie.rs:493:14 [INFO] [stdout] | [INFO] [stdout] 493 | vec![KernelArgBuffer::new(0, buffer_ids[0])], [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `KernelArgBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KernelArgBuffer` [INFO] [stdout] --> examples/async_menagerie.rs:494:14 [INFO] [stdout] | [INFO] [stdout] 494 | vec![KernelArgBuffer::new(2, buffer_ids[1])]).unwrap() == 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `KernelArgBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KernelArgBuffer` [INFO] [stdout] --> examples/async_menagerie.rs:507:14 [INFO] [stdout] | [INFO] [stdout] 507 | vec![KernelArgBuffer::new(0, buffer_ids[2]), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `KernelArgBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KernelArgBuffer` [INFO] [stdout] --> examples/async_menagerie.rs:508:13 [INFO] [stdout] | [INFO] [stdout] 508 | KernelArgBuffer::new(1, buffer_ids[3]), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `KernelArgBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KernelArgBuffer` [INFO] [stdout] --> examples/async_menagerie.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | KernelArgBuffer::new(2, buffer_ids[4])], [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `KernelArgBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KernelArgBuffer` [INFO] [stdout] --> examples/async_menagerie.rs:510:14 [INFO] [stdout] | [INFO] [stdout] 510 | vec![KernelArgBuffer::new(4, buffer_ids[5])]).unwrap() == 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `KernelArgBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KernelArgBuffer` [INFO] [stdout] --> examples/async_menagerie.rs:514:14 [INFO] [stdout] | [INFO] [stdout] 514 | vec![KernelArgBuffer::new(0, buffer_ids[5])], [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `KernelArgBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `name` found for struct `Vec` in the current scope [INFO] [stdout] --> examples/device_check.rs:1079:66 [INFO] [stdout] | [INFO] [stdout] 1079 | printlnc!(blue: "Platform [{}]: {}", p_idx, platform.name()?); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/timed.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | verify_results(&vec_init, &vec_result, [INFO] [stdout] | ^^^^^^^^^ expected struct `Vec`, found slice [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec` [INFO] [stdout] found reference `&[_]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KernelArgBuffer` [INFO] [stdout] --> examples/async_menagerie.rs:515:14 [INFO] [stdout] | [INFO] [stdout] 515 | vec![KernelArgBuffer::new(2, buffer_ids[6])]).unwrap() == 6); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `KernelArgBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SubBufferPool` [INFO] [stdout] --> examples/async_menagerie.rs:641:47 [INFO] [stdout] | [INFO] [stdout] 641 | let mut buf_pool: SubBufferPool = SubBufferPool::new(INITIAL_BUFFER_LEN, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SubBufferPool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CommandGraph` in this scope [INFO] [stdout] --> examples/async_menagerie.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | cmd_graph: CommandGraph, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command` [INFO] [stdout] --> examples/async_menagerie.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | self.cmd_graph.add(Command::new(CommandDetails::Fill { target: target_buffer_id })) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 | use std::process::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command` [INFO] [stdout] --> examples/async_menagerie.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | self.cmd_graph.add(Command::new(CommandDetails::Write { target: target_buffer_id })) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 | use std::process::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command` [INFO] [stdout] --> examples/async_menagerie.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | self.cmd_graph.add(Command::new(CommandDetails::Read { source: source_buffer_id })) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 | use std::process::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KernelArgBuffer` in this scope [INFO] [stdout] --> examples/async_menagerie.rs:83:73 [INFO] [stdout] | [INFO] [stdout] 53 | impl Task { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn add_kernel(&mut self, kernel: Kernel, source_buffer_ids: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KernelArgBuffer` in this scope [INFO] [stdout] --> examples/async_menagerie.rs:84:36 [INFO] [stdout] | [INFO] [stdout] 53 | impl Task { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 84 | target_buffer_ids: Vec) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command` [INFO] [stdout] --> examples/async_menagerie.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | self.cmd_graph.add(Command::new(CommandDetails::Kernel { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 | use std::process::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command` [INFO] [stdout] --> examples/async_menagerie.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 99 | self.cmd_graph.add(Command::new(CommandDetails::Copy { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 | use std::process::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SubBufferPool` in this scope [INFO] [stdout] --> examples/async_menagerie.rs:119:74 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn fill(&self, pattern: T, cmd_idx: usize, buf_pool: &SubBufferPool) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SubBufferPool` in this scope [INFO] [stdout] --> examples/async_menagerie.rs:137:61 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn map(&self, cmd_idx: usize, buf_pool: &SubBufferPool) -> FutureMemMap [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SubBufferPool` in this scope [INFO] [stdout] --> examples/async_menagerie.rs:170:62 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn copy(&self, cmd_idx: usize, buf_pool: &SubBufferPool) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SubBufferPool` in this scope [INFO] [stdout] --> examples/async_menagerie.rs:273:24 [INFO] [stdout] | [INFO] [stdout] 273 | buf_pool: &mut SubBufferPool, work_size: u32, queues: &[Queue]) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SubBufferPool` in this scope [INFO] [stdout] --> examples/async_menagerie.rs:331:48 [INFO] [stdout] | [INFO] [stdout] 331 | fn enqueue_simple_task(task: &Task, buf_pool: &SubBufferPool, thread_pool: &CpuPool, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SubBufferPool` in this scope [INFO] [stdout] --> examples/async_menagerie.rs:402:24 [INFO] [stdout] | [INFO] [stdout] 402 | buf_pool: &mut SubBufferPool, work_size: u32, queues: &[Queue], [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SubBufferPool` in this scope [INFO] [stdout] --> examples/async_menagerie.rs:535:49 [INFO] [stdout] | [INFO] [stdout] 535 | fn enqueue_complex_task(task: &Task, buf_pool: &SubBufferPool, thread_pool: &CpuPool, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SubBufferPool` in this scope [INFO] [stdout] --> examples/async_menagerie.rs:641:23 [INFO] [stdout] | [INFO] [stdout] 641 | let mut buf_pool: SubBufferPool = SubBufferPool::new(INITIAL_BUFFER_LEN, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/device_check.rs:1085:31 [INFO] [stdout] | [INFO] [stdout] 1085 | .platform(platform) [INFO] [stdout] | ^^^^^^^^ expected struct `ocl::Platform`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ocl::Platform` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 39 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/info_core.rs:573:34 [INFO] [stdout] | [INFO] [stdout] 573 | print_platform(plat_idx, platform)?; [INFO] [stdout] | ^^^^^^^^ expected struct `ocl::Platform`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ocl::Platform` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/standard/event.rs:293:22 [INFO] [stdout] | [INFO] [stdout] 293 | array = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/timed.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | verify_results(&vec_init, &vec_result, [INFO] [stdout] | ^^^^^^^^^ expected struct `Vec`, found slice [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec` [INFO] [stdout] found reference `&[_]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/tests/concurrent.rs:61:69 [INFO] [stdout] | [INFO] [stdout] 61 | println!("Looping through avaliable platforms ({}):", platforms.len()); [INFO] [stdout] | ^^^ method not found in `std::result::Result, error::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/tests/concurrent.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | for p_idx in 0..platforms.len() { [INFO] [stdout] | ^^^ method not found in `std::result::Result, error::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `std::result::Result, error::Error>` [INFO] [stdout] --> src/tests/concurrent.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | let platform = &platforms[p_idx]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/trivial-b1367309ed02c4cf.trivial.c036a7c1-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-b1367309ed02c4cf.trivial.c036a7c1-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-b1367309ed02c4cf.trivial.c036a7c1-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-b1367309ed02c4cf.trivial.c036a7c1-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-b1367309ed02c4cf.trivial.c036a7c1-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-b1367309ed02c4cf.trivial.c036a7c1-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-b1367309ed02c4cf.trivial.c036a7c1-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-b1367309ed02c4cf.trivial.c036a7c1-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-b1367309ed02c4cf.trivial.c036a7c1-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-b1367309ed02c4cf.trivial.c036a7c1-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-b1367309ed02c4cf.trivial.c036a7c1-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-b1367309ed02c4cf.trivial.c036a7c1-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-b1367309ed02c4cf.trivial.c036a7c1-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-b1367309ed02c4cf.trivial.c036a7c1-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-b1367309ed02c4cf.trivial.c036a7c1-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-b1367309ed02c4cf.trivial.c036a7c1-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-b1367309ed02c4cf.22sx1a92fz678m43.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libfil_ocl-50bc22709c0ce24d.rlib" "/opt/rustwide/target/debug/deps/libqutex-51a7e853647ecc74.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam-5c9059981ecad0b6.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_queue-6d338726afa6cfcb.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_channel-005922909f1c6bac.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-ea1dfb622d509502.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-bf9f7aa0c3ac6f42.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-93870536328d7ed1.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-ab4e9c146b16538a.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-90e53562623ba5ae.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-b341606102c7008f.rlib" "/opt/rustwide/target/debug/deps/libmaybe_uninit-ac57b1221b0d19c0.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-77abc38cc38d84d4.rlib" "/opt/rustwide/target/debug/deps/libnodrop-50003e563b2437fe.rlib" "/opt/rustwide/target/debug/deps/libfil_ocl_core-733894010fa3ffdf.rlib" "/opt/rustwide/target/debug/deps/libcl_sys-1cabae04ff322d9d.rlib" "/opt/rustwide/target/debug/deps/libocl_core_vector-746a2bedfea1b731.rlib" "/opt/rustwide/target/debug/deps/libnum-b7636dfd61a317db.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-4d22c555c10586e9.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-9b4fd7dec718c1dd.rlib" "/opt/rustwide/target/debug/deps/librand-a151e7fba5b75993.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-0b231d86d838110f.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-f93c724cf0f9fade.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-f5d36bc5cc87f2bc.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-f5cf36b4640ed572.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-1d718a129e55021a.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-eced62b3068a64cd.rlib" "/opt/rustwide/target/debug/deps/libbitflags-80e93151c602d4a3.rlib" "/opt/rustwide/target/debug/deps/libfailure-7a42ad608008c92a.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-2e19842ca18d41bd.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-6c609ddc6d074e32.rlib" "/opt/rustwide/target/debug/deps/libadler-9e52662b60a79489.rlib" "/opt/rustwide/target/debug/deps/libobject-928185d1165e292c.rlib" "/opt/rustwide/target/debug/deps/liblibc-394f246028b2f9fc.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-62941f12dc87ddfc.rlib" "/opt/rustwide/target/debug/deps/libgimli-000d21fdcabeb472.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-56df745b5175507b.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-715b82a9e4d83d1d.rlib" "/opt/rustwide/target/debug/deps/libfutures-fe81e6cc642ba513.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-ae8623994a8ecaa9.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.rlib" "-Wl,-Bdynamic" "-lOpenCL" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/trivial-b1367309ed02c4cf" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lOpenCL [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/async_process-ee9ddbb95678f19b.async_process.ef7c7a4c-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-ee9ddbb95678f19b.async_process.ef7c7a4c-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-ee9ddbb95678f19b.async_process.ef7c7a4c-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-ee9ddbb95678f19b.async_process.ef7c7a4c-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-ee9ddbb95678f19b.async_process.ef7c7a4c-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-ee9ddbb95678f19b.async_process.ef7c7a4c-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-ee9ddbb95678f19b.async_process.ef7c7a4c-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-ee9ddbb95678f19b.async_process.ef7c7a4c-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-ee9ddbb95678f19b.async_process.ef7c7a4c-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-ee9ddbb95678f19b.async_process.ef7c7a4c-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-ee9ddbb95678f19b.async_process.ef7c7a4c-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-ee9ddbb95678f19b.async_process.ef7c7a4c-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-ee9ddbb95678f19b.async_process.ef7c7a4c-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-ee9ddbb95678f19b.async_process.ef7c7a4c-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-ee9ddbb95678f19b.async_process.ef7c7a4c-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-ee9ddbb95678f19b.async_process.ef7c7a4c-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-ee9ddbb95678f19b.2qs5qtkba3j9lgy.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libcolorify-20e8de88c7d6ee4e.rlib" "/opt/rustwide/target/debug/deps/libfil_ocl-50bc22709c0ce24d.rlib" "/opt/rustwide/target/debug/deps/libqutex-51a7e853647ecc74.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam-5c9059981ecad0b6.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_queue-6d338726afa6cfcb.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_channel-005922909f1c6bac.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-ea1dfb622d509502.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-bf9f7aa0c3ac6f42.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-93870536328d7ed1.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-ab4e9c146b16538a.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-90e53562623ba5ae.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-b341606102c7008f.rlib" "/opt/rustwide/target/debug/deps/libmaybe_uninit-ac57b1221b0d19c0.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-77abc38cc38d84d4.rlib" "/opt/rustwide/target/debug/deps/libnodrop-50003e563b2437fe.rlib" "/opt/rustwide/target/debug/deps/libfil_ocl_core-733894010fa3ffdf.rlib" "/opt/rustwide/target/debug/deps/libcl_sys-1cabae04ff322d9d.rlib" "/opt/rustwide/target/debug/deps/libocl_core_vector-746a2bedfea1b731.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-1d718a129e55021a.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-eced62b3068a64cd.rlib" "/opt/rustwide/target/debug/deps/libbitflags-80e93151c602d4a3.rlib" "/opt/rustwide/target/debug/deps/libfailure-7a42ad608008c92a.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-2e19842ca18d41bd.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-6c609ddc6d074e32.rlib" "/opt/rustwide/target/debug/deps/libadler-9e52662b60a79489.rlib" "/opt/rustwide/target/debug/deps/libobject-928185d1165e292c.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-62941f12dc87ddfc.rlib" "/opt/rustwide/target/debug/deps/libgimli-000d21fdcabeb472.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-56df745b5175507b.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-715b82a9e4d83d1d.rlib" "/opt/rustwide/target/debug/deps/libchrono-e0993952c085227c.rlib" "/opt/rustwide/target/debug/deps/libnum-b7636dfd61a317db.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-4d22c555c10586e9.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-9b4fd7dec718c1dd.rlib" "/opt/rustwide/target/debug/deps/librand-a151e7fba5b75993.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-f5d36bc5cc87f2bc.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-f5cf36b4640ed572.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-0b231d86d838110f.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-f93c724cf0f9fade.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-ae8623994a8ecaa9.rlib" "/opt/rustwide/target/debug/deps/libtime-e926c1ce83f49c60.rlib" "/opt/rustwide/target/debug/deps/libfutures_cpupool-0755a6bcb5bc99dd.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-286424bd77fb8be2.rlib" "/opt/rustwide/target/debug/deps/liblibc-394f246028b2f9fc.rlib" "/opt/rustwide/target/debug/deps/libfutures-fe81e6cc642ba513.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.rlib" "-Wl,-Bdynamic" "-lOpenCL" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/async_process-ee9ddbb95678f19b" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lOpenCL [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/async_cycles-c22387df057bebe3.async_cycles.6e7c0ac8-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-c22387df057bebe3.async_cycles.6e7c0ac8-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-c22387df057bebe3.async_cycles.6e7c0ac8-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-c22387df057bebe3.async_cycles.6e7c0ac8-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-c22387df057bebe3.async_cycles.6e7c0ac8-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-c22387df057bebe3.async_cycles.6e7c0ac8-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-c22387df057bebe3.async_cycles.6e7c0ac8-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-c22387df057bebe3.async_cycles.6e7c0ac8-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-c22387df057bebe3.async_cycles.6e7c0ac8-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-c22387df057bebe3.async_cycles.6e7c0ac8-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-c22387df057bebe3.async_cycles.6e7c0ac8-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-c22387df057bebe3.async_cycles.6e7c0ac8-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-c22387df057bebe3.async_cycles.6e7c0ac8-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-c22387df057bebe3.async_cycles.6e7c0ac8-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-c22387df057bebe3.async_cycles.6e7c0ac8-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-c22387df057bebe3.async_cycles.6e7c0ac8-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-c22387df057bebe3.4kp7l4bxczsvyffo.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libcolorify-20e8de88c7d6ee4e.rlib" "/opt/rustwide/target/debug/deps/libfil_ocl-50bc22709c0ce24d.rlib" "/opt/rustwide/target/debug/deps/libqutex-51a7e853647ecc74.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam-5c9059981ecad0b6.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_queue-6d338726afa6cfcb.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_channel-005922909f1c6bac.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-ea1dfb622d509502.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-bf9f7aa0c3ac6f42.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-93870536328d7ed1.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-ab4e9c146b16538a.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-90e53562623ba5ae.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-b341606102c7008f.rlib" "/opt/rustwide/target/debug/deps/libmaybe_uninit-ac57b1221b0d19c0.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-77abc38cc38d84d4.rlib" "/opt/rustwide/target/debug/deps/libnodrop-50003e563b2437fe.rlib" "/opt/rustwide/target/debug/deps/libfil_ocl_core-733894010fa3ffdf.rlib" "/opt/rustwide/target/debug/deps/libcl_sys-1cabae04ff322d9d.rlib" "/opt/rustwide/target/debug/deps/libocl_core_vector-746a2bedfea1b731.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-1d718a129e55021a.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-eced62b3068a64cd.rlib" "/opt/rustwide/target/debug/deps/libbitflags-80e93151c602d4a3.rlib" "/opt/rustwide/target/debug/deps/libfailure-7a42ad608008c92a.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-2e19842ca18d41bd.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-6c609ddc6d074e32.rlib" "/opt/rustwide/target/debug/deps/libadler-9e52662b60a79489.rlib" "/opt/rustwide/target/debug/deps/libobject-928185d1165e292c.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-62941f12dc87ddfc.rlib" "/opt/rustwide/target/debug/deps/libgimli-000d21fdcabeb472.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-56df745b5175507b.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-715b82a9e4d83d1d.rlib" "/opt/rustwide/target/debug/deps/libfutures_cpupool-0755a6bcb5bc99dd.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-286424bd77fb8be2.rlib" "/opt/rustwide/target/debug/deps/libfutures-fe81e6cc642ba513.rlib" "/opt/rustwide/target/debug/deps/libchrono-e0993952c085227c.rlib" "/opt/rustwide/target/debug/deps/libnum-b7636dfd61a317db.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-4d22c555c10586e9.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-9b4fd7dec718c1dd.rlib" "/opt/rustwide/target/debug/deps/librand-a151e7fba5b75993.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-f5d36bc5cc87f2bc.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-f5cf36b4640ed572.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-0b231d86d838110f.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-f93c724cf0f9fade.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-ae8623994a8ecaa9.rlib" "/opt/rustwide/target/debug/deps/libtime-e926c1ce83f49c60.rlib" "/opt/rustwide/target/debug/deps/liblibc-394f246028b2f9fc.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.rlib" "-Wl,-Bdynamic" "-lOpenCL" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/async_cycles-c22387df057bebe3" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lOpenCL [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/tests/context_props.rs:17:73 [INFO] [stdout] | [INFO] [stdout] 17 | println!("Looping through each avaliable platform ({}):", platforms.len()); [INFO] [stdout] | ^^^ method not found in `std::result::Result, error::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/tests/context_props.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | for p_idx in 0..platforms.len() { [INFO] [stdout] | ^^^ method not found in `std::result::Result, error::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `std::result::Result, error::Error>` [INFO] [stdout] --> src/tests/context_props.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let platform = &platforms[p_idx]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec: Borrow` is not satisfied [INFO] [stdout] --> src/tests/async.rs:391:40 [INFO] [stdout] | [INFO] [stdout] 391 | for device in Device::list_all(platform).unwrap() { [INFO] [stdout] | ---------------- ^^^^^^^^ the trait `Borrow` is not implemented for `Vec` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as Borrow<[T]>> [INFO] [stdout] note: required by a bound in `device::Device::list_all` [INFO] [stdout] --> src/standard/device.rs:343:24 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn list_all>(platform: P) -> OclResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `device::Device::list_all` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/async.rs:395:27 [INFO] [stdout] | [INFO] [stdout] 395 | .platform(platform) [INFO] [stdout] | ^^^^^^^^ expected struct `platform::Platform`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `platform::Platform` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c4af812cc4785e428c2471ad2e2b98b9507417e6688b2cdf89d0a801194c610d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4af812cc4785e428c2471ad2e2b98b9507417e6688b2cdf89d0a801194c610d", kill_on_drop: false }` [INFO] [stdout] c4af812cc4785e428c2471ad2e2b98b9507417e6688b2cdf89d0a801194c610d