[INFO] crate fil-ocl 0.19.4 is already in cache [INFO] checking fil-ocl-0.19.4 against master#d939f708d960161d23b964309ba68ff207fc0ead for pr-70087 [INFO] extracting crate fil-ocl 0.19.4 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate fil-ocl 0.19.4 on toolchain d939f708d960161d23b964309ba68ff207fc0ead [INFO] running `"/workspace/cargo-home/bin/cargo" "+d939f708d960161d23b964309ba68ff207fc0ead" "read-manifest" "--manifest-path" "Cargo.toml"` [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-6/source/Cargo.toml [INFO] crate crates.io crate fil-ocl 0.19.4 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+d939f708d960161d23b964309ba68ff207fc0ead" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+d939f708d960161d23b964309ba68ff207fc0ead" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a3d7c7a1051e6ff07db6ce5df44bc5cfe05bb9e7f5d1ac4a2dcaf9ed1a9e1435 [INFO] running `"docker" "start" "-a" "a3d7c7a1051e6ff07db6ce5df44bc5cfe05bb9e7f5d1ac4a2dcaf9ed1a9e1435"` [INFO] [stderr] Compiling cl-sys v0.4.2 [INFO] [stderr] Checking colorify v0.2.3 [INFO] [stderr] Checking find_folder v0.3.0 [INFO] [stderr] Checking futures-core-preview v0.2.3 [INFO] [stderr] Checking arrayvec v0.4.12 [INFO] [stderr] Compiling ocl-core v0.11.2 [INFO] [stderr] Compiling fil-ocl-core v0.11.3 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-iter v0.1.39 [INFO] [stderr] Checking futures-channel-preview v0.2.2 [INFO] [stderr] Checking futures-io-preview v0.2.2 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking futures-sink-preview v0.2.2 [INFO] [stderr] Checking futures-util-preview v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking crossbeam v0.7.2 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking qutex v0.2.3 [INFO] [stderr] Compiling failure_derive v0.1.6 [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] 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 failure v0.1.6 [INFO] [stderr] Checking fil-ocl v0.19.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking ocl v0.19.3 [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/standard/event.rs:293:17 [INFO] [stderr] | [INFO] [stderr] 293 | array = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] Checking ocl-extras v0.1.1 [INFO] [stderr] error[E0277]: the trait bound `T: ocl_core::traits::OclPrm` is not satisfied [INFO] [stderr] --> examples/async_menagerie.rs:119:73 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn fill(&self, pattern: T, cmd_idx: usize, buf_pool: &SubBufferPool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the trait `ocl_core::traits::OclPrm` is not implemented for `T` [INFO] [stderr] | [INFO] [stderr] help: consider further restricting this bound with `+ ocl_core::traits::OclPrm` [INFO] [stderr] --> examples/async_menagerie.rs:119:20 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn fill(&self, pattern: T, cmd_idx: usize, buf_pool: &SubBufferPool) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] = note: required by `extras::SubBufferPool` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `T: ocl_core::traits::OclPrm` is not satisfied [INFO] [stderr] --> examples/async_menagerie.rs:137:60 [INFO] [stderr] | [INFO] [stderr] 137 | pub fn map(&self, cmd_idx: usize, buf_pool: &SubBufferPool) -> FutureMemMap [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the trait `ocl_core::traits::OclPrm` is not implemented for `T` [INFO] [stderr] | [INFO] [stderr] help: consider further restricting this bound with `+ ocl_core::traits::OclPrm` [INFO] [stderr] --> examples/async_menagerie.rs:137:19 [INFO] [stderr] | [INFO] [stderr] 137 | pub fn map(&self, cmd_idx: usize, buf_pool: &SubBufferPool) -> FutureMemMap [INFO] [stderr] | ^^^^^^ [INFO] [stderr] = note: required by `extras::SubBufferPool` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `len` found for enum `std::result::Result, ocl::Error>` in the current scope [INFO] [stderr] --> examples/info.rs:35:69 [INFO] [stderr] | [INFO] [stderr] 35 | println!("Looping through avaliable platforms ({}):", platforms.len()); [INFO] [stderr] | ^^^ method not found in `std::result::Result, ocl::Error>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `len` found for enum `std::result::Result, ocl::Error>` in the current scope [INFO] [stderr] --> examples/info.rs:38:31 [INFO] [stderr] | [INFO] [stderr] 38 | for p_idx in 0..platforms.len() { [INFO] [stderr] | ^^^ method not found in `std::result::Result, ocl::Error>` [INFO] [stderr] [INFO] [stderr] error[E0608]: cannot index into a value of type `std::result::Result, ocl::Error>` [INFO] [stderr] --> examples/info.rs:39:25 [INFO] [stderr] | [INFO] [stderr] 39 | let platform = &platforms[p_idx]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `T: ocl_core::traits::OclPrm` is not satisfied [INFO] [stderr] --> examples/async_menagerie.rs:170:61 [INFO] [stderr] | [INFO] [stderr] 170 | pub fn copy(&self, cmd_idx: usize, buf_pool: &SubBufferPool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the trait `ocl_core::traits::OclPrm` is not implemented for `T` [INFO] [stderr] | [INFO] [stderr] help: consider further restricting this bound with `+ ocl_core::traits::OclPrm` [INFO] [stderr] --> examples/async_menagerie.rs:170:20 [INFO] [stderr] | [INFO] [stderr] 170 | pub fn copy(&self, cmd_idx: usize, buf_pool: &SubBufferPool) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] = note: required by `extras::SubBufferPool` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `len` found for enum `std::result::Result, ocl::Error>` in the current scope [INFO] [stderr] --> examples/threads.rs:34:69 [INFO] [stderr] | [INFO] [stderr] 34 | println!("Looping through avaliable platforms ({}):", platforms.len()); [INFO] [stderr] | ^^^ method not found in `std::result::Result, ocl::Error>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `len` found for enum `std::result::Result, ocl::Error>` in the current scope [INFO] [stderr] --> examples/threads.rs:37:31 [INFO] [stderr] | [INFO] [stderr] 37 | for p_idx in 0..platforms.len() { [INFO] [stderr] | ^^^ method not found in `std::result::Result, ocl::Error>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error[E0608]: cannot index into a value of type `std::result::Result, ocl::Error>` [INFO] [stderr] --> examples/threads.rs:38:25 [INFO] [stderr] | [INFO] [stderr] 38 | let platform = &platforms[p_idx]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0599, E0608. [INFO] [stderr] For more information about an error, try `rustc --explain E0599`. [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] [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] [stderr] error[E0277]: the trait bound `&std::vec::Vec: std::borrow::Borrow` is not satisfied [INFO] [stderr] --> examples/img_formats.rs:8:49 [INFO] [stderr] | [INFO] [stderr] 8 | for (d_idx, device) in Device::list_all(&platform)?.into_iter().enumerate() { [INFO] [stderr] | -^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | the trait `std::borrow::Borrow` is not implemented for `&std::vec::Vec` [INFO] [stderr] | help: consider removing the leading `&`-reference [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/workdir/src/standard/device.rs:343:24 [INFO] [stderr] | [INFO] [stderr] 343 | pub fn list_all>(platform: P) -> OclResult> { [INFO] [stderr] | ---------------- required by this bound in `ocl::Device::list_all` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as std::borrow::Borrow<[T]>> [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `name` found for struct `std::vec::Vec` in the current scope [INFO] [stderr] --> examples/img_formats.rs:9:66 [INFO] [stderr] | [INFO] [stderr] 9 | printlnc!(blue: "Platform [{}]: {}", p_idx, platform.name()?); [INFO] [stderr] | ^^^^ method not found in `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0599, E0608. [INFO] [stderr] For more information about an error, try `rustc --explain E0599`. [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] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> examples/img_formats.rs:12:55 [INFO] [stderr] | [INFO] [stderr] 12 | let context = Context::builder().platform(platform).devices(device).build()?; [INFO] [stderr] | ^^^^^^^^ expected struct `ocl::Platform`, found struct `std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `ocl::Platform` [INFO] [stderr] found struct `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [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] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> examples/info_core.rs:573:34 [INFO] [stderr] | [INFO] [stderr] 573 | print_platform(plat_idx, platform)?; [INFO] [stderr] | ^^^^^^^^ expected struct `ocl::Platform`, found struct `std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `ocl::Platform` [INFO] [stderr] found struct `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `fil-ocl`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a3d7c7a1051e6ff07db6ce5df44bc5cfe05bb9e7f5d1ac4a2dcaf9ed1a9e1435"` [INFO] running `"docker" "rm" "-f" "a3d7c7a1051e6ff07db6ce5df44bc5cfe05bb9e7f5d1ac4a2dcaf9ed1a9e1435"` [INFO] [stdout] a3d7c7a1051e6ff07db6ce5df44bc5cfe05bb9e7f5d1ac4a2dcaf9ed1a9e1435