[INFO] fetching crate app 0.6.5... [INFO] checking app-0.6.5 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate app 0.6.5 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate app 0.6.5 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 crates.io crate app 0.6.5 [INFO] finished tweaking crates.io crate app 0.6.5 [INFO] tweaked toml for crates.io crate app 0.6.5 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 25 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (latest: v0.7.6) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding blake2b_simd v0.5.11 (latest: v1.0.2) [INFO] [stderr] Adding constant_time_eq v0.1.5 (latest: v0.3.1) [INFO] [stderr] Adding dirs v1.0.5 (latest: v5.0.1) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.15) [INFO] [stderr] Adding lazy_static v0.2.11 (latest: v1.5.0) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding redox_syscall v0.1.57 (latest: v0.5.3) [INFO] [stderr] Adding redox_users v0.3.5 (latest: v0.4.6) [INFO] [stderr] Adding rust-argon2 v0.8.3 (latest: v2.1.0) [INFO] [stderr] Adding term v0.5.2 (latest: v1.0.0) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.36) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-utils v0.8.20 [INFO] [stderr] Downloaded constant_time_eq v0.1.5 [INFO] [stderr] Downloaded dirs v1.0.5 [INFO] [stderr] Downloaded redox_users v0.3.5 [INFO] [stderr] Downloaded quick-error v1.2.3 [INFO] [stderr] Downloaded lazy_static v0.2.11 [INFO] [stderr] Downloaded wasi v0.9.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded getrandom v0.1.16 [INFO] [stderr] Downloaded redox_syscall v0.1.57 [INFO] [stderr] Downloaded wasi v0.10.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded time v0.1.45 [INFO] [stderr] Downloaded term v0.5.2 [INFO] [stderr] Downloaded stderr v0.8.0 [INFO] [stderr] Downloaded arrayref v0.3.8 [INFO] [stderr] Downloaded arrayvec v0.5.2 [INFO] [stderr] Downloaded blake2b_simd v0.5.11 [INFO] [stderr] Downloaded rust-argon2 v0.8.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 3947950ae5f6b6780bdddcf45a6fb24434c5f1e7d68ceda17cfc16ba6d62ec7c [INFO] running `Command { std: "docker" "start" "-a" "3947950ae5f6b6780bdddcf45a6fb24434c5f1e7d68ceda17cfc16ba6d62ec7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3947950ae5f6b6780bdddcf45a6fb24434c5f1e7d68ceda17cfc16ba6d62ec7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3947950ae5f6b6780bdddcf45a6fb24434c5f1e7d68ceda17cfc16ba6d62ec7c", kill_on_drop: false }` [INFO] [stdout] 3947950ae5f6b6780bdddcf45a6fb24434c5f1e7d68ceda17cfc16ba6d62ec7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 5b2dff40413944954560e895999cd898780ed70d76a69cc497c319852344300b [INFO] running `Command { std: "docker" "start" "-a" "5b2dff40413944954560e895999cd898780ed70d76a69cc497c319852344300b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking stderr v0.8.0 [INFO] [stderr] Checking app v0.6.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/lib.rs:277:37 [INFO] [stdout] | [INFO] [stdout] 277 | self.helper.home_dir = env::home_dir().map(|s| s.to_string_lossy().into_owned()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/ovp.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | inner: Box + 'app>, [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | inner: Box + 'app>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | inner: Box + 'app>, [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | inner: Box + 'app>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(value: Box + 'app>) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(value: Box + 'app>) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | fn as_ref(&self) -> &Box + 'app> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn as_ref(&self) -> &Box + 'app> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | fn as_mut(&mut self) -> &mut Box + 'app> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(value: Box + 'app>) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(value: Box + 'app>) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | fn as_ref(&self) -> &Box + 'app> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn as_ref(&self) -> &Box + 'app> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | fn as_mut(&mut self) -> &mut Box + 'app> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'app> AsRef + 'app>> for OptValue<'app> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | impl<'app> AsRef + 'app>> for OptValue<'app> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'app> AsRef + 'app>> for ArgsValue<'app> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | impl<'app> AsRef + 'app>> for ArgsValue<'app> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'app> AsMut + 'app>> for OptValue<'app> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | impl<'app> AsMut + 'app>> for OptValue<'app> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'app> AsMut + 'app>> for ArgsValue<'app> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | impl<'app> AsMut + 'app>> for ArgsValue<'app> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/lib.rs:277:37 [INFO] [stdout] | [INFO] [stdout] 277 | self.helper.home_dir = env::home_dir().map(|s| s.to_string_lossy().into_owned()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/ovp.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | inner: Box + 'app>, [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | inner: Box + 'app>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | inner: Box + 'app>, [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | inner: Box + 'app>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(value: Box + 'app>) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(value: Box + 'app>) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | fn as_ref(&self) -> &Box + 'app> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn as_ref(&self) -> &Box + 'app> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | fn as_mut(&mut self) -> &mut Box + 'app> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(value: Box + 'app>) -> 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(value: Box + 'app>) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | fn as_ref(&self) -> &Box + 'app> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn as_ref(&self) -> &Box + 'app> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | fn as_mut(&mut self) -> &mut Box + 'app> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'app> AsRef + 'app>> for OptValue<'app> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | impl<'app> AsRef + 'app>> for OptValue<'app> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'app> AsRef + 'app>> for ArgsValue<'app> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | impl<'app> AsRef + 'app>> for ArgsValue<'app> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'app> AsMut + 'app>> for OptValue<'app> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | impl<'app> AsMut + 'app>> for OptValue<'app> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'app> AsMut + 'app>> for ArgsValue<'app> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | impl<'app> AsMut + 'app>> for ArgsValue<'app> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:129:36 [INFO] [stdout] | [INFO] [stdout] 129 | .add_help(unsafe { &mut HELP }) [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 129 | .add_help(unsafe { addr_of_mut!(HELP) }) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:490:42 [INFO] [stdout] | [INFO] [stdout] 490 | Opt::new("version", unsafe { &mut VERSION }) [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 490 | Opt::new("version", unsafe { addr_of_mut!(VERSION) }) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:503:29 [INFO] [stdout] | [INFO] [stdout] 503 | c.add_help(unsafe { &mut HELP_SUBCMD }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 503 | c.add_help(unsafe { addr_of_mut!(HELP_SUBCMD) }) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:129:36 [INFO] [stdout] | [INFO] [stdout] 129 | .add_help(unsafe { &mut HELP }) [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 129 | .add_help(unsafe { addr_of_mut!(HELP) }) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:490:42 [INFO] [stdout] | [INFO] [stdout] 490 | Opt::new("version", unsafe { &mut VERSION }) [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 490 | Opt::new("version", unsafe { addr_of_mut!(VERSION) }) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:503:29 [INFO] [stdout] | [INFO] [stdout] 503 | c.add_help(unsafe { &mut HELP_SUBCMD }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 503 | c.add_help(unsafe { addr_of_mut!(HELP_SUBCMD) }) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fix_style_left` is never used [INFO] [stdout] --> src/help.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 1 | trait FixStyle { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 2 | fn fix_style(&self) -> String; [INFO] [stdout] 3 | fn fix_style_left(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/help.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / dbln!( [INFO] [stdout] 45 | | "{:?}\n{:?}\n\n{:?},\n\n{:?}\n\n{:?}", [INFO] [stdout] 46 | | cmd_name, [INFO] [stdout] 47 | | self.cmd_infos, [INFO] [stdout] ... | [INFO] [stdout] 50 | | self.cmd_args [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | dbln!("parse_strings(): {:?}", args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | dbln!("$CARGO_HOME: {:?}", cargo_home_bin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | dbln!("$current_exe_dir: {:?}", current_exe_dir); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:453:17 [INFO] [stdout] | [INFO] [stdout] 453 | dbln!("{}", usage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:564:13 [INFO] [stdout] | [INFO] [stdout] 564 | dbln!("i+1/args_len: {}/{}: {:?}", i + 1, args.len(), &args[i..]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 645 | / dbln!( [INFO] [stdout] 646 | | "Args_len/argstr_len/argstr_used_len/a_len: {}/{}/{}/{}", [INFO] [stdout] 647 | | args.len(), [INFO] [stdout] 648 | | argstr.len(), [INFO] [stdout] 649 | | argstr_used_len, [INFO] [stdout] 650 | | a_len [INFO] [stdout] 651 | | ); [INFO] [stdout] | |_________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:653:13 [INFO] [stdout] | [INFO] [stdout] 653 | dbln!("argstr_used_len == argstr.len() && a_len != 0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:656:13 [INFO] [stdout] | [INFO] [stdout] 656 | dbln!("argstr_used_len + a_len > argstr.len()"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:689:13 [INFO] [stdout] | [INFO] [stdout] 689 | / dbln!( [INFO] [stdout] 690 | | "Some(len): {} {:?} + {:?}", [INFO] [stdout] 691 | | len, [INFO] [stdout] 692 | | argstr.slice(0..len), [INFO] [stdout] 693 | | argstr.slice(len..) [INFO] [stdout] 694 | | ); [INFO] [stdout] | |_____________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:710:9 [INFO] [stdout] | [INFO] [stdout] 710 | dbln!("len()>1:\nRaw: {:?}\nslice: {}", argstr, argstr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fix_style_left` is never used [INFO] [stdout] --> src/help.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 1 | trait FixStyle { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 2 | fn fix_style(&self) -> String; [INFO] [stdout] 3 | fn fix_style_left(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/help.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / dbln!( [INFO] [stdout] 45 | | "{:?}\n{:?}\n\n{:?},\n\n{:?}\n\n{:?}", [INFO] [stdout] 46 | | cmd_name, [INFO] [stdout] 47 | | self.cmd_infos, [INFO] [stdout] ... | [INFO] [stdout] 50 | | self.cmd_args [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | dbln!("parse_strings(): {:?}", args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | dbln!("$CARGO_HOME: {:?}", cargo_home_bin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | dbln!("$current_exe_dir: {:?}", current_exe_dir); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:453:17 [INFO] [stdout] | [INFO] [stdout] 453 | dbln!("{}", usage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:564:13 [INFO] [stdout] | [INFO] [stdout] 564 | dbln!("i+1/args_len: {}/{}: {:?}", i + 1, args.len(), &args[i..]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 645 | / dbln!( [INFO] [stdout] 646 | | "Args_len/argstr_len/argstr_used_len/a_len: {}/{}/{}/{}", [INFO] [stdout] 647 | | args.len(), [INFO] [stdout] 648 | | argstr.len(), [INFO] [stdout] 649 | | argstr_used_len, [INFO] [stdout] 650 | | a_len [INFO] [stdout] 651 | | ); [INFO] [stdout] | |_________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:653:13 [INFO] [stdout] | [INFO] [stdout] 653 | dbln!("argstr_used_len == argstr.len() && a_len != 0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:656:13 [INFO] [stdout] | [INFO] [stdout] 656 | dbln!("argstr_used_len + a_len > argstr.len()"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:689:13 [INFO] [stdout] | [INFO] [stdout] 689 | / dbln!( [INFO] [stdout] 690 | | "Some(len): {} {:?} + {:?}", [INFO] [stdout] 691 | | len, [INFO] [stdout] 692 | | argstr.slice(0..len), [INFO] [stdout] 693 | | argstr.slice(len..) [INFO] [stdout] 694 | | ); [INFO] [stdout] | |_____________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:710:9 [INFO] [stdout] | [INFO] [stdout] 710 | dbln!("len()>1:\nRaw: {:?}\nslice: {}", argstr, argstr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> tests/test.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | dbln!("msg_args: {:?}", args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> tests/test.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | dbln!("rest: {:?}\t\trest_parse: {:?}", rest, rest_parse); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> tests/test.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | dbln!("fht2p_value: {:?}", value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> tests/test.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | dbln!("fht2p_parse: {:?}", fht2p); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> tests/test.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | dbln!(); [INFO] [stdout] | ^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` which comes from the expansion of the macro `dbln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.00s [INFO] running `Command { std: "docker" "inspect" "5b2dff40413944954560e895999cd898780ed70d76a69cc497c319852344300b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b2dff40413944954560e895999cd898780ed70d76a69cc497c319852344300b", kill_on_drop: false }` [INFO] [stdout] 5b2dff40413944954560e895999cd898780ed70d76a69cc497c319852344300b