[INFO] fetching crate fil-ocl 0.19.6... [INFO] checking fil-ocl-0.19.6 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate fil-ocl 0.19.6 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate fil-ocl 0.19.6 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fil-ocl 0.19.6 [INFO] finished tweaking crates.io crate fil-ocl 0.19.6 [INFO] tweaked toml for crates.io crate fil-ocl 0.19.6 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate crates.io crate fil-ocl 0.19.6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fil-ocl-core v0.11.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 011d477df2ba6473cc2ac008d362d22b9b3fb9260939de040d43ab9551878eac [INFO] running `Command { std: "docker" "start" "-a" "011d477df2ba6473cc2ac008d362d22b9b3fb9260939de040d43ab9551878eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "011d477df2ba6473cc2ac008d362d22b9b3fb9260939de040d43ab9551878eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "011d477df2ba6473cc2ac008d362d22b9b3fb9260939de040d43ab9551878eac", kill_on_drop: false }` [INFO] [stdout] 011d477df2ba6473cc2ac008d362d22b9b3fb9260939de040d43ab9551878eac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc27d4a8c08cd79f9b5fe981c595125074480bc9c3ba295571124595ffa12ed1 [INFO] running `Command { std: "docker" "start" "-a" "bc27d4a8c08cd79f9b5fe981c595125074480bc9c3ba295571124595ffa12ed1", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling cl-sys v0.4.2 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking colorify v0.2.3 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking find_folder v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Compiling fil-ocl-core v0.11.4 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking qutex v0.2.3 [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] Checking failure v0.1.8 [INFO] [stderr] Checking fil-ocl v0.19.6 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/standard/event.rs:293:22 [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] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/threads.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/info.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/img_formats.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/async_process.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/trivial.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/device_check.rs from 2018 edition to 2021 [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/standard/event.rs:293:22 [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] Migrating examples/event_callbacks.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/timed.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/buffer_sink.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/info_core.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/async_cycles.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/async_menagerie.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/basics.rs from 2018 edition to 2021 [INFO] [stdout] error[E0599]: no method named `len` found for enum `std::result::Result` 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` 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` 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` 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] = help: the following implementations were found: [INFO] [stdout] as Borrow<[T]>> [INFO] [stdout] note: required by a bound in `device::Device::list_all` [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] [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[E0599]: no method named `len` found for enum `Result` 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 `Result, ocl::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for enum `Result` 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 `Result, ocl::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `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] 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] [stderr] error: could not compile `fil-ocl` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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] = help: the following implementations were found: [INFO] [stdout] as Borrow<[T]>> [INFO] [stdout] note: required by a bound in `ocl::Device::list_all` [INFO] [stdout] --> /tmp/fixit/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] [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] 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: 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[E0599]: no method named `len` found for enum `Result` 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 `Result, ocl::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for enum `Result` 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 `Result, ocl::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `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: E0599, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ocl_extras` [INFO] [stdout] --> examples/timed.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate ocl_extras; [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] [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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ocl_extras` [INFO] [stdout] --> examples/event_callbacks.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate ocl_extras; [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] [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] = help: the following implementations were found: [INFO] [stdout] as Borrow<[T]>> [INFO] [stdout] note: required by a bound in `ocl::Device::list_all` [INFO] [stdout] --> /tmp/fixit/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] [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/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] 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] [stdout] error[E0463]: can't find crate for `ocl_extras` [INFO] [stdout] --> examples/async_menagerie.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate ocl_extras as extras; [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] [stdout] error[E0463]: can't find crate for `ocl_extras` [INFO] [stdout] --> examples/basics.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate ocl_extras; [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] [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] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "bc27d4a8c08cd79f9b5fe981c595125074480bc9c3ba295571124595ffa12ed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc27d4a8c08cd79f9b5fe981c595125074480bc9c3ba295571124595ffa12ed1", kill_on_drop: false }` [INFO] [stdout] bc27d4a8c08cd79f9b5fe981c595125074480bc9c3ba295571124595ffa12ed1