[INFO] fetching crate forkjoin 2.3.0... [INFO] checking forkjoin-2.3.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [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 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deque v0.2.3 [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6668d8ffb84f1bf00da94915ab113d6950b8bf572876ede0b57c7ec693fc33f5 [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" "6668d8ffb84f1bf00da94915ab113d6950b8bf572876ede0b57c7ec693fc33f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6668d8ffb84f1bf00da94915ab113d6950b8bf572876ede0b57c7ec693fc33f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6668d8ffb84f1bf00da94915ab113d6950b8bf572876ede0b57c7ec693fc33f5", kill_on_drop: false }` [INFO] [stdout] 6668d8ffb84f1bf00da94915ab113d6950b8bf572876ede0b57c7ec693fc33f5 [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 137e95e5333d95073d995170ce221837cbe138c06957d99854e28433b6f1dcea [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" "137e95e5333d95073d995170ce221837cbe138c06957d99854e28433b6f1dcea", kill_on_drop: false }` [INFO] [stderr] Checking num_cpus v0.2.13 [INFO] [stderr] Checking rand v0.3.23 [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[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] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [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] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [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] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [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] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [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] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [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] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [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] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [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[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] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [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] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [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] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [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] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [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] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [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] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [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] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [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] [stderr] error: could not compile `forkjoin` [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0392, E0412, E0425, E0433, E0658. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0392, E0412, E0425, E0433, 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" "137e95e5333d95073d995170ce221837cbe138c06957d99854e28433b6f1dcea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "137e95e5333d95073d995170ce221837cbe138c06957d99854e28433b6f1dcea", kill_on_drop: false }` [INFO] [stdout] 137e95e5333d95073d995170ce221837cbe138c06957d99854e28433b6f1dcea