[INFO] fetching crate sors 0.0.2... [INFO] checking sors-0.0.2 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate sors 0.0.2 into /workspace/builds/worker-76/source [INFO] validating manifest of crates.io crate sors 0.0.2 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sors 0.0.2 [INFO] finished tweaking crates.io crate sors 0.0.2 [INFO] tweaked toml for crates.io crate sors 0.0.2 written to /workspace/builds/worker-76/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 164c31af85fd9bb7c21352e7e1526967ae630b2593f50a62cf8427c42073e4a2 [INFO] running `Command { std: "docker" "start" "-a" "164c31af85fd9bb7c21352e7e1526967ae630b2593f50a62cf8427c42073e4a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "164c31af85fd9bb7c21352e7e1526967ae630b2593f50a62cf8427c42073e4a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "164c31af85fd9bb7c21352e7e1526967ae630b2593f50a62cf8427c42073e4a2", kill_on_drop: false }` [INFO] [stdout] 164c31af85fd9bb7c21352e7e1526967ae630b2593f50a62cf8427c42073e4a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8fb47547f52403de8300de0a3e73833e9bd570e813119bcb2e3e682a0db26c5 [INFO] running `Command { std: "docker" "start" "-a" "c8fb47547f52403de8300de0a3e73833e9bd570e813119bcb2e3e682a0db26c5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking pipeline v0.5.0 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking subprocess v0.1.20 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking markdown v0.2.0 [INFO] [stderr] Checking rustyline v4.1.0 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Compiling snafu-derive v0.3.1 [INFO] [stderr] Checking snafu v0.3.1 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking sors v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | CustomError { source: Box }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | CustomError { source: Box }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:197:58 [INFO] [stdout] | [INFO] [stdout] 197 | where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:467:100 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CliCallbacks` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:483:81 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CliCallbacks` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:496:77 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CliCallbacks` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Func = Box Result<()>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut T, &str, &mut C) -> Result<()>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | callbacks: &'a mut CliCallbacks, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CliCallbacks` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(callbacks: &'a mut CliCallbacks, state_callbacks: C2) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CliCallbacks` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | CustomError { source: Box }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | CustomError { source: Box }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:197:58 [INFO] [stdout] | [INFO] [stdout] 197 | where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:467:100 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CliCallbacks` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:483:81 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CliCallbacks` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:496:77 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CliCallbacks` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Func = Box Result<()>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut T, &str, &mut C) -> Result<()>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | callbacks: &'a mut CliCallbacks, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CliCallbacks` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(callbacks: &'a mut CliCallbacks, state_callbacks: C2) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CliCallbacks` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | CustomError { source: Box }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | CustomError { source: Box }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:197:58 [INFO] [stdout] | [INFO] [stdout] 197 | where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:467:100 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CliCallbacks` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:483:81 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CliCallbacks` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:496:77 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CliCallbacks` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Func = Box Result<()>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut T, &str, &mut C) -> Result<()>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | callbacks: &'a mut CliCallbacks, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CliCallbacks` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(callbacks: &'a mut CliCallbacks, state_callbacks: C2) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CliCallbacks` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helper.rs:36:75 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn display_clocks(clocks: &[Rc], doc: &Doc, callbacks: &mut CliCallbacks) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CliCallbacks` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | CustomError { source: Box }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | CustomError { source: Box }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:197:58 [INFO] [stdout] | [INFO] [stdout] 197 | where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:467:100 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CliCallbacks` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:483:81 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CliCallbacks` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:496:77 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CliCallbacks` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Func = Box Result<()>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut T, &str, &mut C) -> Result<()>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | callbacks: &'a mut CliCallbacks, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CliCallbacks` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(callbacks: &'a mut CliCallbacks, state_callbacks: C2) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CliCallbacks` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helper.rs:36:75 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn display_clocks(clocks: &[Rc], doc: &Doc, callbacks: &mut CliCallbacks) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CliCallbacks` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.18s [INFO] running `Command { std: "docker" "inspect" "c8fb47547f52403de8300de0a3e73833e9bd570e813119bcb2e3e682a0db26c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8fb47547f52403de8300de0a3e73833e9bd570e813119bcb2e3e682a0db26c5", kill_on_drop: false }` [INFO] [stdout] c8fb47547f52403de8300de0a3e73833e9bd570e813119bcb2e3e682a0db26c5