[INFO] crate fil-ocl 0.19.4 is already in cache [INFO] checking fil-ocl-0.19.4 against try#89c05fd3cc6404a13e1bd71450c6132a2755fa4b for pr-69741 [INFO] extracting crate fil-ocl 0.19.4 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate fil-ocl 0.19.4 on toolchain 89c05fd3cc6404a13e1bd71450c6132a2755fa4b [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "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-4/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" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "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" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "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] 1756ba954f48ac8d61df78ef6cdca09db2ca304f46779d3450f45afd0421ffad [INFO] running `"docker" "start" "-a" "1756ba954f48ac8d61df78ef6cdca09db2ca304f46779d3450f45afd0421ffad"` [INFO] [stderr] Checking nodrop v0.1.14 [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_cpus v1.11.0 [INFO] [stderr] Compiling memoffset v0.5.2 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking arrayvec v0.4.12 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking futures-channel-preview v0.2.2 [INFO] [stderr] Checking futures-io-preview v0.2.2 [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 qutex v0.2.3 [INFO] [stderr] Checking ocl v0.19.3 [INFO] [stderr] Checking futures-executor-preview v0.2.2 [INFO] [stderr] Checking fil-ocl v0.19.4 (/opt/rustwide/workdir) [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] 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[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] [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" "1756ba954f48ac8d61df78ef6cdca09db2ca304f46779d3450f45afd0421ffad"` [INFO] running `"docker" "rm" "-f" "1756ba954f48ac8d61df78ef6cdca09db2ca304f46779d3450f45afd0421ffad"` [INFO] [stdout] 1756ba954f48ac8d61df78ef6cdca09db2ca304f46779d3450f45afd0421ffad