[INFO] fetching crate fil-ocl 0.19.4... [INFO] checking fil-ocl-0.19.4 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate fil-ocl 0.19.4 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate fil-ocl 0.19.4 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate fil-ocl 0.19.4 [INFO] finished tweaking crates.io crate fil-ocl 0.19.4 [INFO] tweaked toml for crates.io crate fil-ocl 0.19.4 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate fil-ocl 0.19.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ocl-extras v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5fe06be28b1700aaaccf2d417bb2547477fe2054ec44df56d3a65194c4139c6 [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" "c5fe06be28b1700aaaccf2d417bb2547477fe2054ec44df56d3a65194c4139c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5fe06be28b1700aaaccf2d417bb2547477fe2054ec44df56d3a65194c4139c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5fe06be28b1700aaaccf2d417bb2547477fe2054ec44df56d3a65194c4139c6", kill_on_drop: false }` [INFO] [stdout] c5fe06be28b1700aaaccf2d417bb2547477fe2054ec44df56d3a65194c4139c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7532fdd73a4cf59a10317de08613c512acda668dd0c3d5579545d0541859692b [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" "7532fdd73a4cf59a10317de08613c512acda668dd0c3d5579545d0541859692b", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cl-sys v0.4.2 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Checking colorify v0.2.3 [INFO] [stderr] Checking find_folder v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling memoffset v0.5.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking backtrace-sys v0.1.32 [INFO] [stderr] Checking num_cpus v1.11.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking futures-core-preview v0.2.3 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking futures-channel-preview v0.2.2 [INFO] [stderr] Checking futures-io-preview v0.2.2 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking futures-sink-preview v0.2.2 [INFO] [stderr] Compiling ocl-core v0.11.2 [INFO] [stderr] Compiling fil-ocl-core v0.11.3 [INFO] [stderr] Checking futures-util-preview v0.2.2 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking crossbeam v0.7.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking qutex v0.2.3 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking futures-executor-preview v0.2.2 [INFO] [stderr] Checking futures-stable-preview v0.2.3 [INFO] [stderr] Checking futures-async-runtime-preview v0.2.3 [INFO] [stderr] Checking futures-preview v0.2.2 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking ocl-core-vector v0.1.0 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking ocl v0.19.3 [INFO] [stderr] Checking fil-ocl v0.19.4 (/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] [stderr] Checking ocl-extras v0.1.1 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ocl` [INFO] [stdout] --> examples/buffer_sink.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate ocl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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[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 `std::result::Result, ocl::Error>` 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 `std::result::Result, ocl::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for enum `std::result::Result, ocl::Error>` 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 `std::result::Result, ocl::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `std::result::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] 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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] 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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] 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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: ocl_core::traits::OclPrm` is not satisfied [INFO] [stdout] --> examples/async_menagerie.rs:119:73 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn fill(&self, pattern: T, cmd_idx: usize, buf_pool: &SubBufferPool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `ocl_core::traits::OclPrm` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ocl-extras-0.1.1/src/sub_buffer_pool.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct SubBufferPool { [INFO] [stdout] | ------ required by this bound in `SubBufferPool` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 119 | pub fn fill(&self, pattern: T, cmd_idx: usize, buf_pool: &SubBufferPool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: ocl_core::traits::OclPrm` is not satisfied [INFO] [stdout] --> examples/async_menagerie.rs:137:60 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn map(&self, cmd_idx: usize, buf_pool: &SubBufferPool) -> FutureMemMap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `ocl_core::traits::OclPrm` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ocl-extras-0.1.1/src/sub_buffer_pool.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct SubBufferPool { [INFO] [stdout] | ------ required by this bound in `SubBufferPool` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 137 | pub fn map(&self, cmd_idx: usize, buf_pool: &SubBufferPool) -> FutureMemMap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: ocl_core::traits::OclPrm` is not satisfied [INFO] [stdout] --> examples/async_menagerie.rs:170:61 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn copy(&self, cmd_idx: usize, buf_pool: &SubBufferPool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `ocl_core::traits::OclPrm` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ocl-extras-0.1.1/src/sub_buffer_pool.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct SubBufferPool { [INFO] [stdout] | ------ required by this bound in `SubBufferPool` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 170 | pub fn copy(&self, cmd_idx: usize, buf_pool: &SubBufferPool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for enum `std::result::Result, ocl::Error>` 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 `std::result::Result, ocl::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [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[E0599]: no method named `len` found for enum `std::result::Result, ocl::Error>` 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 `std::result::Result, ocl::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `std::result::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: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 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/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] 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[E0599]: no method named `len` found for enum `std::result::Result, error::Error>` 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, error::Error>` 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, error::Error>` 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, error::Error>` 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[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" "7532fdd73a4cf59a10317de08613c512acda668dd0c3d5579545d0541859692b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7532fdd73a4cf59a10317de08613c512acda668dd0c3d5579545d0541859692b", kill_on_drop: false }` [INFO] [stdout] 7532fdd73a4cf59a10317de08613c512acda668dd0c3d5579545d0541859692b