[INFO] fetching crate forkjoin 2.3.0... [INFO] checking forkjoin-2.3.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate forkjoin 2.3.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate forkjoin 2.3.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] [stderr] Adding deque v0.2.3 (available: v0.3.2) [INFO] [stderr] Adding num_cpus v0.2.13 (available: v1.16.0) [INFO] [stderr] Adding rand v0.3.23 (available: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f88015b5a56c3cbba6cd866ab2f658d091c6a2e47153ee9ff9926a0841af016 [INFO] running `Command { std: "docker" "start" "-a" "8f88015b5a56c3cbba6cd866ab2f658d091c6a2e47153ee9ff9926a0841af016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f88015b5a56c3cbba6cd866ab2f658d091c6a2e47153ee9ff9926a0841af016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f88015b5a56c3cbba6cd866ab2f658d091c6a2e47153ee9ff9926a0841af016", kill_on_drop: false }` [INFO] [stdout] 8f88015b5a56c3cbba6cd866ab2f658d091c6a2e47153ee9ff9926a0841af016 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0785fead69b0865f6737fa6f97438e10ac61369b4d1c4d39378e8ea9515b9520 [INFO] running `Command { std: "docker" "start" "-a" "0785fead69b0865f6737fa6f97438e10ac61369b4d1c4d39378e8ea9515b9520", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking deque v0.2.3 [INFO] [stderr] Checking num_cpus v0.2.13 [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[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[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: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: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[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] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [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] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [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] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [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] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [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] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [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] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [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] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [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] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [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] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [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] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [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] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [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] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [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] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [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] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unique` [INFO] [stdout] --> src/lib.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | #![feature(unique)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unique` [INFO] [stdout] --> src/lib.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | #![feature(unique)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `scoped` [INFO] [stdout] --> src/lib.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 222 | #![feature(scoped)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `scoped` [INFO] [stdout] --> src/lib.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 222 | #![feature(scoped)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime 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 lifetime 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[E0392]: lifetime 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 lifetime 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[E0599]: no method named `scoped` found for struct `Builder` in the current scope [INFO] [stdout] --> src/workerthread.rs:85:33 [INFO] [stdout] | [INFO] [stdout] 85 | let joinguard = builder.scoped(move|| { [INFO] [stdout] | --------^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `spawn_scoped` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/thread/scoped.rs:251:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `scoped` found for struct `Builder` in the current scope [INFO] [stdout] --> src/workerthread.rs:85:33 [INFO] [stdout] | [INFO] [stdout] 85 | let joinguard = builder.scoped(move|| { [INFO] [stdout] | --------^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `spawn_scoped` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/thread/scoped.rs:251:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> src/workerthread.rs:249:32 [INFO] [stdout] | [INFO] [stdout] 249 | unsafe { write(**ptr, value); } // Writes without dropping since only null in place [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> src/workerthread.rs:249:32 [INFO] [stdout] | [INFO] [stdout] 249 | unsafe { write(**ptr, value); } // Writes without dropping since only null in place [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [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] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [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] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/workerthread.rs:297:27 [INFO] [stdout] | [INFO] [stdout] 297 | rets_ptr.push(Unique::new(ptr_0.offset(i))); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Unique`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:2298:12 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 297 | rets_ptr.push(Unique::new(ptr_0.offset(i)).expect("REASON")); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/workerthread.rs:297:27 [INFO] [stdout] | [INFO] [stdout] 297 | rets_ptr.push(Unique::new(ptr_0.offset(i))); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Unique`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:2298:12 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 297 | rets_ptr.push(Unique::new(ptr_0.offset(i)).expect("REASON")); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `scoped` found for struct `Builder` in the current scope [INFO] [stdout] --> src/poolsupervisor.rs:124:33 [INFO] [stdout] | [INFO] [stdout] 124 | let joinguard = builder.scoped(move|| { [INFO] [stdout] | --------^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `spawn_scoped` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/thread/scoped.rs:251:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `scoped` found for struct `Builder` in the current scope [INFO] [stdout] --> src/poolsupervisor.rs:124:33 [INFO] [stdout] | [INFO] [stdout] 124 | let joinguard = builder.scoped(move|| { [INFO] [stdout] | --------^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `spawn_scoped` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/thread/scoped.rs:251:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/poolsupervisor.rs:140:59 [INFO] [stdout] | [INFO] [stdout] 39 | struct ThreadInfo<'thread> { [INFO] [stdout] | -------------------------- doesn't satisfy `ThreadInfo<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 140 | if self.idle == self.thread_infos.len() { [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `ThreadInfo<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/poolsupervisor.rs:140:59 [INFO] [stdout] | [INFO] [stdout] 39 | struct ThreadInfo<'thread> { [INFO] [stdout] | -------------------------- doesn't satisfy `ThreadInfo<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 140 | if self.idle == self.thread_infos.len() { [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `ThreadInfo<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/poolsupervisor.rs:149:59 [INFO] [stdout] | [INFO] [stdout] 39 | struct ThreadInfo<'thread> { [INFO] [stdout] | -------------------------- doesn't satisfy `ThreadInfo<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 149 | if self.idle == self.thread_infos.len() { [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `ThreadInfo<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/poolsupervisor.rs:149:59 [INFO] [stdout] | [INFO] [stdout] 39 | struct ThreadInfo<'thread> { [INFO] [stdout] | -------------------------- doesn't satisfy `ThreadInfo<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 149 | if self.idle == self.thread_infos.len() { [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `ThreadInfo<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/poolsupervisor.rs:162:40 [INFO] [stdout] | [INFO] [stdout] 39 | struct ThreadInfo<'thread> { [INFO] [stdout] | -------------------------- doesn't satisfy `ThreadInfo<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 162 | for id in 0..self.thread_infos.len() { [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `ThreadInfo<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/poolsupervisor.rs:162:40 [INFO] [stdout] | [INFO] [stdout] 39 | struct ThreadInfo<'thread> { [INFO] [stdout] | -------------------------- doesn't satisfy `ThreadInfo<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 162 | for id in 0..self.thread_infos.len() { [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `ThreadInfo<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0392, E0412, E0433, E0599, E0614, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0392, E0412, E0433, E0599, E0614, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `forkjoin` (lib) due to 25 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `forkjoin` (lib test) due to 25 previous errors [INFO] running `Command { std: "docker" "inspect" "0785fead69b0865f6737fa6f97438e10ac61369b4d1c4d39378e8ea9515b9520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0785fead69b0865f6737fa6f97438e10ac61369b4d1c4d39378e8ea9515b9520", kill_on_drop: false }` [INFO] [stdout] 0785fead69b0865f6737fa6f97438e10ac61369b4d1c4d39378e8ea9515b9520