[INFO] fetching crate rcon 0.6.0... [INFO] checking rcon-0.6.0 against try#0c7fed2b7584d310ca8221267fa1b3bec4df427f for pr-133502-4 [INFO] extracting crate rcon 0.6.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate rcon 0.6.0 on toolchain 0c7fed2b7584d310ca8221267fa1b3bec4df427f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rcon 0.6.0 [INFO] finished tweaking crates.io crate rcon 0.6.0 [INFO] tweaked toml for crates.io crate rcon 0.6.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate rcon 0.6.0 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" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 443f7aa42a3699efe8f2d9382e155601301d33979f5354bf23a41ce90fcb3c1b [INFO] running `Command { std: "docker" "start" "-a" "443f7aa42a3699efe8f2d9382e155601301d33979f5354bf23a41ce90fcb3c1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "443f7aa42a3699efe8f2d9382e155601301d33979f5354bf23a41ce90fcb3c1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "443f7aa42a3699efe8f2d9382e155601301d33979f5354bf23a41ce90fcb3c1b", kill_on_drop: false }` [INFO] [stdout] 443f7aa42a3699efe8f2d9382e155601301d33979f5354bf23a41ce90fcb3c1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41db1cae87f21285f45a6a6814f1bd64ef18608b4a9dfdef6722f39650d76768 [INFO] running `Command { std: "docker" "start" "-a" "41db1cae87f21285f45a6a6814f1bd64ef18608b4a9dfdef6722f39650d76768", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking fastrand v1.5.0 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking async-lock v2.4.0 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Compiling tokio v1.10.1 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Compiling err-derive v0.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking rcon v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 25 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 56 | usize: (USIZE, OPTION_USIZE), [INFO] [stdout] | ^^^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 26 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 56 | usize: (USIZE, OPTION_USIZE), [INFO] [stdout] | ^^^^^^^^^^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 25 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 57 | u8: (U8, OPTION_U8), [INFO] [stdout] | ^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 26 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 57 | u8: (U8, OPTION_U8), [INFO] [stdout] | ^^^^^^^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 25 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 58 | u16: (U16, OPTION_U16), [INFO] [stdout] | ^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 26 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 58 | u16: (U16, OPTION_U16), [INFO] [stdout] | ^^^^^^^^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 25 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 59 | u32: (U32, OPTION_U32), [INFO] [stdout] | ^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 26 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 59 | u32: (U32, OPTION_U32), [INFO] [stdout] | ^^^^^^^^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 25 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 60 | u64: (U64, OPTION_U64), [INFO] [stdout] | ^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 26 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 60 | u64: (U64, OPTION_U64), [INFO] [stdout] | ^^^^^^^^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 25 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 61 | u128: (U128, OPTION_U128), [INFO] [stdout] | ^^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 26 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 61 | u128: (U128, OPTION_U128), [INFO] [stdout] | ^^^^^^^^^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 25 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 63 | isize: (ISIZE, OPTION_ISIZE), [INFO] [stdout] | ^^^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 26 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 63 | isize: (ISIZE, OPTION_ISIZE), [INFO] [stdout] | ^^^^^^^^^^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 25 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 64 | i8: (I8, OPTION_I8), [INFO] [stdout] | ^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 26 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 64 | i8: (I8, OPTION_I8), [INFO] [stdout] | ^^^^^^^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 25 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 65 | i16: (I16, OPTION_I16), [INFO] [stdout] | ^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 26 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 65 | i16: (I16, OPTION_I16), [INFO] [stdout] | ^^^^^^^^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 25 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 66 | i32: (I32, OPTION_I32), [INFO] [stdout] | ^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 26 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 66 | i32: (I32, OPTION_I32), [INFO] [stdout] | ^^^^^^^^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 25 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 67 | i64: (I64, OPTION_I64), [INFO] [stdout] | ^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 26 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 67 | i64: (I64, OPTION_I64), [INFO] [stdout] | ^^^^^^^^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 25 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 68 | i128: (I128, OPTION_I128), [INFO] [stdout] | ^^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 26 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 68 | i128: (I128, OPTION_I128), [INFO] [stdout] | ^^^^^^^^^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 25 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 70 | f32: (F32, OPTION_F32), [INFO] [stdout] | ^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 26 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 70 | f32: (F32, OPTION_F32), [INFO] [stdout] | ^^^^^^^^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 25 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 71 | f64: (F64, OPTION_F64), [INFO] [stdout] | ^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 26 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 71 | f64: (F64, OPTION_F64), [INFO] [stdout] | ^^^^^^^^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 25 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 73 | char: (CHAR, OPTION_CHAR), [INFO] [stdout] | ^^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 26 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 73 | char: (CHAR, OPTION_CHAR), [INFO] [stdout] | ^^^^^^^^^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 25 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 74 | bool: (BOOL, OPTION_BOOL), [INFO] [stdout] | ^^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 26 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 74 | bool: (BOOL, OPTION_BOOL), [INFO] [stdout] | ^^^^^^^^^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 25 | const $const_ident: TypeId = TypeId::of::<$ty>(); [INFO] [stdout] | -------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 75 | &'static str: (STR, OPTION_STR), [INFO] [stdout] | ^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant of non-structural type `TypeId` in a pattern [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.0.0-alpha.7/src/internal/cast/primitive.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 26 | const $option_ident: TypeId = TypeId::of::>(); [INFO] [stdout] | --------------------------- constant defined here [INFO] [stdout] ... [INFO] [stdout] 75 | &'static str: (STR, OPTION_STR), [INFO] [stdout] | ^^^^^^^^^^ constant of non-structural type [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/any.rs:710:1 [INFO] [stdout] | [INFO] [stdout] = note: `TypeId` must be annotated with `#[derive(PartialEq)]` to be usable in patterns [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/lib.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [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(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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] [stderr] error: could not compile `value-bag` (lib) due to 34 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_Error` [INFO] [stdout] 43 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (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] --> src/lib.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stdout] 43 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (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] --> src/lib.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_io_Error_FOR_Error` [INFO] [stdout] 43 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 49 | Io(#[error(source)] io::Error), [INFO] [stdout] | --------- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "41db1cae87f21285f45a6a6814f1bd64ef18608b4a9dfdef6722f39650d76768", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41db1cae87f21285f45a6a6814f1bd64ef18608b4a9dfdef6722f39650d76768", kill_on_drop: false }` [INFO] [stdout] 41db1cae87f21285f45a6a6814f1bd64ef18608b4a9dfdef6722f39650d76768