[INFO] fetching crate forkjoin 2.3.0... [INFO] checking forkjoin-2.3.0 against beta for pr-78714 [INFO] extracting crate forkjoin 2.3.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate forkjoin 2.3.0 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate forkjoin 2.3.0 [INFO] finished tweaking crates.io crate forkjoin 2.3.0 [INFO] tweaked toml for crates.io crate forkjoin 2.3.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecc1cd5348cf897c003081f2ca1081eba6ae753fee7d2cb07923e7f64d0bb358 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ecc1cd5348cf897c003081f2ca1081eba6ae753fee7d2cb07923e7f64d0bb358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecc1cd5348cf897c003081f2ca1081eba6ae753fee7d2cb07923e7f64d0bb358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecc1cd5348cf897c003081f2ca1081eba6ae753fee7d2cb07923e7f64d0bb358", kill_on_drop: false }` [INFO] [stdout] ecc1cd5348cf897c003081f2ca1081eba6ae753fee7d2cb07923e7f64d0bb358 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52081c95bd32b0907f8c95d342de130a0e817085fcfef4606d9670d30fb48612 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "52081c95bd32b0907f8c95d342de130a0e817085fcfef4606d9670d30fb48612", kill_on_drop: false }` [INFO] [stderr] Checking deque v0.2.3 [INFO] [stderr] Checking forkjoin v2.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> src/workerthread.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | use libc::funcs::posix88::unistd::usleep; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> src/workerthread.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | use libc::funcs::posix88::unistd::usleep; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JoinGuard` in module `thread` [INFO] [stdout] --> src/workerthread.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn spawn(mut self) -> thread::JoinGuard<'a, ()> { [INFO] [stdout] | ^^^^^^^^^ not found in `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usleep` in this scope [INFO] [stdout] --> src/workerthread.rs:147:34 [INFO] [stdout] | [INFO] [stdout] 147 | unsafe { usleep(backoff_sleep); } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 16 | use libc::usleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JoinGuard` in module `thread` [INFO] [stdout] --> src/poolsupervisor.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | joinguard: thread::JoinGuard<'thread, ()>, [INFO] [stdout] | ^^^^^^^^^ not found in `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JoinGuard` in module `thread` [INFO] [stdout] --> src/poolsupervisor.rs:54:79 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn spawn(nthreads: usize) -> (Sender>, thread::JoinGuard<'t, ()>) { [INFO] [stdout] | ^^^^^^^^^ not found in `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JoinGuard` in module `thread` [INFO] [stdout] --> src/poolsupervisor.rs:122:38 [INFO] [stdout] | [INFO] [stdout] 122 | fn start_thread(self) -> thread::JoinGuard<'t, ()> { [INFO] [stdout] | ^^^^^^^^^ not found in `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JoinGuard` in module `thread` [INFO] [stdout] --> src/lib.rs:449:24 [INFO] [stdout] | [INFO] [stdout] 449 | joinguard: thread::JoinGuard<'a, ()>, [INFO] [stdout] | ^^^^^^^^^ not found in `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:221:1 [INFO] [stdout] | [INFO] [stdout] 221 | #![feature(unique)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | #![feature(scoped)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | #![feature(libc)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:229:1 [INFO] [stdout] | [INFO] [stdout] 229 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | use std::ptr::Unique; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:348:10 [INFO] [stdout] | [INFO] [stdout] 348 | Join(Unique, Arc>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/workerthread.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | use std::ptr::{Unique,write}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/workerthread.rs:290:55 [INFO] [stdout] | [INFO] [stdout] 290 | fn create_result_vec(n: usize) -> (Vec, Vec>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/workerthread.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 292 | let mut rets_ptr: Vec> = Vec::with_capacity(n); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/workerthread.rs:297:27 [INFO] [stdout] | [INFO] [stdout] 297 | rets_ptr.push(Unique::new(ptr_0.offset(i))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JoinGuard` in module `thread` [INFO] [stdout] --> src/workerthread.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn spawn(mut self) -> thread::JoinGuard<'a, ()> { [INFO] [stdout] | ^^^^^^^^^ not found in `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usleep` in this scope [INFO] [stdout] --> src/workerthread.rs:147:34 [INFO] [stdout] | [INFO] [stdout] 147 | unsafe { usleep(backoff_sleep); } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 16 | use libc::usleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JoinGuard` in module `thread` [INFO] [stdout] --> src/poolsupervisor.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | joinguard: thread::JoinGuard<'thread, ()>, [INFO] [stdout] | ^^^^^^^^^ not found in `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JoinGuard` in module `thread` [INFO] [stdout] --> src/poolsupervisor.rs:54:79 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn spawn(nthreads: usize) -> (Sender>, thread::JoinGuard<'t, ()>) { [INFO] [stdout] | ^^^^^^^^^ not found in `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JoinGuard` in module `thread` [INFO] [stdout] --> src/poolsupervisor.rs:122:38 [INFO] [stdout] | [INFO] [stdout] 122 | fn start_thread(self) -> thread::JoinGuard<'t, ()> { [INFO] [stdout] | ^^^^^^^^^ not found in `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JoinGuard` in module `thread` [INFO] [stdout] --> src/lib.rs:449:24 [INFO] [stdout] | [INFO] [stdout] 449 | joinguard: thread::JoinGuard<'a, ()>, [INFO] [stdout] | ^^^^^^^^^ not found in `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:221:1 [INFO] [stdout] | [INFO] [stdout] 221 | #![feature(unique)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | #![feature(scoped)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | #![feature(libc)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:229:1 [INFO] [stdout] | [INFO] [stdout] 229 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | use std::ptr::Unique; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:348:10 [INFO] [stdout] | [INFO] [stdout] 348 | Join(Unique, Arc>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/workerthread.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | use std::ptr::{Unique,write}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/workerthread.rs:290:55 [INFO] [stdout] | [INFO] [stdout] 290 | fn create_result_vec(n: usize) -> (Vec, Vec>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/workerthread.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 292 | let mut rets_ptr: Vec> = Vec::with_capacity(n); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/workerthread.rs:297:27 [INFO] [stdout] | [INFO] [stdout] 297 | rets_ptr.push(Unique::new(ptr_0.offset(i))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: parameter `'thread` is never used [INFO] [stdout] --> src/poolsupervisor.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct PoolSupervisorThread<'thread, Arg: Send, Ret: Send + Sync> { [INFO] [stdout] | ^^^^^^^ unused parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'thread`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0392, E0412, E0425, E0433, E0554, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] [stderr] error: could not compile `forkjoin` [INFO] [stdout] error[E0392]: parameter `'thread` is never used [INFO] [stdout] --> src/poolsupervisor.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct PoolSupervisorThread<'thread, Arg: Send, Ret: Send + Sync> { [INFO] [stdout] | ^^^^^^^ unused parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'thread`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [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] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0392, E0412, E0425, E0433, E0554, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "52081c95bd32b0907f8c95d342de130a0e817085fcfef4606d9670d30fb48612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52081c95bd32b0907f8c95d342de130a0e817085fcfef4606d9670d30fb48612", kill_on_drop: false }` [INFO] [stdout] 52081c95bd32b0907f8c95d342de130a0e817085fcfef4606d9670d30fb48612