[INFO] fetching crate ctx 0.2.0... [INFO] building ctx-0.2.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate ctx 0.2.0 into /workspace/builds/worker-80/source [INFO] validating manifest of crates.io crate ctx 0.2.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ctx 0.2.0 [INFO] finished tweaking crates.io crate ctx 0.2.0 [INFO] tweaked toml for crates.io crate ctx 0.2.0 written to /workspace/builds/worker-80/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc5c511eb50a8840fbcbb92f5b3c6837322cf0fe4821023fab6585c0a606f4ff [INFO] running `Command { std: "docker" "start" "-a" "fc5c511eb50a8840fbcbb92f5b3c6837322cf0fe4821023fab6585c0a606f4ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc5c511eb50a8840fbcbb92f5b3c6837322cf0fe4821023fab6585c0a606f4ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc5c511eb50a8840fbcbb92f5b3c6837322cf0fe4821023fab6585c0a606f4ff", kill_on_drop: false }` [INFO] [stdout] fc5c511eb50a8840fbcbb92f5b3c6837322cf0fe4821023fab6585c0a606f4ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53e92b32390a19a035da43279932b6be5ff4ca38f0aa6bb16d9595b46f544b48 [INFO] running `Command { std: "docker" "start" "-a" "53e92b32390a19a035da43279932b6be5ff4ca38f0aa6bb16d9595b46f544b48", kill_on_drop: false }` [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling tokio-timer v0.1.2 [INFO] [stderr] Compiling ctx v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `futures::task::park`: renamed to `current` [INFO] [stdout] --> src/with_cancel.rs:49:50 [INFO] [stdout] | [INFO] [stdout] 49 | ... *handle = Some(task::park()) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Context(pub Rc>>>); [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - pub struct Context(pub Rc>>>); [INFO] [stdout] 29 + pub struct Context(pub Rc>>>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | fn value(&self) -> Option<&Any> { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 - fn value(&self) -> Option<&Any> { [INFO] [stdout] 82 + fn value(&self) -> Option<&dyn Any> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/with_value.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self) -> Option<&Any> { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - fn value(&self) -> Option<&Any> { [INFO] [stdout] 20 + fn value(&self) -> Option<&dyn Any> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/with_cancel.rs:77:54 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn with_cancel(parent: Context) -> (Context, Box) { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - pub fn with_cancel(parent: Context) -> (Context, Box) { [INFO] [stdout] 77 + pub fn with_cancel(parent: Context) -> (Context, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/with_cancel.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self) -> Option<&Any> { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - fn value(&self) -> Option<&Any> { [INFO] [stdout] 20 + fn value(&self) -> Option<&dyn Any> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/with_deadline.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | -> (Context, Box) { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - -> (Context, Box) { [INFO] [stdout] 43 + -> (Context, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/with_deadline.rs:69:74 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn with_timeout(parent: Context, timeout: Duration) -> (Context, Box) { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - pub fn with_timeout(parent: Context, timeout: Duration) -> (Context, Box) { [INFO] [stdout] 69 + pub fn with_timeout(parent: Context, timeout: Duration) -> (Context, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/with_deadline.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | fn value(&self) -> Option<&Any> { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn value(&self) -> Option<&Any> { [INFO] [stdout] 18 + fn value(&self) -> Option<&dyn Any> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/with_value.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | let val_any = &self.val as &Any; [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - let val_any = &self.val as &Any; [INFO] [stdout] 21 + let val_any = &self.val as &dyn Any; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::task::Task::is_current`: intended to be removed, see docs for details [INFO] [stdout] --> src/with_cancel.rs:45:52 [INFO] [stdout] | [INFO] [stdout] 45 | ... Some(ref task) if task.is_current() => false, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::task::Task::unpark`: renamed to `notify` [INFO] [stdout] --> src/with_cancel.rs:93:40 [INFO] [stdout] | [INFO] [stdout] 93 | ... task.unpark(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:100:44 [INFO] [stdout] | [INFO] [stdout] 100 | write!(f, "ContextError: {}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.80s [INFO] running `Command { std: "docker" "inspect" "53e92b32390a19a035da43279932b6be5ff4ca38f0aa6bb16d9595b46f544b48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53e92b32390a19a035da43279932b6be5ff4ca38f0aa6bb16d9595b46f544b48", kill_on_drop: false }` [INFO] [stdout] 53e92b32390a19a035da43279932b6be5ff4ca38f0aa6bb16d9595b46f544b48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2bcef16dae096cf783d57369c340f9c83592505b63d0384f12cc70e9dffac9b [INFO] running `Command { std: "docker" "start" "-a" "b2bcef16dae096cf783d57369c340f9c83592505b63d0384f12cc70e9dffac9b", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated function `futures::task::park`: renamed to `current` [INFO] [stdout] --> src/with_cancel.rs:49:50 [INFO] [stdout] | [INFO] [stdout] 49 | ... *handle = Some(task::park()) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Context(pub Rc>>>); [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - pub struct Context(pub Rc>>>); [INFO] [stdout] 29 + pub struct Context(pub Rc>>>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | fn value(&self) -> Option<&Any> { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 - fn value(&self) -> Option<&Any> { [INFO] [stdout] 82 + fn value(&self) -> Option<&dyn Any> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ctx v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/with_value.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self) -> Option<&Any> { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - fn value(&self) -> Option<&Any> { [INFO] [stdout] 20 + fn value(&self) -> Option<&dyn Any> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/with_cancel.rs:77:54 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn with_cancel(parent: Context) -> (Context, Box) { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - pub fn with_cancel(parent: Context) -> (Context, Box) { [INFO] [stdout] 77 + pub fn with_cancel(parent: Context) -> (Context, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/with_cancel.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self) -> Option<&Any> { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - fn value(&self) -> Option<&Any> { [INFO] [stdout] 20 + fn value(&self) -> Option<&dyn Any> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/with_deadline.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | -> (Context, Box) { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - -> (Context, Box) { [INFO] [stdout] 43 + -> (Context, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/with_deadline.rs:69:74 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn with_timeout(parent: Context, timeout: Duration) -> (Context, Box) { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - pub fn with_timeout(parent: Context, timeout: Duration) -> (Context, Box) { [INFO] [stdout] 69 + pub fn with_timeout(parent: Context, timeout: Duration) -> (Context, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/with_deadline.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | fn value(&self) -> Option<&Any> { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn value(&self) -> Option<&Any> { [INFO] [stdout] 18 + fn value(&self) -> Option<&dyn Any> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/with_value.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | let val_any = &self.val as &Any; [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - let val_any = &self.val as &Any; [INFO] [stdout] 21 + let val_any = &self.val as &dyn Any; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::task::Task::is_current`: intended to be removed, see docs for details [INFO] [stdout] --> src/with_cancel.rs:45:52 [INFO] [stdout] | [INFO] [stdout] 45 | ... Some(ref task) if task.is_current() => false, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::task::Task::unpark`: renamed to `notify` [INFO] [stdout] --> src/with_cancel.rs:93:40 [INFO] [stdout] | [INFO] [stdout] 93 | ... task.unpark(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:100:44 [INFO] [stdout] | [INFO] [stdout] 100 | write!(f, "ContextError: {}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `futures::task::park`: renamed to `current` [INFO] [stdout] --> src/with_cancel.rs:49:50 [INFO] [stdout] | [INFO] [stdout] 49 | ... *handle = Some(task::park()) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Context(pub Rc>>>); [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - pub struct Context(pub Rc>>>); [INFO] [stdout] 29 + pub struct Context(pub Rc>>>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | fn value(&self) -> Option<&Any> { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 - fn value(&self) -> Option<&Any> { [INFO] [stdout] 82 + fn value(&self) -> Option<&dyn Any> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/with_value.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self) -> Option<&Any> { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - fn value(&self) -> Option<&Any> { [INFO] [stdout] 20 + fn value(&self) -> Option<&dyn Any> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/with_cancel.rs:77:54 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn with_cancel(parent: Context) -> (Context, Box) { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - pub fn with_cancel(parent: Context) -> (Context, Box) { [INFO] [stdout] 77 + pub fn with_cancel(parent: Context) -> (Context, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/with_cancel.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self) -> Option<&Any> { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - fn value(&self) -> Option<&Any> { [INFO] [stdout] 20 + fn value(&self) -> Option<&dyn Any> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/with_deadline.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | -> (Context, Box) { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - -> (Context, Box) { [INFO] [stdout] 43 + -> (Context, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/with_deadline.rs:69:74 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn with_timeout(parent: Context, timeout: Duration) -> (Context, Box) { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - pub fn with_timeout(parent: Context, timeout: Duration) -> (Context, Box) { [INFO] [stdout] 69 + pub fn with_timeout(parent: Context, timeout: Duration) -> (Context, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/with_deadline.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | fn value(&self) -> Option<&Any> { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn value(&self) -> Option<&Any> { [INFO] [stdout] 18 + fn value(&self) -> Option<&dyn Any> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/with_value.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | let val_any = &self.val as &Any; [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - let val_any = &self.val as &Any; [INFO] [stdout] 21 + let val_any = &self.val as &dyn Any; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::task::Task::is_current`: intended to be removed, see docs for details [INFO] [stdout] --> src/with_cancel.rs:45:52 [INFO] [stdout] | [INFO] [stdout] 45 | ... Some(ref task) if task.is_current() => false, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::task::Task::unpark`: renamed to `notify` [INFO] [stdout] --> src/with_cancel.rs:93:40 [INFO] [stdout] | [INFO] [stdout] 93 | ... task.unpark(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:100:44 [INFO] [stdout] | [INFO] [stdout] 100 | write!(f, "ContextError: {}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.12s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/ctx-f3105e63f8bc9a63) [INFO] running `Command { std: "docker" "inspect" "b2bcef16dae096cf783d57369c340f9c83592505b63d0384f12cc70e9dffac9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2bcef16dae096cf783d57369c340f9c83592505b63d0384f12cc70e9dffac9b", kill_on_drop: false }` [INFO] [stdout] b2bcef16dae096cf783d57369c340f9c83592505b63d0384f12cc70e9dffac9b