[INFO] fetching crate debug3 0.4.1... [INFO] testing debug3-0.4.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate debug3 0.4.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate debug3 0.4.1 [INFO] finished tweaking crates.io crate debug3 0.4.1 [INFO] tweaked toml for crates.io crate debug3 0.4.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate debug3 0.4.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate debug3 0.4.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80f1f60af1bd51fc994925318ab8f2eb7340952372e820f615a414b8d4469008 [INFO] running `Command { std: "docker" "start" "-a" "80f1f60af1bd51fc994925318ab8f2eb7340952372e820f615a414b8d4469008", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80f1f60af1bd51fc994925318ab8f2eb7340952372e820f615a414b8d4469008", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80f1f60af1bd51fc994925318ab8f2eb7340952372e820f615a414b8d4469008", kill_on_drop: false }` [INFO] [stdout] 80f1f60af1bd51fc994925318ab8f2eb7340952372e820f615a414b8d4469008 [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" "-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 832ae07f8a36ed270654426118fd4fef29a0b74382674a0945ceadbea419487b [INFO] running `Command { std: "docker" "start" "-a" "832ae07f8a36ed270654426118fd4fef29a0b74382674a0945ceadbea419487b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling synstructure v0.13.0 [INFO] [stderr] Compiling debug3-derive v0.4.0 [INFO] [stderr] Compiling debug3 v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stdout] --> src/algorithm.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | if cfg!(prettyplease_debug) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug_indent` [INFO] [stdout] --> src/algorithm.rs:303:21 [INFO] [stdout] | [INFO] [stdout] 303 | if cfg!(prettyplease_debug_indent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug_indent)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug_indent)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stdout] --> src/algorithm.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | if cfg!(prettyplease_debug) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stdout] --> src/algorithm.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | if cfg!(prettyplease_debug) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stdout] --> src/algorithm.rs:359:21 [INFO] [stdout] | [INFO] [stdout] 359 | if cfg!(prettyplease_debug) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builders/set.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn new(fmt: &mut Formatter) -> DebugSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn new(fmt: &mut Formatter) -> DebugSet<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.30s [INFO] running `Command { std: "docker" "inspect" "832ae07f8a36ed270654426118fd4fef29a0b74382674a0945ceadbea419487b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "832ae07f8a36ed270654426118fd4fef29a0b74382674a0945ceadbea419487b", kill_on_drop: false }` [INFO] [stdout] 832ae07f8a36ed270654426118fd4fef29a0b74382674a0945ceadbea419487b [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" "-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9719ce6ded13a1e1e4ab960c174eb63dd1c8dd9d6942e5dc275a18e84b415944 [INFO] running `Command { std: "docker" "start" "-a" "9719ce6ded13a1e1e4ab960c174eb63dd1c8dd9d6942e5dc275a18e84b415944", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling trybuild v1.0.83 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling dissimilar v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stdout] --> src/algorithm.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | if cfg!(prettyplease_debug) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug_indent` [INFO] [stdout] --> src/algorithm.rs:303:21 [INFO] [stdout] | [INFO] [stdout] 303 | if cfg!(prettyplease_debug_indent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug_indent)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug_indent)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stdout] --> src/algorithm.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | if cfg!(prettyplease_debug) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stdout] --> src/algorithm.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | if cfg!(prettyplease_debug) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stdout] --> src/algorithm.rs:359:21 [INFO] [stdout] | [INFO] [stdout] 359 | if cfg!(prettyplease_debug) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builders/set.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn new(fmt: &mut Formatter) -> DebugSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn new(fmt: &mut Formatter) -> DebugSet<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling expect-test v1.4.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling basic-toml v0.1.4 [INFO] [stderr] Compiling debug3 v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/derive.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(debug3::Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Foo` [INFO] [stdout] 2 | struct Foo { [INFO] [stdout] | --- `Foo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `debug3::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `debug3::Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `debug3::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rustdoc_types` [INFO] [stdout] --> tests/it/rustdoc_types.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(feature = "rustdoc_types")] [INFO] [stdout] | ^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rustdoc-types"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aws-sdk-ec2`, `aws-smithy-types`, `bytes`, `cid`, `dashmap`, `hashbrown`, `kdl`, `libipld-core`, `miette`, `proc-macro2`, `pulldown-cmark`, `rustdoc-types`, `serde_json`, `smallvec`, `syn`, and `ungrammar` [INFO] [stdout] = help: consider adding `rustdoc_types` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stdout] --> src/algorithm.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | if cfg!(prettyplease_debug) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug_indent` [INFO] [stdout] --> src/algorithm.rs:303:21 [INFO] [stdout] | [INFO] [stdout] 303 | if cfg!(prettyplease_debug_indent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug_indent)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug_indent)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stdout] --> src/algorithm.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | if cfg!(prettyplease_debug) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stdout] --> src/algorithm.rs:352:21 [INFO] [stdout] | [INFO] [stdout] 352 | if cfg!(prettyplease_debug) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stdout] --> src/algorithm.rs:359:21 [INFO] [stdout] | [INFO] [stdout] 359 | if cfg!(prettyplease_debug) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builders/set.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn new(fmt: &mut Formatter) -> DebugSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn new(fmt: &mut Formatter) -> DebugSet<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/it/algo.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Basic` and up 2 bodies [INFO] [stdout] 6 | struct Basic { [INFO] [stdout] | ----- `Basic` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/it/algo.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Empty` and up 2 bodies [INFO] [stdout] 35 | struct Empty {} [INFO] [stdout] | ----- `Empty` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/it/algo.rs:738:14 [INFO] [stdout] | [INFO] [stdout] 738 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Foo` and up 2 bodies [INFO] [stdout] 739 | enum Foo { [INFO] [stdout] | --- `Foo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/it/derive.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Unit` [INFO] [stdout] 6 | struct Unit; [INFO] [stdout] | ---- `Unit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/it/derive.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Tuple` [INFO] [stdout] 9 | struct Tuple(isize, usize); [INFO] [stdout] | ----- `Tuple` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/it/derive.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Struct` [INFO] [stdout] 12 | struct Struct { [INFO] [stdout] | ------ `Struct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/it/derive.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Enum` [INFO] [stdout] 18 | enum Enum { [INFO] [stdout] | ---- `Enum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/it/derive.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Pointers` [INFO] [stdout] 25 | struct Pointers(*const dyn Send, *mut dyn Sync); [INFO] [stdout] | -------- `Pointers` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/it/derive.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_A` [INFO] [stdout] 50 | enum A {} [INFO] [stdout] | - `A` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/it/derive.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_B` [INFO] [stdout] 53 | enum B { [INFO] [stdout] | - `B` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/it/derive.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_C` [INFO] [stdout] 59 | enum C { [INFO] [stdout] | - `C` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/it/derive.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_D` [INFO] [stdout] 65 | enum D { [INFO] [stdout] | - `D` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/it/derive.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_E` [INFO] [stdout] 69 | struct E; [INFO] [stdout] | - `E` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/it/derive.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_F` [INFO] [stdout] 71 | struct F(isize); [INFO] [stdout] | - `F` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/it/derive.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_G` [INFO] [stdout] 73 | struct G(isize, isize); [INFO] [stdout] | - `G` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/it/derive.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_H` [INFO] [stdout] 75 | struct H { [INFO] [stdout] | - `H` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/it/derive.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_I` [INFO] [stdout] 79 | struct I { [INFO] [stdout] | - `I` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/it/derive.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_J` [INFO] [stdout] 84 | struct J(Custom); [INFO] [stdout] | - `J` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/it/motivating.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Instr` [INFO] [stdout] 78 | enum Instr { [INFO] [stdout] | ----- `Instr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/it/motivating.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_BinOp` [INFO] [stdout] 85 | enum BinOp { [INFO] [stdout] | ----- `BinOp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/it/motivating.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_UnOp` [INFO] [stdout] 93 | enum UnOp { [INFO] [stdout] | ---- `UnOp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/it/motivating.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_LinkedList` [INFO] [stdout] 143 | enum LinkedList { [INFO] [stdout] | ---------- `LinkedList` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/it/std.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Ref` [INFO] [stdout] 55 | struct Ref<'a, T: ?Sized> { [INFO] [stdout] | --- `Ref` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.56s [INFO] running `Command { std: "docker" "inspect" "9719ce6ded13a1e1e4ab960c174eb63dd1c8dd9d6942e5dc275a18e84b415944", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9719ce6ded13a1e1e4ab960c174eb63dd1c8dd9d6942e5dc275a18e84b415944", kill_on_drop: false }` [INFO] [stdout] 9719ce6ded13a1e1e4ab960c174eb63dd1c8dd9d6942e5dc275a18e84b415944 [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" "-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 373aea4c3d0c9b04c4ccca892d56faead2e231011e44ce3b6af94aa349dd7ae2 [INFO] running `Command { std: "docker" "start" "-a" "373aea4c3d0c9b04c4ccca892d56faead2e231011e44ce3b6af94aa349dd7ae2", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stderr] --> src/algorithm.rs:298:17 [INFO] [stderr] | [INFO] [stderr] 298 | if cfg!(prettyplease_debug) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `prettyplease_debug_indent` [INFO] [stderr] --> src/algorithm.rs:303:21 [INFO] [stderr] | [INFO] [stderr] 303 | if cfg!(prettyplease_debug_indent) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug_indent)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug_indent)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stderr] --> src/algorithm.rs:330:17 [INFO] [stderr] | [INFO] [stderr] 330 | if cfg!(prettyplease_debug) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stderr] --> src/algorithm.rs:352:21 [INFO] [stderr] | [INFO] [stderr] 352 | if cfg!(prettyplease_debug) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stderr] --> src/algorithm.rs:359:21 [INFO] [stderr] | [INFO] [stderr] 359 | if cfg!(prettyplease_debug) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/builders/set.rs:32:24 [INFO] [stderr] | [INFO] [stderr] 32 | pub(crate) fn new(fmt: &mut Formatter) -> DebugSet { [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 32 | pub(crate) fn new(fmt: &mut Formatter) -> DebugSet<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `debug3` (lib) generated 6 warnings (run `cargo fix --lib -p debug3` to apply 1 suggestion) [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> examples/derive.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(debug3::Debug)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Foo` [INFO] [stderr] 2 | struct Foo { [INFO] [stderr] | --- `Foo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `debug3::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `debug3::Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `debug3::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `rustdoc_types` [INFO] [stderr] --> tests/it/rustdoc_types.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg(feature = "rustdoc_types")] [INFO] [stderr] | ^^^^^^^^^^--------------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"rustdoc-types"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `aws-sdk-ec2`, `aws-smithy-types`, `bytes`, `cid`, `dashmap`, `hashbrown`, `kdl`, `libipld-core`, `miette`, `proc-macro2`, `pulldown-cmark`, `rustdoc-types`, `serde_json`, `smallvec`, `syn`, and `ungrammar` [INFO] [stderr] = help: consider adding `rustdoc_types` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/it/algo.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Basic` and up 2 bodies [INFO] [stderr] 6 | struct Basic { [INFO] [stderr] | ----- `Basic` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/it/algo.rs:34:14 [INFO] [stderr] | [INFO] [stderr] 34 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Empty` and up 2 bodies [INFO] [stderr] 35 | struct Empty {} [INFO] [stderr] | ----- `Empty` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/it/algo.rs:738:14 [INFO] [stderr] | [INFO] [stderr] 738 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Foo` and up 2 bodies [INFO] [stderr] 739 | enum Foo { [INFO] [stderr] | --- `Foo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/it/derive.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Unit` [INFO] [stderr] 6 | struct Unit; [INFO] [stderr] | ---- `Unit` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/it/derive.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Tuple` [INFO] [stderr] 9 | struct Tuple(isize, usize); [INFO] [stderr] | ----- `Tuple` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/it/derive.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Struct` [INFO] [stderr] 12 | struct Struct { [INFO] [stderr] | ------ `Struct` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/it/derive.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Enum` [INFO] [stderr] 18 | enum Enum { [INFO] [stderr] | ---- `Enum` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/it/derive.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Pointers` [INFO] [stderr] 25 | struct Pointers(*const dyn Send, *mut dyn Sync); [INFO] [stderr] | -------- `Pointers` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/it/derive.rs:49:10 [INFO] [stderr] | [INFO] [stderr] 49 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stdout] [INFO] [stderr] | `Debug` is not local [INFO] [stdout] running 0 tests [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_A` [INFO] [stderr] 50 | enum A {} [INFO] [stderr] | - `A` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/it/derive.rs:52:10 [INFO] [stderr] | [INFO] [stderr] 52 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_B` [INFO] [stderr] 53 | enum B { [INFO] [stderr] | - `B` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/it/derive.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_C` [INFO] [stderr] 59 | enum C { [INFO] [stderr] | - `C` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/it/derive.rs:64:10 [INFO] [stderr] | [INFO] [stderr] 64 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_D` [INFO] [stderr] 65 | enum D { [INFO] [stderr] | - `D` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/it/derive.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_E` [INFO] [stderr] 69 | struct E; [INFO] [stderr] | - `E` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/it/derive.rs:70:10 [INFO] [stderr] | [INFO] [stderr] 70 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_F` [INFO] [stderr] 71 | struct F(isize); [INFO] [stderr] | - `F` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/it/derive.rs:72:10 [INFO] [stderr] | [INFO] [stderr] 72 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_G` [INFO] [stderr] 73 | struct G(isize, isize); [INFO] [stderr] | - `G` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/it/derive.rs:74:10 [INFO] [stderr] | [INFO] [stderr] 74 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_H` [INFO] [stderr] 75 | struct H { [INFO] [stderr] | - `H` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] --> tests/it/derive.rs:78:10 [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 78 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_I` [INFO] [stderr] 79 | struct I { [INFO] [stderr] | - `I` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/it/derive.rs:83:10 [INFO] [stderr] | [INFO] [stderr] 83 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_J` [INFO] [stderr] 84 | struct J(Custom); [INFO] [stderr] | - `J` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stdout] running 81 tests [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/it/motivating.rs:77:10 [INFO] [stderr] | [INFO] [stderr] 77 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Instr` [INFO] [stderr] 78 | enum Instr { [INFO] [stderr] | ----- `Instr` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/it/motivating.rs:84:10 [INFO] [stderr] | [INFO] [stderr] 84 | #[derive(Debug)] [INFO] [stdout] test algo::binary_typle ... ok [INFO] [stderr] | ^---- [INFO] [stdout] test algo::big_map ... ok [INFO] [stderr] | | [INFO] [stdout] test algo::debug_list::test_empty ... ok [INFO] [stderr] | `Debug` is not local [INFO] [stdout] test algo::debug_list::test_multiple ... ok [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_BinOp` [INFO] [stdout] test algo::debug_list::test_nested ... ok [INFO] [stderr] 85 | enum BinOp { [INFO] [stdout] test algo::debug_list::test_single ... ok [INFO] [stderr] | ----- `BinOp` is not local [INFO] [stdout] test algo::debug_map::test_empty ... ok [INFO] [stderr] | [INFO] [stdout] test algo::debug_map::test_multiple ... ok [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/it/motivating.rs:92:10 [INFO] [stderr] | [INFO] [stderr] 92 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_UnOp` [INFO] [stderr] 93 | enum UnOp { [INFO] [stderr] | ---- `UnOp` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/it/motivating.rs:142:10 [INFO] [stderr] | [INFO] [stderr] 142 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_LinkedList` [INFO] [stderr] 143 | enum LinkedList { [INFO] [stderr] | ---------- `LinkedList` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/it/std.rs:54:10 [INFO] [stderr] | [INFO] [stderr] 54 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_Ref` [INFO] [stderr] 55 | struct Ref<'a, T: ?Sized> { [INFO] [stderr] | --- `Ref` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug3_derive` crate, try updating your dependency with `cargo update -p debug3_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `debug3` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] warning: `debug3` (example "derive") generated 1 warning [INFO] [stderr] warning: `debug3` (test "it") generated 24 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/debug3-5164e0081396dd2c) [INFO] [stderr] Running tests/it/main.rs (/opt/rustwide/target/debug/deps/it-da32ffd86be4c1b9) [INFO] [stdout] test algo::debug_set::test_multiple ... ok [INFO] [stdout] test algo::debug_map::test_single ... ok [INFO] [stdout] test algo::debug_map::test_nested ... ok [INFO] [stdout] test algo::debug_set::test_nested ... ok [INFO] [stdout] test algo::debug_set::test_empty ... ok [INFO] [stdout] test algo::debug_set::test_single ... ok [INFO] [stdout] test algo::debug_struct::test_empty ... ok [INFO] [stdout] test algo::debug_struct::test_nested_non_exhaustive ... ok [INFO] [stdout] test algo::debug_struct::test_only_non_exhaustive ... ok [INFO] [stdout] test algo::debug_struct::test_multiple_and_non_exhaustive ... ok [INFO] [stdout] test algo::debug_struct::test_multiple ... ok [INFO] [stdout] test algo::debug_struct::test_nested ... ok [INFO] [stdout] test algo::debug_struct::test_single ... ok [INFO] [stdout] test algo::debug_tuple::test_empty ... ok [INFO] [stdout] test algo::debug_tuple::test_multiple ... ok [INFO] [stdout] test algo::empty_struct ... ok [INFO] [stdout] test algo::debug_tuple::test_nested ... ok [INFO] [stdout] test algo::debug_tuple::test_single ... ok [INFO] [stdout] test algo::non_exaustive_empty ... ok [INFO] [stdout] test algo::empty_tuple ... ok [INFO] [stdout] test algo::tuple_break ... ok [INFO] [stdout] test algo::unary_tuple ... ok [INFO] [stdout] test algo::enum_many_ways ... ok [INFO] [stdout] test algo::list_many ... ok [INFO] [stdout] test algo::non_exaustive ... ok [INFO] [stdout] test builder::debug_list::test_empty ... ok [INFO] [stdout] test algo::works ... ok [INFO] [stdout] test builder::debug_list::test_multiple ... ok [INFO] [stdout] test builder::debug_map::test_empty ... ok [INFO] [stdout] test builder::debug_list::test_single ... ok [INFO] [stdout] test builder::debug_list::test_nested ... ok [INFO] [stdout] test builder::debug_map::test_nested ... ok [INFO] [stdout] test builder::debug_map::test_multiple ... ok [INFO] [stdout] test builder::debug_map::test_single ... ok [INFO] [stdout] test builder::debug_named_list::test_empty ... ok [INFO] [stdout] test builder::debug_named_list::test_multiple ... ok [INFO] [stdout] test builder::debug_named_list::test_nested ... ok [INFO] [stdout] test builder::debug_named_list::test_single ... ok [INFO] [stdout] test builder::debug_set::test_empty ... ok [INFO] [stdout] test builder::debug_set::test_multiple ... ok [INFO] [stdout] test builder::debug_set::test_nested ... ok [INFO] [stdout] test builder::debug_set::test_single ... ok [INFO] [stdout] test builder::debug_struct::test_empty ... ok [INFO] [stdout] test builder::debug_struct::test_multiple ... ok [INFO] [stdout] test builder::debug_struct::test_multiple_and_non_exhaustive ... ok [INFO] [stdout] test builder::debug_struct::test_nested ... ok [INFO] [stdout] test builder::debug_struct::test_nested_non_exhaustive ... ok [INFO] [stdout] test builder::debug_struct::test_only_non_exhaustive ... ok [INFO] [stdout] test builder::debug_tuple::test_empty ... ok [INFO] [stdout] test builder::debug_struct::test_single ... ok [INFO] [stdout] test builder::debug_tuple::test_nested ... ok [INFO] [stdout] test builder::debug_tuple::test_multiple ... ok [INFO] [stdout] test builder::debug_tuple::test_single ... ok [INFO] [stdout] test derive::derive1 ... ok [INFO] [stdout] test derive::derive2 ... ok [INFO] [stdout] test fxhash::can_use_custom_hash_set ... ok [INFO] [stdout] test fxhash::can_use_custom_map ... ok [INFO] [stdout] test motivating::motivating ... ok [INFO] [stdout] test motivating::quadratic_form ... ok [INFO] [stdout] test algo::debug_map::test_invalid_value_before_key - should panic ... ok [INFO] [stdout] test algo::debug_map::test_invalid_finish_incomplete_entry - should panic ... ok [INFO] [stdout] test std::nonzero ... ok [INFO] [stdout] test algo::debug_map::test_invalid_key_when_entry_is_incomplete - should panic ... ok [INFO] [stdout] test std::range ... ok [INFO] [stdout] test builder::debug_map::test_invalid_key_when_entry_is_incomplete - should panic ... ok [INFO] [stdout] test builder::debug_map::test_invalid_value_before_key - should panic ... ok [INFO] [stdout] test std::range_big ... ok [INFO] [stdout] test std::unsized_ref ... ok [INFO] [stdout] test std::refcell ... ok [INFO] [stdout] test std::mutex ... ok [INFO] [stdout] test builder::debug_map::test_invalid_finish_incomplete_entry - should panic ... ok [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stdout] test motivating::deeply_nested ... ok [INFO] [stderr] Checking dissimilar v1.0.7 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking expect-test v1.4.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling synstructure v0.13.0 [INFO] [stderr] Compiling debug3-derive v0.4.0 [INFO] [stderr] Checking debug3 v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stderr] --> /opt/rustwide/workdir/src/algorithm.rs:298:17 [INFO] [stderr] | [INFO] [stderr] 298 | if cfg!(prettyplease_debug) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `prettyplease_debug_indent` [INFO] [stderr] --> /opt/rustwide/workdir/src/algorithm.rs:303:21 [INFO] [stderr] | [INFO] [stderr] 303 | if cfg!(prettyplease_debug_indent) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug_indent)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug_indent)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stderr] --> /opt/rustwide/workdir/src/algorithm.rs:330:17 [INFO] [stderr] | [INFO] [stderr] 330 | if cfg!(prettyplease_debug) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stderr] --> /opt/rustwide/workdir/src/algorithm.rs:352:21 [INFO] [stderr] | [INFO] [stderr] 352 | if cfg!(prettyplease_debug) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `prettyplease_debug` [INFO] [stderr] --> /opt/rustwide/workdir/src/algorithm.rs:359:21 [INFO] [stderr] | [INFO] [stderr] 359 | if cfg!(prettyplease_debug) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(prettyplease_debug)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(prettyplease_debug)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/builders/set.rs:32:24 [INFO] [stderr] | [INFO] [stderr] 32 | pub(crate) fn new(fmt: &mut Formatter) -> DebugSet { [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 32 | pub(crate) fn new(fmt: &mut Formatter) -> DebugSet<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `debug3` (lib) generated 6 warnings (run `cargo fix --lib -p debug3` to apply 1 suggestion) [INFO] [stderr] Checking debug3-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/debug3) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.60s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/it/ui/debug_not_field.rs ... mismatch [INFO] [stdout] test ui::ui ... FAILED [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] EXPECTED: [INFO] [stdout] failures: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] [INFO] [stderr] error[E0277]: the trait bound `NoDebug: debug3::Debug` is not satisfied [INFO] [stdout] ---- ui::ui stdout ---- [INFO] [stderr] --> tests/it/ui/debug_not_field.rs:3:10 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] thread 'ui::ui' (99) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.83/src/run.rs:101:13: [INFO] [stderr] 3 | #[derive(debug3::Debug)] [INFO] [stdout] 2 of 3 tests failed [INFO] [stderr] | ^^^^^^^^^^^^^ the trait `debug3::Debug` is not implemented for `NoDebug` [INFO] [stdout] stack backtrace: [INFO] [stderr] | [INFO] [stdout] 0: 0x62a9ec984b42 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stderr] = help: the following other types implement trait `debug3::Debug`: [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] bool [INFO] [stdout] 1: 0x62a9ec984b42 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stderr] char [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] isize [INFO] [stdout] 2: 0x62a9ec984b42 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stderr] i8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] i16 [INFO] [stdout] 3: 0x62a9ec984b42 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stderr] i32 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] i64 [INFO] [stdout] 4: 0x62a9ec99556f - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stderr] i128 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] and $N others [INFO] [stdout] 5: 0x62a9ec99556f - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stderr] = note: required for the cast from `&NoDebug` to `&dyn debug3::Debug` [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stderr] = note: this error originates in the derive macro `debug3::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] 6: 0x62a9ec94fbc3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stderr] [INFO] [stdout] 7: 0x62a9ec94fbc3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] 8: 0x62a9ec95cd52 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stderr] error[E0277]: the trait bound `NoDebug: debug3::Debug` is not satisfied [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] --> tests/it/ui/debug_not_field.rs:3:10 [INFO] [stdout] 9: 0x62a9ec96251f - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stderr] | [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stderr] 3 | #[derive(debug3::Debug)] [INFO] [stdout] 10: 0x62a9ec9623b1 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stderr] | ^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stderr] | [INFO] [stdout] 11: 0x62a9ec8df09e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stderr] help: the trait `debug3::Debug` is not implemented for `NoDebug` [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stderr] --> tests/it/ui/debug_not_field.rs:1:1 [INFO] [stdout] 12: 0x62a9ec8df09e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stderr] | [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stderr] 1 | struct NoDebug; [INFO] [stdout] 13: 0x62a9ec962bdf - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stderr] = help: the following other types implement trait `debug3::Debug`: [INFO] [stdout] 14: 0x62a9ec962bdf - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stderr] &T [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stderr] &mut T [INFO] [stdout] 15: 0x62a9ec96298a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stderr] () [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stderr] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] 16: 0x62a9ec95ce89 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stderr] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] (T10, T11) [INFO] [stdout] 17: 0x62a9ec94343d - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stderr] (T11,) [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stderr] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] 18: 0x62a9ec99e750 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stderr] and $N others [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stderr] = note: required for the cast from `&NoDebug` to `&dyn debug3::Debug` [INFO] [stdout] 19: 0x62a9ec7b8e67 - trybuild::run::::run::hcb6b8bc8f2421124 [INFO] [stderr] = note: this error originates in the derive macro `debug3::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.83/src/run.rs:101:13 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] 20: 0x62a9ec7b3be8 - ::drop::hcc606d626d09da8b [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.83/src/lib.rs:315:38 [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stdout] 21: 0x62a9ec700127 - core::ptr::drop_in_place::h9f354b706d8d2415 [INFO] [stderr] [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ptr/mod.rs:805:1 [INFO] [stderr] test tests/it/ui/no_generic.rs ... mismatch [INFO] [stdout] 22: 0x62a9ec6ecea3 - it::ui::ui::h20377d27fec35b37 [INFO] [stderr] [INFO] [stdout] at /opt/rustwide/workdir/tests/it/ui.rs:6:1 [INFO] [stderr] EXPECTED: [INFO] [stdout] 23: 0x62a9ec6eced7 - it::ui::ui::{{closure}}::ha6d0dceff5ef4b41 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] at /opt/rustwide/workdir/tests/it/ui.rs:3:8 [INFO] [stderr] error[E0277]: the trait bound `NoDebug: debug3::Debug` is not satisfied [INFO] [stdout] 24: 0x62a9ec6feeb6 - core::ops::function::FnOnce::call_once::h346f683a4c281b9a [INFO] [stderr] --> tests/it/ui/no_generic.rs:16:12 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stderr] | [INFO] [stdout] 25: 0x62a9ec8deeeb - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stderr] 13 | pprint(Triple { [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stderr] | ------ required by a bound introduced by this call [INFO] [stdout] 26: 0x62a9ec8deeeb - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stderr] ... [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stderr] 16 | z: NoDebug, [INFO] [stdout] 27: 0x62a9ec8f2efd - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stderr] | ^^^^^^^ the trait `debug3::Debug` is not implemented for `NoDebug` [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stderr] | [INFO] [stdout] 28: 0x62a9ec8f2efd - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stderr] = help: the following other types implement trait `debug3::Debug`: [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] bool [INFO] [stdout] 29: 0x62a9ec8f2efd - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stderr] char [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stderr] isize [INFO] [stdout] 30: 0x62a9ec8f2efd - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stderr] i8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stderr] i16 [INFO] [stdout] 31: 0x62a9ec8f2efd - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stderr] i32 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stderr] i64 [INFO] [stdout] 32: 0x62a9ec8f2efd - test::run_test_in_process::h400008a46a5006a0 [INFO] [stderr] i128 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stderr] and $N others [INFO] [stdout] 33: 0x62a9ec8f2efd - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stderr] note: required for `Triple` to implement `debug3::Debug` [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stderr] --> tests/it/ui/no_generic.rs:3:10 [INFO] [stdout] 34: 0x62a9ec8cc444 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stderr] | [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stderr] 3 | #[derive(Debug)] [INFO] [stdout] 35: 0x62a9ec8cc444 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stderr] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stderr] 4 | struct Triple { [INFO] [stdout] 36: 0x62a9ec8cfd7a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stderr] note: required by a bound in `pprint` [INFO] [stdout] 37: 0x62a9ec8cfd7a - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stderr] --> src/lib.rs [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] | [INFO] [stdout] 38: 0x62a9ec8cfd7a - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stderr] | pub fn pprint(x: T) -> String { [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stderr] | ^^^^^ required by this bound in `pprint` [INFO] [stdout] 39: 0x62a9ec8cfd7a - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stderr] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] 40: 0x62a9ec8cfd7a - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stderr] [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stdout] 41: 0x62a9ec8cfd7a - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stderr] error[E0277]: the trait bound `NoDebug: debug3::Debug` is not satisfied [INFO] [stdout] 42: 0x62a9ec8cfd7a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stderr] --> tests/it/ui/no_generic.rs:16:12 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stderr] | [INFO] [stdout] 43: 0x62a9ec9580df - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stderr] 13 | pprint(Triple { [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stderr] | ------ required by a bound introduced by this call [INFO] [stdout] 44: 0x62a9ec9580df - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stderr] ... [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stderr] 16 | z: NoDebug, [INFO] [stdout] 45: 0x79e90e1fdaa4 - [INFO] [stderr] | ^^^^^^^ unsatisfied trait bound [INFO] [stdout] 46: 0x79e90e28aa64 - clone [INFO] [stderr] | [INFO] [stdout] 47: 0x0 - [INFO] [stderr] help: the trait `debug3::Debug` is not implemented for `NoDebug` [INFO] [stdout] [INFO] [stderr] --> tests/it/ui/no_generic.rs:10:1 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] failures: [INFO] [stderr] 10 | struct NoDebug; [INFO] [stdout] ui::ui [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] = help: the following other types implement trait `debug3::Debug`: [INFO] [stdout] test result: FAILED. 80 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 12.19s [INFO] [stderr] &T [INFO] [stdout] [INFO] [stderr] &mut T [INFO] [stderr] () [INFO] [stderr] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stderr] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stderr] (T10, T11) [INFO] [stderr] (T11,) [INFO] [stderr] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stderr] and $N others [INFO] [stderr] note: required for `Triple` to implement `debug3::Debug` [INFO] [stderr] --> tests/it/ui/no_generic.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stderr] 4 | struct Triple { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] note: required by a bound in `pprint` [INFO] [stderr] --> src/lib.rs [INFO] [stderr] | [INFO] [stderr] | pub fn pprint(x: T) -> String { [INFO] [stderr] | ^^^^^ required by this bound in `pprint` [INFO] [stderr] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/it/ui/unused_fields.rs ... ok [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: test failed, to rerun pass `--test it` [INFO] running `Command { std: "docker" "inspect" "373aea4c3d0c9b04c4ccca892d56faead2e231011e44ce3b6af94aa349dd7ae2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "373aea4c3d0c9b04c4ccca892d56faead2e231011e44ce3b6af94aa349dd7ae2", kill_on_drop: false }` [INFO] [stdout] 373aea4c3d0c9b04c4ccca892d56faead2e231011e44ce3b6af94aa349dd7ae2