[INFO] fetching crate emit 0.10.0... [INFO] testing emit-0.10.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate emit 0.10.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate emit 0.10.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate emit 0.10.0 [INFO] finished tweaking crates.io crate emit 0.10.0 [INFO] tweaked toml for crates.io crate emit 0.10.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5b13c4bb14a6d6e0765e65ab98fbb7e1c57ac5b384987c106608aaa9b1636da8 [INFO] running `Command { std: "docker" "start" "-a" "5b13c4bb14a6d6e0765e65ab98fbb7e1c57ac5b384987c106608aaa9b1636da8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b13c4bb14a6d6e0765e65ab98fbb7e1c57ac5b384987c106608aaa9b1636da8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b13c4bb14a6d6e0765e65ab98fbb7e1c57ac5b384987c106608aaa9b1636da8", kill_on_drop: false }` [INFO] [stdout] 5b13c4bb14a6d6e0765e65ab98fbb7e1c57ac5b384987c106608aaa9b1636da8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93bb0ab6b5210dbe9511cf6f17428b589e117c073a23582355f2374750ef440b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "93bb0ab6b5210dbe9511cf6f17428b589e117c073a23582355f2374750ef440b", kill_on_drop: false }` [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Compiling serde v0.7.15 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling serde_json v0.7.4 [INFO] [stderr] Compiling emit v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/collectors/stdio/mod.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | try!(self.formatter.write_event(&event, to)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/collectors/stdio/mod.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | try!(writeln!(to, "")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/collectors/stdio/mod.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | try!(self.formatter.write_event(&event, to)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/collectors/stdio/mod.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | try!(writeln!(to, "")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/json/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | try!(write!(to, "{{\"@t\":\"{}\",\"@mt\":{}", isots, template)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/json/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | try!(write!(to, "}}")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/json/mod.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let template = try!(serde_json::to_string(event.message_template().text())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/json/mod.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | try!(write!(to, ",\"@l\":\"{}\"", event.level())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/json/mod.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | try!(write!(to, ",\"@{}\":{}", n, v.to_json())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/json/mod.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | try!(write!(to, ",\"{}\":{}", n, v.to_json())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/text/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | try!(writeln!(to, "{} {:5} {}", event.timestamp().format("%FT%TZ"), event.level(), content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/raw/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | try!(writeln!(to, "emit {} {:5} {}", event.timestamp().format("%FT%T%.9fZ"), event.level(), event.message_template().text())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/raw/mod.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | try!(writeln!(to, " {}: {}", n, v.to_json())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/pipeline/ambient.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | static PIPELINE_REF: atomic::AtomicUsize = atomic::ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/builder.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | elements: Vec>, [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] 22 - elements: Vec>, [INFO] [stdout] 22 + elements: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/builder.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | terminator: Option>, [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] 23 - terminator: Option>, [INFO] [stdout] 23 + terminator: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/chain.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | current: 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] 15 - current: Box, [INFO] [stdout] 15 + current: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/chain.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | next: 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] 16 - next: Box [INFO] [stdout] 16 + next: Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/reference.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | head: 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] 7 - head: Box, [INFO] [stdout] 7 + head: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/collectors/mod.rs:8:74 [INFO] [stdout] | [INFO] [stdout] 8 | fn accept_events(&self, events: &[Event<'static>]) -> 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] 8 - fn accept_events(&self, events: &[Event<'static>]) -> Result<(), Box>; [INFO] [stdout] 8 + fn accept_events(&self, events: &[Event<'static>]) -> Result<(), Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/collectors/mod.rs:23:55 [INFO] [stdout] | [INFO] [stdout] 23 | fn propagate(&self, event: Event<'static>, next: &Emit) { [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] 23 - fn propagate(&self, event: Event<'static>, next: &Emit) { [INFO] [stdout] 23 + fn propagate(&self, event: Event<'static>, next: &dyn Emit) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/mod.rs:11:85 [INFO] [stdout] | [INFO] [stdout] 11 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 11 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box>; [INFO] [stdout] 11 + fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/mod.rs:11:60 [INFO] [stdout] | [INFO] [stdout] 11 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 11 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box>; [INFO] [stdout] 11 + fn write_event(&self, event: &Event<'static>, to: &mut dyn Write) -> Result<(), Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/builder.rs:45:40 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn pipe(mut self, element: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - pub fn pipe(mut self, element: Box) -> Self { [INFO] [stdout] 45 + pub fn pipe(mut self, element: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/chain.rs:33:100 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn to_chain(elements: Vec>, terminator: Option>) -> 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] 33 - pub fn to_chain(elements: Vec>, terminator: Option>) -> Box { [INFO] [stdout] 33 + pub fn to_chain(elements: Vec>, terminator: Option>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/chain.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn to_chain(elements: Vec>, terminator: Option>) -> 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] 33 - pub fn to_chain(elements: Vec>, terminator: Option>) -> Box { [INFO] [stdout] 33 + pub fn to_chain(elements: Vec>, terminator: Option>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/chain.rs:33:78 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn to_chain(elements: Vec>, terminator: Option>) -> 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] 33 - pub fn to_chain(elements: Vec>, terminator: Option>) -> Box { [INFO] [stdout] 33 + pub fn to_chain(elements: Vec>, terminator: Option>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/chain.rs:11:55 [INFO] [stdout] | [INFO] [stdout] 11 | fn propagate(&self, event: Event<'static>, next: &Emit); [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] 11 - fn propagate(&self, event: Event<'static>, next: &Emit); [INFO] [stdout] 11 + fn propagate(&self, event: Event<'static>, next: &dyn Emit); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/reference.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(head: Box, level: LogLevelFilter) -> PipelineRef { [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] 14 - pub fn new(head: Box, level: LogLevelFilter) -> PipelineRef { [INFO] [stdout] 14 + pub fn new(head: Box, level: LogLevelFilter) -> PipelineRef { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/collectors/stdio/mod.rs:31:82 [INFO] [stdout] | [INFO] [stdout] 31 | fn accept_events(&self, events: &[events::Event<'static>]) -> 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] 31 - fn accept_events(&self, events: &[events::Event<'static>]) -> Result<(), Box> { [INFO] [stdout] 31 + fn accept_events(&self, events: &[events::Event<'static>]) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/enrichers/fixed_property/mod.rs:18:55 [INFO] [stdout] | [INFO] [stdout] 18 | fn propagate(&self, event: Event<'static>, next: &Emit) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn propagate(&self, event: Event<'static>, next: &Emit) { [INFO] [stdout] 18 + fn propagate(&self, event: Event<'static>, next: &dyn Emit) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/json/mod.rs:16:85 [INFO] [stdout] | [INFO] [stdout] 16 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 16 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] 16 + fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/json/mod.rs:16:60 [INFO] [stdout] | [INFO] [stdout] 16 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 16 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] 16 + fn write_event(&self, event: &Event<'static>, to: &mut dyn Write) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/text/mod.rs:15:85 [INFO] [stdout] | [INFO] [stdout] 15 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 15 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] 15 + fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/text/mod.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 15 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] 15 + fn write_event(&self, event: &Event<'static>, to: &mut dyn Write) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/raw/mod.rs:14:85 [INFO] [stdout] | [INFO] [stdout] 14 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 14 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] 14 + fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/raw/mod.rs:14:60 [INFO] [stdout] | [INFO] [stdout] 14 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 14 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] 14 + fn write_event(&self, event: &Event<'static>, to: &mut dyn Write) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/stdio/mod.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | let mut to = &mut err.lock(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/stdio/mod.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | let mut to = &mut out.lock(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/templates/mod.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | write!(&mut template, "{{{}}}", names[next_name]).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/templates/mod.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | write!(&mut template, "{{{}}}", next_name).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/templates/repl.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | write!(result, "{}", lit).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/templates/repl.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | write!(result, "{}", val).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/templates/repl.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | write!(result, "{}", lit).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/templates/repl.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | write!(result, "{}", val).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/templates/repl.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | write!(result, "{}", lit).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/pipeline/async.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | self.chan.send(Item::Done).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/pipeline/async.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | handle.join().is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.01s [INFO] running `Command { std: "docker" "inspect" "93bb0ab6b5210dbe9511cf6f17428b589e117c073a23582355f2374750ef440b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93bb0ab6b5210dbe9511cf6f17428b589e117c073a23582355f2374750ef440b", kill_on_drop: false }` [INFO] [stdout] 93bb0ab6b5210dbe9511cf6f17428b589e117c073a23582355f2374750ef440b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0bc5085ef9a8f5000a95118132f4f64049f6384891f3b16efab5c08d1903f668 [INFO] running `Command { std: "docker" "start" "-a" "0bc5085ef9a8f5000a95118132f4f64049f6384891f3b16efab5c08d1903f668", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/collectors/stdio/mod.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | try!(self.formatter.write_event(&event, to)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/collectors/stdio/mod.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | try!(writeln!(to, "")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/collectors/stdio/mod.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | try!(self.formatter.write_event(&event, to)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/collectors/stdio/mod.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | try!(writeln!(to, "")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/json/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | try!(write!(to, "{{\"@t\":\"{}\",\"@mt\":{}", isots, template)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/json/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | try!(write!(to, "}}")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/json/mod.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let template = try!(serde_json::to_string(event.message_template().text())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/json/mod.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | try!(write!(to, ",\"@l\":\"{}\"", event.level())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/json/mod.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | try!(write!(to, ",\"@{}\":{}", n, v.to_json())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/json/mod.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | try!(write!(to, ",\"{}\":{}", n, v.to_json())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/text/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | try!(writeln!(to, "{} {:5} {}", event.timestamp().format("%FT%TZ"), event.level(), content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/raw/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | try!(writeln!(to, "emit {} {:5} {}", event.timestamp().format("%FT%T%.9fZ"), event.level(), event.message_template().text())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/raw/mod.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | try!(writeln!(to, " {}: {}", n, v.to_json())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/pipeline/ambient.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | static PIPELINE_REF: atomic::AtomicUsize = atomic::ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/builder.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | elements: Vec>, [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] 22 - elements: Vec>, [INFO] [stdout] 22 + elements: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/builder.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | terminator: Option>, [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] 23 - terminator: Option>, [INFO] [stdout] 23 + terminator: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/chain.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | current: 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] 15 - current: Box, [INFO] [stdout] 15 + current: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/chain.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | next: 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] 16 - next: Box [INFO] [stdout] 16 + next: Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/reference.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | head: 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] 7 - head: Box, [INFO] [stdout] 7 + head: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/collectors/mod.rs:8:74 [INFO] [stdout] | [INFO] [stdout] 8 | fn accept_events(&self, events: &[Event<'static>]) -> 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] 8 - fn accept_events(&self, events: &[Event<'static>]) -> Result<(), Box>; [INFO] [stdout] 8 + fn accept_events(&self, events: &[Event<'static>]) -> Result<(), Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/collectors/mod.rs:23:55 [INFO] [stdout] | [INFO] [stdout] 23 | fn propagate(&self, event: Event<'static>, next: &Emit) { [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] 23 - fn propagate(&self, event: Event<'static>, next: &Emit) { [INFO] [stdout] 23 + fn propagate(&self, event: Event<'static>, next: &dyn Emit) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/mod.rs:11:85 [INFO] [stdout] | [INFO] [stdout] 11 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 11 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box>; [INFO] [stdout] 11 + fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/mod.rs:11:60 [INFO] [stdout] | [INFO] [stdout] 11 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 11 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box>; [INFO] [stdout] 11 + fn write_event(&self, event: &Event<'static>, to: &mut dyn Write) -> Result<(), Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/builder.rs:45:40 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn pipe(mut self, element: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - pub fn pipe(mut self, element: Box) -> Self { [INFO] [stdout] 45 + pub fn pipe(mut self, element: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling emit v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/chain.rs:33:100 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn to_chain(elements: Vec>, terminator: Option>) -> 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] 33 - pub fn to_chain(elements: Vec>, terminator: Option>) -> Box { [INFO] [stdout] 33 + pub fn to_chain(elements: Vec>, terminator: Option>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/chain.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn to_chain(elements: Vec>, terminator: Option>) -> 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] 33 - pub fn to_chain(elements: Vec>, terminator: Option>) -> Box { [INFO] [stdout] 33 + pub fn to_chain(elements: Vec>, terminator: Option>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/chain.rs:33:78 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn to_chain(elements: Vec>, terminator: Option>) -> 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] 33 - pub fn to_chain(elements: Vec>, terminator: Option>) -> Box { [INFO] [stdout] 33 + pub fn to_chain(elements: Vec>, terminator: Option>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/chain.rs:11:55 [INFO] [stdout] | [INFO] [stdout] 11 | fn propagate(&self, event: Event<'static>, next: &Emit); [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] 11 - fn propagate(&self, event: Event<'static>, next: &Emit); [INFO] [stdout] 11 + fn propagate(&self, event: Event<'static>, next: &dyn Emit); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/reference.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(head: Box, level: LogLevelFilter) -> PipelineRef { [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] 14 - pub fn new(head: Box, level: LogLevelFilter) -> PipelineRef { [INFO] [stdout] 14 + pub fn new(head: Box, level: LogLevelFilter) -> PipelineRef { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/collectors/stdio/mod.rs:31:82 [INFO] [stdout] | [INFO] [stdout] 31 | fn accept_events(&self, events: &[events::Event<'static>]) -> 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] 31 - fn accept_events(&self, events: &[events::Event<'static>]) -> Result<(), Box> { [INFO] [stdout] 31 + fn accept_events(&self, events: &[events::Event<'static>]) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/enrichers/fixed_property/mod.rs:18:55 [INFO] [stdout] | [INFO] [stdout] 18 | fn propagate(&self, event: Event<'static>, next: &Emit) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn propagate(&self, event: Event<'static>, next: &Emit) { [INFO] [stdout] 18 + fn propagate(&self, event: Event<'static>, next: &dyn Emit) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/json/mod.rs:16:85 [INFO] [stdout] | [INFO] [stdout] 16 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 16 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] 16 + fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/json/mod.rs:16:60 [INFO] [stdout] | [INFO] [stdout] 16 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 16 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] 16 + fn write_event(&self, event: &Event<'static>, to: &mut dyn Write) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/text/mod.rs:15:85 [INFO] [stdout] | [INFO] [stdout] 15 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 15 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] 15 + fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/text/mod.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 15 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] 15 + fn write_event(&self, event: &Event<'static>, to: &mut dyn Write) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/raw/mod.rs:14:85 [INFO] [stdout] | [INFO] [stdout] 14 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 14 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] 14 + fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/raw/mod.rs:14:60 [INFO] [stdout] | [INFO] [stdout] 14 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 14 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] 14 + fn write_event(&self, event: &Event<'static>, to: &mut dyn Write) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/stdio/mod.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | let mut to = &mut err.lock(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/stdio/mod.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | let mut to = &mut out.lock(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/templates/mod.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | write!(&mut template, "{{{}}}", names[next_name]).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/templates/mod.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | write!(&mut template, "{{{}}}", next_name).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/templates/repl.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | write!(result, "{}", lit).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/templates/repl.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | write!(result, "{}", val).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/templates/repl.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | write!(result, "{}", lit).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/templates/repl.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | write!(result, "{}", val).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/templates/repl.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | write!(result, "{}", lit).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/pipeline/async.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | self.chan.send(Item::Done).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/pipeline/async.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | handle.join().is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/collectors/stdio/mod.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | try!(self.formatter.write_event(&event, to)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/collectors/stdio/mod.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | try!(writeln!(to, "")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/collectors/stdio/mod.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | try!(self.formatter.write_event(&event, to)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/collectors/stdio/mod.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | try!(writeln!(to, "")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/json/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | try!(write!(to, "{{\"@t\":\"{}\",\"@mt\":{}", isots, template)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/json/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | try!(write!(to, "}}")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/json/mod.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let template = try!(serde_json::to_string(event.message_template().text())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/json/mod.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | try!(write!(to, ",\"@l\":\"{}\"", event.level())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/json/mod.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | try!(write!(to, ",\"@{}\":{}", n, v.to_json())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/json/mod.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | try!(write!(to, ",\"{}\":{}", n, v.to_json())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/text/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | try!(writeln!(to, "{} {:5} {}", event.timestamp().format("%FT%TZ"), event.level(), content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/raw/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | try!(writeln!(to, "emit {} {:5} {}", event.timestamp().format("%FT%T%.9fZ"), event.level(), event.message_template().text())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/formatters/raw/mod.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | try!(writeln!(to, " {}: {}", n, v.to_json())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/pipeline/ambient.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | static PIPELINE_REF: atomic::AtomicUsize = atomic::ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/builder.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | elements: Vec>, [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] 22 - elements: Vec>, [INFO] [stdout] 22 + elements: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/builder.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | terminator: Option>, [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] 23 - terminator: Option>, [INFO] [stdout] 23 + terminator: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/chain.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | current: 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] 15 - current: Box, [INFO] [stdout] 15 + current: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/chain.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | next: 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] 16 - next: Box [INFO] [stdout] 16 + next: Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/reference.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | head: 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] 7 - head: Box, [INFO] [stdout] 7 + head: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/collectors/mod.rs:8:74 [INFO] [stdout] | [INFO] [stdout] 8 | fn accept_events(&self, events: &[Event<'static>]) -> 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] 8 - fn accept_events(&self, events: &[Event<'static>]) -> Result<(), Box>; [INFO] [stdout] 8 + fn accept_events(&self, events: &[Event<'static>]) -> Result<(), Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/collectors/mod.rs:23:55 [INFO] [stdout] | [INFO] [stdout] 23 | fn propagate(&self, event: Event<'static>, next: &Emit) { [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] 23 - fn propagate(&self, event: Event<'static>, next: &Emit) { [INFO] [stdout] 23 + fn propagate(&self, event: Event<'static>, next: &dyn Emit) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/mod.rs:11:85 [INFO] [stdout] | [INFO] [stdout] 11 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 11 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box>; [INFO] [stdout] 11 + fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/mod.rs:11:60 [INFO] [stdout] | [INFO] [stdout] 11 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 11 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box>; [INFO] [stdout] 11 + fn write_event(&self, event: &Event<'static>, to: &mut dyn Write) -> Result<(), Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/builder.rs:45:40 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn pipe(mut self, element: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - pub fn pipe(mut self, element: Box) -> Self { [INFO] [stdout] 45 + pub fn pipe(mut self, element: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/chain.rs:33:100 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn to_chain(elements: Vec>, terminator: Option>) -> 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] 33 - pub fn to_chain(elements: Vec>, terminator: Option>) -> Box { [INFO] [stdout] 33 + pub fn to_chain(elements: Vec>, terminator: Option>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/chain.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn to_chain(elements: Vec>, terminator: Option>) -> 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] 33 - pub fn to_chain(elements: Vec>, terminator: Option>) -> Box { [INFO] [stdout] 33 + pub fn to_chain(elements: Vec>, terminator: Option>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/chain.rs:33:78 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn to_chain(elements: Vec>, terminator: Option>) -> 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] 33 - pub fn to_chain(elements: Vec>, terminator: Option>) -> Box { [INFO] [stdout] 33 + pub fn to_chain(elements: Vec>, terminator: Option>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/chain.rs:11:55 [INFO] [stdout] | [INFO] [stdout] 11 | fn propagate(&self, event: Event<'static>, next: &Emit); [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] 11 - fn propagate(&self, event: Event<'static>, next: &Emit); [INFO] [stdout] 11 + fn propagate(&self, event: Event<'static>, next: &dyn Emit); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pipeline/reference.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(head: Box, level: LogLevelFilter) -> PipelineRef { [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] 14 - pub fn new(head: Box, level: LogLevelFilter) -> PipelineRef { [INFO] [stdout] 14 + pub fn new(head: Box, level: LogLevelFilter) -> PipelineRef { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/collectors/stdio/mod.rs:31:82 [INFO] [stdout] | [INFO] [stdout] 31 | fn accept_events(&self, events: &[events::Event<'static>]) -> 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] 31 - fn accept_events(&self, events: &[events::Event<'static>]) -> Result<(), Box> { [INFO] [stdout] 31 + fn accept_events(&self, events: &[events::Event<'static>]) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/enrichers/fixed_property/mod.rs:18:55 [INFO] [stdout] | [INFO] [stdout] 18 | fn propagate(&self, event: Event<'static>, next: &Emit) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn propagate(&self, event: Event<'static>, next: &Emit) { [INFO] [stdout] 18 + fn propagate(&self, event: Event<'static>, next: &dyn Emit) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/json/mod.rs:16:85 [INFO] [stdout] | [INFO] [stdout] 16 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 16 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] 16 + fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/json/mod.rs:16:60 [INFO] [stdout] | [INFO] [stdout] 16 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 16 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] 16 + fn write_event(&self, event: &Event<'static>, to: &mut dyn Write) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/text/mod.rs:15:85 [INFO] [stdout] | [INFO] [stdout] 15 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 15 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] 15 + fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/text/mod.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 15 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] 15 + fn write_event(&self, event: &Event<'static>, to: &mut dyn Write) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/raw/mod.rs:14:85 [INFO] [stdout] | [INFO] [stdout] 14 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 14 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] 14 + fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatters/raw/mod.rs:14:60 [INFO] [stdout] | [INFO] [stdout] 14 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 14 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stdout] 14 + fn write_event(&self, event: &Event<'static>, to: &mut dyn Write) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/stdio/mod.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | let mut to = &mut err.lock(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collectors/stdio/mod.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | let mut to = &mut out.lock(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/templates/mod.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | write!(&mut template, "{{{}}}", names[next_name]).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/templates/mod.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | write!(&mut template, "{{{}}}", next_name).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/templates/repl.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | write!(result, "{}", lit).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/templates/repl.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | write!(result, "{}", val).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/templates/repl.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | write!(result, "{}", lit).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/templates/repl.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | write!(result, "{}", val).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/templates/repl.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | write!(result, "{}", lit).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/pipeline/async.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | self.chan.send(Item::Done).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/pipeline/async.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | handle.join().is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/formatters/json/mod.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | fmt.write_event(&evt, &mut content).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.22s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/emit-97e54f55d8a8f89e) [INFO] running `Command { std: "docker" "inspect" "0bc5085ef9a8f5000a95118132f4f64049f6384891f3b16efab5c08d1903f668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bc5085ef9a8f5000a95118132f4f64049f6384891f3b16efab5c08d1903f668", kill_on_drop: false }` [INFO] [stdout] 0bc5085ef9a8f5000a95118132f4f64049f6384891f3b16efab5c08d1903f668 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 85c04ce3276f37ea48843d0f3b0aaccba49f12314ccdb9aa89d0eb6a05219316 [INFO] running `Command { std: "docker" "start" "-a" "85c04ce3276f37ea48843d0f3b0aaccba49f12314ccdb9aa89d0eb6a05219316", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/collectors/stdio/mod.rs:37:17 [INFO] [stderr] | [INFO] [stderr] 37 | try!(self.formatter.write_event(&event, to)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/collectors/stdio/mod.rs:38:17 [INFO] [stderr] | [INFO] [stderr] 38 | try!(writeln!(to, "")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/collectors/stdio/mod.rs:41:17 [INFO] [stderr] | [INFO] [stderr] 41 | try!(self.formatter.write_event(&event, to)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/collectors/stdio/mod.rs:42:17 [INFO] [stderr] | [INFO] [stderr] 42 | try!(writeln!(to, "")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/formatters/json/mod.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | try!(write!(to, "{{\"@t\":\"{}\",\"@mt\":{}", isots, template)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/formatters/json/mod.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | try!(write!(to, "}}")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/formatters/json/mod.rs:17:24 [INFO] [stderr] | [INFO] [stderr] 17 | let template = try!(serde_json::to_string(event.message_template().text())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/formatters/json/mod.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | try!(write!(to, ",\"@l\":\"{}\"", event.level())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/formatters/json/mod.rs:29:17 [INFO] [stderr] | [INFO] [stderr] 29 | try!(write!(to, ",\"@{}\":{}", n, v.to_json())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/formatters/json/mod.rs:31:17 [INFO] [stderr] | [INFO] [stderr] 31 | try!(write!(to, ",\"{}\":{}", n, v.to_json())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/formatters/text/mod.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | try!(writeln!(to, "{} {:5} {}", event.timestamp().format("%FT%TZ"), event.level(), content)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/formatters/raw/mod.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | try!(writeln!(to, "emit {} {:5} {}", event.timestamp().format("%FT%T%.9fZ"), event.level(), event.message_template().text())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/formatters/raw/mod.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | try!(writeln!(to, " {}: {}", n, v.to_json())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/pipeline/ambient.rs:7:52 [INFO] [stderr] | [INFO] [stderr] 7 | static PIPELINE_REF: atomic::AtomicUsize = atomic::ATOMIC_USIZE_INIT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/pipeline/builder.rs:22:23 [INFO] [stderr] | [INFO] [stderr] 22 | elements: Vec>, [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] 22 - elements: Vec>, [INFO] [stderr] 22 + elements: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/pipeline/builder.rs:23:28 [INFO] [stderr] | [INFO] [stderr] 23 | terminator: Option>, [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] 23 - terminator: Option>, [INFO] [stderr] 23 + terminator: Option>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/pipeline/chain.rs:15:18 [INFO] [stderr] | [INFO] [stderr] 15 | current: 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] 15 - current: Box, [INFO] [stderr] 15 + current: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/pipeline/chain.rs:16:15 [INFO] [stderr] | [INFO] [stderr] 16 | next: 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] 16 - next: Box [INFO] [stderr] 16 + next: Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/pipeline/reference.rs:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | head: 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] 7 - head: Box, [INFO] [stderr] 7 + head: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/collectors/mod.rs:8:74 [INFO] [stderr] | [INFO] [stderr] 8 | fn accept_events(&self, events: &[Event<'static>]) -> 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] 8 - fn accept_events(&self, events: &[Event<'static>]) -> Result<(), Box>; [INFO] [stderr] 8 + fn accept_events(&self, events: &[Event<'static>]) -> Result<(), Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/collectors/mod.rs:23:55 [INFO] [stderr] | [INFO] [stderr] 23 | fn propagate(&self, event: Event<'static>, next: &Emit) { [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] 23 - fn propagate(&self, event: Event<'static>, next: &Emit) { [INFO] [stderr] 23 + fn propagate(&self, event: Event<'static>, next: &dyn Emit) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/formatters/mod.rs:11:85 [INFO] [stderr] | [INFO] [stderr] 11 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 11 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box>; [INFO] [stderr] 11 + fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/formatters/mod.rs:11:60 [INFO] [stderr] | [INFO] [stderr] 11 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 11 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box>; [INFO] [stderr] 11 + fn write_event(&self, event: &Event<'static>, to: &mut dyn Write) -> Result<(), Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/pipeline/builder.rs:45:40 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn pipe(mut self, element: Box) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 45 - pub fn pipe(mut self, element: Box) -> Self { [INFO] [stderr] 45 + pub fn pipe(mut self, element: Box) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/pipeline/chain.rs:33:100 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn to_chain(elements: Vec>, terminator: Option>) -> 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] 33 - pub fn to_chain(elements: Vec>, terminator: Option>) -> Box { [INFO] [stderr] 33 + pub fn to_chain(elements: Vec>, terminator: Option>) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/pipeline/chain.rs:33:35 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn to_chain(elements: Vec>, terminator: Option>) -> 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] 33 - pub fn to_chain(elements: Vec>, terminator: Option>) -> Box { [INFO] [stderr] 33 + pub fn to_chain(elements: Vec>, terminator: Option>) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/pipeline/chain.rs:33:78 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn to_chain(elements: Vec>, terminator: Option>) -> 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] 33 - pub fn to_chain(elements: Vec>, terminator: Option>) -> Box { [INFO] [stderr] 33 + pub fn to_chain(elements: Vec>, terminator: Option>) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/pipeline/chain.rs:11:55 [INFO] [stderr] | [INFO] [stderr] 11 | fn propagate(&self, event: Event<'static>, next: &Emit); [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] 11 - fn propagate(&self, event: Event<'static>, next: &Emit); [INFO] [stderr] 11 + fn propagate(&self, event: Event<'static>, next: &dyn Emit); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/pipeline/reference.rs:14:26 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn new(head: Box, level: LogLevelFilter) -> PipelineRef { [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] 14 - pub fn new(head: Box, level: LogLevelFilter) -> PipelineRef { [INFO] [stderr] 14 + pub fn new(head: Box, level: LogLevelFilter) -> PipelineRef { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/collectors/stdio/mod.rs:31:82 [INFO] [stderr] | [INFO] [stderr] 31 | fn accept_events(&self, events: &[events::Event<'static>]) -> 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] 31 - fn accept_events(&self, events: &[events::Event<'static>]) -> Result<(), Box> { [INFO] [stderr] 31 + fn accept_events(&self, events: &[events::Event<'static>]) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/enrichers/fixed_property/mod.rs:18:55 [INFO] [stderr] | [INFO] [stderr] 18 | fn propagate(&self, event: Event<'static>, next: &Emit) { [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] 18 - fn propagate(&self, event: Event<'static>, next: &Emit) { [INFO] [stderr] 18 + fn propagate(&self, event: Event<'static>, next: &dyn Emit) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/formatters/json/mod.rs:16:85 [INFO] [stderr] | [INFO] [stderr] 16 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 16 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stderr] 16 + fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/formatters/json/mod.rs:16:60 [INFO] [stderr] | [INFO] [stderr] 16 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 16 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stderr] 16 + fn write_event(&self, event: &Event<'static>, to: &mut dyn Write) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/formatters/text/mod.rs:15:85 [INFO] [stderr] | [INFO] [stderr] 15 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 15 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stderr] 15 + fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/formatters/text/mod.rs:15:60 [INFO] [stderr] | [INFO] [stderr] 15 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 15 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stderr] 15 + fn write_event(&self, event: &Event<'static>, to: &mut dyn Write) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/formatters/raw/mod.rs:14:85 [INFO] [stderr] | [INFO] [stderr] 14 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 14 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stderr] 14 + fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/formatters/raw/mod.rs:14:60 [INFO] [stderr] | [INFO] [stderr] 14 | fn write_event(&self, event: &Event<'static>, to: &mut Write) -> 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] 14 - fn write_event(&self, event: &Event<'static>, to: &mut Write) -> Result<(), Box> { [INFO] [stderr] 14 + fn write_event(&self, event: &Event<'static>, to: &mut dyn Write) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/collectors/stdio/mod.rs:36:21 [INFO] [stderr] | [INFO] [stderr] 36 | let mut to = &mut err.lock(); [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/collectors/stdio/mod.rs:40:21 [INFO] [stderr] | [INFO] [stderr] 40 | let mut to = &mut out.lock(); [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stderr] --> src/templates/mod.rs:22:21 [INFO] [stderr] | [INFO] [stderr] 22 | write!(&mut template, "{{{}}}", names[next_name]).is_ok(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stderr] --> src/templates/mod.rs:24:21 [INFO] [stderr] | [INFO] [stderr] 24 | write!(&mut template, "{{{}}}", next_name).is_ok(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stderr] --> src/templates/repl.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | write!(result, "{}", lit).is_ok(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stderr] --> src/templates/repl.rs:43:17 [INFO] [stderr] | [INFO] [stderr] 43 | write!(result, "{}", val).is_ok(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stderr] --> src/templates/repl.rs:52:13 [INFO] [stderr] | [INFO] [stderr] 52 | write!(result, "{}", lit).is_ok(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stderr] --> src/templates/repl.rs:55:17 [INFO] [stderr] | [INFO] [stderr] 55 | write!(result, "{}", val).is_ok(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stderr] --> src/templates/repl.rs:64:13 [INFO] [stderr] | [INFO] [stderr] 64 | write!(result, "{}", lit).is_ok(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stderr] --> src/pipeline/async.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | self.chan.send(Item::Done).is_ok(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stderr] --> src/pipeline/async.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | handle.join().is_ok(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stderr] --> src/formatters/json/mod.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | fmt.write_event(&evt, &mut content).is_ok(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stderr] [INFO] [stderr] warning: `emit` (lib) generated 48 warnings [INFO] [stderr] warning: `emit` (lib test) generated 49 warnings (48 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/emit-97e54f55d8a8f89e) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test pipeline::reference::tests::info_is_enabled_at_info ... ok [INFO] [stdout] test formatters::json::tests::json_is_produced ... ok [INFO] [stdout] test pipeline::reference::tests::warn_is_enabled_at_info ... ok [INFO] [stdout] test templates::repl::tests::trailing_values_are_replaced ... ok [INFO] [stdout] test templates::tests::additional_names_are_ignored ... ok [INFO] [stdout] test templates::repl::tests::values_are_replaced ... ok [INFO] [stdout] test templates::tests::leading_holes_are_handled ... ok [INFO] [stdout] test templates::tests::templates_with_parameters_are_built ... ok [INFO] [stdout] test templates::tests::trailing_holes_are_handled ... ok [INFO] [stdout] test templates::repl::tests::duplicate_values_are_replaced ... ok [INFO] [stderr] Doc-tests emit [INFO] [stdout] 2022-04-13T14:04:10Z INFO Hello, User at 2139 in office! [INFO] [stdout] [INFO] [stdout] {"@t":"2022-04-13T14:04:10.301Z","@mt":"Hello, {name} at {time} in {room}!","app":"Test","name":"User","room":"office","target":"emit::tests","time":2139} [INFO] [stdout] emit 2022-04-13T14:04:10.301397969Z INFO Hello, {name} at {time} in {room}! [INFO] [stdout] app: "Test" [INFO] [stdout] name: "User" [INFO] [stdout] room: "office" [INFO] [stdout] target: "emit::tests" [INFO] [stdout] time: 2139 [INFO] [stdout] [INFO] [stdout] test pipeline::reference::tests::debug_is_disabled_at_info ... ok [INFO] [stdout] test templates::tests::templates_without_parameters_are_built ... ok [INFO] [stdout] test templates::tests::additional_holes_are_indexed ... ok [INFO] [stdout] test tests::pipeline_example ... ok [INFO] [stdout] test templates::repl::tests::missing_values_are_replaced_as_blank ... ok [INFO] [stdout] test tests::template_and_properties_are_captured ... ok [INFO] [stdout] test templates::repl::tests::malformed_labels_are_not_replaced ... ok [INFO] [stdout] test tests::unparameterized_templates_are_captured ... ok [INFO] [stdout] test templates::repl::tests::leading_values_are_replaced ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - (line 11) ... ignored [INFO] [stdout] test src/lib.rs - (line 20) ... ignored [INFO] [stdout] test src/lib.rs - debug (line 253) ... ignored [INFO] [stdout] test src/lib.rs - emit (line 161) ... ignored [INFO] [stdout] test src/lib.rs - emit (line 168) ... ignored [INFO] [stdout] test src/lib.rs - error (line 193) ... ignored [INFO] [stdout] test src/lib.rs - info (line 233) ... ignored [INFO] [stdout] test src/lib.rs - trace (line 273) ... ignored [INFO] [stdout] test src/lib.rs - warn (line 213) ... ignored [INFO] [stdout] test src/lib.rs - (line 47) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 9 ignored; 0 measured; 0 filtered out; finished in 1.22s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "85c04ce3276f37ea48843d0f3b0aaccba49f12314ccdb9aa89d0eb6a05219316", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85c04ce3276f37ea48843d0f3b0aaccba49f12314ccdb9aa89d0eb6a05219316", kill_on_drop: false }` [INFO] [stdout] 85c04ce3276f37ea48843d0f3b0aaccba49f12314ccdb9aa89d0eb6a05219316