[INFO] fetching crate monkeys 0.1.0... [INFO] checking monkeys-0.1.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate monkeys 0.1.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate monkeys 0.1.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate monkeys 0.1.0 [INFO] finished tweaking crates.io crate monkeys 0.1.0 [INFO] tweaked toml for crates.io crate monkeys 0.1.0 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d4d2d24000be7010ce86d758f848792b85e114ae6a3025724d300f169aad3dde [INFO] running `Command { std: "docker" "start" "-a" "d4d2d24000be7010ce86d758f848792b85e114ae6a3025724d300f169aad3dde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4d2d24000be7010ce86d758f848792b85e114ae6a3025724d300f169aad3dde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4d2d24000be7010ce86d758f848792b85e114ae6a3025724d300f169aad3dde", kill_on_drop: false }` [INFO] [stdout] d4d2d24000be7010ce86d758f848792b85e114ae6a3025724d300f169aad3dde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 643e8ba39676faf753ed5e2f3b38fff84243fd8c57caa1888eec786f28d367d1 [INFO] running `Command { std: "docker" "start" "-a" "643e8ba39676faf753ed5e2f3b38fff84243fd8c57caa1888eec786f28d367d1", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling context v1.0.1 [INFO] [stderr] Checking monkeys v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::marker::Reflect` [INFO] [stdout] --> src/lib.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | use std::marker::{PhantomData, Reflect}; [INFO] [stdout] | ^^^^^^^ no `Reflect` in `marker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::boxed::FnBox` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::boxed::FnBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `FnBox` in `boxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::panic::AssertRecoverSafe` [INFO] [stdout] --> src/lib.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | use std::panic::{self, AssertRecoverSafe}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `AssertRecoverSafe` in `panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `propagate` in module `panic` [INFO] [stdout] --> src/lib.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | panic::propagate(Box::new(ForceUnwind)); [INFO] [stdout] | ^^^^^^^^^ not found in `panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `recover` in module `panic` [INFO] [stdout] --> src/lib.rs:124:29 [INFO] [stdout] | [INFO] [stdout] 124 | let result = panic::recover(move || { [INFO] [stdout] | ^^^^^^^ not found in `panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::marker::Reflect` [INFO] [stdout] --> src/lib.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | use std::marker::{PhantomData, Reflect}; [INFO] [stdout] | ^^^^^^^ no `Reflect` in `marker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::boxed::FnBox` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::boxed::FnBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `FnBox` in `boxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt::{self, Debug}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/lib.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::{HashMap, BTreeMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicUsize`, `Ordering` [INFO] [stdout] --> src/lib.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | use std::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::panic::AssertRecoverSafe` [INFO] [stdout] --> src/lib.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | use std::panic::{self, AssertRecoverSafe}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `AssertRecoverSafe` in `panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContextFn` [INFO] [stdout] --> src/lib.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | use context::{Context, Transfer, ContextFn}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | work_queue: RefCell>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CoroutineHandle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:47:48 [INFO] [stdout] | [INFO] [stdout] 47 | blocked: RefCell>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CoroutineHandle` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:48:50 [INFO] [stdout] | [INFO] [stdout] 48 | completed: RefCell>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CoroutineHandle` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:49:55 [INFO] [stdout] | [INFO] [stdout] 49 | ready_to_yield: RefCell>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CoroutineHandle` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:188:37 [INFO] [stdout] | [INFO] [stdout] 188 | fn inner_mut(&mut self) -> &mut Any; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:228:37 [INFO] [stdout] | [INFO] [stdout] 228 | fn inner_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:345:34 [INFO] [stdout] | [INFO] [stdout] 345 | fn add_co(&self, handle: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CoroutineHandle` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/lib.rs:529:9 [INFO] [stdout] | [INFO] [stdout] 529 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `propagate` in module `panic` [INFO] [stdout] --> src/lib.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | panic::propagate(Box::new(ForceUnwind)); [INFO] [stdout] | ^^^^^^^^^ not found in `panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `recover` in module `panic` [INFO] [stdout] --> src/lib.rs:124:29 [INFO] [stdout] | [INFO] [stdout] 124 | let result = panic::recover(move || { [INFO] [stdout] | ^^^^^^^ not found in `panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt::{self, Debug}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/lib.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::{HashMap, BTreeMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicUsize`, `Ordering` [INFO] [stdout] --> src/lib.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | use std::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContextFn` [INFO] [stdout] --> src/lib.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | use context::{Context, Transfer, ContextFn}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | work_queue: RefCell>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CoroutineHandle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:47:48 [INFO] [stdout] | [INFO] [stdout] 47 | blocked: RefCell>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CoroutineHandle` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:48:50 [INFO] [stdout] | [INFO] [stdout] 48 | completed: RefCell>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CoroutineHandle` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:49:55 [INFO] [stdout] | [INFO] [stdout] 49 | ready_to_yield: RefCell>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CoroutineHandle` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:188:37 [INFO] [stdout] | [INFO] [stdout] 188 | fn inner_mut(&mut self) -> &mut Any; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:228:37 [INFO] [stdout] | [INFO] [stdout] 228 | fn inner_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:345:34 [INFO] [stdout] | [INFO] [stdout] 345 | fn add_co(&self, handle: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CoroutineHandle` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monkeys` due to 7 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "643e8ba39676faf753ed5e2f3b38fff84243fd8c57caa1888eec786f28d367d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "643e8ba39676faf753ed5e2f3b38fff84243fd8c57caa1888eec786f28d367d1", kill_on_drop: false }` [INFO] [stdout] 643e8ba39676faf753ed5e2f3b38fff84243fd8c57caa1888eec786f28d367d1