[INFO] fetching crate gluon_codegen 0.18.2... [INFO] checking gluon_codegen-0.18.2 against master#a3f76a26e045a760bb1163b7eab36872985242d5 for pr-130930 [INFO] extracting crate gluon_codegen 0.18.2 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate gluon_codegen 0.18.2 on toolchain a3f76a26e045a760bb1163b7eab36872985242d5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gluon_codegen 0.18.2 [INFO] finished tweaking crates.io crate gluon_codegen 0.18.2 [INFO] tweaked toml for crates.io crate gluon_codegen 0.18.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 161 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (available: v0.8.11) [INFO] [stderr] Adding archery v0.4.0 (available: v1.2.1) [INFO] [stderr] Adding arrayvec v0.5.2 (available: v0.7.6) [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding crossbeam-utils v0.7.2 (available: v0.8.20) [INFO] [stderr] Adding env_logger v0.9.3 (available: v0.11.5) [INFO] [stderr] Adding fixedbitset v0.4.2 (available: v0.5.7) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.30) [INFO] [stderr] Adding hashbrown v0.11.2 (available: v0.14.5) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding heck v0.3.3 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding lalrpop v0.19.12 (available: v0.21.0) [INFO] [stderr] Adding lalrpop-util v0.19.12 (available: v0.21.0) [INFO] [stderr] Adding ordered-float v2.10.1 (available: v4.3.0) [INFO] [stderr] Adding parking_lot v0.11.2 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.8.6 (available: v0.9.10) [INFO] [stderr] Adding phf_shared v0.10.0 (available: v0.11.2) [INFO] [stderr] Adding pretty v0.10.0 (available: v0.12.3) [INFO] [stderr] Adding redox_syscall v0.2.16 (available: v0.5.6) [INFO] [stderr] Adding regex-syntax v0.6.29 (available: v0.8.4) [INFO] [stderr] Adding rpds v0.10.0 (available: v1.1.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding strsim v0.10.0 (available: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding term v0.7.0 (available: v1.0.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_state v0.4.8 [INFO] [stderr] Downloaded rpds v0.10.0 [INFO] [stderr] Downloaded collect-mac v0.1.0 [INFO] [stderr] Downloaded archery v0.4.0 [INFO] [stderr] Downloaded gluon_codegen v0.18.2 [INFO] [stderr] Downloaded gluon_format v0.18.2 [INFO] [stderr] Downloaded gluon_check v0.18.2 [INFO] [stderr] Downloaded gluon_parser v0.18.2 [INFO] [stderr] Downloaded gluon_base v0.18.2 [INFO] [stderr] Downloaded gluon_vm v0.18.2 [INFO] [stderr] Downloaded pretty v0.10.0 [INFO] [stderr] Downloaded gluon v0.18.2 [INFO] [stderr] Downloaded serde_derive_state v0.4.10 [INFO] [stderr] Downloaded gluon-salsa-macros v0.15.2 [INFO] [stderr] Downloaded anymap v0.12.1 [INFO] [stderr] Downloaded gluon-salsa v0.15.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 335e4afedc717d229f5f822d1c4249f5584345a07143482b3b9047b197a91abf [INFO] running `Command { std: "docker" "start" "-a" "335e4afedc717d229f5f822d1c4249f5584345a07143482b3b9047b197a91abf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "335e4afedc717d229f5f822d1c4249f5584345a07143482b3b9047b197a91abf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "335e4afedc717d229f5f822d1c4249f5584345a07143482b3b9047b197a91abf", kill_on_drop: false }` [INFO] [stdout] 335e4afedc717d229f5f822d1c4249f5584345a07143482b3b9047b197a91abf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8d1c887252c73e3783bd2f4f4937d06ad0ca17357577f6e007a28469c7569a7 [INFO] running `Command { std: "docker" "start" "-a" "b8d1c887252c73e3783bd2f4f4937d06ad0ca17357577f6e007a28469c7569a7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive_state v0.4.10 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking collect-mac v0.1.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking pretty v0.10.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking archery v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rpds v0.10.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling gluon_vm v0.18.2 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking frunk_core v0.4.3 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking lalrpop-util v0.19.12 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling gluon_codegen v0.18.2 [INFO] [stderr] Compiling gluon-salsa-macros v0.15.2 [INFO] [stderr] Compiling gluon_codegen v0.18.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking gluon-salsa v0.15.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking serde_state v0.4.8 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking codespan v0.11.1 [INFO] [stderr] Checking gluon_base v0.18.2 [INFO] [stderr] Compiling gluon_parser v0.18.2 [INFO] [stderr] Checking gluon_check v0.18.2 [INFO] [stderr] Checking gluon_format v0.18.2 [INFO] [stderr] Compiling gluon v0.18.2 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/full.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, PartialEq, Getable, Pushable, VmType)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Getable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GETABLE_FOR_Struct` [INFO] [stdout] 17 | struct Struct { [INFO] [stdout] | ------ `Struct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Getable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Getable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Getable` (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/full.rs:16:37 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, PartialEq, Getable, Pushable, VmType)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Pushable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PUSHABLE_FOR_Struct` [INFO] [stdout] 17 | struct Struct { [INFO] [stdout] | ------ `Struct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Pushable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Pushable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Pushable` (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/full.rs:16:47 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, PartialEq, Getable, Pushable, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Struct` [INFO] [stdout] 17 | struct Struct { [INFO] [stdout] | ------ `Struct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (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/full.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug, PartialEq, VmType, Pushable, Getable)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Newtype` [INFO] [stdout] 65 | struct Newtype(pub Struct); [INFO] [stdout] | ------- `Newtype` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (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/full.rs:64:36 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug, PartialEq, VmType, Pushable, Getable)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Pushable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PUSHABLE_FOR_Newtype` [INFO] [stdout] 65 | struct Newtype(pub Struct); [INFO] [stdout] | ------- `Newtype` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Pushable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Pushable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Pushable` (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/full.rs:64:46 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug, PartialEq, VmType, Pushable, Getable)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Getable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GETABLE_FOR_Newtype` [INFO] [stdout] 65 | struct Newtype(pub Struct); [INFO] [stdout] | ------- `Newtype` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Getable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Getable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Getable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [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/derive_userdata.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Userdata, Trace, Debug, VmType)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Userdata` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_USERDATA_FOR_WindowHandle` [INFO] [stdout] 20 | #[gluon(vm_type = "WindowHandle")] [INFO] [stdout] 21 | struct WindowHandle { [INFO] [stdout] | ------------ `WindowHandle` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Userdata` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Userdata` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Userdata` (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/derive_userdata.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Userdata, Trace, Debug, VmType)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_WindowHandle` [INFO] [stdout] 20 | #[gluon(vm_type = "WindowHandle")] [INFO] [stdout] 21 | struct WindowHandle { [INFO] [stdout] | ------------ `WindowHandle` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (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/derive_userdata.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Userdata, Trace, Debug, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_WindowHandle` [INFO] [stdout] 20 | #[gluon(vm_type = "WindowHandle")] [INFO] [stdout] 21 | struct WindowHandle { [INFO] [stdout] | ------------ `WindowHandle` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (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/derive_userdata.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Userdata, Trace, Debug, VmType)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Userdata` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_USERDATA_FOR_Empty` [INFO] [stdout] 75 | #[gluon(vm_type = "Empty")] [INFO] [stdout] 76 | struct Empty; [INFO] [stdout] | ----- `Empty` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Userdata` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Userdata` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Userdata` (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/derive_userdata.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Userdata, Trace, Debug, VmType)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_Empty` [INFO] [stdout] 75 | #[gluon(vm_type = "Empty")] [INFO] [stdout] 76 | struct Empty; [INFO] [stdout] | ----- `Empty` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (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/derive_userdata.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Userdata, Trace, Debug, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Empty` [INFO] [stdout] 75 | #[gluon(vm_type = "Empty")] [INFO] [stdout] 76 | struct Empty; [INFO] [stdout] | ----- `Empty` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (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/derive_vm_type.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Struct` [INFO] [stdout] 14 | #[allow(unused)] [INFO] [stdout] 15 | struct Struct { [INFO] [stdout] | ------ `Struct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (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/derive_vm_type.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(VmType, Serialize, Deserialize)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Enum` [INFO] [stdout] 32 | #[allow(unused)] [INFO] [stdout] 33 | enum Enum { [INFO] [stdout] | ---- `Enum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (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/derive_vm_type.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_NewtypeInner` [INFO] [stdout] 53 | #[allow(unused)] [INFO] [stdout] 54 | struct NewtypeInner(Struct); [INFO] [stdout] | ------------ `NewtypeInner` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (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/derive_vm_type.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Newtype` [INFO] [stdout] ... [INFO] [stdout] 69 | struct Newtype(Struct); [INFO] [stdout] | ------- `Newtype` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [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/derive_pushable.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Pushable, VmType, Serialize, Deserialize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Pushable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PUSHABLE_FOR_Struct` [INFO] [stdout] 24 | #[gluon(vm_type = "types.Struct")] [INFO] [stdout] 25 | struct Struct { [INFO] [stdout] | ------ `Struct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Pushable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Pushable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Pushable` (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/derive_pushable.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Pushable, VmType, Serialize, Deserialize)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Struct` [INFO] [stdout] 24 | #[gluon(vm_type = "types.Struct")] [INFO] [stdout] 25 | struct Struct { [INFO] [stdout] | ------ `Struct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (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/derive_pushable.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Pushable, VmType)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Pushable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PUSHABLE_FOR_GenericStruct` [INFO] [stdout] 82 | #[gluon(vm_type = "types.GenericStruct")] [INFO] [stdout] 83 | struct GenericStruct { [INFO] [stdout] | ------------- `GenericStruct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Pushable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Pushable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Pushable` (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/derive_pushable.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Pushable, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_GenericStruct` [INFO] [stdout] 82 | #[gluon(vm_type = "types.GenericStruct")] [INFO] [stdout] 83 | struct GenericStruct { [INFO] [stdout] | ------------- `GenericStruct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (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/derive_pushable.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | #[derive(Pushable, VmType, Serialize, Deserialize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Pushable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PUSHABLE_FOR_LifetimeStruct` [INFO] [stdout] 139 | #[gluon(vm_type = "types.LifetimeStruct")] [INFO] [stdout] 140 | struct LifetimeStruct<'a> { [INFO] [stdout] | -------------- `LifetimeStruct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Pushable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Pushable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Pushable` (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/derive_pushable.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | #[derive(Pushable, VmType, Serialize, Deserialize)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_LifetimeStruct` [INFO] [stdout] 139 | #[gluon(vm_type = "types.LifetimeStruct")] [INFO] [stdout] 140 | struct LifetimeStruct<'a> { [INFO] [stdout] | -------------- `LifetimeStruct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (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/derive_pushable.rs:189:10 [INFO] [stdout] | [INFO] [stdout] 189 | #[derive(Pushable, VmType, Serialize, Deserialize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Pushable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PUSHABLE_FOR_Enum` [INFO] [stdout] 190 | #[gluon(vm_type = "types.Enum")] [INFO] [stdout] 191 | enum Enum { [INFO] [stdout] | ---- `Enum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Pushable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Pushable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Pushable` (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/derive_pushable.rs:189:20 [INFO] [stdout] | [INFO] [stdout] 189 | #[derive(Pushable, VmType, Serialize, Deserialize)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Enum` [INFO] [stdout] 190 | #[gluon(vm_type = "types.Enum")] [INFO] [stdout] 191 | enum Enum { [INFO] [stdout] | ---- `Enum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [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/derive_getable.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Getable, VmType, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Getable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GETABLE_FOR_TupleEnum` [INFO] [stdout] 29 | #[gluon(vm_type = "types.TupleEnum")] [INFO] [stdout] 30 | enum TupleEnum { [INFO] [stdout] | --------- `TupleEnum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Getable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Getable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Getable` (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/derive_getable.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Getable, VmType, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_TupleEnum` [INFO] [stdout] 29 | #[gluon(vm_type = "types.TupleEnum")] [INFO] [stdout] 30 | enum TupleEnum { [INFO] [stdout] | --------- `TupleEnum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (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/derive_getable.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Getable, VmType, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Getable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GETABLE_FOR_StructEnum` [INFO] [stdout] 74 | #[gluon(vm_type = "types.StructEnum")] [INFO] [stdout] 75 | enum StructEnum { [INFO] [stdout] | ---------- `StructEnum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Getable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Getable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Getable` (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/derive_getable.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Getable, VmType, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_StructEnum` [INFO] [stdout] 74 | #[gluon(vm_type = "types.StructEnum")] [INFO] [stdout] 75 | enum StructEnum { [INFO] [stdout] | ---------- `StructEnum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (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/derive_getable.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Getable, VmType)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Getable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GETABLE_FOR_Either` [INFO] [stdout] 116 | enum Either { [INFO] [stdout] | ------ `Either` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Getable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Getable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Getable` (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/derive_getable.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Getable, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Either` [INFO] [stdout] 116 | enum Either { [INFO] [stdout] | ------ `Either` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (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/derive_getable.rs:174:10 [INFO] [stdout] | [INFO] [stdout] 174 | #[derive(Getable, Pushable, VmType)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Getable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GETABLE_FOR_Enum` [INFO] [stdout] 175 | enum Enum { [INFO] [stdout] | ---- `Enum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Getable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Getable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Getable` (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/derive_getable.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | #[derive(Getable, Pushable, VmType)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Pushable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PUSHABLE_FOR_Enum` [INFO] [stdout] 175 | enum Enum { [INFO] [stdout] | ---- `Enum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Pushable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Pushable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Pushable` (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/derive_getable.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | #[derive(Getable, Pushable, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Enum` [INFO] [stdout] 175 | enum Enum { [INFO] [stdout] | ---- `Enum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (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/derive_getable.rs:205:10 [INFO] [stdout] | [INFO] [stdout] 205 | #[derive(Getable)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Getable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GETABLE_FOR_LifetimeStruct` [INFO] [stdout] 206 | struct LifetimeStruct<'a> { [INFO] [stdout] | -------------- `LifetimeStruct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Getable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Getable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Getable` (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/derive_getable.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | #[derive(Getable, VmType, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Getable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GETABLE_FOR_Struct` [INFO] [stdout] 214 | #[gluon(vm_type = "types.Struct")] [INFO] [stdout] 215 | struct Struct { [INFO] [stdout] | ------ `Struct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Getable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Getable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Getable` (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/derive_getable.rs:213:19 [INFO] [stdout] | [INFO] [stdout] 213 | #[derive(Getable, VmType, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Struct` [INFO] [stdout] 214 | #[gluon(vm_type = "types.Struct")] [INFO] [stdout] 215 | struct Struct { [INFO] [stdout] | ------ `Struct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (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/derive_getable.rs:254:41 [INFO] [stdout] | [INFO] [stdout] 254 | #[derive(Serialize, Deserialize, Debug, VmType, Getable)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_TupleStruct` [INFO] [stdout] 255 | #[gluon(vm_type = "types.TupleStruct")] [INFO] [stdout] 256 | struct TupleStruct(i32, i32); [INFO] [stdout] | ----------- `TupleStruct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (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/derive_getable.rs:254:49 [INFO] [stdout] | [INFO] [stdout] 254 | #[derive(Serialize, Deserialize, Debug, VmType, Getable)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Getable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GETABLE_FOR_TupleStruct` [INFO] [stdout] 255 | #[gluon(vm_type = "types.TupleStruct")] [INFO] [stdout] 256 | struct TupleStruct(i32, i32); [INFO] [stdout] | ----------- `TupleStruct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Getable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Getable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Getable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.49s [INFO] running `Command { std: "docker" "inspect" "b8d1c887252c73e3783bd2f4f4937d06ad0ca17357577f6e007a28469c7569a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8d1c887252c73e3783bd2f4f4937d06ad0ca17357577f6e007a28469c7569a7", kill_on_drop: false }` [INFO] [stdout] b8d1c887252c73e3783bd2f4f4937d06ad0ca17357577f6e007a28469c7569a7