[INFO] fetching crate liblightning 0.0.2... [INFO] testing liblightning-0.0.2 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate liblightning 0.0.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate liblightning 0.0.2 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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] 758f15462c17f48d04f01dc1a1c96ac9d22c76f742c54f3609bb744116bbd480 [INFO] running `Command { std: "docker" "start" "-a" "758f15462c17f48d04f01dc1a1c96ac9d22c76f742c54f3609bb744116bbd480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "758f15462c17f48d04f01dc1a1c96ac9d22c76f742c54f3609bb744116bbd480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "758f15462c17f48d04f01dc1a1c96ac9d22c76f742c54f3609bb744116bbd480", kill_on_drop: false }` [INFO] [stdout] 758f15462c17f48d04f01dc1a1c96ac9d22c76f742c54f3609bb744116bbd480 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--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] 08da949577814c598ed082c0bed72487eb8a429c9d185711305a685e946a085d [INFO] running `Command { std: "docker" "start" "-a" "08da949577814c598ed082c0bed72487eb8a429c9d185711305a685e946a085d", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling lazy_static v1.4.0 [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 { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/co.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | error_val: Option>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/co.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | inner: Box [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/co.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(inner: Box) -> SendableCoState { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/co.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | pub unsafe fn unwrap(self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/co.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | impl Yieldable for CoState { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/co.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | impl CommonCoState for CoState { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/co.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | impl CoState { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/co.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | impl Drop for CoState { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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/scheduler.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | running_cos: VecDeque>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/scheduler.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | pending_cos: Vec> [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/scheduler.rs:68:53 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) fn push_coroutine_raw(&self, co: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/scheduler.rs:72:43 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn start_coroutine(&self, f: F) { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/scheduler.rs:81:57 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn prepare_coroutine R + 'static>(&self, f: F) -> ValuePromise... [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/scheduler.rs:81:127 [INFO] [stdout] | [INFO] [stdout] 81 | ...>(&self, f: F) -> ValuePromise>> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/scheduler.rs:82:49 [INFO] [stdout] | [INFO] [stdout] 82 | let value: Rc>>>> = Rc::new(Cell::new(None)); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/scheduler.rs:87:44 [INFO] [stdout] | [INFO] [stdout] 87 | let vp: ValuePromise>> = ValuePromise { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/promise.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | co: Box [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/promise.rs:32:52 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn new(s: SharedSchedState, co: Box) -> NotifyHandle { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/promise.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | let _: Box = Box::new(self); [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/invoke_box.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | inner: Box R> [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(A1) -> R` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.53s [INFO] running `Command { std: "docker" "inspect" "08da949577814c598ed082c0bed72487eb8a429c9d185711305a685e946a085d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08da949577814c598ed082c0bed72487eb8a429c9d185711305a685e946a085d", kill_on_drop: false }` [INFO] [stdout] 08da949577814c598ed082c0bed72487eb8a429c9d185711305a685e946a085d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12871cfd7612f4ddeb0aa27870bda4fb93202520e214b4b9f9feff5b44251e0b [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" "12871cfd7612f4ddeb0aa27870bda4fb93202520e214b4b9f9feff5b44251e0b", kill_on_drop: false }` [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 { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | error_val: Option>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/co.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | inner: Box [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/co.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(inner: Box) -> SendableCoState { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/co.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | pub unsafe fn unwrap(self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/co.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | impl Yieldable for CoState { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/co.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | impl CommonCoState for CoState { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/co.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | impl CoState { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/co.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | impl Drop for CoState { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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/scheduler.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | running_cos: VecDeque>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/scheduler.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | pending_cos: Vec> [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/scheduler.rs:68:53 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) fn push_coroutine_raw(&self, co: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/scheduler.rs:72:43 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn start_coroutine(&self, f: F) { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/scheduler.rs:81:57 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn prepare_coroutine R + 'static>(&self, f: F) -> ValuePromise... [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/scheduler.rs:81:127 [INFO] [stdout] | [INFO] [stdout] 81 | ...>(&self, f: F) -> ValuePromise>> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/scheduler.rs:82:49 [INFO] [stdout] | [INFO] [stdout] 82 | let value: Rc>>>> = Rc::new(Cell::new(None)); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/scheduler.rs:87:44 [INFO] [stdout] | [INFO] [stdout] 87 | let vp: ValuePromise>> = ValuePromise { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/promise.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | co: Box [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/promise.rs:32:52 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn new(s: SharedSchedState, co: Box) -> NotifyHandle { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/promise.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | let _: Box = Box::new(self); [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/invoke_box.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | inner: Box R> [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(A1) -> R` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [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 { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] --> src/co.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | error_val: Option>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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] --> examples/sleep.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | fn sleep_ms(c: &mut Yieldable, ms: u64) { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/co.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | inner: Box [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/co.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(inner: Box) -> SendableCoState { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/co.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | pub unsafe fn unwrap(self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/co.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | impl Yieldable for CoState { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/co.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | impl CommonCoState for CoState { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/co.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | impl CoState { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/co.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | impl Drop for CoState { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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/scheduler.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | running_cos: VecDeque>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/scheduler.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | pending_cos: Vec> [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/scheduler.rs:68:53 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) fn push_coroutine_raw(&self, co: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/scheduler.rs:72:43 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn start_coroutine(&self, f: F) { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/scheduler.rs:81:57 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn prepare_coroutine R + 'static>(&self, f: F) -> ValuePromise... [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/scheduler.rs:81:127 [INFO] [stdout] | [INFO] [stdout] 81 | ...>(&self, f: F) -> ValuePromise>> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/scheduler.rs:82:49 [INFO] [stdout] | [INFO] [stdout] 82 | let value: Rc>>>> = Rc::new(Cell::new(None)); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/scheduler.rs:87:44 [INFO] [stdout] | [INFO] [stdout] 87 | let vp: ValuePromise>> = ValuePromise { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/promise.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | co: Box [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/promise.rs:32:52 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn new(s: SharedSchedState, co: Box) -> NotifyHandle { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/promise.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | let _: Box = Box::new(self); [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/invoke_box.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | inner: Box R> [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(A1) -> R` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.81s [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "12871cfd7612f4ddeb0aa27870bda4fb93202520e214b4b9f9feff5b44251e0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12871cfd7612f4ddeb0aa27870bda4fb93202520e214b4b9f9feff5b44251e0b", kill_on_drop: false }` [INFO] [stdout] 12871cfd7612f4ddeb0aa27870bda4fb93202520e214b4b9f9feff5b44251e0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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] ce454de4b89f2087c1c6c578f8124d05ff9db5a5aa2df9ac615983dafe799857 [INFO] running `Command { std: "docker" "start" "-a" "ce454de4b89f2087c1c6c578f8124d05ff9db5a5aa2df9ac615983dafe799857", kill_on_drop: false }` [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 { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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>, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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) -> SendableCoState { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 Yieldable for CoState { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 CommonCoState for CoState { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 CoState { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 Drop for CoState { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [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/scheduler.rs:25:31 [INFO] [stderr] | [INFO] [stderr] 25 | running_cos: VecDeque>, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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> [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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(&self, f: F) { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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>(&self, f: F) -> ValuePromise... [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 | ...>(&self, f: F) -> ValuePromise>> { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [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>>>> = Rc::new(Cell::new(None)); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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>> = ValuePromise { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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) -> NotifyHandle { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 = Box::new(self); [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Send` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 R> [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(A1) -> R` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: 23 warnings emitted [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 { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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>, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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) -> SendableCoState { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 Yieldable for CoState { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 CommonCoState for CoState { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 CoState { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 Drop for CoState { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [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/scheduler.rs:25:31 [INFO] [stderr] | [INFO] [stderr] 25 | running_cos: VecDeque>, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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> [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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(&self, f: F) { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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>(&self, f: F) -> ValuePromise... [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 | ...>(&self, f: F) -> ValuePromise>> { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [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>>>> = Rc::new(Cell::new(None)); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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>> = ValuePromise { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Any + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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) -> NotifyHandle { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonCoState` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 = Box::new(self); [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Send` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 R> [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(A1) -> R` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: 23 warnings emitted [INFO] [stderr] [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] | ^^^^^^^^^ help: use `dyn`: `dyn Yieldable` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/liblightning-007ed1bdcf292974) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test co::tests::resume_terminated_should_return_none ... ok [INFO] [stdout] test co::tests::instant_termination_should_work ... ok [INFO] [stdout] test platform::tests::setup_stack_guard_page_should_succeed ... ok [INFO] [stdout] test co::tests::nested_should_work ... ok [INFO] [stdout] test platform::tests::stack_should_be_writable ... ok [INFO] [stdout] test platform::tests::stack_size_should_be_rounded_up ... ok [INFO] [stdout] test co::tests::taking_stack_should_work ... ok [INFO] [stdout] test co::tests::yield_should_work ... ok [INFO] [stdout] test co::tests::taking_stack_before_termination_should_panic ... ok [INFO] [stdout] test co::tests::panics_should_propagate ... ok [INFO] [stderr] Doc-tests liblightning [INFO] [stdout] test scheduler::tests::coroutines_should_be_scheduled ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ce454de4b89f2087c1c6c578f8124d05ff9db5a5aa2df9ac615983dafe799857", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce454de4b89f2087c1c6c578f8124d05ff9db5a5aa2df9ac615983dafe799857", kill_on_drop: false }` [INFO] [stdout] ce454de4b89f2087c1c6c578f8124d05ff9db5a5aa2df9ac615983dafe799857