[INFO] crate fil-ocl 0.19.4 is already in cache [INFO] checking fil-ocl-0.19.4 against master#212aa3ea28d91a97d1e1261709c0b6e6790788e6 for pr-69340 [INFO] extracting crate fil-ocl 0.19.4 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate fil-ocl 0.19.4 on toolchain 212aa3ea28d91a97d1e1261709c0b6e6790788e6 [INFO] running `"/workspace/cargo-home/bin/cargo" "+212aa3ea28d91a97d1e1261709c0b6e6790788e6" "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-5/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" "+212aa3ea28d91a97d1e1261709c0b6e6790788e6" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+212aa3ea28d91a97d1e1261709c0b6e6790788e6" "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] 0ea860840fe065944988f943bf4fdb91dfeab5fc999604f38bddef9013fd0217 [INFO] running `"docker" "start" "-a" "0ea860840fe065944988f943bf4fdb91dfeab5fc999604f38bddef9013fd0217"` [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling cl-sys v0.4.2 [INFO] [stderr] Checking find_folder v0.3.0 [INFO] [stderr] Checking colorify v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking futures-core-preview v0.2.3 [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 arrayvec v0.4.12 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking futures-channel-preview v0.2.2 [INFO] [stderr] Checking futures-io-preview v0.2.2 [INFO] [stderr] Checking futures-sink-preview v0.2.2 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking futures-util-preview v0.2.2 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-iter v0.1.39 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking crossbeam v0.7.2 [INFO] [stderr] Checking qutex v0.2.3 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking futures-executor-preview v0.2.2 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking futures-stable-preview v0.2.3 [INFO] [stderr] Checking ocl-core-vector v0.1.0 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking futures-async-runtime-preview v0.2.3 [INFO] [stderr] Checking futures-preview v0.2.2 [INFO] [stderr] Checking ocl v0.19.3 [INFO] [stderr] Checking fil-ocl v0.19.4 (/opt/rustwide/workdir) [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[E0463]: can't find crate for `ocl` [INFO] [stderr] --> examples/buffer_sink.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | extern crate ocl; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0463`. [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[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[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[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[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] 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] error[E0599]: no method named `len` found for enum `std::result::Result, error::Error>` in the current scope [INFO] [stderr] --> src/tests/concurrent.rs:61:69 [INFO] [stderr] | [INFO] [stderr] 61 | println!("Looping through avaliable platforms ({}):", platforms.len()); [INFO] [stderr] | ^^^ method not found in `std::result::Result, error::Error>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `len` found for enum `std::result::Result, error::Error>` in the current scope [INFO] [stderr] --> src/tests/concurrent.rs:64:31 [INFO] [stderr] | [INFO] [stderr] 64 | for p_idx in 0..platforms.len() { [INFO] [stderr] | ^^^ method not found in `std::result::Result, error::Error>` [INFO] [stderr] [INFO] [stderr] error[E0608]: cannot index into a value of type `std::result::Result, error::Error>` [INFO] [stderr] --> src/tests/concurrent.rs:65:25 [INFO] [stderr] | [INFO] [stderr] 65 | let platform = &platforms[p_idx]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `len` found for enum `std::result::Result, error::Error>` in the current scope [INFO] [stderr] --> src/tests/context_props.rs:17:73 [INFO] [stderr] | [INFO] [stderr] 17 | println!("Looping through each avaliable platform ({}):", platforms.len()); [INFO] [stderr] | ^^^ method not found in `std::result::Result, error::Error>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `len` found for enum `std::result::Result, error::Error>` in the current scope [INFO] [stderr] --> src/tests/context_props.rs:20:31 [INFO] [stderr] | [INFO] [stderr] 20 | for p_idx in 0..platforms.len() { [INFO] [stderr] | ^^^ method not found in `std::result::Result, error::Error>` [INFO] [stderr] [INFO] [stderr] error[E0608]: cannot index into a value of type `std::result::Result, error::Error>` [INFO] [stderr] --> src/tests/context_props.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | let platform = &platforms[p_idx]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::vec::Vec: std::borrow::Borrow` is not satisfied [INFO] [stderr] --> src/tests/async.rs:391:40 [INFO] [stderr] | [INFO] [stderr] 391 | for device in Device::list_all(platform).unwrap() { [INFO] [stderr] | ^^^^^^^^ the trait `std::borrow::Borrow` is not implemented for `std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] ::: src/standard/device.rs:343:12 [INFO] [stderr] | [INFO] [stderr] 343 | pub fn list_all>(platform: P) -> OclResult> { [INFO] [stderr] | -------- ---------------- required by this bound in `standard::device::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[E0308]: mismatched types [INFO] [stderr] --> src/tests/async.rs:395:27 [INFO] [stderr] | [INFO] [stderr] 395 | .platform(platform) [INFO] [stderr] | ^^^^^^^^ expected struct `standard::platform::Platform`, found struct `std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `standard::platform::Platform` [INFO] [stderr] found struct `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0599, E0608. [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] running `"docker" "inspect" "0ea860840fe065944988f943bf4fdb91dfeab5fc999604f38bddef9013fd0217"` [INFO] running `"docker" "rm" "-f" "0ea860840fe065944988f943bf4fdb91dfeab5fc999604f38bddef9013fd0217"` [INFO] [stdout] 0ea860840fe065944988f943bf4fdb91dfeab5fc999604f38bddef9013fd0217