[INFO] fetching crate visit_diff 0.1.1... [INFO] checking visit_diff-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate visit_diff 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate visit_diff 0.1.1 [INFO] finished tweaking crates.io crate visit_diff 0.1.1 [INFO] tweaked toml for crates.io crate visit_diff 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate visit_diff 0.1.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.8.2 (available: v0.14.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd0796be07c04558ed3c28aa24d0837ab5ac3aaee9e74de6a351e2762d48be8b [INFO] running `Command { std: "docker" "start" "-a" "bd0796be07c04558ed3c28aa24d0837ab5ac3aaee9e74de6a351e2762d48be8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd0796be07c04558ed3c28aa24d0837ab5ac3aaee9e74de6a351e2762d48be8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd0796be07c04558ed3c28aa24d0837ab5ac3aaee9e74de6a351e2762d48be8b", kill_on_drop: false }` [INFO] [stdout] bd0796be07c04558ed3c28aa24d0837ab5ac3aaee9e74de6a351e2762d48be8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c69cfb736e622defd6f36cb9cd5e87a248d78318c406a695bee8ffd056f86c12 [INFO] running `Command { std: "docker" "start" "-a" "c69cfb736e622defd6f36cb9cd5e87a248d78318c406a695bee8ffd056f86c12", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling visit_diff_derive v0.1.0 [INFO] [stderr] Checking visit_diff v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:305:29 [INFO] [stdout] | [INFO] [stdout] 305 | fn difference(self, a: &Debug, b: &Debug) -> 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 | fn difference(self, a: &dyn Debug, b: &Debug) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:305:40 [INFO] [stdout] | [INFO] [stdout] 305 | fn difference(self, a: &Debug, b: &Debug) -> 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] 305 | fn difference(self, a: &Debug, b: &dyn Debug) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:309:23 [INFO] [stdout] | [INFO] [stdout] 309 | fn same(self, a: &Debug, b: &Debug) -> 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] 309 | fn same(self, a: &dyn Debug, b: &Debug) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:309:34 [INFO] [stdout] | [INFO] [stdout] 309 | fn same(self, a: &Debug, b: &Debug) -> 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] 309 | fn same(self, a: &Debug, b: &dyn Debug) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/debug.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | fn difference(self, a: &Debug, b: &Debug) -> 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] 25 | fn difference(self, a: &dyn Debug, b: &Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/debug.rs:25:40 [INFO] [stdout] | [INFO] [stdout] 25 | fn difference(self, a: &Debug, b: &Debug) -> 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] 25 | fn difference(self, a: &Debug, b: &dyn Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/debug.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | fn same(self, a: &Debug, _: &Debug) -> 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] 29 | fn same(self, a: &dyn Debug, _: &Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/debug.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | fn same(self, a: &Debug, _: &Debug) -> 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] 29 | fn same(self, a: &Debug, _: &dyn Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/detect.rs:203:29 [INFO] [stdout] | [INFO] [stdout] 203 | fn difference(self, _: &Debug, _: &Debug) -> 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] 203 | fn difference(self, _: &dyn Debug, _: &Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/detect.rs:203:40 [INFO] [stdout] | [INFO] [stdout] 203 | fn difference(self, _: &Debug, _: &Debug) -> 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] 203 | fn difference(self, _: &Debug, _: &dyn Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/detect.rs:207:23 [INFO] [stdout] | [INFO] [stdout] 207 | fn same(self, _: &Debug, _: &Debug) -> 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] 207 | fn same(self, _: &dyn Debug, _: &Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/detect.rs:207:34 [INFO] [stdout] | [INFO] [stdout] 207 | fn same(self, _: &Debug, _: &Debug) -> 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] 207 | fn same(self, _: &Debug, _: &dyn Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constant.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | fn difference(self, _: &Debug, _: &Debug) -> 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] 42 | fn difference(self, _: &dyn Debug, _: &Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constant.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | fn difference(self, _: &Debug, _: &Debug) -> 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] 42 | fn difference(self, _: &Debug, _: &dyn Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constant.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | fn same(self, _: &Debug, _: &Debug) -> 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] 46 | fn same(self, _: &dyn Debug, _: &Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constant.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | fn same(self, _: &Debug, _: &Debug) -> 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] 46 | fn same(self, _: &Debug, _: &dyn Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:305:29 [INFO] [stdout] | [INFO] [stdout] 305 | fn difference(self, a: &Debug, b: &Debug) -> 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 | fn difference(self, a: &dyn Debug, b: &Debug) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:305:40 [INFO] [stdout] | [INFO] [stdout] 305 | fn difference(self, a: &Debug, b: &Debug) -> 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] 305 | fn difference(self, a: &Debug, b: &dyn Debug) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:309:23 [INFO] [stdout] | [INFO] [stdout] 309 | fn same(self, a: &Debug, b: &Debug) -> 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] 309 | fn same(self, a: &dyn Debug, b: &Debug) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:309:34 [INFO] [stdout] | [INFO] [stdout] 309 | fn same(self, a: &Debug, b: &Debug) -> 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] 309 | fn same(self, a: &Debug, b: &dyn Debug) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/debug.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | fn difference(self, a: &Debug, b: &Debug) -> 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] 25 | fn difference(self, a: &dyn Debug, b: &Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/debug.rs:25:40 [INFO] [stdout] | [INFO] [stdout] 25 | fn difference(self, a: &Debug, b: &Debug) -> 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] 25 | fn difference(self, a: &Debug, b: &dyn Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/debug.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | fn same(self, a: &Debug, _: &Debug) -> 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] 29 | fn same(self, a: &dyn Debug, _: &Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/debug.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | fn same(self, a: &Debug, _: &Debug) -> 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] 29 | fn same(self, a: &Debug, _: &dyn Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/detect.rs:203:29 [INFO] [stdout] | [INFO] [stdout] 203 | fn difference(self, _: &Debug, _: &Debug) -> 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] 203 | fn difference(self, _: &dyn Debug, _: &Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/detect.rs:203:40 [INFO] [stdout] | [INFO] [stdout] 203 | fn difference(self, _: &Debug, _: &Debug) -> 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] 203 | fn difference(self, _: &Debug, _: &dyn Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/detect.rs:207:23 [INFO] [stdout] | [INFO] [stdout] 207 | fn same(self, _: &Debug, _: &Debug) -> 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] 207 | fn same(self, _: &dyn Debug, _: &Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/detect.rs:207:34 [INFO] [stdout] | [INFO] [stdout] 207 | fn same(self, _: &Debug, _: &Debug) -> 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] 207 | fn same(self, _: &Debug, _: &dyn Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constant.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | fn difference(self, _: &Debug, _: &Debug) -> 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] 42 | fn difference(self, _: &dyn Debug, _: &Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constant.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | fn difference(self, _: &Debug, _: &Debug) -> 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] 42 | fn difference(self, _: &Debug, _: &dyn Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constant.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | fn same(self, _: &Debug, _: &Debug) -> 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] 46 | fn same(self, _: &dyn Debug, _: &Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constant.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | fn same(self, _: &Debug, _: &Debug) -> 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] 46 | fn same(self, _: &Debug, _: &dyn Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/unit.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | fn difference(self, _: &Debug, _: &Debug) -> 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] 20 | fn difference(self, _: &dyn Debug, _: &Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/unit.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | fn difference(self, _: &Debug, _: &Debug) -> 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] 20 | fn difference(self, _: &Debug, _: &dyn Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/unit.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | fn same(self, _: &Debug, _: &Debug) -> 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] 24 | fn same(self, _: &dyn Debug, _: &Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/unit.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | fn same(self, _: &Debug, _: &Debug) -> 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] 24 | fn same(self, _: &Debug, _: &dyn Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/record.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | fn difference(self, a: &Debug, b: &Debug) -> 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] 115 | fn difference(self, a: &dyn Debug, b: &Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/record.rs:115:40 [INFO] [stdout] | [INFO] [stdout] 115 | fn difference(self, a: &Debug, b: &Debug) -> 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] 115 | fn difference(self, a: &Debug, b: &dyn Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/record.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | fn same(self, a: &Debug, b: &Debug) -> 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] 119 | fn same(self, a: &dyn Debug, b: &Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/record.rs:119:34 [INFO] [stdout] | [INFO] [stdout] 119 | fn same(self, a: &Debug, b: &Debug) -> 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] 119 | fn same(self, a: &Debug, b: &dyn Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/unit.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | fn difference(self, _: &Debug, _: &Debug) -> 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] 20 | fn difference(self, _: &dyn Debug, _: &Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/unit.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | fn difference(self, _: &Debug, _: &Debug) -> 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] 20 | fn difference(self, _: &Debug, _: &dyn Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/unit.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | fn same(self, _: &Debug, _: &Debug) -> 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] 24 | fn same(self, _: &dyn Debug, _: &Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/unit.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | fn same(self, _: &Debug, _: &Debug) -> 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] 24 | fn same(self, _: &Debug, _: &dyn Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/record.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | fn difference(self, a: &Debug, b: &Debug) -> 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] 115 | fn difference(self, a: &dyn Debug, b: &Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/record.rs:115:40 [INFO] [stdout] | [INFO] [stdout] 115 | fn difference(self, a: &Debug, b: &Debug) -> 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] 115 | fn difference(self, a: &Debug, b: &dyn Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/record.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | fn same(self, a: &Debug, b: &Debug) -> 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] 119 | fn same(self, a: &dyn Debug, b: &Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/record.rs:119:34 [INFO] [stdout] | [INFO] [stdout] 119 | fn same(self, a: &Debug, b: &Debug) -> 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] 119 | fn same(self, a: &Debug, b: &dyn Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `L` and `R` are never read [INFO] [stdout] --> src/debug.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | struct DIFF { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 86 | L: T, [INFO] [stdout] | ^ [INFO] [stdout] 87 | R: S, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `DIFF` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | Diff::diff(a, b, Detector::::default()).void_unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Diff::diff(a, b, Detector::::default()).void_unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:203:78 [INFO] [stdout] | [INFO] [stdout] 203 | fn difference(self, _: &Debug, _: &Debug) -> Result { [INFO] [stdout] | ______________________________________________________________________________^ [INFO] [stdout] 204 | | Ok(true) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | Ok(true) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:207:72 [INFO] [stdout] | [INFO] [stdout] 207 | fn same(self, _: &Debug, _: &Debug) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 208 | | Ok(false) [INFO] [stdout] 209 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | Ok(false) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | / { [INFO] [stdout] 220 | | Diff::diff(a, b, self) [INFO] [stdout] 221 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | Diff::diff(a, b, self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:275:49 [INFO] [stdout] | [INFO] [stdout] 275 | fn end(self) -> Result { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 276 | | Ok(self.0.into()) [INFO] [stdout] 277 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | Ok(self.0.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:294:49 [INFO] [stdout] | [INFO] [stdout] 294 | fn end(self) -> Result { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 295 | | Ok(self.0.into()) [INFO] [stdout] 296 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | Ok(self.0.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:335:49 [INFO] [stdout] | [INFO] [stdout] 335 | fn end(self) -> Result { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 336 | | Ok(self.0.into()) [INFO] [stdout] 337 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | Ok(self.0.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:368:49 [INFO] [stdout] | [INFO] [stdout] 368 | fn end(self) -> Result { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 369 | | Ok(self.0.into()) [INFO] [stdout] 370 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | Ok(self.0.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:404:49 [INFO] [stdout] | [INFO] [stdout] 404 | fn end(self) -> Result { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 405 | | Ok(self.0.into()) [INFO] [stdout] 406 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | Ok(self.0.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `L` and `R` are never read [INFO] [stdout] --> src/debug.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | struct DIFF { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 86 | L: T, [INFO] [stdout] | ^ [INFO] [stdout] 87 | R: S, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `DIFF` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestStruct` is never constructed [INFO] [stdout] --> src/impls.rs:410:16 [INFO] [stdout] | [INFO] [stdout] 410 | pub struct TestStruct { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/impls.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 267 | if a != b { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 267 - if a != b { [INFO] [stdout] 267 + if !std::ptr::addr_eq(*a, *b) { [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 267 - if a != b { [INFO] [stdout] 267 + if !std::ptr::eq(*a, *b) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/impls.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 281 | if a != b { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 281 - if a != b { [INFO] [stdout] 281 + if !std::ptr::addr_eq(*a, *b) { [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 281 - if a != b { [INFO] [stdout] 281 + if !std::ptr::eq(*a, *b) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Diff::diff(a, b, ValueRecorder).void_unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:115:78 [INFO] [stdout] | [INFO] [stdout] 115 | fn difference(self, a: &Debug, b: &Debug) -> Result { [INFO] [stdout] | ______________________________________________________________________________^ [INFO] [stdout] 116 | | Ok(Value::Difference(format!("{:?}", a), format!("{:?}", b))) [INFO] [stdout] 117 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | Ok(Value::Difference(format!("{:?}", a), format!("{:?}", b))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:119:72 [INFO] [stdout] | [INFO] [stdout] 119 | fn same(self, a: &Debug, b: &Debug) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 120 | | Ok(Value::Same(format!("{:?}", a), format!("{:?}", b))) [INFO] [stdout] 121 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | Ok(Value::Same(format!("{:?}", a), format!("{:?}", b))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | / { [INFO] [stdout] 134 | | Ok(Value::Newtype( [INFO] [stdout] 135 | | ty, [INFO] [stdout] 136 | | Box::new(Diff::diff(a, b, ValueRecorder).void_unwrap()), [INFO] [stdout] 137 | | )) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / Ok(Value::Newtype( [INFO] [stdout] 135 | | ty, [INFO] [stdout] 136 | | Box::new(Diff::diff(a, b, ValueRecorder).void_unwrap()), [INFO] [stdout] 137 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | Box::new(Diff::diff(a, b, ValueRecorder).void_unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:205:19 [INFO] [stdout] | [INFO] [stdout] 205 | let val = Diff::diff(a, b, ValueRecorder).void_unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:213:49 [INFO] [stdout] | [INFO] [stdout] 213 | fn end(self) -> Result { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 214 | | match self.1 { [INFO] [stdout] 215 | | OutputStyle::Raw => Ok(Value::Struct(self.0)), [INFO] [stdout] 216 | | OutputStyle::VariantOf(ty) => Ok(Value::Enum(Enum { [INFO] [stdout] ... | [INFO] [stdout] 221 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | / match self.1 { [INFO] [stdout] 215 | | OutputStyle::Raw => Ok(Value::Struct(self.0)), [INFO] [stdout] 216 | | OutputStyle::VariantOf(ty) => Ok(Value::Enum(Enum { [INFO] [stdout] 217 | | name: ty, [INFO] [stdout] 218 | | variant: Variant::Struct(self.0), [INFO] [stdout] 219 | | })), [INFO] [stdout] 220 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:215:33 [INFO] [stdout] | [INFO] [stdout] 215 | OutputStyle::Raw => Ok(Value::Struct(self.0)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:216:43 [INFO] [stdout] | [INFO] [stdout] 216 | OutputStyle::VariantOf(ty) => Ok(Value::Enum(Enum { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 217 | | name: ty, [INFO] [stdout] 218 | | variant: Variant::Struct(self.0), [INFO] [stdout] 219 | | })), [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | let val = Diff::diff(a, b, ValueRecorder).void_unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:242:49 [INFO] [stdout] | [INFO] [stdout] 242 | fn end(self) -> Result { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 243 | | match self.1 { [INFO] [stdout] 244 | | OutputStyle::Raw => Ok(Value::Tuple(self.0)), [INFO] [stdout] 245 | | OutputStyle::VariantOf(ty) => Ok(Value::Enum(Enum { [INFO] [stdout] ... | [INFO] [stdout] 250 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | / match self.1 { [INFO] [stdout] 244 | | OutputStyle::Raw => Ok(Value::Tuple(self.0)), [INFO] [stdout] 245 | | OutputStyle::VariantOf(ty) => Ok(Value::Enum(Enum { [INFO] [stdout] 246 | | name: ty, [INFO] [stdout] 247 | | variant: Variant::Tuple(self.0), [INFO] [stdout] 248 | | })), [INFO] [stdout] 249 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:244:33 [INFO] [stdout] | [INFO] [stdout] 244 | OutputStyle::Raw => Ok(Value::Tuple(self.0)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:245:43 [INFO] [stdout] | [INFO] [stdout] 245 | OutputStyle::VariantOf(ty) => Ok(Value::Enum(Enum { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 246 | | name: ty, [INFO] [stdout] 247 | | variant: Variant::Tuple(self.0), [INFO] [stdout] 248 | | })), [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:263:35 [INFO] [stdout] | [INFO] [stdout] 263 | self.0.push(Element::Both(Diff::diff(a, b, ValueRecorder).void_unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:280:49 [INFO] [stdout] | [INFO] [stdout] 280 | fn end(self) -> Result { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 281 | | Ok(Value::Sequence(self.0)) [INFO] [stdout] 282 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | Ok(Value::Sequence(self.0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:293:35 [INFO] [stdout] | [INFO] [stdout] 293 | self.0.push(Element::Both(Diff::diff(a, b, ValueRecorder).void_unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:310:49 [INFO] [stdout] | [INFO] [stdout] 310 | fn end(self) -> Result { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 311 | | Ok(Value::Set(self.0)) [INFO] [stdout] 312 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | Ok(Value::Set(self.0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:327:20 [INFO] [stdout] | [INFO] [stdout] 327 | let diff = Diff::diff(a, b, ValueRecorder).void_unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:349:49 [INFO] [stdout] | [INFO] [stdout] 349 | fn end(self) -> Result { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 350 | | Ok(Value::Map(self.0)) [INFO] [stdout] 351 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | Ok(Value::Map(self.0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | Diff::diff(a, b, Detector::::default()).void_unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Diff::diff(a, b, Detector::::default()).void_unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:203:78 [INFO] [stdout] | [INFO] [stdout] 203 | fn difference(self, _: &Debug, _: &Debug) -> Result { [INFO] [stdout] | ______________________________________________________________________________^ [INFO] [stdout] 204 | | Ok(true) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | Ok(true) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:207:72 [INFO] [stdout] | [INFO] [stdout] 207 | fn same(self, _: &Debug, _: &Debug) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 208 | | Ok(false) [INFO] [stdout] 209 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | Ok(false) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | / { [INFO] [stdout] 220 | | Diff::diff(a, b, self) [INFO] [stdout] 221 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | Diff::diff(a, b, self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:275:49 [INFO] [stdout] | [INFO] [stdout] 275 | fn end(self) -> Result { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 276 | | Ok(self.0.into()) [INFO] [stdout] 277 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | Ok(self.0.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:294:49 [INFO] [stdout] | [INFO] [stdout] 294 | fn end(self) -> Result { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 295 | | Ok(self.0.into()) [INFO] [stdout] 296 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | Ok(self.0.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:335:49 [INFO] [stdout] | [INFO] [stdout] 335 | fn end(self) -> Result { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 336 | | Ok(self.0.into()) [INFO] [stdout] 337 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | Ok(self.0.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:368:49 [INFO] [stdout] | [INFO] [stdout] 368 | fn end(self) -> Result { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 369 | | Ok(self.0.into()) [INFO] [stdout] 370 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | Ok(self.0.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:404:49 [INFO] [stdout] | [INFO] [stdout] 404 | fn end(self) -> Result { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 405 | | Ok(self.0.into()) [INFO] [stdout] 406 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/detect.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | Ok(self.0.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/impls.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 267 | if a != b { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 267 - if a != b { [INFO] [stdout] 267 + if !std::ptr::addr_eq(*a, *b) { [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 267 - if a != b { [INFO] [stdout] 267 + if !std::ptr::eq(*a, *b) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/impls.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 281 | if a != b { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 281 - if a != b { [INFO] [stdout] 281 + if !std::ptr::addr_eq(*a, *b) { [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 281 - if a != b { [INFO] [stdout] 281 + if !std::ptr::eq(*a, *b) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Diff::diff(a, b, ValueRecorder).void_unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:115:78 [INFO] [stdout] | [INFO] [stdout] 115 | fn difference(self, a: &Debug, b: &Debug) -> Result { [INFO] [stdout] | ______________________________________________________________________________^ [INFO] [stdout] 116 | | Ok(Value::Difference(format!("{:?}", a), format!("{:?}", b))) [INFO] [stdout] 117 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | Ok(Value::Difference(format!("{:?}", a), format!("{:?}", b))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:119:72 [INFO] [stdout] | [INFO] [stdout] 119 | fn same(self, a: &Debug, b: &Debug) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 120 | | Ok(Value::Same(format!("{:?}", a), format!("{:?}", b))) [INFO] [stdout] 121 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | Ok(Value::Same(format!("{:?}", a), format!("{:?}", b))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | / { [INFO] [stdout] 134 | | Ok(Value::Newtype( [INFO] [stdout] 135 | | ty, [INFO] [stdout] 136 | | Box::new(Diff::diff(a, b, ValueRecorder).void_unwrap()), [INFO] [stdout] 137 | | )) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / Ok(Value::Newtype( [INFO] [stdout] 135 | | ty, [INFO] [stdout] 136 | | Box::new(Diff::diff(a, b, ValueRecorder).void_unwrap()), [INFO] [stdout] 137 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | Box::new(Diff::diff(a, b, ValueRecorder).void_unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:205:19 [INFO] [stdout] | [INFO] [stdout] 205 | let val = Diff::diff(a, b, ValueRecorder).void_unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:213:49 [INFO] [stdout] | [INFO] [stdout] 213 | fn end(self) -> Result { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 214 | | match self.1 { [INFO] [stdout] 215 | | OutputStyle::Raw => Ok(Value::Struct(self.0)), [INFO] [stdout] 216 | | OutputStyle::VariantOf(ty) => Ok(Value::Enum(Enum { [INFO] [stdout] ... | [INFO] [stdout] 221 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | / match self.1 { [INFO] [stdout] 215 | | OutputStyle::Raw => Ok(Value::Struct(self.0)), [INFO] [stdout] 216 | | OutputStyle::VariantOf(ty) => Ok(Value::Enum(Enum { [INFO] [stdout] 217 | | name: ty, [INFO] [stdout] 218 | | variant: Variant::Struct(self.0), [INFO] [stdout] 219 | | })), [INFO] [stdout] 220 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:215:33 [INFO] [stdout] | [INFO] [stdout] 215 | OutputStyle::Raw => Ok(Value::Struct(self.0)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:216:43 [INFO] [stdout] | [INFO] [stdout] 216 | OutputStyle::VariantOf(ty) => Ok(Value::Enum(Enum { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 217 | | name: ty, [INFO] [stdout] 218 | | variant: Variant::Struct(self.0), [INFO] [stdout] 219 | | })), [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | let val = Diff::diff(a, b, ValueRecorder).void_unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:242:49 [INFO] [stdout] | [INFO] [stdout] 242 | fn end(self) -> Result { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 243 | | match self.1 { [INFO] [stdout] 244 | | OutputStyle::Raw => Ok(Value::Tuple(self.0)), [INFO] [stdout] 245 | | OutputStyle::VariantOf(ty) => Ok(Value::Enum(Enum { [INFO] [stdout] ... | [INFO] [stdout] 250 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | / match self.1 { [INFO] [stdout] 244 | | OutputStyle::Raw => Ok(Value::Tuple(self.0)), [INFO] [stdout] 245 | | OutputStyle::VariantOf(ty) => Ok(Value::Enum(Enum { [INFO] [stdout] 246 | | name: ty, [INFO] [stdout] 247 | | variant: Variant::Tuple(self.0), [INFO] [stdout] 248 | | })), [INFO] [stdout] 249 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:244:33 [INFO] [stdout] | [INFO] [stdout] 244 | OutputStyle::Raw => Ok(Value::Tuple(self.0)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:245:43 [INFO] [stdout] | [INFO] [stdout] 245 | OutputStyle::VariantOf(ty) => Ok(Value::Enum(Enum { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 246 | | name: ty, [INFO] [stdout] 247 | | variant: Variant::Tuple(self.0), [INFO] [stdout] 248 | | })), [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:263:35 [INFO] [stdout] | [INFO] [stdout] 263 | self.0.push(Element::Both(Diff::diff(a, b, ValueRecorder).void_unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:280:49 [INFO] [stdout] | [INFO] [stdout] 280 | fn end(self) -> Result { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 281 | | Ok(Value::Sequence(self.0)) [INFO] [stdout] 282 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | Ok(Value::Sequence(self.0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:293:35 [INFO] [stdout] | [INFO] [stdout] 293 | self.0.push(Element::Both(Diff::diff(a, b, ValueRecorder).void_unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:310:49 [INFO] [stdout] | [INFO] [stdout] 310 | fn end(self) -> Result { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 311 | | Ok(Value::Set(self.0)) [INFO] [stdout] 312 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | Ok(Value::Set(self.0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:327:20 [INFO] [stdout] | [INFO] [stdout] 327 | let diff = Diff::diff(a, b, ValueRecorder).void_unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:349:49 [INFO] [stdout] | [INFO] [stdout] 349 | fn end(self) -> Result { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 350 | | Ok(Value::Map(self.0)) [INFO] [stdout] 351 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | Ok(Value::Map(self.0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:360:20 [INFO] [stdout] | [INFO] [stdout] 360 | let diff = Diff::diff(&(), &(), ValueRecorder).void_unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:366:20 [INFO] [stdout] | [INFO] [stdout] 366 | let diff = Diff::diff(&0u32, &0, ValueRecorder).void_unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/record.rs:369:20 [INFO] [stdout] | [INFO] [stdout] 369 | let diff = Diff::diff(&0u32, &1, ValueRecorder).void_unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `visit_diff` (lib) due to 45 previous errors; 27 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `visit_diff` (lib test) due to 48 previous errors; 28 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c69cfb736e622defd6f36cb9cd5e87a248d78318c406a695bee8ffd056f86c12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c69cfb736e622defd6f36cb9cd5e87a248d78318c406a695bee8ffd056f86c12", kill_on_drop: false }` [INFO] [stdout] c69cfb736e622defd6f36cb9cd5e87a248d78318c406a695bee8ffd056f86c12