[INFO] crate forkjoin 2.3.0 is already in cache [INFO] extracting crate forkjoin 2.3.0 into work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/forkjoin/2.3.0 [INFO] extracting crate forkjoin 2.3.0 into work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/forkjoin/2.3.0 [INFO] validating manifest of forkjoin-2.3.0 on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of forkjoin-2.3.0 on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing forkjoin-2.3.0 [INFO] finished frobbing forkjoin-2.3.0 [INFO] frobbed toml for forkjoin-2.3.0 written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/forkjoin/2.3.0/Cargo.toml [INFO] started frobbing forkjoin-2.3.0 [INFO] finished frobbing forkjoin-2.3.0 [INFO] frobbed toml for forkjoin-2.3.0 written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/forkjoin/2.3.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking forkjoin-2.3.0 against master#60960a260f7b5c695fd0717311d72ce62dd4eb43 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-0/master#60960a260f7b5c695fd0717311d72ce62dd4eb43:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/forkjoin/2.3.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] bce2e460dec06708d3c387dfae3e85182f6152beefefb3b87a3119a5f6c4f294 [INFO] running `"docker" "start" "-a" "bce2e460dec06708d3c387dfae3e85182f6152beefefb3b87a3119a5f6c4f294"` [INFO] [stderr] Checking deque v0.2.3 [INFO] [stderr] Checking forkjoin v2.3.0 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stderr] --> src/workerthread.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 21 | use libc::funcs::posix88::unistd::usleep; [INFO] [stderr] | ^^^^^ could not find `funcs` in `libc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stderr] --> src/workerthread.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 21 | use libc::funcs::posix88::unistd::usleep; [INFO] [stderr] | ^^^^^ could not find `funcs` in `libc` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JoinGuard` in module `thread` [INFO] [stderr] --> src/workerthread.rs:81:39 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn spawn(mut self) -> thread::JoinGuard<'a, ()> { [INFO] [stderr] | ^^^^^^^^^ not found in `thread` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `usleep` in this scope [INFO] [stderr] --> src/workerthread.rs:147:34 [INFO] [stderr] | [INFO] [stderr] 147 | unsafe { usleep(backoff_sleep); } [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 16 | use libc::usleep; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JoinGuard` in module `thread` [INFO] [stderr] --> src/poolsupervisor.rs:42:24 [INFO] [stderr] | [INFO] [stderr] 42 | joinguard: thread::JoinGuard<'thread, ()>, [INFO] [stderr] | ^^^^^^^^^ not found in `thread` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JoinGuard` in module `thread` [INFO] [stderr] --> src/poolsupervisor.rs:54:79 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn spawn(nthreads: usize) -> (Sender>, thread::JoinGuard<'t, ()>) { [INFO] [stderr] | ^^^^^^^^^ not found in `thread` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JoinGuard` in module `thread` [INFO] [stderr] --> src/poolsupervisor.rs:122:38 [INFO] [stderr] | [INFO] [stderr] 122 | fn start_thread(self) -> thread::JoinGuard<'t, ()> { [INFO] [stderr] | ^^^^^^^^^ not found in `thread` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JoinGuard` in module `thread` [INFO] [stderr] --> src/lib.rs:449:24 [INFO] [stderr] | [INFO] [stderr] 449 | joinguard: thread::JoinGuard<'a, ()>, [INFO] [stderr] | ^^^^^^^^^ not found in `thread` [INFO] [stderr] [INFO] [stderr] warning: unused import: `libc::funcs::posix88::unistd::usleep` [INFO] [stderr] --> src/workerthread.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use libc::funcs::posix88::unistd::usleep; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:229:1 [INFO] [stderr] | [INFO] [stderr] 229 | extern crate libc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:231:5 [INFO] [stderr] | [INFO] [stderr] 231 | use std::ptr::Unique; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:348:10 [INFO] [stderr] | [INFO] [stderr] 348 | Join(Unique, Arc>), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/workerthread.rs:18:16 [INFO] [stderr] | [INFO] [stderr] 18 | use std::ptr::{Unique,write}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/workerthread.rs:290:55 [INFO] [stderr] | [INFO] [stderr] 290 | fn create_result_vec(n: usize) -> (Vec, Vec>) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/workerthread.rs:292:27 [INFO] [stderr] | [INFO] [stderr] 292 | let mut rets_ptr: Vec> = Vec::with_capacity(n); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/workerthread.rs:297:27 [INFO] [stderr] | [INFO] [stderr] 297 | rets_ptr.push(Unique::new(ptr_0.offset(i))); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JoinGuard` in module `thread` [INFO] [stderr] --> src/workerthread.rs:81:39 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn spawn(mut self) -> thread::JoinGuard<'a, ()> { [INFO] [stderr] | ^^^^^^^^^ not found in `thread` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `usleep` in this scope [INFO] [stderr] --> src/workerthread.rs:147:34 [INFO] [stderr] | [INFO] [stderr] 147 | unsafe { usleep(backoff_sleep); } [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 16 | use libc::usleep; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JoinGuard` in module `thread` [INFO] [stderr] --> src/poolsupervisor.rs:42:24 [INFO] [stderr] | [INFO] [stderr] 42 | joinguard: thread::JoinGuard<'thread, ()>, [INFO] [stderr] | ^^^^^^^^^ not found in `thread` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JoinGuard` in module `thread` [INFO] [stderr] --> src/poolsupervisor.rs:54:79 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn spawn(nthreads: usize) -> (Sender>, thread::JoinGuard<'t, ()>) { [INFO] [stderr] | ^^^^^^^^^ not found in `thread` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JoinGuard` in module `thread` [INFO] [stderr] --> src/poolsupervisor.rs:122:38 [INFO] [stderr] | [INFO] [stderr] 122 | fn start_thread(self) -> thread::JoinGuard<'t, ()> { [INFO] [stderr] | ^^^^^^^^^ not found in `thread` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JoinGuard` in module `thread` [INFO] [stderr] --> src/lib.rs:449:24 [INFO] [stderr] | [INFO] [stderr] 449 | joinguard: thread::JoinGuard<'a, ()>, [INFO] [stderr] | ^^^^^^^^^ not found in `thread` [INFO] [stderr] [INFO] [stderr] warning: unused import: `libc::funcs::posix88::unistd::usleep` [INFO] [stderr] --> src/workerthread.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use libc::funcs::posix88::unistd::usleep; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:229:1 [INFO] [stderr] | [INFO] [stderr] 229 | extern crate libc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:231:5 [INFO] [stderr] | [INFO] [stderr] 231 | use std::ptr::Unique; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/lib.rs:348:10 [INFO] [stderr] | [INFO] [stderr] 348 | Join(Unique, Arc>), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/workerthread.rs:18:16 [INFO] [stderr] | [INFO] [stderr] 18 | use std::ptr::{Unique,write}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/workerthread.rs:290:55 [INFO] [stderr] | [INFO] [stderr] 290 | fn create_result_vec(n: usize) -> (Vec, Vec>) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/workerthread.rs:292:27 [INFO] [stderr] | [INFO] [stderr] 292 | let mut rets_ptr: Vec> = Vec::with_capacity(n); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/workerthread.rs:297:27 [INFO] [stderr] | [INFO] [stderr] 297 | rets_ptr.push(Unique::new(ptr_0.offset(i))); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0392]: parameter `'thread` is never used [INFO] [stderr] --> src/poolsupervisor.rs:45:33 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct PoolSupervisorThread<'thread, Arg: Send, Ret: Send + Sync> { [INFO] [stderr] | ^^^^^^^ unused parameter [INFO] [stderr] | [INFO] [stderr] = help: consider removing `'thread` or using a marker such as `std::marker::PhantomData` [INFO] [stderr] [INFO] [stderr] error: aborting due to 15 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0392, E0412, E0425, E0433, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0392`. [INFO] [stderr] error: Could not compile `forkjoin`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0392]: parameter `'thread` is never used [INFO] [stderr] --> src/poolsupervisor.rs:45:33 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct PoolSupervisorThread<'thread, Arg: Send, Ret: Send + Sync> { [INFO] [stderr] | ^^^^^^^ unused parameter [INFO] [stderr] | [INFO] [stderr] = help: consider removing `'thread` or using a marker such as `std::marker::PhantomData` [INFO] [stderr] [INFO] [stderr] error: aborting due to 15 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0392, E0412, E0425, E0433, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0392`. [INFO] [stderr] error: Could not compile `forkjoin`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "bce2e460dec06708d3c387dfae3e85182f6152beefefb3b87a3119a5f6c4f294"` [INFO] running `"docker" "rm" "-f" "bce2e460dec06708d3c387dfae3e85182f6152beefefb3b87a3119a5f6c4f294"` [INFO] [stdout] bce2e460dec06708d3c387dfae3e85182f6152beefefb3b87a3119a5f6c4f294