[INFO] fetching crate liblightning 0.0.2... [INFO] testing liblightning-0.0.2 against try#28eff87d300677d3acc4d7129d31c74bf885cf6d for pr-94775 [INFO] extracting crate liblightning 0.0.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate liblightning 0.0.2 on toolchain 28eff87d300677d3acc4d7129d31c74bf885cf6d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+28eff87d300677d3acc4d7129d31c74bf885cf6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate liblightning 0.0.2 [INFO] finished tweaking crates.io crate liblightning 0.0.2 [INFO] tweaked toml for crates.io crate liblightning 0.0.2 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+28eff87d300677d3acc4d7129d31c74bf885cf6d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+28eff87d300677d3acc4d7129d31c74bf885cf6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+28eff87d300677d3acc4d7129d31c74bf885cf6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dfd58ca7c5fc1d634e351c2c2617a683f3a0433fb7135ebe6f95b95b37b986fb [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" "dfd58ca7c5fc1d634e351c2c2617a683f3a0433fb7135ebe6f95b95b37b986fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfd58ca7c5fc1d634e351c2c2617a683f3a0433fb7135ebe6f95b95b37b986fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfd58ca7c5fc1d634e351c2c2617a683f3a0433fb7135ebe6f95b95b37b986fb", kill_on_drop: false }` [INFO] [stdout] dfd58ca7c5fc1d634e351c2c2617a683f3a0433fb7135ebe6f95b95b37b986fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+28eff87d300677d3acc4d7129d31c74bf885cf6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abc46b601635bac589a08be3c030b9eb0b016df1d0083bf213753005753666ea [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" "abc46b601635bac589a08be3c030b9eb0b016df1d0083bf213753005753666ea", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling liblightning v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `resume_unwind` [INFO] [stdout] --> src/scheduler.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use std::panic::{catch_unwind, AssertUnwindSafe, resume_unwind}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `invoke_box::OnceInvokeBox` [INFO] [stdout] --> src/scheduler.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use invoke_box::OnceInvokeBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | error_val: Option<Box<Any + Send>>, [INFO] [stdout] | ^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - error_val: Option<Box<Any + Send>>, [INFO] [stdout] 44 + error_val: Option<Box<dyn Any + Send>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | inner: Box<CommonCoState> [INFO] [stdout] | ^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - inner: Box<CommonCoState> [INFO] [stdout] 51 + inner: Box<dyn CommonCoState> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | running_cos: VecDeque<Box<CommonCoState>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - running_cos: VecDeque<Box<CommonCoState>>, [INFO] [stdout] 25 + running_cos: VecDeque<Box<dyn CommonCoState>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | pending_cos: Vec<Box<CommonCoState>> [INFO] [stdout] | ^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - pending_cos: Vec<Box<CommonCoState>> [INFO] [stdout] 35 + pending_cos: Vec<Box<dyn CommonCoState>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/promise.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | co: Box<CommonCoState> [INFO] [stdout] | ^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - co: Box<CommonCoState> [INFO] [stdout] 23 + co: Box<dyn CommonCoState> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/invoke_box.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | inner: Box<Fn(A1) -> R> [INFO] [stdout] | ^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - inner: Box<Fn(A1) -> R> [INFO] [stdout] 4 + inner: Box<dyn Fn(A1) -> R> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct CoState<F: FnOnce(&mut Yieldable) + 'static> { [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - pub struct CoState<F: FnOnce(&mut Yieldable) + 'static> { [INFO] [stdout] 40 + pub struct CoState<F: FnOnce(&mut dyn Yieldable) + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | impl<F: FnOnce(&mut Yieldable) + 'static> Yieldable for CoState<F> { [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - impl<F: FnOnce(&mut Yieldable) + 'static> Yieldable for CoState<F> { [INFO] [stdout] 77 + impl<F: FnOnce(&mut dyn Yieldable) + 'static> Yieldable for CoState<F> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | impl<F: FnOnce(&mut Yieldable) + 'static> CommonCoState for CoState<F> { [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 - impl<F: FnOnce(&mut Yieldable) + 'static> CommonCoState for CoState<F> { [INFO] [stdout] 104 + impl<F: FnOnce(&mut dyn Yieldable) + 'static> CommonCoState for CoState<F> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | impl<F: FnOnce(&mut Yieldable) + 'static> CoState<F> { [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 143 - impl<F: FnOnce(&mut Yieldable) + 'static> CoState<F> { [INFO] [stdout] 143 + impl<F: FnOnce(&mut dyn Yieldable) + 'static> CoState<F> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | impl<F: FnOnce(&mut Yieldable) + 'static> Drop for CoState<F> { [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 192 - impl<F: FnOnce(&mut Yieldable) + 'static> Drop for CoState<F> { [INFO] [stdout] 192 + impl<F: FnOnce(&mut dyn Yieldable) + 'static> Drop for CoState<F> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(inner: Box<CommonCoState>) -> SendableCoState { [INFO] [stdout] | ^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - pub fn new(inner: Box<CommonCoState>) -> SendableCoState { [INFO] [stdout] 57 + pub fn new(inner: Box<dyn CommonCoState>) -> SendableCoState { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | pub unsafe fn unwrap(self) -> Box<CommonCoState> { [INFO] [stdout] | ^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 - pub unsafe fn unwrap(self) -> Box<CommonCoState> { [INFO] [stdout] 63 + pub unsafe fn unwrap(self) -> Box<dyn CommonCoState> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:68:53 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) fn push_coroutine_raw(&self, co: Box<CommonCoState>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 - pub(crate) fn push_coroutine_raw(&self, co: Box<CommonCoState>) { [INFO] [stdout] 68 + pub(crate) fn push_coroutine_raw(&self, co: Box<dyn CommonCoState>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:72:43 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn start_coroutine<F: FnOnce(&mut Yieldable) + 'static>(&self, f: F) { [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 - pub fn start_coroutine<F: FnOnce(&mut Yieldable) + 'static>(&self, f: F) { [INFO] [stdout] 72 + pub fn start_coroutine<F: FnOnce(&mut dyn Yieldable) + 'static>(&self, f: F) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:81:57 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn prepare_coroutine<R: 'static, F: FnOnce(&mut Yieldable) -> R + 'static>(&self, f: F) -> ValuePromise<Result<R, Box<Any + Send>... [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 - pub fn prepare_coroutine<R: 'static, F: FnOnce(&mut Yieldable) -> R + 'static>(&self, f: F) -> ValuePromise<Result<R, Box<Any + Send>>> { [INFO] [stdout] 81 + pub fn prepare_coroutine<R: 'static, F: FnOnce(&mut dyn Yieldable) -> R + 'static>(&self, f: F) -> ValuePromise<Result<R, Box<Any + Send>>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:81:127 [INFO] [stdout] | [INFO] [stdout] 81 | ...e) -> R + 'static>(&self, f: F) -> ValuePromise<Result<R, Box<Any + Send>>> { [INFO] [stdout] | ^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 - pub fn prepare_coroutine<R: 'static, F: FnOnce(&mut Yieldable) -> R + 'static>(&self, f: F) -> ValuePromise<Result<R, Box<Any + Send>>> { [INFO] [stdout] 81 + pub fn prepare_coroutine<R: 'static, F: FnOnce(&mut Yieldable) -> R + 'static>(&self, f: F) -> ValuePromise<Result<R, Box<dyn Any + Send>>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/promise.rs:32:52 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn new(s: SharedSchedState, co: Box<CommonCoState>) -> NotifyHandle { [INFO] [stdout] | ^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 - pub(crate) fn new(s: SharedSchedState, co: Box<CommonCoState>) -> NotifyHandle { [INFO] [stdout] 32 + pub(crate) fn new(s: SharedSchedState, co: Box<dyn CommonCoState>) -> NotifyHandle { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:82:49 [INFO] [stdout] | [INFO] [stdout] 82 | let value: Rc<Cell<Option<Result<R, Box<Any + Send>>>>> = Rc::new(Cell::new(None)); [INFO] [stdout] | ^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 - let value: Rc<Cell<Option<Result<R, Box<Any + Send>>>>> = Rc::new(Cell::new(None)); [INFO] [stdout] 82 + let value: Rc<Cell<Option<Result<R, Box<dyn Any + Send>>>>> = Rc::new(Cell::new(None)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:87:44 [INFO] [stdout] | [INFO] [stdout] 87 | let vp: ValuePromise<Result<R, Box<Any + Send>>> = ValuePromise { [INFO] [stdout] | ^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - let vp: ValuePromise<Result<R, Box<Any + Send>>> = ValuePromise { [INFO] [stdout] 87 + let vp: ValuePromise<Result<R, Box<dyn Any + Send>>> = ValuePromise { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/promise.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | let _: Box<Send> = Box::new(self); [INFO] [stdout] | ^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 - let _: Box<Send> = Box::new(self); [INFO] [stdout] 62 + let _: Box<dyn Send> = Box::new(self); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.19s [INFO] running `Command { std: "docker" "inspect" "abc46b601635bac589a08be3c030b9eb0b016df1d0083bf213753005753666ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abc46b601635bac589a08be3c030b9eb0b016df1d0083bf213753005753666ea", kill_on_drop: false }` [INFO] [stdout] abc46b601635bac589a08be3c030b9eb0b016df1d0083bf213753005753666ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+28eff87d300677d3acc4d7129d31c74bf885cf6d" "test" "--frozen" "--no-run" "--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] 70a563be0003620d57c470c808e4593775108d275d9c83d4a5ad8dd5b0f91d12 [INFO] running `Command { std: "docker" "start" "-a" "70a563be0003620d57c470c808e4593775108d275d9c83d4a5ad8dd5b0f91d12", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `resume_unwind` [INFO] [stdout] --> src/scheduler.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use std::panic::{catch_unwind, AssertUnwindSafe, resume_unwind}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `invoke_box::OnceInvokeBox` [INFO] [stdout] --> src/scheduler.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use invoke_box::OnceInvokeBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | error_val: Option<Box<Any + Send>>, [INFO] [stdout] | ^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - error_val: Option<Box<Any + Send>>, [INFO] [stdout] 44 + error_val: Option<Box<dyn Any + Send>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | inner: Box<CommonCoState> [INFO] [stdout] | ^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - inner: Box<CommonCoState> [INFO] [stdout] 51 + inner: Box<dyn CommonCoState> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | running_cos: VecDeque<Box<CommonCoState>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - running_cos: VecDeque<Box<CommonCoState>>, [INFO] [stdout] 25 + running_cos: VecDeque<Box<dyn CommonCoState>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | pending_cos: Vec<Box<CommonCoState>> [INFO] [stdout] | ^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - pending_cos: Vec<Box<CommonCoState>> [INFO] [stdout] 35 + pending_cos: Vec<Box<dyn CommonCoState>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/promise.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | co: Box<CommonCoState> [INFO] [stdout] | ^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - co: Box<CommonCoState> [INFO] [stdout] 23 + co: Box<dyn CommonCoState> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/invoke_box.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | inner: Box<Fn(A1) -> R> [INFO] [stdout] | ^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - inner: Box<Fn(A1) -> R> [INFO] [stdout] 4 + inner: Box<dyn Fn(A1) -> R> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling liblightning v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct CoState<F: FnOnce(&mut Yieldable) + 'static> { [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - pub struct CoState<F: FnOnce(&mut Yieldable) + 'static> { [INFO] [stdout] 40 + pub struct CoState<F: FnOnce(&mut dyn Yieldable) + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | impl<F: FnOnce(&mut Yieldable) + 'static> Yieldable for CoState<F> { [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - impl<F: FnOnce(&mut Yieldable) + 'static> Yieldable for CoState<F> { [INFO] [stdout] 77 + impl<F: FnOnce(&mut dyn Yieldable) + 'static> Yieldable for CoState<F> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | impl<F: FnOnce(&mut Yieldable) + 'static> CommonCoState for CoState<F> { [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 - impl<F: FnOnce(&mut Yieldable) + 'static> CommonCoState for CoState<F> { [INFO] [stdout] 104 + impl<F: FnOnce(&mut dyn Yieldable) + 'static> CommonCoState for CoState<F> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | impl<F: FnOnce(&mut Yieldable) + 'static> CoState<F> { [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 143 - impl<F: FnOnce(&mut Yieldable) + 'static> CoState<F> { [INFO] [stdout] 143 + impl<F: FnOnce(&mut dyn Yieldable) + 'static> CoState<F> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | impl<F: FnOnce(&mut Yieldable) + 'static> Drop for CoState<F> { [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 192 - impl<F: FnOnce(&mut Yieldable) + 'static> Drop for CoState<F> { [INFO] [stdout] 192 + impl<F: FnOnce(&mut dyn Yieldable) + 'static> Drop for CoState<F> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(inner: Box<CommonCoState>) -> SendableCoState { [INFO] [stdout] | ^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - pub fn new(inner: Box<CommonCoState>) -> SendableCoState { [INFO] [stdout] 57 + pub fn new(inner: Box<dyn CommonCoState>) -> SendableCoState { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | pub unsafe fn unwrap(self) -> Box<CommonCoState> { [INFO] [stdout] | ^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 - pub unsafe fn unwrap(self) -> Box<CommonCoState> { [INFO] [stdout] 63 + pub unsafe fn unwrap(self) -> Box<dyn CommonCoState> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:68:53 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) fn push_coroutine_raw(&self, co: Box<CommonCoState>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 - pub(crate) fn push_coroutine_raw(&self, co: Box<CommonCoState>) { [INFO] [stdout] 68 + pub(crate) fn push_coroutine_raw(&self, co: Box<dyn CommonCoState>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:72:43 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn start_coroutine<F: FnOnce(&mut Yieldable) + 'static>(&self, f: F) { [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 - pub fn start_coroutine<F: FnOnce(&mut Yieldable) + 'static>(&self, f: F) { [INFO] [stdout] 72 + pub fn start_coroutine<F: FnOnce(&mut dyn Yieldable) + 'static>(&self, f: F) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:81:57 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn prepare_coroutine<R: 'static, F: FnOnce(&mut Yieldable) -> R + 'static>(&self, f: F) -> ValuePromise<Result<R, Box<Any + Send>... [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 - pub fn prepare_coroutine<R: 'static, F: FnOnce(&mut Yieldable) -> R + 'static>(&self, f: F) -> ValuePromise<Result<R, Box<Any + Send>>> { [INFO] [stdout] 81 + pub fn prepare_coroutine<R: 'static, F: FnOnce(&mut dyn Yieldable) -> R + 'static>(&self, f: F) -> ValuePromise<Result<R, Box<Any + Send>>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:81:127 [INFO] [stdout] | [INFO] [stdout] 81 | ...e) -> R + 'static>(&self, f: F) -> ValuePromise<Result<R, Box<Any + Send>>> { [INFO] [stdout] | ^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 - pub fn prepare_coroutine<R: 'static, F: FnOnce(&mut Yieldable) -> R + 'static>(&self, f: F) -> ValuePromise<Result<R, Box<Any + Send>>> { [INFO] [stdout] 81 + pub fn prepare_coroutine<R: 'static, F: FnOnce(&mut Yieldable) -> R + 'static>(&self, f: F) -> ValuePromise<Result<R, Box<dyn Any + Send>>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/promise.rs:32:52 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn new(s: SharedSchedState, co: Box<CommonCoState>) -> NotifyHandle { [INFO] [stdout] | ^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 - pub(crate) fn new(s: SharedSchedState, co: Box<CommonCoState>) -> NotifyHandle { [INFO] [stdout] 32 + pub(crate) fn new(s: SharedSchedState, co: Box<dyn CommonCoState>) -> NotifyHandle { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:82:49 [INFO] [stdout] | [INFO] [stdout] 82 | let value: Rc<Cell<Option<Result<R, Box<Any + Send>>>>> = Rc::new(Cell::new(None)); [INFO] [stdout] | ^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 - let value: Rc<Cell<Option<Result<R, Box<Any + Send>>>>> = Rc::new(Cell::new(None)); [INFO] [stdout] 82 + let value: Rc<Cell<Option<Result<R, Box<dyn Any + Send>>>>> = Rc::new(Cell::new(None)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:87:44 [INFO] [stdout] | [INFO] [stdout] 87 | let vp: ValuePromise<Result<R, Box<Any + Send>>> = ValuePromise { [INFO] [stdout] | ^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - let vp: ValuePromise<Result<R, Box<Any + Send>>> = ValuePromise { [INFO] [stdout] 87 + let vp: ValuePromise<Result<R, Box<dyn Any + Send>>> = ValuePromise { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/promise.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | let _: Box<Send> = Box::new(self); [INFO] [stdout] | ^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 - let _: Box<Send> = Box::new(self); [INFO] [stdout] 62 + let _: Box<dyn Send> = Box::new(self); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `resume_unwind` [INFO] [stdout] --> src/scheduler.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use std::panic::{catch_unwind, AssertUnwindSafe, resume_unwind}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `invoke_box::OnceInvokeBox` [INFO] [stdout] --> src/scheduler.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use invoke_box::OnceInvokeBox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | error_val: Option<Box<Any + Send>>, [INFO] [stdout] | ^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - error_val: Option<Box<Any + Send>>, [INFO] [stdout] 44 + error_val: Option<Box<dyn Any + Send>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> examples/sleep.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/sleep.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | fn sleep_ms(c: &mut Yieldable, ms: u64) { [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - fn sleep_ms(c: &mut Yieldable, ms: u64) { [INFO] [stdout] 12 + fn sleep_ms(c: &mut dyn Yieldable, ms: u64) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | inner: Box<CommonCoState> [INFO] [stdout] | ^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - inner: Box<CommonCoState> [INFO] [stdout] 51 + inner: Box<dyn CommonCoState> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | running_cos: VecDeque<Box<CommonCoState>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - running_cos: VecDeque<Box<CommonCoState>>, [INFO] [stdout] 25 + running_cos: VecDeque<Box<dyn CommonCoState>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | pending_cos: Vec<Box<CommonCoState>> [INFO] [stdout] | ^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - pending_cos: Vec<Box<CommonCoState>> [INFO] [stdout] 35 + pending_cos: Vec<Box<dyn CommonCoState>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/promise.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | co: Box<CommonCoState> [INFO] [stdout] | ^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - co: Box<CommonCoState> [INFO] [stdout] 23 + co: Box<dyn CommonCoState> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/invoke_box.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | inner: Box<Fn(A1) -> R> [INFO] [stdout] | ^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - inner: Box<Fn(A1) -> R> [INFO] [stdout] 4 + inner: Box<dyn Fn(A1) -> R> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct CoState<F: FnOnce(&mut Yieldable) + 'static> { [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - pub struct CoState<F: FnOnce(&mut Yieldable) + 'static> { [INFO] [stdout] 40 + pub struct CoState<F: FnOnce(&mut dyn Yieldable) + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | impl<F: FnOnce(&mut Yieldable) + 'static> Yieldable for CoState<F> { [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - impl<F: FnOnce(&mut Yieldable) + 'static> Yieldable for CoState<F> { [INFO] [stdout] 77 + impl<F: FnOnce(&mut dyn Yieldable) + 'static> Yieldable for CoState<F> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | impl<F: FnOnce(&mut Yieldable) + 'static> CommonCoState for CoState<F> { [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 - impl<F: FnOnce(&mut Yieldable) + 'static> CommonCoState for CoState<F> { [INFO] [stdout] 104 + impl<F: FnOnce(&mut dyn Yieldable) + 'static> CommonCoState for CoState<F> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | impl<F: FnOnce(&mut Yieldable) + 'static> CoState<F> { [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 143 - impl<F: FnOnce(&mut Yieldable) + 'static> CoState<F> { [INFO] [stdout] 143 + impl<F: FnOnce(&mut dyn Yieldable) + 'static> CoState<F> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | impl<F: FnOnce(&mut Yieldable) + 'static> Drop for CoState<F> { [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 192 - impl<F: FnOnce(&mut Yieldable) + 'static> Drop for CoState<F> { [INFO] [stdout] 192 + impl<F: FnOnce(&mut dyn Yieldable) + 'static> Drop for CoState<F> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(inner: Box<CommonCoState>) -> SendableCoState { [INFO] [stdout] | ^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - pub fn new(inner: Box<CommonCoState>) -> SendableCoState { [INFO] [stdout] 57 + pub fn new(inner: Box<dyn CommonCoState>) -> SendableCoState { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/co.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | pub unsafe fn unwrap(self) -> Box<CommonCoState> { [INFO] [stdout] | ^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 - pub unsafe fn unwrap(self) -> Box<CommonCoState> { [INFO] [stdout] 63 + pub unsafe fn unwrap(self) -> Box<dyn CommonCoState> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:68:53 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) fn push_coroutine_raw(&self, co: Box<CommonCoState>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 - pub(crate) fn push_coroutine_raw(&self, co: Box<CommonCoState>) { [INFO] [stdout] 68 + pub(crate) fn push_coroutine_raw(&self, co: Box<dyn CommonCoState>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:72:43 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn start_coroutine<F: FnOnce(&mut Yieldable) + 'static>(&self, f: F) { [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 - pub fn start_coroutine<F: FnOnce(&mut Yieldable) + 'static>(&self, f: F) { [INFO] [stdout] 72 + pub fn start_coroutine<F: FnOnce(&mut dyn Yieldable) + 'static>(&self, f: F) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:81:57 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn prepare_coroutine<R: 'static, F: FnOnce(&mut Yieldable) -> R + 'static>(&self, f: F) -> ValuePromise<Result<R, Box<Any + Send>... [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 - pub fn prepare_coroutine<R: 'static, F: FnOnce(&mut Yieldable) -> R + 'static>(&self, f: F) -> ValuePromise<Result<R, Box<Any + Send>>> { [INFO] [stdout] 81 + pub fn prepare_coroutine<R: 'static, F: FnOnce(&mut dyn Yieldable) -> R + 'static>(&self, f: F) -> ValuePromise<Result<R, Box<Any + Send>>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:81:127 [INFO] [stdout] | [INFO] [stdout] 81 | ...e) -> R + 'static>(&self, f: F) -> ValuePromise<Result<R, Box<Any + Send>>> { [INFO] [stdout] | ^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 - pub fn prepare_coroutine<R: 'static, F: FnOnce(&mut Yieldable) -> R + 'static>(&self, f: F) -> ValuePromise<Result<R, Box<Any + Send>>> { [INFO] [stdout] 81 + pub fn prepare_coroutine<R: 'static, F: FnOnce(&mut Yieldable) -> R + 'static>(&self, f: F) -> ValuePromise<Result<R, Box<dyn Any + Send>>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/promise.rs:32:52 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn new(s: SharedSchedState, co: Box<CommonCoState>) -> NotifyHandle { [INFO] [stdout] | ^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 - pub(crate) fn new(s: SharedSchedState, co: Box<CommonCoState>) -> NotifyHandle { [INFO] [stdout] 32 + pub(crate) fn new(s: SharedSchedState, co: Box<dyn CommonCoState>) -> NotifyHandle { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:82:49 [INFO] [stdout] | [INFO] [stdout] 82 | let value: Rc<Cell<Option<Result<R, Box<Any + Send>>>>> = Rc::new(Cell::new(None)); [INFO] [stdout] | ^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 - let value: Rc<Cell<Option<Result<R, Box<Any + Send>>>>> = Rc::new(Cell::new(None)); [INFO] [stdout] 82 + let value: Rc<Cell<Option<Result<R, Box<dyn Any + Send>>>>> = Rc::new(Cell::new(None)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:87:44 [INFO] [stdout] | [INFO] [stdout] 87 | let vp: ValuePromise<Result<R, Box<Any + Send>>> = ValuePromise { [INFO] [stdout] | ^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - let vp: ValuePromise<Result<R, Box<Any + Send>>> = ValuePromise { [INFO] [stdout] 87 + let vp: ValuePromise<Result<R, Box<dyn Any + Send>>> = ValuePromise { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/promise.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | let _: Box<Send> = Box::new(self); [INFO] [stdout] | ^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 - let _: Box<Send> = Box::new(self); [INFO] [stdout] 62 + let _: Box<dyn Send> = Box::new(self); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.31s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/liblightning-f9fe74f169fd3b7f) [INFO] running `Command { std: "docker" "inspect" "70a563be0003620d57c470c808e4593775108d275d9c83d4a5ad8dd5b0f91d12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70a563be0003620d57c470c808e4593775108d275d9c83d4a5ad8dd5b0f91d12", kill_on_drop: false }` [INFO] [stdout] 70a563be0003620d57c470c808e4593775108d275d9c83d4a5ad8dd5b0f91d12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+28eff87d300677d3acc4d7129d31c74bf885cf6d" "test" "--frozen", 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] f6e736a37ee3bde7029df7ba0a088faf52b334de4b72d1019f7941a9c96b4bc2 [INFO] running `Command { std: "docker" "start" "-a" "f6e736a37ee3bde7029df7ba0a088faf52b334de4b72d1019f7941a9c96b4bc2", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `resume_unwind` [INFO] [stderr] --> src/scheduler.rs:3:50 [INFO] [stderr] | [INFO] [stderr] 3 | use std::panic::{catch_unwind, AssertUnwindSafe, resume_unwind}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `invoke_box::OnceInvokeBox` [INFO] [stderr] --> src/scheduler.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use invoke_box::OnceInvokeBox; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/co.rs:44:27 [INFO] [stderr] | [INFO] [stderr] 44 | error_val: Option<Box<Any + Send>>, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 44 - error_val: Option<Box<Any + Send>>, [INFO] [stderr] 44 + error_val: Option<Box<dyn Any + Send>>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/co.rs:51:16 [INFO] [stderr] | [INFO] [stderr] 51 | inner: Box<CommonCoState> [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 51 - inner: Box<CommonCoState> [INFO] [stderr] 51 + inner: Box<dyn CommonCoState> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scheduler.rs:25:31 [INFO] [stderr] | [INFO] [stderr] 25 | running_cos: VecDeque<Box<CommonCoState>>, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 25 - running_cos: VecDeque<Box<CommonCoState>>, [INFO] [stderr] 25 + running_cos: VecDeque<Box<dyn CommonCoState>>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scheduler.rs:35:26 [INFO] [stderr] | [INFO] [stderr] 35 | pending_cos: Vec<Box<CommonCoState>> [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 35 - pending_cos: Vec<Box<CommonCoState>> [INFO] [stderr] 35 + pending_cos: Vec<Box<dyn CommonCoState>> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/promise.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | co: Box<CommonCoState> [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 23 - co: Box<CommonCoState> [INFO] [stderr] 23 + co: Box<dyn CommonCoState> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/invoke_box.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | inner: Box<Fn(A1) -> R> [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 4 - inner: Box<Fn(A1) -> R> [INFO] [stderr] 4 + inner: Box<dyn Fn(A1) -> R> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/co.rs:40:35 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct CoState<F: FnOnce(&mut Yieldable) + 'static> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 40 - pub struct CoState<F: FnOnce(&mut Yieldable) + 'static> { [INFO] [stderr] 40 + pub struct CoState<F: FnOnce(&mut dyn Yieldable) + 'static> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/co.rs:77:21 [INFO] [stderr] | [INFO] [stderr] 77 | impl<F: FnOnce(&mut Yieldable) + 'static> Yieldable for CoState<F> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 77 - impl<F: FnOnce(&mut Yieldable) + 'static> Yieldable for CoState<F> { [INFO] [stderr] 77 + impl<F: FnOnce(&mut dyn Yieldable) + 'static> Yieldable for CoState<F> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/co.rs:104:21 [INFO] [stderr] | [INFO] [stderr] 104 | impl<F: FnOnce(&mut Yieldable) + 'static> CommonCoState for CoState<F> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 104 - impl<F: FnOnce(&mut Yieldable) + 'static> CommonCoState for CoState<F> { [INFO] [stderr] 104 + impl<F: FnOnce(&mut dyn Yieldable) + 'static> CommonCoState for CoState<F> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/co.rs:143:21 [INFO] [stderr] | [INFO] [stderr] 143 | impl<F: FnOnce(&mut Yieldable) + 'static> CoState<F> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 143 - impl<F: FnOnce(&mut Yieldable) + 'static> CoState<F> { [INFO] [stderr] 143 + impl<F: FnOnce(&mut dyn Yieldable) + 'static> CoState<F> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/co.rs:192:21 [INFO] [stderr] | [INFO] [stderr] 192 | impl<F: FnOnce(&mut Yieldable) + 'static> Drop for CoState<F> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 192 - impl<F: FnOnce(&mut Yieldable) + 'static> Drop for CoState<F> { [INFO] [stderr] 192 + impl<F: FnOnce(&mut dyn Yieldable) + 'static> Drop for CoState<F> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/co.rs:57:27 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn new(inner: Box<CommonCoState>) -> SendableCoState { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 57 - pub fn new(inner: Box<CommonCoState>) -> SendableCoState { [INFO] [stderr] 57 + pub fn new(inner: Box<dyn CommonCoState>) -> SendableCoState { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/co.rs:63:39 [INFO] [stderr] | [INFO] [stderr] 63 | pub unsafe fn unwrap(self) -> Box<CommonCoState> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 63 - pub unsafe fn unwrap(self) -> Box<CommonCoState> { [INFO] [stderr] 63 + pub unsafe fn unwrap(self) -> Box<dyn CommonCoState> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scheduler.rs:68:53 [INFO] [stderr] | [INFO] [stderr] 68 | pub(crate) fn push_coroutine_raw(&self, co: Box<CommonCoState>) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 68 - pub(crate) fn push_coroutine_raw(&self, co: Box<CommonCoState>) { [INFO] [stderr] 68 + pub(crate) fn push_coroutine_raw(&self, co: Box<dyn CommonCoState>) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scheduler.rs:72:43 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn start_coroutine<F: FnOnce(&mut Yieldable) + 'static>(&self, f: F) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 72 - pub fn start_coroutine<F: FnOnce(&mut Yieldable) + 'static>(&self, f: F) { [INFO] [stderr] 72 + pub fn start_coroutine<F: FnOnce(&mut dyn Yieldable) + 'static>(&self, f: F) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scheduler.rs:81:57 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn prepare_coroutine<R: 'static, F: FnOnce(&mut Yieldable) -> R + 'static>(&self, f: F) -> ValuePromise<Result<R, Box<Any + Send>... [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 81 - pub fn prepare_coroutine<R: 'static, F: FnOnce(&mut Yieldable) -> R + 'static>(&self, f: F) -> ValuePromise<Result<R, Box<Any + Send>>> { [INFO] [stderr] 81 + pub fn prepare_coroutine<R: 'static, F: FnOnce(&mut dyn Yieldable) -> R + 'static>(&self, f: F) -> ValuePromise<Result<R, Box<Any + Send>>> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scheduler.rs:81:127 [INFO] [stderr] | [INFO] [stderr] 81 | ...e) -> R + 'static>(&self, f: F) -> ValuePromise<Result<R, Box<Any + Send>>> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 81 - pub fn prepare_coroutine<R: 'static, F: FnOnce(&mut Yieldable) -> R + 'static>(&self, f: F) -> ValuePromise<Result<R, Box<Any + Send>>> { [INFO] [stderr] 81 + pub fn prepare_coroutine<R: 'static, F: FnOnce(&mut Yieldable) -> R + 'static>(&self, f: F) -> ValuePromise<Result<R, Box<dyn Any + Send>>> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/promise.rs:32:52 [INFO] [stderr] | [INFO] [stderr] 32 | pub(crate) fn new(s: SharedSchedState, co: Box<CommonCoState>) -> NotifyHandle { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 32 - pub(crate) fn new(s: SharedSchedState, co: Box<CommonCoState>) -> NotifyHandle { [INFO] [stderr] 32 + pub(crate) fn new(s: SharedSchedState, co: Box<dyn CommonCoState>) -> NotifyHandle { [INFO] [stderr] | [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scheduler.rs:82:49 [INFO] [stderr] | [INFO] [stderr] 82 | let value: Rc<Cell<Option<Result<R, Box<Any + Send>>>>> = Rc::new(Cell::new(None)); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 82 - let value: Rc<Cell<Option<Result<R, Box<Any + Send>>>>> = Rc::new(Cell::new(None)); [INFO] [stderr] 82 + let value: Rc<Cell<Option<Result<R, Box<dyn Any + Send>>>>> = Rc::new(Cell::new(None)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scheduler.rs:87:44 [INFO] [stderr] | [INFO] [stderr] 87 | let vp: ValuePromise<Result<R, Box<Any + Send>>> = ValuePromise { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 87 - let vp: ValuePromise<Result<R, Box<Any + Send>>> = ValuePromise { [INFO] [stderr] 87 + let vp: ValuePromise<Result<R, Box<dyn Any + Send>>> = ValuePromise { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/promise.rs:62:20 [INFO] [stderr] | [INFO] [stderr] 62 | let _: Box<Send> = Box::new(self); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 62 - let _: Box<Send> = Box::new(self); [INFO] [stderr] 62 + let _: Box<dyn Send> = Box::new(self); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `liblightning` (lib) generated 23 warnings [INFO] [stderr] warning: `liblightning` (lib test) generated 23 warnings (23 duplicates) [INFO] [stderr] warning: unused import: `std::sync::mpsc` [INFO] [stderr] --> examples/sleep.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::sync::mpsc; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/sleep.rs:12:21 [INFO] [stderr] | [INFO] [stderr] 12 | fn sleep_ms(c: &mut Yieldable, ms: u64) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 12 - fn sleep_ms(c: &mut Yieldable, ms: u64) { [INFO] [stderr] 12 + fn sleep_ms(c: &mut dyn Yieldable, ms: u64) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `liblightning` (example "sleep") generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/liblightning-f9fe74f169fd3b7f) [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/liblightning-f9fe74f169fd3b7f` (signal: 11, SIGSEGV: invalid memory reference) [INFO] running `Command { std: "docker" "inspect" "f6e736a37ee3bde7029df7ba0a088faf52b334de4b72d1019f7941a9c96b4bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6e736a37ee3bde7029df7ba0a088faf52b334de4b72d1019f7941a9c96b4bc2", kill_on_drop: false }` [INFO] [stdout] f6e736a37ee3bde7029df7ba0a088faf52b334de4b72d1019f7941a9c96b4bc2