[INFO] updating cached repository https://github.com/dgoetsch/dnd-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1fe114b2762ef3249739c9433bf191341093dfa1 [INFO] checking dgoetsch/dnd-cli/1fe114b2762ef3249739c9433bf191341093dfa1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgoetsch%2Fdnd-cli" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dgoetsch/dnd-cli on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dgoetsch/dnd-cli [INFO] finished tweaking git repo https://github.com/dgoetsch/dnd-cli [INFO] tweaked toml for git repo https://github.com/dgoetsch/dnd-cli written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dgoetsch/dnd-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a61afc41849d4178df433e73894a5b30a37c786977b9eb3e69efc03c1a4e832b [INFO] running `Command { std: "docker" "start" "-a" "a61afc41849d4178df433e73894a5b30a37c786977b9eb3e69efc03c1a4e832b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a61afc41849d4178df433e73894a5b30a37c786977b9eb3e69efc03c1a4e832b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a61afc41849d4178df433e73894a5b30a37c786977b9eb3e69efc03c1a4e832b", kill_on_drop: false }` [INFO] [stdout] a61afc41849d4178df433e73894a5b30a37c786977b9eb3e69efc03c1a4e832b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8895cc0fd1ad7a9d88619019254bda073741c73c56132262abe7ae70f23d46aa [INFO] running `Command { std: "docker" "start" "-a" "8895cc0fd1ad7a9d88619019254bda073741c73c56132262abe7ae70f23d46aa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Checking clap v3.1.5 [INFO] [stderr] Checking clap_complete v3.1.1 [INFO] [stderr] Checking dnd-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/domain/inventory.rs:314:24 [INFO] [stdout] | [INFO] [stdout] 314 | if (child_path.clone().is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 314 - if (child_path.clone().is_empty()) { [INFO] [stdout] 314 + if child_path.clone().is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/domain/inventory.rs:351:20 [INFO] [stdout] | [INFO] [stdout] 351 | if(child_path.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 351 - if(child_path.is_empty()) { [INFO] [stdout] 351 + if child_path.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/domain/inventory.rs:359:23 [INFO] [stdout] | [INFO] [stdout] 359 | if(child_path.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 359 - if(child_path.is_empty()) { [INFO] [stdout] 359 + if child_path.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/domain/inventory.rs:314:24 [INFO] [stdout] | [INFO] [stdout] 314 | if (child_path.clone().is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 314 - if (child_path.clone().is_empty()) { [INFO] [stdout] 314 + if child_path.clone().is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/domain/inventory.rs:402:32 [INFO] [stdout] | [INFO] [stdout] 402 | ... if (child_path.clone().is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 402 - if (child_path.clone().is_empty()) { [INFO] [stdout] 402 + if child_path.clone().is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/domain/inventory.rs:463:23 [INFO] [stdout] | [INFO] [stdout] 463 | if(child_path.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 463 - if(child_path.is_empty()) { [INFO] [stdout] 463 + if child_path.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/domain/inventory.rs:351:20 [INFO] [stdout] | [INFO] [stdout] 351 | if(child_path.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 351 - if(child_path.is_empty()) { [INFO] [stdout] 351 + if child_path.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/domain/roll.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | if (scope.matches(path)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - if (scope.matches(path)) { [INFO] [stdout] 23 + if scope.matches(path) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/domain/inventory.rs:359:23 [INFO] [stdout] | [INFO] [stdout] 359 | if(child_path.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 359 - if(child_path.is_empty()) { [INFO] [stdout] 359 + if child_path.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::FileType` [INFO] [stdout] --> src/store.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::fs::FileType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/domain/inventory.rs:402:32 [INFO] [stdout] | [INFO] [stdout] 402 | ... if (child_path.clone().is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 402 - if (child_path.clone().is_empty()) { [INFO] [stdout] 402 + if child_path.clone().is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/domain/inventory.rs:463:23 [INFO] [stdout] | [INFO] [stdout] 463 | if(child_path.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 463 - if(child_path.is_empty()) { [INFO] [stdout] 463 + if child_path.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/domain/roll.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | if (scope.matches(path)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - if (scope.matches(path)) { [INFO] [stdout] 23 + if scope.matches(path) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::FileType` [INFO] [stdout] --> src/store.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::fs::FileType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:164:24 [INFO] [stdout] | [INFO] [stdout] 164 | fn render(renderable: &Render) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 164 | fn render(renderable: &dyn Render) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render.rs:4:47 [INFO] [stdout] | [INFO] [stdout] 4 | fn render(&self, indent: usize, out: &mut std::io::Write) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 | fn render(&self, indent: usize, out: &mut dyn std::io::Write) -> Result<()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:164:24 [INFO] [stdout] | [INFO] [stdout] 164 | fn render(renderable: &Render) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 164 | fn render(renderable: &dyn Render) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render.rs:4:47 [INFO] [stdout] | [INFO] [stdout] 4 | fn render(&self, indent: usize, out: &mut std::io::Write) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 | fn render(&self, indent: usize, out: &mut dyn std::io::Write) -> Result<()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:56:47 [INFO] [stdout] | [INFO] [stdout] 56 | fn render(&self, indent: usize, out: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | fn render(&self, indent: usize, out: &mut dyn Write) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/roll.rs:123:47 [INFO] [stdout] | [INFO] [stdout] 123 | fn render(&self, indent: usize, out: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 | fn render(&self, indent: usize, out: &mut dyn Write) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:56:47 [INFO] [stdout] | [INFO] [stdout] 56 | fn render(&self, indent: usize, out: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | fn render(&self, indent: usize, out: &mut dyn Write) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | impl Render { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | impl dyn Render { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/roll.rs:123:47 [INFO] [stdout] | [INFO] [stdout] 123 | fn render(&self, indent: usize, out: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 | fn render(&self, indent: usize, out: &mut dyn Write) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/render.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | impl Render { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | impl dyn Render { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | Render::tab(indent), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | ::tab(indent), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:46:55 [INFO] [stdout] | [INFO] [stdout] 46 | out.write_fmt(format_args!("{}{}:\n", Render::tab(indent), name))?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | out.write_fmt(format_args!("{}{}:\n", ::tab(indent), name))?; [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:57:53 [INFO] [stdout] | [INFO] [stdout] 57 | out.write_fmt(format_args!("{}Inventory\n", Render::tab(indent)))?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | out.write_fmt(format_args!("{}Inventory\n", ::tab(indent)))?; [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | Render::tab(indent), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 | ::tab(indent), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | Render::tab(indent), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 | ::tab(indent), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | Render::tab(indent), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 | ::tab(indent), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | Render::tab(indent), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 | ::tab(indent), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | Render::tab(indent), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 119 | ::tab(indent), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | Render::tab(indent), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | ::tab(indent), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | Render::tab(indent), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | ::tab(indent), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | Render::tab(indent), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 | ::tab(indent), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:145:128 [INFO] [stdout] | [INFO] [stdout] 145 | ... out.write_fmt(format_args!("{}{}: The specified container does not exist, there was an object at a subpath\n", Render::tab(indent),... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 | out.write_fmt(format_args!("{}{}: The specified container does not exist, there was an object at a subpath\n", ::tab(indent), path_string(path)))?; [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:240:82 [INFO] [stdout] | [INFO] [stdout] 240 | out.write_fmt(format_args!("{}{}: Found an object in subpath\n", Render::tab(indent), path_string(path)))?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 240 | out.write_fmt(format_args!("{}{}: Found an object in subpath\n", ::tab(indent), path_string(path)))?; [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:244:86 [INFO] [stdout] | [INFO] [stdout] 244 | out.write_fmt(format_args!("{}{}: Successfully created container\n", Render::tab(indent), path_string(path)))?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 244 | out.write_fmt(format_args!("{}{}: Successfully created container\n", ::tab(indent), path_string(path)))?; [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:248:97 [INFO] [stdout] | [INFO] [stdout] 248 | out.write_fmt(format_args!("{}{}: Cannot create an item that already exists\n", Render::tab(indent), path_string(path)))?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 248 | out.write_fmt(format_args!("{}{}: Cannot create an item that already exists\n", ::tab(indent), path_string(path)))?; [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:252:98 [INFO] [stdout] | [INFO] [stdout] 252 | out.write_fmt(format_args!("{}{}: The container to put this in doesn't exist\n", Render::tab(indent), path_string(path)))?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 252 | out.write_fmt(format_args!("{}{}: The container to put this in doesn't exist\n", ::tab(indent), path_string(path)))?; [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:256:76 [INFO] [stdout] | [INFO] [stdout] 256 | out.write_fmt(format_args!("{}{}: No path was provided\n", Render::tab(indent), path_string(path)))?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 256 | out.write_fmt(format_args!("{}{}: No path was provided\n", ::tab(indent), path_string(path)))?; [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | Render::tab(indent), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | ::tab(indent), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:46:55 [INFO] [stdout] | [INFO] [stdout] 46 | out.write_fmt(format_args!("{}{}:\n", Render::tab(indent), name))?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | out.write_fmt(format_args!("{}{}:\n", ::tab(indent), name))?; [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:57:53 [INFO] [stdout] | [INFO] [stdout] 57 | out.write_fmt(format_args!("{}Inventory\n", Render::tab(indent)))?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | out.write_fmt(format_args!("{}Inventory\n", ::tab(indent)))?; [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | Render::tab(indent), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 | ::tab(indent), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | Render::tab(indent), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 | ::tab(indent), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | Render::tab(indent), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 | ::tab(indent), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | Render::tab(indent), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 | ::tab(indent), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | Render::tab(indent), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 119 | ::tab(indent), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | Render::tab(indent), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | ::tab(indent), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | Render::tab(indent), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | ::tab(indent), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | Render::tab(indent), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 | ::tab(indent), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:145:128 [INFO] [stdout] | [INFO] [stdout] 145 | ... out.write_fmt(format_args!("{}{}: The specified container does not exist, there was an object at a subpath\n", Render::tab(indent),... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 | out.write_fmt(format_args!("{}{}: The specified container does not exist, there was an object at a subpath\n", ::tab(indent), path_string(path)))?; [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:240:82 [INFO] [stdout] | [INFO] [stdout] 240 | out.write_fmt(format_args!("{}{}: Found an object in subpath\n", Render::tab(indent), path_string(path)))?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 240 | out.write_fmt(format_args!("{}{}: Found an object in subpath\n", ::tab(indent), path_string(path)))?; [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:244:86 [INFO] [stdout] | [INFO] [stdout] 244 | out.write_fmt(format_args!("{}{}: Successfully created container\n", Render::tab(indent), path_string(path)))?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 244 | out.write_fmt(format_args!("{}{}: Successfully created container\n", ::tab(indent), path_string(path)))?; [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:248:97 [INFO] [stdout] | [INFO] [stdout] 248 | out.write_fmt(format_args!("{}{}: Cannot create an item that already exists\n", Render::tab(indent), path_string(path)))?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 248 | out.write_fmt(format_args!("{}{}: Cannot create an item that already exists\n", ::tab(indent), path_string(path)))?; [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:252:98 [INFO] [stdout] | [INFO] [stdout] 252 | out.write_fmt(format_args!("{}{}: The container to put this in doesn't exist\n", Render::tab(indent), path_string(path)))?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 252 | out.write_fmt(format_args!("{}{}: The container to put this in doesn't exist\n", ::tab(indent), path_string(path)))?; [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/inventory.rs:256:76 [INFO] [stdout] | [INFO] [stdout] 256 | out.write_fmt(format_args!("{}{}: No path was provided\n", Render::tab(indent), path_string(path)))?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 256 | out.write_fmt(format_args!("{}{}: No path was provided\n", ::tab(indent), path_string(path)))?; [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/hit_points.rs:52:55 [INFO] [stdout] | [INFO] [stdout] 52 | out.write_fmt(format_args!("{}Hit Points:\n", Render::tab(indent)))?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | out.write_fmt(format_args!("{}Hit Points:\n", ::tab(indent)))?; [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/hit_points.rs:54:56 [INFO] [stdout] | [INFO] [stdout] 54 | out.write_fmt(format_args!("{} {} / {}\n", Render::tab(indent + 1), self.current, self.get_modified_max()))?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | out.write_fmt(format_args!("{} {} / {}\n", ::tab(indent + 1), self.current, self.get_modified_max()))?; [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/hit_points.rs:57:69 [INFO] [stdout] | [INFO] [stdout] 57 | ... out.write_fmt(format_args!("{} {} / {} [ {} {} {} ]\n", Render::tab(indent + 1), self.current, self.get_modified_max(), self.max, d... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | out.write_fmt(format_args!("{} {} / {} [ {} {} {} ]\n", ::tab(indent + 1), self.current, self.get_modified_max(), self.max, diff_char, self.temporary.abs()))?; [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/hit_points.rs:52:55 [INFO] [stdout] | [INFO] [stdout] 52 | out.write_fmt(format_args!("{}Hit Points:\n", Render::tab(indent)))?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | out.write_fmt(format_args!("{}Hit Points:\n", ::tab(indent)))?; [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/hit_points.rs:54:56 [INFO] [stdout] | [INFO] [stdout] 54 | out.write_fmt(format_args!("{} {} / {}\n", Render::tab(indent + 1), self.current, self.get_modified_max()))?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | out.write_fmt(format_args!("{} {} / {}\n", ::tab(indent + 1), self.current, self.get_modified_max()))?; [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/domain/hit_points.rs:57:69 [INFO] [stdout] | [INFO] [stdout] 57 | ... out.write_fmt(format_args!("{} {} / {} [ {} {} {} ]\n", Render::tab(indent + 1), self.current, self.get_modified_max(), self.max, d... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | out.write_fmt(format_args!("{} {} / {} [ {} {} {} ]\n", ::tab(indent + 1), self.current, self.get_modified_max(), self.max, diff_char, self.temporary.abs()))?; [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/domain/inventory.rs:47:66 [INFO] [stdout] | [INFO] [stdout] 47 | for name_item in items.iter().sorted_by_key(|(n, i)| n.clone()) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/domain/inventory.rs:58:64 [INFO] [stdout] | [INFO] [stdout] 58 | for named_item in self.items.iter().sorted_by_key(|(n, i)| n.clone()) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `available` [INFO] [stdout] --> src/domain/inventory.rs:328:45 [INFO] [stdout] | [INFO] [stdout] 328 | Ok(AddItemResult::Success { available, .. }) => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `available: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requested` [INFO] [stdout] --> src/domain/inventory.rs:418:29 [INFO] [stdout] | [INFO] [stdout] 418 | ... requested, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `requested: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `available` [INFO] [stdout] --> src/domain/inventory.rs:419:29 [INFO] [stdout] | [INFO] [stdout] 419 | ... available, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `available: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/domain/roll.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | .filter(|(path, bonus)| match bonus { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/domain/inventory.rs:47:66 [INFO] [stdout] | [INFO] [stdout] 47 | for name_item in items.iter().sorted_by_key(|(n, i)| n.clone()) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/domain/inventory.rs:58:64 [INFO] [stdout] | [INFO] [stdout] 58 | for named_item in self.items.iter().sorted_by_key(|(n, i)| n.clone()) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `available` [INFO] [stdout] --> src/domain/inventory.rs:328:45 [INFO] [stdout] | [INFO] [stdout] 328 | Ok(AddItemResult::Success { available, .. }) => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `available: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requested` [INFO] [stdout] --> src/domain/inventory.rs:418:29 [INFO] [stdout] | [INFO] [stdout] 418 | ... requested, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `requested: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `available` [INFO] [stdout] --> src/domain/inventory.rs:419:29 [INFO] [stdout] | [INFO] [stdout] 419 | ... available, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `available: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/domain/roll.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | .filter(|(path, bonus)| match bonus { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/store.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut character: Character = serde_json::from_str(content.as_str())?; [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: unused variable: `count` [INFO] [stdout] --> src/store.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | count [INFO] [stdout] | ^^^^^ help: try ignoring the field: `count: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:155:49 [INFO] [stdout] | [INFO] [stdout] 155 | InventoryContainerCmd::Remove { name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&std::string::String` instead of cloning the inner type [INFO] [stdout] --> src/domain/inventory.rs:47:71 [INFO] [stdout] | [INFO] [stdout] 47 | for name_item in items.iter().sorted_by_key(|(n, i)| n.clone()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&std::string::String` instead of cloning the inner type [INFO] [stdout] --> src/domain/inventory.rs:58:69 [INFO] [stdout] | [INFO] [stdout] 58 | for named_item in self.items.iter().sorted_by_key(|(n, i)| n.clone()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/domain/inventory.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | out.flush(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 61 | let _ = out.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/store.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut character: Character = serde_json::from_str(content.as_str())?; [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: unused variable: `count` [INFO] [stdout] --> src/store.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | count [INFO] [stdout] | ^^^^^ help: try ignoring the field: `count: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:155:49 [INFO] [stdout] | [INFO] [stdout] 155 | InventoryContainerCmd::Remove { name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&std::string::String` instead of cloning the inner type [INFO] [stdout] --> src/domain/inventory.rs:47:71 [INFO] [stdout] | [INFO] [stdout] 47 | for name_item in items.iter().sorted_by_key(|(n, i)| n.clone()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&std::string::String` instead of cloning the inner type [INFO] [stdout] --> src/domain/inventory.rs:58:69 [INFO] [stdout] | [INFO] [stdout] 58 | for named_item in self.items.iter().sorted_by_key(|(n, i)| n.clone()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/domain/inventory.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | out.flush(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 61 | let _ = out.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.24s [INFO] running `Command { std: "docker" "inspect" "8895cc0fd1ad7a9d88619019254bda073741c73c56132262abe7ae70f23d46aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8895cc0fd1ad7a9d88619019254bda073741c73c56132262abe7ae70f23d46aa", kill_on_drop: false }` [INFO] [stdout] 8895cc0fd1ad7a9d88619019254bda073741c73c56132262abe7ae70f23d46aa