[INFO] fetching crate log4rs-routing-appender 0.4.0... [INFO] testing log4rs-routing-appender-0.4.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate log4rs-routing-appender 0.4.0 into /workspace/builds/worker-50/source [INFO] validating manifest of crates.io crate log4rs-routing-appender 0.4.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate log4rs-routing-appender 0.4.0 [INFO] finished tweaking crates.io crate log4rs-routing-appender 0.4.0 [INFO] tweaked toml for crates.io crate log4rs-routing-appender 0.4.0 written to /workspace/builds/worker-50/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed838ca531379d2bf45413e00ccfc345f93da251f7a3a7c1378a24e0c7e33715 [INFO] running `Command { std: "docker" "start" "-a" "ed838ca531379d2bf45413e00ccfc345f93da251f7a3a7c1378a24e0c7e33715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed838ca531379d2bf45413e00ccfc345f93da251f7a3a7c1378a24e0c7e33715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed838ca531379d2bf45413e00ccfc345f93da251f7a3a7c1378a24e0c7e33715", kill_on_drop: false }` [INFO] [stdout] ed838ca531379d2bf45413e00ccfc345f93da251f7a3a7c1378a24e0c7e33715 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c45f7439b9af0631064af5274a803e99a71355aec165691d3ce9f9f009dd25c [INFO] running `Command { std: "docker" "start" "-a" "5c45f7439b9af0631064af5274a803e99a71355aec165691d3ce9f9f009dd25c", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling arc-swap v0.3.11 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling ordered-float v0.5.2 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling serde-value v0.5.3 [INFO] [stderr] Compiling log4rs v0.8.3 [INFO] [stderr] Compiling log4rs-routing-appender v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/mod.rs:151:25 [INFO] [stdout] | [INFO] [stdout] 151 | impl Deserializable for Route { [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] 151 - impl Deserializable for Route { [INFO] [stdout] 151 + impl Deserializable for dyn Route { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/mod.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct Appender(Arc>); [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] 132 - pub struct Appender(Arc>); [INFO] [stdout] 132 + pub struct Appender(Arc>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | router: 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] 113 - router: Box, [INFO] [stdout] 113 + router: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:281:28 [INFO] [stdout] | [INFO] [stdout] 281 | fn appender(&self) -> &Append; [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] 281 - fn appender(&self) -> &Append; [INFO] [stdout] 281 + fn appender(&self) -> &dyn Append; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:126:57 [INFO] [stdout] | [INFO] [stdout] 126 | fn append(&self, record: &Record) -> Result<(), 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] 126 - fn append(&self, record: &Record) -> Result<(), Box> { [INFO] [stdout] 126 + fn append(&self, record: &Record) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:159:36 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn build(self, router: Box) -> RoutingAppender { [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] 159 - pub fn build(self, router: Box) -> RoutingAppender { [INFO] [stdout] 159 + pub fn build(self, router: Box) -> RoutingAppender { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:194:18 [INFO] [stdout] | [INFO] [stdout] 194 | type Trait = Append; [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] 194 - type Trait = Append; [INFO] [stdout] 194 + type Trait = dyn Append; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | ) -> Result, 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] 201 - ) -> Result, Box> { [INFO] [stdout] 201 + ) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:201:34 [INFO] [stdout] | [INFO] [stdout] 201 | ) -> Result, 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] 201 - ) -> Result, Box> { [INFO] [stdout] 201 + ) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/mod.rs:147:31 [INFO] [stdout] | [INFO] [stdout] 147 | ) -> Result>; [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] 147 - ) -> Result>; [INFO] [stdout] 147 + ) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/mod.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | F: FnOnce() -> 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] 92 - F: FnOnce() -> Box, [INFO] [stdout] 92 + F: FnOnce() -> Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/mod.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn insert(self, value: Box) -> Appender { [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] 120 - pub fn insert(self, value: Box) -> Appender { [INFO] [stdout] 120 + pub fn insert(self, value: Box) -> Appender { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/mod.rs:135:28 [INFO] [stdout] | [INFO] [stdout] 135 | fn appender(&self) -> &Append { [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] 135 - fn appender(&self) -> &Append { [INFO] [stdout] 135 + fn appender(&self) -> &dyn Append { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/pattern/mod.rs:72:76 [INFO] [stdout] | [INFO] [stdout] 72 | fn route(&self, _: &Record, cache: &mut Cache) -> Result> { [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] 72 - fn route(&self, _: &Record, cache: &mut Cache) -> Result> { [INFO] [stdout] 72 + fn route(&self, _: &Record, cache: &mut Cache) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/pattern/mod.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | type Trait = Route; [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] 99 - type Trait = Route; [INFO] [stdout] 99 + type Trait = dyn Route; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/pattern/mod.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | ) -> Result, 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] 106 - ) -> Result, Box> { [INFO] [stdout] 106 + ) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/pattern/mod.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | ) -> Result, 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] 106 - ) -> Result, Box> { [INFO] [stdout] 106 + ) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/pattern/template.rs:17:57 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(pattern: &Value) -> Result> { [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] 17 - pub fn new(pattern: &Value) -> Result> { [INFO] [stdout] 17 + pub fn new(pattern: &Value) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/pattern/template.rs:38:47 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn expand(&self) -> Result> { [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] 38 - pub fn expand(&self) -> Result> { [INFO] [stdout] 38 + pub fn expand(&self) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/pattern/template.rs:143:56 [INFO] [stdout] | [INFO] [stdout] 143 | fn new(value: &Value) -> Result> { [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] 143 - fn new(value: &Value) -> Result> { [INFO] [stdout] 143 + fn new(value: &Value) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/pattern/template.rs:262:43 [INFO] [stdout] | [INFO] [stdout] 262 | fn expand(&self) -> Result> { [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] 262 - fn expand(&self) -> Result> { [INFO] [stdout] 262 + fn expand(&self) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.44s [INFO] running `Command { std: "docker" "inspect" "5c45f7439b9af0631064af5274a803e99a71355aec165691d3ce9f9f009dd25c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c45f7439b9af0631064af5274a803e99a71355aec165691d3ce9f9f009dd25c", kill_on_drop: false }` [INFO] [stdout] 5c45f7439b9af0631064af5274a803e99a71355aec165691d3ce9f9f009dd25c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9695547fdd1303fefbb4c53194577708baf94c4e72dbcd8c16c0cce881e51f6a [INFO] running `Command { std: "docker" "start" "-a" "9695547fdd1303fefbb4c53194577708baf94c4e72dbcd8c16c0cce881e51f6a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/mod.rs:151:25 [INFO] [stdout] | [INFO] [stdout] 151 | impl Deserializable for Route { [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] 151 - impl Deserializable for Route { [INFO] [stdout] 151 + impl Deserializable for dyn Route { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/mod.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct Appender(Arc>); [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] 132 - pub struct Appender(Arc>); [INFO] [stdout] 132 + pub struct Appender(Arc>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | router: 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] 113 - router: Box, [INFO] [stdout] 113 + router: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:281:28 [INFO] [stdout] | [INFO] [stdout] 281 | fn appender(&self) -> &Append; [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] 281 - fn appender(&self) -> &Append; [INFO] [stdout] 281 + fn appender(&self) -> &dyn Append; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:126:57 [INFO] [stdout] | [INFO] [stdout] 126 | fn append(&self, record: &Record) -> Result<(), 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] 126 - fn append(&self, record: &Record) -> Result<(), Box> { [INFO] [stdout] 126 + fn append(&self, record: &Record) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:159:36 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn build(self, router: Box) -> RoutingAppender { [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] 159 - pub fn build(self, router: Box) -> RoutingAppender { [INFO] [stdout] 159 + pub fn build(self, router: Box) -> RoutingAppender { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:194:18 [INFO] [stdout] | [INFO] [stdout] 194 | type Trait = Append; [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] 194 - type Trait = Append; [INFO] [stdout] 194 + type Trait = dyn Append; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | ) -> Result, 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] 201 - ) -> Result, Box> { [INFO] [stdout] 201 + ) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:201:34 [INFO] [stdout] | [INFO] [stdout] 201 | ) -> Result, 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] 201 - ) -> Result, Box> { [INFO] [stdout] 201 + ) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/mod.rs:147:31 [INFO] [stdout] | [INFO] [stdout] 147 | ) -> Result>; [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] 147 - ) -> Result>; [INFO] [stdout] 147 + ) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/mod.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | F: FnOnce() -> 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] 92 - F: FnOnce() -> Box, [INFO] [stdout] 92 + F: FnOnce() -> Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/mod.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn insert(self, value: Box) -> Appender { [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] 120 - pub fn insert(self, value: Box) -> Appender { [INFO] [stdout] 120 + pub fn insert(self, value: Box) -> Appender { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/mod.rs:135:28 [INFO] [stdout] | [INFO] [stdout] 135 | fn appender(&self) -> &Append { [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] 135 - fn appender(&self) -> &Append { [INFO] [stdout] 135 + fn appender(&self) -> &dyn Append { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/pattern/mod.rs:72:76 [INFO] [stdout] | [INFO] [stdout] 72 | fn route(&self, _: &Record, cache: &mut Cache) -> Result> { [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] 72 - fn route(&self, _: &Record, cache: &mut Cache) -> Result> { [INFO] [stdout] 72 + fn route(&self, _: &Record, cache: &mut Cache) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/pattern/mod.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | type Trait = Route; [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] 99 - type Trait = Route; [INFO] [stdout] 99 + type Trait = dyn Route; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/pattern/mod.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | ) -> Result, 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] 106 - ) -> Result, Box> { [INFO] [stdout] 106 + ) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/pattern/mod.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | ) -> Result, 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] 106 - ) -> Result, Box> { [INFO] [stdout] 106 + ) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/pattern/template.rs:17:57 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(pattern: &Value) -> Result> { [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] 17 - pub fn new(pattern: &Value) -> Result> { [INFO] [stdout] 17 + pub fn new(pattern: &Value) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/pattern/template.rs:38:47 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn expand(&self) -> Result> { [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] 38 - pub fn expand(&self) -> Result> { [INFO] [stdout] 38 + pub fn expand(&self) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/pattern/template.rs:143:56 [INFO] [stdout] | [INFO] [stdout] 143 | fn new(value: &Value) -> Result> { [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] 143 - fn new(value: &Value) -> Result> { [INFO] [stdout] 143 + fn new(value: &Value) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/pattern/template.rs:262:43 [INFO] [stdout] | [INFO] [stdout] 262 | fn expand(&self) -> Result> { [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] 262 - fn expand(&self) -> Result> { [INFO] [stdout] 262 + fn expand(&self) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_yaml v0.7.5 [INFO] [stderr] Compiling log4rs-routing-appender v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/mod.rs:151:25 [INFO] [stdout] | [INFO] [stdout] 151 | impl Deserializable for Route { [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] 151 - impl Deserializable for Route { [INFO] [stdout] 151 + impl Deserializable for dyn Route { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/mod.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct Appender(Arc>); [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] 132 - pub struct Appender(Arc>); [INFO] [stdout] 132 + pub struct Appender(Arc>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | router: 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] 113 - router: Box, [INFO] [stdout] 113 + router: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:281:28 [INFO] [stdout] | [INFO] [stdout] 281 | fn appender(&self) -> &Append; [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] 281 - fn appender(&self) -> &Append; [INFO] [stdout] 281 + fn appender(&self) -> &dyn Append; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:126:57 [INFO] [stdout] | [INFO] [stdout] 126 | fn append(&self, record: &Record) -> Result<(), 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] 126 - fn append(&self, record: &Record) -> Result<(), Box> { [INFO] [stdout] 126 + fn append(&self, record: &Record) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:159:36 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn build(self, router: Box) -> RoutingAppender { [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] 159 - pub fn build(self, router: Box) -> RoutingAppender { [INFO] [stdout] 159 + pub fn build(self, router: Box) -> RoutingAppender { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:194:18 [INFO] [stdout] | [INFO] [stdout] 194 | type Trait = Append; [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] 194 - type Trait = Append; [INFO] [stdout] 194 + type Trait = dyn Append; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | ) -> Result, 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] 201 - ) -> Result, Box> { [INFO] [stdout] 201 + ) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:201:34 [INFO] [stdout] | [INFO] [stdout] 201 | ) -> Result, 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] 201 - ) -> Result, Box> { [INFO] [stdout] 201 + ) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/mod.rs:147:31 [INFO] [stdout] | [INFO] [stdout] 147 | ) -> Result>; [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] 147 - ) -> Result>; [INFO] [stdout] 147 + ) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/mod.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | F: FnOnce() -> 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] 92 - F: FnOnce() -> Box, [INFO] [stdout] 92 + F: FnOnce() -> Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/mod.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn insert(self, value: Box) -> Appender { [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] 120 - pub fn insert(self, value: Box) -> Appender { [INFO] [stdout] 120 + pub fn insert(self, value: Box) -> Appender { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/mod.rs:135:28 [INFO] [stdout] | [INFO] [stdout] 135 | fn appender(&self) -> &Append { [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] 135 - fn appender(&self) -> &Append { [INFO] [stdout] 135 + fn appender(&self) -> &dyn Append { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/pattern/mod.rs:72:76 [INFO] [stdout] | [INFO] [stdout] 72 | fn route(&self, _: &Record, cache: &mut Cache) -> Result> { [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] 72 - fn route(&self, _: &Record, cache: &mut Cache) -> Result> { [INFO] [stdout] 72 + fn route(&self, _: &Record, cache: &mut Cache) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/pattern/mod.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | type Trait = Route; [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] 99 - type Trait = Route; [INFO] [stdout] 99 + type Trait = dyn Route; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/pattern/mod.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | ) -> Result, 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] 106 - ) -> Result, Box> { [INFO] [stdout] 106 + ) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/pattern/mod.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | ) -> Result, 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] 106 - ) -> Result, Box> { [INFO] [stdout] 106 + ) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/pattern/template.rs:17:57 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(pattern: &Value) -> Result> { [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] 17 - pub fn new(pattern: &Value) -> Result> { [INFO] [stdout] 17 + pub fn new(pattern: &Value) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/pattern/template.rs:38:47 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn expand(&self) -> Result> { [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] 38 - pub fn expand(&self) -> Result> { [INFO] [stdout] 38 + pub fn expand(&self) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/pattern/template.rs:143:56 [INFO] [stdout] | [INFO] [stdout] 143 | fn new(value: &Value) -> Result> { [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] 143 - fn new(value: &Value) -> Result> { [INFO] [stdout] 143 + fn new(value: &Value) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/route/pattern/template.rs:262:43 [INFO] [stdout] | [INFO] [stdout] 262 | fn expand(&self) -> Result> { [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] 262 - fn expand(&self) -> Result> { [INFO] [stdout] 262 + fn expand(&self) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/pattern.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | fn append(&self, _: &Record) -> Result<(), Box> { [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 - fn append(&self, _: &Record) -> Result<(), Box> { [INFO] [stdout] 29 + fn append(&self, _: &Record) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/pattern.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | type Trait = Append; [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] 41 - type Trait = Append; [INFO] [stdout] 41 + type Trait = dyn Append; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/pattern.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | ) -> Result, 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] 47 - ) -> Result, Box> { [INFO] [stdout] 47 + ) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/pattern.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | ) -> Result, 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] 47 - ) -> Result, Box> { [INFO] [stdout] 47 + ) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.97s [INFO] running `Command { std: "docker" "inspect" "9695547fdd1303fefbb4c53194577708baf94c4e72dbcd8c16c0cce881e51f6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9695547fdd1303fefbb4c53194577708baf94c4e72dbcd8c16c0cce881e51f6a", kill_on_drop: false }` [INFO] [stdout] 9695547fdd1303fefbb4c53194577708baf94c4e72dbcd8c16c0cce881e51f6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b2921e848727277cf801f9cb38e21cde8d446df97f9df7eda6d8dcb86cd385b4 [INFO] running `Command { std: "docker" "start" "-a" "b2921e848727277cf801f9cb38e21cde8d446df97f9df7eda6d8dcb86cd385b4", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/route/mod.rs:151:25 [INFO] [stderr] | [INFO] [stderr] 151 | impl Deserializable for Route { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 151 - impl Deserializable for Route { [INFO] [stderr] 151 + impl Deserializable for dyn Route { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/route/mod.rs:132:29 [INFO] [stderr] | [INFO] [stderr] 132 | pub struct Appender(Arc>); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 132 - pub struct Appender(Arc>); [INFO] [stderr] 132 + pub struct Appender(Arc>); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:113:17 [INFO] [stderr] | [INFO] [stderr] 113 | router: Box, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 113 - router: Box, [INFO] [stderr] 113 + router: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:281:28 [INFO] [stderr] | [INFO] [stderr] 281 | fn appender(&self) -> &Append; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 281 - fn appender(&self) -> &Append; [INFO] [stderr] 281 + fn appender(&self) -> &dyn Append; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:126:57 [INFO] [stderr] | [INFO] [stderr] 126 | fn append(&self, record: &Record) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 126 - fn append(&self, record: &Record) -> Result<(), Box> { [INFO] [stderr] 126 + fn append(&self, record: &Record) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:159:36 [INFO] [stderr] | [INFO] [stderr] 159 | pub fn build(self, router: Box) -> RoutingAppender { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 159 - pub fn build(self, router: Box) -> RoutingAppender { [INFO] [stderr] 159 + pub fn build(self, router: Box) -> RoutingAppender { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:194:18 [INFO] [stderr] | [INFO] [stderr] 194 | type Trait = Append; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 194 - type Trait = Append; [INFO] [stderr] 194 + type Trait = dyn Append; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:201:21 [INFO] [stderr] | [INFO] [stderr] 201 | ) -> Result, Box> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 201 - ) -> Result, Box> { [INFO] [stderr] 201 + ) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:201:34 [INFO] [stderr] | [INFO] [stderr] 201 | ) -> Result, Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 201 - ) -> Result, Box> { [INFO] [stderr] 201 + ) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/route/mod.rs:147:31 [INFO] [stderr] | [INFO] [stderr] 147 | ) -> Result>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 147 - ) -> Result>; [INFO] [stderr] 147 + ) -> Result>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/route/mod.rs:92:28 [INFO] [stderr] | [INFO] [stderr] 92 | F: FnOnce() -> Box, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 92 - F: FnOnce() -> Box, [INFO] [stderr] 92 + F: FnOnce() -> Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/route/mod.rs:120:36 [INFO] [stderr] | [INFO] [stderr] 120 | pub fn insert(self, value: Box) -> Appender { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 120 - pub fn insert(self, value: Box) -> Appender { [INFO] [stderr] 120 + pub fn insert(self, value: Box) -> Appender { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/route/mod.rs:135:28 [INFO] [stderr] | [INFO] [stderr] 135 | fn appender(&self) -> &Append { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 135 - fn appender(&self) -> &Append { [INFO] [stderr] 135 + fn appender(&self) -> &dyn Append { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/route/pattern/mod.rs:72:76 [INFO] [stderr] | [INFO] [stderr] 72 | fn route(&self, _: &Record, cache: &mut Cache) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 72 - fn route(&self, _: &Record, cache: &mut Cache) -> Result> { [INFO] [stderr] 72 + fn route(&self, _: &Record, cache: &mut Cache) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/route/pattern/mod.rs:99:18 [INFO] [stderr] | [INFO] [stderr] 99 | type Trait = Route; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 99 - type Trait = Route; [INFO] [stderr] 99 + type Trait = dyn Route; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/route/pattern/mod.rs:106:21 [INFO] [stderr] | [INFO] [stderr] 106 | ) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 106 - ) -> Result, Box> { [INFO] [stderr] 106 + ) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/route/pattern/mod.rs:106:33 [INFO] [stderr] | [INFO] [stderr] 106 | ) -> Result, Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 106 - ) -> Result, Box> { [INFO] [stderr] 106 + ) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/route/pattern/template.rs:17:57 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn new(pattern: &Value) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 17 - pub fn new(pattern: &Value) -> Result> { [INFO] [stderr] 17 + pub fn new(pattern: &Value) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/route/pattern/template.rs:38:47 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn expand(&self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 38 - pub fn expand(&self) -> Result> { [INFO] [stderr] 38 + pub fn expand(&self) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/route/pattern/template.rs:143:56 [INFO] [stderr] | [INFO] [stderr] 143 | fn new(value: &Value) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 143 - fn new(value: &Value) -> Result> { [INFO] [stderr] 143 + fn new(value: &Value) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/route/pattern/template.rs:262:43 [INFO] [stderr] | [INFO] [stderr] 262 | fn expand(&self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 262 - fn expand(&self) -> Result> { [INFO] [stderr] 262 + fn expand(&self) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `log4rs-routing-appender` (lib) generated 21 warnings [INFO] [stderr] warning: `log4rs-routing-appender` (lib test) generated 21 warnings (21 duplicates) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/pattern.rs:29:52 [INFO] [stderr] | [INFO] [stderr] 29 | fn append(&self, _: &Record) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 29 - fn append(&self, _: &Record) -> Result<(), Box> { [INFO] [stderr] 29 + fn append(&self, _: &Record) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/pattern.rs:41:18 [INFO] [stderr] | [INFO] [stderr] 41 | type Trait = Append; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 41 - type Trait = Append; [INFO] [stderr] 41 + type Trait = dyn Append; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/pattern.rs:47:21 [INFO] [stderr] | [INFO] [stderr] 47 | ) -> Result, Box> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 47 - ) -> Result, Box> { [INFO] [stderr] 47 + ) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/pattern.rs:47:34 [INFO] [stderr] | [INFO] [stderr] 47 | ) -> Result, Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 47 - ) -> Result, Box> { [INFO] [stderr] 47 + ) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `log4rs-routing-appender` (test "pattern") generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/log4rs_routing_appender-221968804cf82765) [INFO] [stdout] [INFO] [stderr] Running tests/pattern.rs (/opt/rustwide/target/debug/deps/pattern-67e712a2f081f53a) [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test pattern ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests log4rs-routing-appender [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 23) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b2921e848727277cf801f9cb38e21cde8d446df97f9df7eda6d8dcb86cd385b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2921e848727277cf801f9cb38e21cde8d446df97f9df7eda6d8dcb86cd385b4", kill_on_drop: false }` [INFO] [stdout] b2921e848727277cf801f9cb38e21cde8d446df97f9df7eda6d8dcb86cd385b4