[INFO] fetching crate fil-ocl 0.19.6... [INFO] testing fil-ocl-0.19.6 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate fil-ocl 0.19.6 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate fil-ocl 0.19.6 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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-4/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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] 5fb043717075f0289cfa04c1607be70394681c11007e1fc88cc1e4416f0ee3bc [INFO] running `Command { std: "docker" "start" "-a" "5fb043717075f0289cfa04c1607be70394681c11007e1fc88cc1e4416f0ee3bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fb043717075f0289cfa04c1607be70394681c11007e1fc88cc1e4416f0ee3bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fb043717075f0289cfa04c1607be70394681c11007e1fc88cc1e4416f0ee3bc", kill_on_drop: false }` [INFO] [stdout] 5fb043717075f0289cfa04c1607be70394681c11007e1fc88cc1e4416f0ee3bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a11b1b9f140e0d33e4885ac7f8f70ab5632f17272642bb7afa12a845754e17a2 [INFO] running `Command { std: "docker" "start" "-a" "a11b1b9f140e0d33e4885ac7f8f70ab5632f17272642bb7afa12a845754e17a2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [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 failure_derive v0.1.8 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling cl-sys v0.4.2 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling futures v0.1.30 [INFO] [stderr] Compiling nodrop v0.1.14 [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 num-iter v0.1.42 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling semver-parser v0.10.2 [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 semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling fil-ocl-core v0.11.4 [INFO] [stderr] Compiling backtrace v0.3.56 [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 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:17 [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 1m 23s [INFO] running `Command { std: "docker" "inspect" "a11b1b9f140e0d33e4885ac7f8f70ab5632f17272642bb7afa12a845754e17a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a11b1b9f140e0d33e4885ac7f8f70ab5632f17272642bb7afa12a845754e17a2", kill_on_drop: false }` [INFO] [stdout] a11b1b9f140e0d33e4885ac7f8f70ab5632f17272642bb7afa12a845754e17a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38452c39abfbe22e7894ab4f096b815ccf30e3538310ced140bb6d7c9913f6d6 [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" "38452c39abfbe22e7894ab4f096b815ccf30e3538310ced140bb6d7c9913f6d6", kill_on_drop: false }` [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:17 [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/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] [stderr] error: could not compile `fil-ocl` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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] 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] 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] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> 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] For more information about this error, try `rustc --explain E0463`. [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[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 `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 `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: 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[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[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: 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[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/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[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] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/standard/event.rs:293:17 [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/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: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/async_cycles-840c8e349a78facc.async_cycles.80d6ede4-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-840c8e349a78facc.async_cycles.80d6ede4-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-840c8e349a78facc.async_cycles.80d6ede4-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-840c8e349a78facc.async_cycles.80d6ede4-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-840c8e349a78facc.async_cycles.80d6ede4-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-840c8e349a78facc.async_cycles.80d6ede4-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-840c8e349a78facc.async_cycles.80d6ede4-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-840c8e349a78facc.async_cycles.80d6ede4-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-840c8e349a78facc.async_cycles.80d6ede4-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-840c8e349a78facc.async_cycles.80d6ede4-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-840c8e349a78facc.async_cycles.80d6ede4-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-840c8e349a78facc.async_cycles.80d6ede4-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-840c8e349a78facc.async_cycles.80d6ede4-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-840c8e349a78facc.async_cycles.80d6ede4-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-840c8e349a78facc.async_cycles.80d6ede4-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-840c8e349a78facc.async_cycles.80d6ede4-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/async_cycles-840c8e349a78facc.1xkuxhg7mukaoel6.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libcolorify-9bdc11add120dc43.rlib" "/opt/rustwide/target/debug/deps/libfil_ocl-9a5f8b5a49996bb0.rlib" "/opt/rustwide/target/debug/deps/libqutex-25589cd5adfa1297.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam-dea5bb807182261b.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_queue-8b8431d0e53e65f1.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_channel-c1bfc0cc6a39612d.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-a085e02b81d15f11.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-7a44c139d6dc676d.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-4b059ff10415273f.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-8de7ac2046d68b88.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-8d7272f5f34985a5.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-f67718dd40129317.rlib" "/opt/rustwide/target/debug/deps/libmaybe_uninit-535c06e7d7e0b10d.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-de9cbe0cb77e19a3.rlib" "/opt/rustwide/target/debug/deps/libnodrop-1cf1f76900294e5c.rlib" "/opt/rustwide/target/debug/deps/libfil_ocl_core-95684d346d183c04.rlib" "/opt/rustwide/target/debug/deps/libcl_sys-dce80837006bdc68.rlib" "/opt/rustwide/target/debug/deps/libocl_core_vector-40e13067d795286a.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-9608af7b5dd5d384.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-c8ba4ac984884c79.rlib" "/opt/rustwide/target/debug/deps/libbitflags-603a79344a96ee73.rlib" "/opt/rustwide/target/debug/deps/libfailure-1647fba77b459d5c.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-536fce331f6ba21a.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-9ac2ca5854e9d071.rlib" "/opt/rustwide/target/debug/deps/libadler-fa5dc5005530a354.rlib" "/opt/rustwide/target/debug/deps/libobject-b8ba4f774b13ad33.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-1a6f19e20b9f8044.rlib" "/opt/rustwide/target/debug/deps/libgimli-732eb38d8c3f1081.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-477585129feec44c.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-8277f2a653e33508.rlib" "/opt/rustwide/target/debug/deps/libfutures_cpupool-52271e17b02371e0.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-cbbe2212119aaf09.rlib" "/opt/rustwide/target/debug/deps/libfutures-96d9886af124b371.rlib" "/opt/rustwide/target/debug/deps/libchrono-51be231945422b5e.rlib" "/opt/rustwide/target/debug/deps/libnum-d160b3264f14ada9.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-ccd1eb97742a02c8.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-c5f717478bc838d8.rlib" "/opt/rustwide/target/debug/deps/librand-4378de0dfac3e672.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-b60b9594eacf1c4b.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-efb9cfa92b7c8c8d.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-d5869d18b76ec653.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-d176c5cb3ee0ae21.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-819abb75827096f3.rlib" "/opt/rustwide/target/debug/deps/libtime-a095c5fb9a10784a.rlib" "/opt/rustwide/target/debug/deps/liblibc-deb5f9745118925d.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d883bf2137e9181a.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-22ab8f3db88b586e.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0167c9242d0931d5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-361790a1a5505fc5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-01c2ffe1ecd05a67.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ec79e29a889fe805.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-001a3456e8a8331b.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8f1404290f0f040.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-76f46d0f23360a60.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-baf0bdc5eb131895.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a6a4ee6592d9370.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc90d9dd57195f8.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e91863ffbec5148.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69528f2eac185ac9.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.rlib" "-Wl,-Bdynamic" "-lOpenCL" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/async_cycles-840c8e349a78facc" "-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/trivial-a014c6513f7470a8.trivial.4182b18c-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-a014c6513f7470a8.trivial.4182b18c-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-a014c6513f7470a8.trivial.4182b18c-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-a014c6513f7470a8.trivial.4182b18c-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-a014c6513f7470a8.trivial.4182b18c-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-a014c6513f7470a8.trivial.4182b18c-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-a014c6513f7470a8.trivial.4182b18c-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-a014c6513f7470a8.trivial.4182b18c-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-a014c6513f7470a8.trivial.4182b18c-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-a014c6513f7470a8.trivial.4182b18c-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-a014c6513f7470a8.trivial.4182b18c-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-a014c6513f7470a8.trivial.4182b18c-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-a014c6513f7470a8.trivial.4182b18c-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-a014c6513f7470a8.trivial.4182b18c-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-a014c6513f7470a8.trivial.4182b18c-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-a014c6513f7470a8.trivial.4182b18c-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/trivial-a014c6513f7470a8.1yygsnn0e2edggir.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libfil_ocl-9a5f8b5a49996bb0.rlib" "/opt/rustwide/target/debug/deps/libqutex-25589cd5adfa1297.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam-dea5bb807182261b.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_queue-8b8431d0e53e65f1.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_channel-c1bfc0cc6a39612d.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-a085e02b81d15f11.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-7a44c139d6dc676d.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-4b059ff10415273f.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-8de7ac2046d68b88.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-8d7272f5f34985a5.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-f67718dd40129317.rlib" "/opt/rustwide/target/debug/deps/libmaybe_uninit-535c06e7d7e0b10d.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-de9cbe0cb77e19a3.rlib" "/opt/rustwide/target/debug/deps/libnodrop-1cf1f76900294e5c.rlib" "/opt/rustwide/target/debug/deps/libfil_ocl_core-95684d346d183c04.rlib" "/opt/rustwide/target/debug/deps/libcl_sys-dce80837006bdc68.rlib" "/opt/rustwide/target/debug/deps/libocl_core_vector-40e13067d795286a.rlib" "/opt/rustwide/target/debug/deps/libnum-d160b3264f14ada9.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-ccd1eb97742a02c8.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-c5f717478bc838d8.rlib" "/opt/rustwide/target/debug/deps/librand-4378de0dfac3e672.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-d5869d18b76ec653.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-d176c5cb3ee0ae21.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-b60b9594eacf1c4b.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-efb9cfa92b7c8c8d.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-9608af7b5dd5d384.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-c8ba4ac984884c79.rlib" "/opt/rustwide/target/debug/deps/libbitflags-603a79344a96ee73.rlib" "/opt/rustwide/target/debug/deps/libfailure-1647fba77b459d5c.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-536fce331f6ba21a.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-9ac2ca5854e9d071.rlib" "/opt/rustwide/target/debug/deps/libadler-fa5dc5005530a354.rlib" "/opt/rustwide/target/debug/deps/libobject-b8ba4f774b13ad33.rlib" "/opt/rustwide/target/debug/deps/liblibc-deb5f9745118925d.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-1a6f19e20b9f8044.rlib" "/opt/rustwide/target/debug/deps/libgimli-732eb38d8c3f1081.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-477585129feec44c.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-8277f2a653e33508.rlib" "/opt/rustwide/target/debug/deps/libfutures-96d9886af124b371.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-819abb75827096f3.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d883bf2137e9181a.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-22ab8f3db88b586e.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0167c9242d0931d5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-361790a1a5505fc5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-01c2ffe1ecd05a67.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ec79e29a889fe805.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-001a3456e8a8331b.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8f1404290f0f040.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-76f46d0f23360a60.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-baf0bdc5eb131895.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a6a4ee6592d9370.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc90d9dd57195f8.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e91863ffbec5148.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69528f2eac185ac9.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.rlib" "-Wl,-Bdynamic" "-lOpenCL" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/trivial-a014c6513f7470a8" "-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: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/async_process-32f82221c816c1b9.async_process.0fc25c29-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-32f82221c816c1b9.async_process.0fc25c29-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-32f82221c816c1b9.async_process.0fc25c29-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-32f82221c816c1b9.async_process.0fc25c29-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-32f82221c816c1b9.async_process.0fc25c29-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-32f82221c816c1b9.async_process.0fc25c29-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-32f82221c816c1b9.async_process.0fc25c29-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-32f82221c816c1b9.async_process.0fc25c29-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-32f82221c816c1b9.async_process.0fc25c29-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-32f82221c816c1b9.async_process.0fc25c29-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-32f82221c816c1b9.async_process.0fc25c29-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-32f82221c816c1b9.async_process.0fc25c29-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-32f82221c816c1b9.async_process.0fc25c29-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-32f82221c816c1b9.async_process.0fc25c29-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-32f82221c816c1b9.async_process.0fc25c29-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-32f82221c816c1b9.async_process.0fc25c29-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/async_process-32f82221c816c1b9.1uy5arw2dg5jia9h.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libcolorify-9bdc11add120dc43.rlib" "/opt/rustwide/target/debug/deps/libfil_ocl-9a5f8b5a49996bb0.rlib" "/opt/rustwide/target/debug/deps/libqutex-25589cd5adfa1297.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam-dea5bb807182261b.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_queue-8b8431d0e53e65f1.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_channel-c1bfc0cc6a39612d.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-a085e02b81d15f11.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-7a44c139d6dc676d.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-4b059ff10415273f.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-8de7ac2046d68b88.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-8d7272f5f34985a5.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-f67718dd40129317.rlib" "/opt/rustwide/target/debug/deps/libmaybe_uninit-535c06e7d7e0b10d.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-de9cbe0cb77e19a3.rlib" "/opt/rustwide/target/debug/deps/libnodrop-1cf1f76900294e5c.rlib" "/opt/rustwide/target/debug/deps/libfil_ocl_core-95684d346d183c04.rlib" "/opt/rustwide/target/debug/deps/libcl_sys-dce80837006bdc68.rlib" "/opt/rustwide/target/debug/deps/libocl_core_vector-40e13067d795286a.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-9608af7b5dd5d384.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-c8ba4ac984884c79.rlib" "/opt/rustwide/target/debug/deps/libbitflags-603a79344a96ee73.rlib" "/opt/rustwide/target/debug/deps/libfailure-1647fba77b459d5c.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-536fce331f6ba21a.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-9ac2ca5854e9d071.rlib" "/opt/rustwide/target/debug/deps/libadler-fa5dc5005530a354.rlib" "/opt/rustwide/target/debug/deps/libobject-b8ba4f774b13ad33.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-1a6f19e20b9f8044.rlib" "/opt/rustwide/target/debug/deps/libgimli-732eb38d8c3f1081.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-477585129feec44c.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-8277f2a653e33508.rlib" "/opt/rustwide/target/debug/deps/libchrono-51be231945422b5e.rlib" "/opt/rustwide/target/debug/deps/libnum-d160b3264f14ada9.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-ccd1eb97742a02c8.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-c5f717478bc838d8.rlib" "/opt/rustwide/target/debug/deps/librand-4378de0dfac3e672.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-b60b9594eacf1c4b.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-efb9cfa92b7c8c8d.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-d5869d18b76ec653.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-d176c5cb3ee0ae21.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-819abb75827096f3.rlib" "/opt/rustwide/target/debug/deps/libtime-a095c5fb9a10784a.rlib" "/opt/rustwide/target/debug/deps/libfutures_cpupool-52271e17b02371e0.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-cbbe2212119aaf09.rlib" "/opt/rustwide/target/debug/deps/liblibc-deb5f9745118925d.rlib" "/opt/rustwide/target/debug/deps/libfutures-96d9886af124b371.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d883bf2137e9181a.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-22ab8f3db88b586e.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0167c9242d0931d5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-361790a1a5505fc5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-01c2ffe1ecd05a67.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ec79e29a889fe805.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-001a3456e8a8331b.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8f1404290f0f040.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-76f46d0f23360a60.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-baf0bdc5eb131895.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a6a4ee6592d9370.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc90d9dd57195f8.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e91863ffbec5148.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69528f2eac185ac9.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.rlib" "-Wl,-Bdynamic" "-lOpenCL" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/async_process-32f82221c816c1b9" "-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[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[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" "38452c39abfbe22e7894ab4f096b815ccf30e3538310ced140bb6d7c9913f6d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38452c39abfbe22e7894ab4f096b815ccf30e3538310ced140bb6d7c9913f6d6", kill_on_drop: false }` [INFO] [stdout] 38452c39abfbe22e7894ab4f096b815ccf30e3538310ced140bb6d7c9913f6d6