[INFO] cloning 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" "clone" "--bare" "https://github.com/dgoetsch/dnd-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgoetsch%2Fdnd-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgoetsch%2Fdnd-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1fe114b2762ef3249739c9433bf191341093dfa1 [INFO] testing dgoetsch/dnd-cli against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgoetsch%2Fdnd-cli" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dgoetsch/dnd-cli on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] baf09ebdd8f8aced1ab47c96cedbc6d3c24b5541457e68f53fb27060e1d347c0 [INFO] running `Command { std: "docker" "start" "-a" "baf09ebdd8f8aced1ab47c96cedbc6d3c24b5541457e68f53fb27060e1d347c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "baf09ebdd8f8aced1ab47c96cedbc6d3c24b5541457e68f53fb27060e1d347c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baf09ebdd8f8aced1ab47c96cedbc6d3c24b5541457e68f53fb27060e1d347c0", kill_on_drop: false }` [INFO] [stdout] baf09ebdd8f8aced1ab47c96cedbc6d3c24b5541457e68f53fb27060e1d347c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ae80c4123b9e4241afbd03f65c391763d345a12a9f56b829a97c7d09085cd6f1 [INFO] running `Command { std: "docker" "start" "-a" "ae80c4123b9e4241afbd03f65c391763d345a12a9f56b829a97c7d09085cd6f1", 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 version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Compiling clap v3.1.5 [INFO] [stderr] Compiling clap_complete v3.1.1 [INFO] [stderr] Compiling 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: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/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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | impl dyn Render { [INFO] [stdout] | +++ [INFO] [stdout] help: you might have intended to implement this trait for a given type [INFO] [stdout] | [INFO] [stdout] 7 | impl Render for /* Type */ { [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] help: if this is a dyn-compatible 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/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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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: 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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcF5xhrV/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libclap_complete-c7b4a1d90a8feccb.rlib,libclap-ff9a3b10da1064b5.rlib,libstrsim-7a71560e0c2955e4.rlib,libatty-79b609cd99be0b74.rlib,libtermcolor-a537f8c45744a682.rlib,libtextwrap-dd5d0e05f597c38b.rlib,libindexmap-86c2b5e54240922e.rlib,libhashbrown-f6484c11bf24e065.rlib,libos_str_bytes-8528ec5afe78e322.rlib,libmemchr-a2892755812de0fe.rlib,libbitflags-e274cd04b58a060d.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libserde_json-0cab594d3735b934.rlib,libryu-653032556b772f2f.rlib,libitoa-158d7e21e599682f.rlib,libdirs-bf0ab34d0fd32215.rlib,libdirs_sys-e223a797b70ff589.rlib,librand-32ff564f014be0d4.rlib,librand_chacha-305a2dbe9e66b02a.rlib,libppv_lite86-a9f3c9ee76597f1e.rlib,librand_core-592cac1c80a68911.rlib,libgetrandom-0419ee57d56c23d5.rlib,liblibc-69f884384b28b38d.rlib,libcfg_if-66d55f6b302e88c8.rlib,libitertools-bfdd1dac9d4278f9.rlib,libeither-e8a0ef7222037a64.rlib,libanyhow-27670d433dd2aa03.rlib,libserde-8db87f3b04fa26f3.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcF5xhrV/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/dnd_cli-fe4c14c4a08acd66" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-0419ee57d56c23d5.rlib(getrandom-0419ee57d56c23d5.getrandom.e0c65e54c27f2c22-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.5/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17hfc23358bf0c8b41cE+0xb6): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dnd-cli` (bin "dnd-cli") due to 1 previous error; 44 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ae80c4123b9e4241afbd03f65c391763d345a12a9f56b829a97c7d09085cd6f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae80c4123b9e4241afbd03f65c391763d345a12a9f56b829a97c7d09085cd6f1", kill_on_drop: false }` [INFO] [stdout] ae80c4123b9e4241afbd03f65c391763d345a12a9f56b829a97c7d09085cd6f1