[INFO] fetching crate debug3 0.4.1... [INFO] testing debug3-0.4.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate debug3 0.4.1 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate debug3 0.4.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] add0b17efcd963805e34bdf701a928c8299001ba83fdbac44d99ef7d2e826475 [INFO] running `Command { std: "docker" "start" "-a" "add0b17efcd963805e34bdf701a928c8299001ba83fdbac44d99ef7d2e826475", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "add0b17efcd963805e34bdf701a928c8299001ba83fdbac44d99ef7d2e826475", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "add0b17efcd963805e34bdf701a928c8299001ba83fdbac44d99ef7d2e826475", kill_on_drop: false }` [INFO] [stdout] add0b17efcd963805e34bdf701a928c8299001ba83fdbac44d99ef7d2e826475 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8c123c7a5bab86fbb594d531646f9d645c276337bd9df01120b9f0362df95be [INFO] running `Command { std: "docker" "start" "-a" "c8c123c7a5bab86fbb594d531646f9d645c276337bd9df01120b9f0362df95be", 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 3.40s [INFO] running `Command { std: "docker" "inspect" "c8c123c7a5bab86fbb594d531646f9d645c276337bd9df01120b9f0362df95be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8c123c7a5bab86fbb594d531646f9d645c276337bd9df01120b9f0362df95be", kill_on_drop: false }` [INFO] [stdout] c8c123c7a5bab86fbb594d531646f9d645c276337bd9df01120b9f0362df95be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7446c5b4552955478960feee3faa06d28094df962d7221ebbe33cc7c3ba0727 [INFO] running `Command { std: "docker" "start" "-a" "c7446c5b4552955478960feee3faa06d28094df962d7221ebbe33cc7c3ba0727", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling trybuild v1.0.83 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling dissimilar v1.0.7 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [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 fxhash v0.2.1 [INFO] [stderr] Compiling expect-test v1.4.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 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: 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: 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 7.78s [INFO] running `Command { std: "docker" "inspect" "c7446c5b4552955478960feee3faa06d28094df962d7221ebbe33cc7c3ba0727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7446c5b4552955478960feee3faa06d28094df962d7221ebbe33cc7c3ba0727", kill_on_drop: false }` [INFO] [stdout] c7446c5b4552955478960feee3faa06d28094df962d7221ebbe33cc7c3ba0727 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 12a8c71d539a608812c1b553721e66b08415f7a9aac8a6f5deab290b2bda7936 [INFO] running `Command { std: "docker" "start" "-a" "12a8c71d539a608812c1b553721e66b08415f7a9aac8a6f5deab290b2bda7936", 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: `debug3` (lib test) generated 6 warnings (6 duplicates) [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] [stderr] | `Debug` is not local [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] [stdout] [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] [stdout] running 0 tests [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] [stdout] [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [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] [INFO] [stderr] --> tests/it/derive.rs:72:10 [INFO] [stdout] running 81 tests [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] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/it/derive.rs:78:10 [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] [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: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] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug3_Debug_FOR_BinOp` [INFO] [stderr] 85 | enum BinOp { [INFO] [stderr] | ----- `BinOp` 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: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: 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: `debug3` (test "it") generated 24 warnings [INFO] [stderr] warning: `debug3` (example "derive") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [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_list::test_multiple ... ok [INFO] [stdout] test algo::debug_list::test_empty ... ok [INFO] [stdout] test algo::big_map ... ok [INFO] [stdout] test algo::binary_typle ... ok [INFO] [stdout] test algo::debug_list::test_nested ... ok [INFO] [stdout] test algo::debug_map::test_empty ... ok [INFO] [stdout] test algo::debug_list::test_single ... ok [INFO] [stdout] test algo::debug_map::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_empty ... ok [INFO] [stdout] test algo::debug_set::test_nested ... ok [INFO] [stdout] test algo::debug_set::test_single ... ok [INFO] [stdout] test algo::debug_struct::test_multiple_and_non_exhaustive ... ok [INFO] [stdout] test algo::debug_struct::test_nested_non_exhaustive ... ok [INFO] [stdout] test algo::debug_struct::test_single ... ok [INFO] [stdout] test algo::debug_tuple::test_multiple ... ok [INFO] [stdout] test algo::debug_tuple::test_empty ... ok [INFO] [stdout] test algo::debug_set::test_multiple ... ok [INFO] [stdout] test algo::empty_struct ... ok [INFO] [stdout] test algo::debug_struct::test_only_non_exhaustive ... ok [INFO] [stdout] test algo::enum_many_ways ... ok [INFO] [stdout] test algo::debug_tuple::test_nested ... ok [INFO] [stdout] test algo::debug_tuple::test_single ... ok [INFO] [stdout] test algo::works ... ok [INFO] [stdout] test algo::list_many ... ok [INFO] [stdout] test algo::debug_struct::test_nested ... ok [INFO] [stdout] test algo::non_exaustive ... 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 builder::debug_list::test_empty ... ok [INFO] [stdout] test algo::debug_struct::test_empty ... ok [INFO] [stdout] test builder::debug_list::test_multiple ... ok [INFO] [stdout] test builder::debug_list::test_nested ... ok [INFO] [stdout] test builder::debug_list::test_single ... ok [INFO] [stdout] test builder::debug_map::test_empty ... ok [INFO] [stdout] test algo::unary_tuple ... ok [INFO] [stdout] test builder::debug_map::test_multiple ... ok [INFO] [stdout] test builder::debug_map::test_nested ... 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_set::test_multiple ... ok [INFO] [stdout] test builder::debug_set::test_nested ... 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_map::test_single ... ok [INFO] [stdout] test algo::debug_struct::test_multiple ... ok [INFO] [stdout] test builder::debug_named_list::test_empty ... ok [INFO] [stdout] test builder::debug_named_list::test_single ... ok [INFO] [stdout] test builder::debug_set::test_single ... ok [INFO] [stdout] test builder::debug_struct::test_empty ... ok [INFO] [stdout] test builder::debug_set::test_empty ... 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_nested ... ok [INFO] [stdout] test builder::debug_tuple::test_single ... ok [INFO] [stdout] test derive::derive1 ... ok [INFO] [stdout] test builder::debug_tuple::test_empty ... ok [INFO] [stdout] test fxhash::can_use_custom_map ... ok [INFO] [stdout] test builder::debug_tuple::test_multiple ... ok [INFO] [stdout] test derive::derive2 ... ok [INFO] [stdout] test motivating::quadratic_form ... ok [INFO] [stdout] test std::nonzero ... ok [INFO] [stdout] test motivating::motivating ... ok [INFO] [stdout] test std::unsized_ref ... ok [INFO] [stdout] test fxhash::can_use_custom_hash_set ... ok [INFO] [stdout] test builder::debug_struct::test_single ... ok [INFO] [stdout] test std::range_big ... ok [INFO] [stdout] test std::refcell ... ok [INFO] [stdout] test std::range ... ok [INFO] [stdout] test algo::debug_map::test_invalid_finish_incomplete_entry - should panic ... ok [INFO] [stdout] test algo::debug_map::test_invalid_value_before_key - should panic ... ok [INFO] [stdout] test algo::debug_map::test_invalid_key_when_entry_is_incomplete - should panic ... 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 builder::debug_map::test_invalid_finish_incomplete_entry - should panic ... ok [INFO] [stdout] test std::mutex ... ok [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stdout] test motivating::deeply_nested ... ok [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 byteorder v1.4.3 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking once_cell v1.18.0 [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 6.23s [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test ui::ui ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- ui::ui stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'ui::ui' (106) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.83/src/run.rs:101:13: [INFO] [stdout] 2 of 3 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5fc665125302 - std::backtrace_rs::backtrace::libunwind::trace::h589a96ef7638b383 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5fc665125302 - std::backtrace_rs::backtrace::trace_unsynchronized::h23a30a7548c40de4 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5fc665125302 - std::sys::backtrace::_print_fmt::h87dabd6535c8c07a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5fc665125302 - ::fmt::hffd20ad4e5eca8ab [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5fc665135f8f - core::fmt::rt::Argument::fmt::h75c83e3fd5ce2419 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5fc665135f8f - core::fmt::write::h6d9d3a7cfd7b84f5 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5fc6650f0493 - std::io::default_write_fmt::he11a713685e2464d [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5fc6650f0493 - std::io::Write::write_fmt::h9d08f7e050bd2612 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5fc6650fd492 - std::sys::backtrace::BacktraceLock::print::hb28797143397220e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5fc665102b1f - std::panicking::default_hook::{{closure}}::h7555113b62983743 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5fc6651029b1 - std::panicking::default_hook::h2714b564abe8d914 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5fc66507a10e - as core::ops::function::Fn>::call::h0e9de8cceb22406e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5fc66507a10e - test::test_main_with_exit_callback::{{closure}}::h8125bd66cf4739d0 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5fc66510326e - as core::ops::function::Fn>::call::h1fd0a0802eaec16b [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5fc66510326e - std::panicking::panic_with_hook::h190dc82263685ec5 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5fc665102f8a - std::panicking::panic_handler::{{closure}}::h8b036a1b366643ac [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5fc6650fd5c9 - std::sys::backtrace::__rust_end_short_backtrace::h45affcfc0c830da8 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5fc6650e364d - __rustc[9b67c8562bba447b]::rust_begin_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5fc66513f1e0 - core::panicking::panic_fmt::hc084f85b1e76c16d [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5fc664f8ef8f - trybuild::run::::run::h40642d066b28f887 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.83/src/run.rs:101:13 [INFO] [stdout] 20: 0x5fc664f89738 - ::drop::he77f28386457a97d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.83/src/lib.rs:315:38 [INFO] [stdout] 21: 0x5fc664e7bb27 - core::ptr::drop_in_place::hb4e197b7b17ce399 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ptr/mod.rs:804:1 [INFO] [stdout] 22: 0x5fc664e77083 - it::ui::ui::h56a24db25d00bbba [INFO] [stdout] at /opt/rustwide/workdir/tests/it/ui.rs:6:1 [INFO] [stdout] 23: 0x5fc664e770b7 - it::ui::ui::{{closure}}::ha75d81eed25cf2f6 [INFO] [stdout] at /opt/rustwide/workdir/tests/it/ui.rs:3:8 [INFO] [stdout] 24: 0x5fc664e7ae96 - core::ops::function::FnOnce::call_once::hc1acec793e7ac56b [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5fc665079ecb - core::ops::function::FnOnce::call_once::hdbf42be2a49fb464 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5fc665079ecb - test::__rust_begin_short_backtrace::h8ae08814d38cb356 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5fc66508f9b5 - test::run_test_in_process::{{closure}}::h54574ee4f414d690 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5fc66508f9b5 - as core::ops::function::FnOnce<()>>::call_once::h01a0b7e7aad1a501 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5fc66508f9b5 - std::panicking::catch_unwind::do_call::h23820e817c5612cd [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5fc66508f9b5 - std::panicking::catch_unwind::h89c73a1febce5587 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5fc66508f9b5 - std::panic::catch_unwind::h6f55caf410861914 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5fc66508f9b5 - test::run_test_in_process::h4db851878e5d3983 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5fc66508f9b5 - test::run_test::{{closure}}::h57e8c5acaceacd24 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5fc6650663a4 - test::run_test::{{closure}}::he775ccc3a9d3b97e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5fc6650663a4 - std::sys::backtrace::__rust_begin_short_backtrace::hcd94d85d7765225a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5fc665069bea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha814de8393f07830 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5fc665069bea - as core::ops::function::FnOnce<()>>::call_once::h8deb00af0abdeaf1 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5fc665069bea - std::panicking::catch_unwind::do_call::h1917979b0c279ea2 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5fc665069bea - std::panicking::catch_unwind::h791ad91fee6ce34e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5fc665069bea - std::panic::catch_unwind::h982b8f40ed9c3cce [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5fc665069bea - std::thread::Builder::spawn_unchecked_::{{closure}}::h545e54700c945db4 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5fc665069bea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb427481a5227d78a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x5fc6650f755f - as core::ops::function::FnOnce>::call_once::h1d452951a81e9d0a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5fc6650f755f - std::sys::pal::unix::thread::Thread::new::thread_start::h29c84e109630689a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x7213c6ca5aa4 - [INFO] [stdout] 46: 0x7213c6d32a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] ui::ui [INFO] [stdout] [INFO] [stdout] test result: FAILED. 80 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.80s [INFO] [stdout] [INFO] [stderr] test tests/it/ui/debug_not_field.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `NoDebug: debug3::Debug` is not satisfied [INFO] [stderr] --> tests/it/ui/debug_not_field.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(debug3::Debug)] [INFO] [stderr] | ^^^^^^^^^^^^^ the trait `debug3::Debug` is not implemented for `NoDebug` [INFO] [stderr] | [INFO] [stderr] = help: the following other types implement trait `debug3::Debug`: [INFO] [stderr] bool [INFO] [stderr] char [INFO] [stderr] isize [INFO] [stderr] i8 [INFO] [stderr] i16 [INFO] [stderr] i32 [INFO] [stderr] i64 [INFO] [stderr] i128 [INFO] [stderr] and $N others [INFO] [stderr] = note: required for the cast from `&NoDebug` to `&dyn debug3::Debug` [INFO] [stderr] = note: this error originates in the derive macro `debug3::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `NoDebug: debug3::Debug` is not satisfied [INFO] [stderr] --> tests/it/ui/debug_not_field.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(debug3::Debug)] [INFO] [stderr] | ^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] help: the trait `debug3::Debug` is not implemented for `NoDebug` [INFO] [stderr] --> tests/it/ui/debug_not_field.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | struct NoDebug; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] = help: the following other types implement trait `debug3::Debug`: [INFO] [stderr] &T [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 the cast from `&NoDebug` to `&dyn debug3::Debug` [INFO] [stderr] = note: this error originates in the derive macro `debug3::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/no_generic.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `NoDebug: debug3::Debug` is not satisfied [INFO] [stderr] --> tests/it/ui/no_generic.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 13 | pprint(Triple { [INFO] [stderr] | ------ required by a bound introduced by this call [INFO] [stderr] ... [INFO] [stderr] 16 | z: NoDebug, [INFO] [stderr] | ^^^^^^^ the trait `debug3::Debug` is not implemented for `NoDebug` [INFO] [stderr] | [INFO] [stderr] = help: the following other types implement trait `debug3::Debug`: [INFO] [stderr] bool [INFO] [stderr] char [INFO] [stderr] isize [INFO] [stderr] i8 [INFO] [stderr] i16 [INFO] [stderr] i32 [INFO] [stderr] i64 [INFO] [stderr] i128 [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] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `NoDebug: debug3::Debug` is not satisfied [INFO] [stderr] --> tests/it/ui/no_generic.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 13 | pprint(Triple { [INFO] [stderr] | ------ required by a bound introduced by this call [INFO] [stderr] ... [INFO] [stderr] 16 | z: NoDebug, [INFO] [stderr] | ^^^^^^^ unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] help: the trait `debug3::Debug` is not implemented for `NoDebug` [INFO] [stderr] --> tests/it/ui/no_generic.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | struct NoDebug; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] = help: the following other types implement trait `debug3::Debug`: [INFO] [stderr] &T [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" "12a8c71d539a608812c1b553721e66b08415f7a9aac8a6f5deab290b2bda7936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12a8c71d539a608812c1b553721e66b08415f7a9aac8a6f5deab290b2bda7936", kill_on_drop: false }` [INFO] [stdout] 12a8c71d539a608812c1b553721e66b08415f7a9aac8a6f5deab290b2bda7936