[INFO] crate fil-ocl 0.19.4 is already in cache [INFO] checking fil-ocl-0.19.4 against master#30ca215b4e38b32aa7abdd635c5e2d56f5724494 for pr-66037 [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 30ca215b4e38b32aa7abdd635c5e2d56f5724494 [INFO] running `"/workspace/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "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" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "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] df599e2db11205b1e40cd6593fb8a13b70c57d4fae10ef49cb52af0832f832e4 [INFO] running `"docker" "start" "-a" "df599e2db11205b1e40cd6593fb8a13b70c57d4fae10ef49cb52af0832f832e4"` [INFO] [stderr] Compiling syn v1.0.7 [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] Checking arrayvec v0.4.12 [INFO] [stderr] Compiling fil-ocl-core v0.11.3 [INFO] [stderr] Checking cl-sys v0.4.2 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking futures-channel-preview v0.2.2 [INFO] [stderr] Checking futures-io-preview v0.2.2 [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 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 ocl-core-vector v0.1.0 [INFO] [stderr] Checking chrono v0.2.25 [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] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking ocl-core v0.11.2 [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[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[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 1 leading `&`-references [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] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> examples/device_check.rs:82:1 [INFO] [stderr] | [INFO] [stderr] 82 | / lazy_static! { [INFO] [stderr] 83 | | pub static ref CONFIG_MAPPED_WRITE_OOO_ASYNC: Switches = Switches { [INFO] [stderr] 84 | | config_name: "Out of Order | Async-Future ", [INFO] [stderr] 85 | | kern: Kern { [INFO] [stderr] ... | [INFO] [stderr] 277 | | }; [INFO] [stderr] 278 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> examples/device_check.rs:82:1 [INFO] [stderr] | [INFO] [stderr] 82 | / lazy_static! { [INFO] [stderr] 83 | | pub static ref CONFIG_MAPPED_WRITE_OOO_ASYNC: Switches = Switches { [INFO] [stderr] 84 | | config_name: "Out of Order | Async-Future ", [INFO] [stderr] 85 | | kern: Kern { [INFO] [stderr] ... | [INFO] [stderr] 277 | | }; [INFO] [stderr] 278 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> examples/device_check.rs:82:1 [INFO] [stderr] | [INFO] [stderr] 82 | / lazy_static! { [INFO] [stderr] 83 | | pub static ref CONFIG_MAPPED_WRITE_OOO_ASYNC: Switches = Switches { [INFO] [stderr] 84 | | config_name: "Out of Order | Async-Future ", [INFO] [stderr] 85 | | kern: Kern { [INFO] [stderr] ... | [INFO] [stderr] 277 | | }; [INFO] [stderr] 278 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [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] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> examples/device_check.rs:82:1 [INFO] [stderr] | [INFO] [stderr] 82 | / lazy_static! { [INFO] [stderr] 83 | | pub static ref CONFIG_MAPPED_WRITE_OOO_ASYNC: Switches = Switches { [INFO] [stderr] 84 | | config_name: "Out of Order | Async-Future ", [INFO] [stderr] 85 | | kern: Kern { [INFO] [stderr] ... | [INFO] [stderr] 277 | | }; [INFO] [stderr] 278 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> examples/device_check.rs:82:1 [INFO] [stderr] | [INFO] [stderr] 82 | / lazy_static! { [INFO] [stderr] 83 | | pub static ref CONFIG_MAPPED_WRITE_OOO_ASYNC: Switches = Switches { [INFO] [stderr] 84 | | config_name: "Out of Order | Async-Future ", [INFO] [stderr] 85 | | kern: Kern { [INFO] [stderr] ... | [INFO] [stderr] 277 | | }; [INFO] [stderr] 278 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [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] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> examples/device_check.rs:82:1 [INFO] [stderr] | [INFO] [stderr] 82 | / lazy_static! { [INFO] [stderr] 83 | | pub static ref CONFIG_MAPPED_WRITE_OOO_ASYNC: Switches = Switches { [INFO] [stderr] 84 | | config_name: "Out of Order | Async-Future ", [INFO] [stderr] 85 | | kern: Kern { [INFO] [stderr] ... | [INFO] [stderr] 277 | | }; [INFO] [stderr] 278 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [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] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> examples/device_check.rs:82:1 [INFO] [stderr] | [INFO] [stderr] 82 | / lazy_static! { [INFO] [stderr] 83 | | pub static ref CONFIG_MAPPED_WRITE_OOO_ASYNC: Switches = Switches { [INFO] [stderr] 84 | | config_name: "Out of Order | Async-Future ", [INFO] [stderr] 85 | | kern: Kern { [INFO] [stderr] ... | [INFO] [stderr] 277 | | }; [INFO] [stderr] 278 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [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] 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/device_check.rs:1076:40 [INFO] [stderr] | [INFO] [stderr] 1076 | let devices = Device::list_all(&platform).unwrap(); [INFO] [stderr] | -^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | the trait `std::borrow::Borrow` is not implemented for `&std::vec::Vec` [INFO] [stderr] | help: consider removing 1 leading `&`-references [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] 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 `name` found for struct `std::vec::Vec` in the current scope [INFO] [stderr] --> examples/device_check.rs:1079:66 [INFO] [stderr] | [INFO] [stderr] 1079 | 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/device_check.rs:1085:31 [INFO] [stderr] | [INFO] [stderr] 1085 | .platform(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 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] warning: build failed, waiting for other jobs to finish... [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" "df599e2db11205b1e40cd6593fb8a13b70c57d4fae10ef49cb52af0832f832e4"` [INFO] running `"docker" "rm" "-f" "df599e2db11205b1e40cd6593fb8a13b70c57d4fae10ef49cb52af0832f832e4"` [INFO] [stdout] df599e2db11205b1e40cd6593fb8a13b70c57d4fae10ef49cb52af0832f832e4