[INFO] fetching crate fil-ocl 0.19.6... [INFO] testing fil-ocl-0.19.6 against 1.55.0 for beta-1.56-1 [INFO] extracting crate fil-ocl 0.19.6 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate fil-ocl 0.19.6 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.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-13/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.55.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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ac3b95e3b77ad252a117b2920c0b0ed9ed75089f12949b9a0562219eb7268c90 [INFO] running `Command { std: "docker" "start" "-a" "ac3b95e3b77ad252a117b2920c0b0ed9ed75089f12949b9a0562219eb7268c90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac3b95e3b77ad252a117b2920c0b0ed9ed75089f12949b9a0562219eb7268c90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac3b95e3b77ad252a117b2920c0b0ed9ed75089f12949b9a0562219eb7268c90", kill_on_drop: false }` [INFO] [stdout] ac3b95e3b77ad252a117b2920c0b0ed9ed75089f12949b9a0562219eb7268c90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f3e0a42a707037c7c078a8d2dcd32d47aecbdd3cdf5876b622e933693ed21b7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0f3e0a42a707037c7c078a8d2dcd32d47aecbdd3cdf5876b622e933693ed21b7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling cl-sys v0.4.2 [INFO] [stderr] Compiling futures v0.1.30 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling fil-ocl-core v0.11.4 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling qutex v0.2.3 [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 synstructure v0.12.4 [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 51.60s [INFO] running `Command { std: "docker" "inspect" "0f3e0a42a707037c7c078a8d2dcd32d47aecbdd3cdf5876b622e933693ed21b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f3e0a42a707037c7c078a8d2dcd32d47aecbdd3cdf5876b622e933693ed21b7", kill_on_drop: false }` [INFO] [stdout] 0f3e0a42a707037c7c078a8d2dcd32d47aecbdd3cdf5876b622e933693ed21b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 089c780e284ba70cadac51016af6596dc038cbe2b8a501e2b34464e3c3b28e3c [INFO] running `Command { std: "docker" "start" "-a" "089c780e284ba70cadac51016af6596dc038cbe2b8a501e2b34464e3c3b28e3c", kill_on_drop: false }` [INFO] [stderr] Compiling colorify v0.2.3 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [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 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` [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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fil-ocl` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [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 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [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] 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] 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/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[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/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: 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: 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[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] ::: /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] = help: the following implementations were found: [INFO] [stdout] as Borrow<[T]>> [INFO] [stdout] [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[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[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] ::: /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] = help: the following implementations were found: [INFO] [stdout] as Borrow<[T]>> [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/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] 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] 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: 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: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/trivial-79bcd358f3f6c886.trivial.54561353-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-79bcd358f3f6c886.trivial.54561353-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-79bcd358f3f6c886.trivial.54561353-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-79bcd358f3f6c886.trivial.54561353-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-79bcd358f3f6c886.trivial.54561353-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-79bcd358f3f6c886.trivial.54561353-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-79bcd358f3f6c886.trivial.54561353-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-79bcd358f3f6c886.trivial.54561353-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-79bcd358f3f6c886.trivial.54561353-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-79bcd358f3f6c886.trivial.54561353-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-79bcd358f3f6c886.trivial.54561353-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-79bcd358f3f6c886.trivial.54561353-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-79bcd358f3f6c886.trivial.54561353-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-79bcd358f3f6c886.trivial.54561353-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-79bcd358f3f6c886.trivial.54561353-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-79bcd358f3f6c886.trivial.54561353-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-79bcd358f3f6c886.1rc0yhdavkakhxlr.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libfil_ocl-6c776da1f1ca81bd.rlib" "/opt/rustwide/target/debug/deps/libqutex-5664012266e744de.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam-144e8ece493557af.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_queue-49dbcae5e6ff3fa0.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_channel-58f5c65353b647fc.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-9590d4cba07b803b.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-07902b232e4c6bf7.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-a57a6a52cef5676e.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-33487413c0d3941b.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-e176cdcd5c7de599.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-df981c5871754530.rlib" "/opt/rustwide/target/debug/deps/libmaybe_uninit-2b57d9522de422df.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-4dc40f94662accb2.rlib" "/opt/rustwide/target/debug/deps/libnodrop-10739558e1f9fdfb.rlib" "/opt/rustwide/target/debug/deps/libfil_ocl_core-d2759ecf5f80858b.rlib" "/opt/rustwide/target/debug/deps/libcl_sys-5e84fb03b5f59deb.rlib" "/opt/rustwide/target/debug/deps/libocl_core_vector-0d6925095a565d16.rlib" "/opt/rustwide/target/debug/deps/libnum-4b9d1909898b2979.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-36996bf3774b282a.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-256b00ece52bbf2f.rlib" "/opt/rustwide/target/debug/deps/librand-0f5a5417cc2e5923.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-25b3d39e048407a4.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-cc97572375c3091b.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-16d1c858e21fd796.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-d502c4cc34a0f1bf.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-ae5885e72b77ecbf.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-27a2755afd7ed9c3.rlib" "/opt/rustwide/target/debug/deps/libbitflags-117d41ac256572da.rlib" "/opt/rustwide/target/debug/deps/libfailure-221693de23c4878e.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-f72e0ee9c33070b9.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-12db5f0e1def128f.rlib" "/opt/rustwide/target/debug/deps/libadler-19724b5776b2459a.rlib" "/opt/rustwide/target/debug/deps/libobject-e8ea05f7d19f2c4e.rlib" "/opt/rustwide/target/debug/deps/liblibc-be72690315b5ab3e.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-cf893eb4714a5533.rlib" "/opt/rustwide/target/debug/deps/libgimli-96bbd316763549a0.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-dece450273084492.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-0cc08d6079258aff.rlib" "/opt/rustwide/target/debug/deps/libfutures-2dcfcf526a0ecb7f.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-7b6445d372d84407.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.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.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/trivial-79bcd358f3f6c886" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-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-1bc37e9f21175a3f.async_process.0699d873-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-1bc37e9f21175a3f.async_process.0699d873-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-1bc37e9f21175a3f.async_process.0699d873-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-1bc37e9f21175a3f.async_process.0699d873-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-1bc37e9f21175a3f.async_process.0699d873-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-1bc37e9f21175a3f.async_process.0699d873-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-1bc37e9f21175a3f.async_process.0699d873-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-1bc37e9f21175a3f.async_process.0699d873-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-1bc37e9f21175a3f.async_process.0699d873-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-1bc37e9f21175a3f.async_process.0699d873-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-1bc37e9f21175a3f.async_process.0699d873-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-1bc37e9f21175a3f.async_process.0699d873-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-1bc37e9f21175a3f.async_process.0699d873-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-1bc37e9f21175a3f.async_process.0699d873-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-1bc37e9f21175a3f.async_process.0699d873-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-1bc37e9f21175a3f.async_process.0699d873-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-1bc37e9f21175a3f.1xiv229dcw7qg56s.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libcolorify-dd72cb5c84de1bc8.rlib" "/opt/rustwide/target/debug/deps/libfil_ocl-6c776da1f1ca81bd.rlib" "/opt/rustwide/target/debug/deps/libqutex-5664012266e744de.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam-144e8ece493557af.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_queue-49dbcae5e6ff3fa0.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_channel-58f5c65353b647fc.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-9590d4cba07b803b.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-07902b232e4c6bf7.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-a57a6a52cef5676e.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-33487413c0d3941b.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-e176cdcd5c7de599.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-df981c5871754530.rlib" "/opt/rustwide/target/debug/deps/libmaybe_uninit-2b57d9522de422df.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-4dc40f94662accb2.rlib" "/opt/rustwide/target/debug/deps/libnodrop-10739558e1f9fdfb.rlib" "/opt/rustwide/target/debug/deps/libfil_ocl_core-d2759ecf5f80858b.rlib" "/opt/rustwide/target/debug/deps/libcl_sys-5e84fb03b5f59deb.rlib" "/opt/rustwide/target/debug/deps/libocl_core_vector-0d6925095a565d16.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-ae5885e72b77ecbf.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-27a2755afd7ed9c3.rlib" "/opt/rustwide/target/debug/deps/libbitflags-117d41ac256572da.rlib" "/opt/rustwide/target/debug/deps/libfailure-221693de23c4878e.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-f72e0ee9c33070b9.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-12db5f0e1def128f.rlib" "/opt/rustwide/target/debug/deps/libadler-19724b5776b2459a.rlib" "/opt/rustwide/target/debug/deps/libobject-e8ea05f7d19f2c4e.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-cf893eb4714a5533.rlib" "/opt/rustwide/target/debug/deps/libgimli-96bbd316763549a0.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-dece450273084492.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-0cc08d6079258aff.rlib" "/opt/rustwide/target/debug/deps/libchrono-8c36299fd53311d5.rlib" "/opt/rustwide/target/debug/deps/libnum-4b9d1909898b2979.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-36996bf3774b282a.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-256b00ece52bbf2f.rlib" "/opt/rustwide/target/debug/deps/librand-0f5a5417cc2e5923.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-16d1c858e21fd796.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-d502c4cc34a0f1bf.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-25b3d39e048407a4.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-cc97572375c3091b.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-7b6445d372d84407.rlib" "/opt/rustwide/target/debug/deps/libtime-a436674d7a26edfb.rlib" "/opt/rustwide/target/debug/deps/libfutures_cpupool-0b05df6e5583233f.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-f76ee13f14dc9479.rlib" "/opt/rustwide/target/debug/deps/liblibc-be72690315b5ab3e.rlib" "/opt/rustwide/target/debug/deps/libfutures-2dcfcf526a0ecb7f.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.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.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/async_process-1bc37e9f21175a3f" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-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/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[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] ::: 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] = help: the following implementations were found: [INFO] [stdout] as Borrow<[T]>> [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-31460b8137fbd560.async_cycles.a7933e3e-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-31460b8137fbd560.async_cycles.a7933e3e-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-31460b8137fbd560.async_cycles.a7933e3e-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-31460b8137fbd560.async_cycles.a7933e3e-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-31460b8137fbd560.async_cycles.a7933e3e-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-31460b8137fbd560.async_cycles.a7933e3e-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-31460b8137fbd560.async_cycles.a7933e3e-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-31460b8137fbd560.async_cycles.a7933e3e-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-31460b8137fbd560.async_cycles.a7933e3e-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-31460b8137fbd560.async_cycles.a7933e3e-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-31460b8137fbd560.async_cycles.a7933e3e-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-31460b8137fbd560.async_cycles.a7933e3e-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-31460b8137fbd560.async_cycles.a7933e3e-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-31460b8137fbd560.async_cycles.a7933e3e-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-31460b8137fbd560.async_cycles.a7933e3e-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-31460b8137fbd560.async_cycles.a7933e3e-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-31460b8137fbd560.3dafvyu0ooypgrpc.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libcolorify-dd72cb5c84de1bc8.rlib" "/opt/rustwide/target/debug/deps/libfil_ocl-6c776da1f1ca81bd.rlib" "/opt/rustwide/target/debug/deps/libqutex-5664012266e744de.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam-144e8ece493557af.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_queue-49dbcae5e6ff3fa0.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_channel-58f5c65353b647fc.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-9590d4cba07b803b.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-07902b232e4c6bf7.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-a57a6a52cef5676e.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-33487413c0d3941b.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-e176cdcd5c7de599.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-df981c5871754530.rlib" "/opt/rustwide/target/debug/deps/libmaybe_uninit-2b57d9522de422df.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-4dc40f94662accb2.rlib" "/opt/rustwide/target/debug/deps/libnodrop-10739558e1f9fdfb.rlib" "/opt/rustwide/target/debug/deps/libfil_ocl_core-d2759ecf5f80858b.rlib" "/opt/rustwide/target/debug/deps/libcl_sys-5e84fb03b5f59deb.rlib" "/opt/rustwide/target/debug/deps/libocl_core_vector-0d6925095a565d16.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-ae5885e72b77ecbf.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-27a2755afd7ed9c3.rlib" "/opt/rustwide/target/debug/deps/libbitflags-117d41ac256572da.rlib" "/opt/rustwide/target/debug/deps/libfailure-221693de23c4878e.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-f72e0ee9c33070b9.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-12db5f0e1def128f.rlib" "/opt/rustwide/target/debug/deps/libadler-19724b5776b2459a.rlib" "/opt/rustwide/target/debug/deps/libobject-e8ea05f7d19f2c4e.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-cf893eb4714a5533.rlib" "/opt/rustwide/target/debug/deps/libgimli-96bbd316763549a0.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-dece450273084492.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-0cc08d6079258aff.rlib" "/opt/rustwide/target/debug/deps/libfutures_cpupool-0b05df6e5583233f.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-f76ee13f14dc9479.rlib" "/opt/rustwide/target/debug/deps/libfutures-2dcfcf526a0ecb7f.rlib" "/opt/rustwide/target/debug/deps/libchrono-8c36299fd53311d5.rlib" "/opt/rustwide/target/debug/deps/libnum-4b9d1909898b2979.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-36996bf3774b282a.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-256b00ece52bbf2f.rlib" "/opt/rustwide/target/debug/deps/librand-0f5a5417cc2e5923.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-16d1c858e21fd796.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-d502c4cc34a0f1bf.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-25b3d39e048407a4.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-cc97572375c3091b.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-7b6445d372d84407.rlib" "/opt/rustwide/target/debug/deps/libtime-a436674d7a26edfb.rlib" "/opt/rustwide/target/debug/deps/liblibc-be72690315b5ab3e.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.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.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/async_cycles-31460b8137fbd560" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-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[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" "089c780e284ba70cadac51016af6596dc038cbe2b8a501e2b34464e3c3b28e3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "089c780e284ba70cadac51016af6596dc038cbe2b8a501e2b34464e3c3b28e3c", kill_on_drop: false }` [INFO] [stdout] 089c780e284ba70cadac51016af6596dc038cbe2b8a501e2b34464e3c3b28e3c