[INFO] fetching crate fil-ocl 0.19.6... [INFO] checking fil-ocl-0.19.6 against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] extracting crate fil-ocl 0.19.6 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate fil-ocl 0.19.6 on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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-1/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cab292d084be95750393c756a54f48f36779cc63f01357f943a8ed838892f47 [INFO] running `Command { std: "docker" "start" "-a" "7cab292d084be95750393c756a54f48f36779cc63f01357f943a8ed838892f47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cab292d084be95750393c756a54f48f36779cc63f01357f943a8ed838892f47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cab292d084be95750393c756a54f48f36779cc63f01357f943a8ed838892f47", kill_on_drop: false }` [INFO] [stdout] 7cab292d084be95750393c756a54f48f36779cc63f01357f943a8ed838892f47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eabb966d25cfe7eed03ce786ca70444fc72767fda16a294a79d57e9ffc3e4bb6 [INFO] running `Command { std: "docker" "start" "-a" "eabb966d25cfe7eed03ce786ca70444fc72767fda16a294a79d57e9ffc3e4bb6", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Checking find_folder v0.3.0 [INFO] [stderr] Checking colorify v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [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 rand v0.4.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking cl-sys v0.4.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking qutex v0.2.3 [INFO] [stderr] Compiling semver v0.11.0 [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] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling fil-ocl-core v0.11.4 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking fil-ocl v0.19.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/standard/event.rs:293:17 [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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/standard/event.rs:293:17 [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] 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] ::: 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] = help: the following implementations were found: [INFO] [stdout] as Borrow<[T]>> [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: 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] [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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "eabb966d25cfe7eed03ce786ca70444fc72767fda16a294a79d57e9ffc3e4bb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eabb966d25cfe7eed03ce786ca70444fc72767fda16a294a79d57e9ffc3e4bb6", kill_on_drop: false }` [INFO] [stdout] eabb966d25cfe7eed03ce786ca70444fc72767fda16a294a79d57e9ffc3e4bb6