[INFO] fetching crate gluon_base 0.18.2... [INFO] checking gluon_base-0.18.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate gluon_base 0.18.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate gluon_base 0.18.2 [INFO] finished tweaking crates.io crate gluon_base 0.18.2 [INFO] tweaked toml for crates.io crate gluon_base 0.18.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gluon_base 0.18.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 89 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.3) [INFO] [stderr] Adding codespan v0.11.1 (available: v0.12.0) [INFO] [stderr] Adding codespan-reporting v0.11.1 (available: v0.12.0) [INFO] [stderr] Adding compiletest_rs v0.7.1 (available: v0.11.2) [INFO] [stderr] Adding env_logger v0.9.3 (available: v0.11.8) [INFO] [stderr] Adding hashbrown v0.11.2 (available: v0.15.5) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding ordered-float v2.10.1 (available: v5.0.0) [INFO] [stderr] Adding pretty v0.10.0 (available: v0.12.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f0d1a150548958d5ec1ebe5c37ceb8686573395589fe807186003c4ecd544c1 [INFO] running `Command { std: "docker" "start" "-a" "7f0d1a150548958d5ec1ebe5c37ceb8686573395589fe807186003c4ecd544c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f0d1a150548958d5ec1ebe5c37ceb8686573395589fe807186003c4ecd544c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f0d1a150548958d5ec1ebe5c37ceb8686573395589fe807186003c4ecd544c1", kill_on_drop: false }` [INFO] [stdout] 7f0d1a150548958d5ec1ebe5c37ceb8686573395589fe807186003c4ecd544c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c53fe40c7e94f0ed6e645a340cf4a5f614d00c378b64c9670e8c83ee68e22a1 [INFO] running `Command { std: "docker" "start" "-a" "4c53fe40c7e94f0ed6e645a340cf4a5f614d00c378b64c9670e8c83ee68e22a1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking collect-mac v0.1.0 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking pretty v0.10.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking codespan v0.11.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling gluon_codegen v0.18.2 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking gluon_base v0.18.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `memory_usage` [INFO] [stdout] --> src/pos.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg_attr(feature = "memory_usage", derive(HeapSizeOf))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `anymap`, `compiletest_rs`, `nightly`, `serde`, `serde_derive`, `serde_derive_state`, `serde_state`, and `serialization` [INFO] [stdout] = help: consider adding `memory_usage` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `memory_usage` [INFO] [stdout] --> src/pos.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg_attr(feature = "memory_usage", derive(HeapSizeOf))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `anymap`, `compiletest_rs`, `nightly`, `serde`, `serde_derive`, `serde_derive_state`, `serde_state`, and `serialization` [INFO] [stdout] = help: consider adding `memory_usage` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:1328:32 [INFO] [stdout] | [INFO] [stdout] 1328 | struct Guard<'tag>(&'tag $crate::ast::InvariantLifetime<'tag>); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] ... [INFO] [stdout] 1346 | mk_ast_arena!(arena); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `mk_ast_arena` (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/ast.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Eq, PartialEq, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_InnerAstType` [INFO] [stdout] 82 | pub struct InnerAstType<'ast, Id> { [INFO] [stdout] | ------------ `InnerAstType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `AstClone` (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/ast.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Eq, PartialEq, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_AstType` [INFO] [stdout] 88 | pub struct AstType<'ast, Id> { [INFO] [stdout] | ------- `AstType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (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/ast.rs:283:32 [INFO] [stdout] | [INFO] [stdout] 283 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_PatternField` [INFO] [stdout] 284 | pub enum PatternField<'ast, Id> { [INFO] [stdout] | ------------ `PatternField` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (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/ast.rs:302:32 [INFO] [stdout] | [INFO] [stdout] 302 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Pattern` [INFO] [stdout] 303 | pub enum Pattern<'ast, Id> { [INFO] [stdout] | ------- `Pattern` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (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/ast.rs:384:32 [INFO] [stdout] | [INFO] [stdout] 384 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Alternative` [INFO] [stdout] 385 | pub struct Alternative<'ast, Id> { [INFO] [stdout] | ----------- `Alternative` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (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/ast.rs:390:32 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Array` [INFO] [stdout] 391 | pub struct Array<'ast, Id> { [INFO] [stdout] | ----- `Array` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (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/ast.rs:396:32 [INFO] [stdout] | [INFO] [stdout] 396 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Lambda` [INFO] [stdout] 397 | pub struct Lambda<'ast, Id> { [INFO] [stdout] | ------ `Lambda` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (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/ast.rs:411:32 [INFO] [stdout] | [INFO] [stdout] 411 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_ExprField` [INFO] [stdout] 412 | pub struct ExprField<'ast, Id, E> { [INFO] [stdout] | --------- `ExprField` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (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/ast.rs:418:32 [INFO] [stdout] | [INFO] [stdout] 418 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Do` [INFO] [stdout] 419 | pub struct Do<'ast, Id> { [INFO] [stdout] | -- `Do` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (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/ast.rs:428:32 [INFO] [stdout] | [INFO] [stdout] 428 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Expr` [INFO] [stdout] 429 | pub enum Expr<'ast, Id> { [INFO] [stdout] | ---- `Expr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ast.rs:587:10 [INFO] [stdout] | [INFO] [stdout] 587 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 588 | ) -> impl Iterator< [INFO] [stdout] 589 | Item = Either<&'a ExprField>, &'a ExprField>>, [INFO] [stdout] | -- -------------------------- -- ------------------------------------ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] 590 | > + 'a { [INFO] [stdout] | -- the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 589 | Item = Either<&'a ExprField<'a, Id, ArcType>, &'a ExprField<'a, Id, SpannedExpr<'ast, Id>>>, [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ast.rs:609:32 [INFO] [stdout] | [INFO] [stdout] 609 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_TypeBinding` [INFO] [stdout] 610 | pub struct TypeBinding<'ast, Id> { [INFO] [stdout] | ----------- `TypeBinding` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (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/ast.rs:623:54 [INFO] [stdout] | [INFO] [stdout] 623 | #[derive(Clone, Default, Eq, PartialEq, Debug, Hash, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Argument` [INFO] [stdout] 624 | #[cfg_attr(feature = "serde_derive", derive(Deserialize, Serialize))] [INFO] [stdout] 625 | pub struct Argument { [INFO] [stdout] | -------- `Argument` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (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/ast.rs:646:32 [INFO] [stdout] | [INFO] [stdout] 646 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_ValueBindings` [INFO] [stdout] 647 | pub enum ValueBindings<'ast, Id> { [INFO] [stdout] | ------------- `ValueBindings` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (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/ast.rs:698:32 [INFO] [stdout] | [INFO] [stdout] 698 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_ValueBinding` [INFO] [stdout] 699 | pub struct ValueBinding<'ast, Id> { [INFO] [stdout] | ------------ `ValueBinding` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:1328:32 [INFO] [stdout] | [INFO] [stdout] 1328 | struct Guard<'tag>(&'tag $crate::ast::InvariantLifetime<'tag>); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] ... [INFO] [stdout] 1346 | mk_ast_arena!(arena); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `mk_ast_arena` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ast.rs:1258:28 [INFO] [stdout] | [INFO] [stdout] 1258 | pub fn borrow(&'ast self) -> ArenaRef<'_, 'ast, Id> { [INFO] [stdout] | ^^^^ -- ---- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 1294 | / impl_ast_arena! { [INFO] [stdout] 1295 | | SpannedExpr<'ast, Id> => exprs, [INFO] [stdout] 1296 | | SpannedPattern<'ast, Id> => patterns, [INFO] [stdout] 1297 | | PatternField<'ast, Id> => pattern_field, [INFO] [stdout] ... | [INFO] [stdout] 1310 | | Metadata => metadata, [INFO] [stdout] 1311 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_ast_arena` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'ast` [INFO] [stdout] | [INFO] [stdout] 1258 - pub fn borrow(&'ast self) -> ArenaRef<'_, 'ast, Id> { [INFO] [stdout] 1258 + pub fn borrow(&'ast self) -> ArenaRef<'ast, 'ast, Id> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ast.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Eq, PartialEq, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_InnerAstType` [INFO] [stdout] 82 | pub struct InnerAstType<'ast, Id> { [INFO] [stdout] | ------------ `InnerAstType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `AstClone` (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/ast.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Eq, PartialEq, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_AstType` [INFO] [stdout] 88 | pub struct AstType<'ast, Id> { [INFO] [stdout] | ------- `AstType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn iter(&self) -> slice::Iter { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 62 | pub fn iter(&self) -> slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ast.rs:283:32 [INFO] [stdout] | [INFO] [stdout] 283 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_PatternField` [INFO] [stdout] 284 | pub enum PatternField<'ast, Id> { [INFO] [stdout] | ------------ `PatternField` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (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/ast.rs:302:32 [INFO] [stdout] | [INFO] [stdout] 302 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Pattern` [INFO] [stdout] 303 | pub enum Pattern<'ast, Id> { [INFO] [stdout] | ------- `Pattern` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (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/ast.rs:384:32 [INFO] [stdout] | [INFO] [stdout] 384 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Alternative` [INFO] [stdout] 385 | pub struct Alternative<'ast, Id> { [INFO] [stdout] | ----------- `Alternative` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (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/ast.rs:390:32 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Array` [INFO] [stdout] 391 | pub struct Array<'ast, Id> { [INFO] [stdout] | ----- `Array` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (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/ast.rs:396:32 [INFO] [stdout] | [INFO] [stdout] 396 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Lambda` [INFO] [stdout] 397 | pub struct Lambda<'ast, Id> { [INFO] [stdout] | ------ `Lambda` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (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/ast.rs:411:32 [INFO] [stdout] | [INFO] [stdout] 411 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_ExprField` [INFO] [stdout] 412 | pub struct ExprField<'ast, Id, E> { [INFO] [stdout] | --------- `ExprField` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (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/ast.rs:418:32 [INFO] [stdout] | [INFO] [stdout] 418 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Do` [INFO] [stdout] 419 | pub struct Do<'ast, Id> { [INFO] [stdout] | -- `Do` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (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/ast.rs:428:32 [INFO] [stdout] | [INFO] [stdout] 428 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Expr` [INFO] [stdout] 429 | pub enum Expr<'ast, Id> { [INFO] [stdout] | ---- `Expr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ast.rs:587:10 [INFO] [stdout] | [INFO] [stdout] 587 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 588 | ) -> impl Iterator< [INFO] [stdout] 589 | Item = Either<&'a ExprField>, &'a ExprField>>, [INFO] [stdout] | -- -------------------------- -- ------------------------------------ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] 590 | > + 'a { [INFO] [stdout] | -- the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 589 | Item = Either<&'a ExprField<'a, Id, ArcType>, &'a ExprField<'a, Id, SpannedExpr<'ast, Id>>>, [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ast.rs:609:32 [INFO] [stdout] | [INFO] [stdout] 609 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_TypeBinding` [INFO] [stdout] 610 | pub struct TypeBinding<'ast, Id> { [INFO] [stdout] | ----------- `TypeBinding` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (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/metadata.rs:55:47 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug, Default, Eq, PartialEq, Hash, gluon_codegen::AstClone)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_BaseMetadata` [INFO] [stdout] 56 | pub struct BaseMetadata<'ast> { [INFO] [stdout] | ------------ `BaseMetadata` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `gluon_codegen::AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `gluon_codegen::AstClone` 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 warning originates in the derive macro `gluon_codegen::AstClone` (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/ast.rs:623:54 [INFO] [stdout] | [INFO] [stdout] 623 | #[derive(Clone, Default, Eq, PartialEq, Debug, Hash, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Argument` [INFO] [stdout] 624 | #[cfg_attr(feature = "serde_derive", derive(Deserialize, Serialize))] [INFO] [stdout] 625 | pub struct Argument { [INFO] [stdout] | -------- `Argument` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (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/ast.rs:646:32 [INFO] [stdout] | [INFO] [stdout] 646 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_ValueBindings` [INFO] [stdout] 647 | pub enum ValueBindings<'ast, Id> { [INFO] [stdout] | ------------- `ValueBindings` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (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/ast.rs:698:32 [INFO] [stdout] | [INFO] [stdout] 698 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_ValueBinding` [INFO] [stdout] 699 | pub struct ValueBinding<'ast, Id> { [INFO] [stdout] | ------------ `ValueBinding` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ast.rs:1258:28 [INFO] [stdout] | [INFO] [stdout] 1258 | pub fn borrow(&'ast self) -> ArenaRef<'_, 'ast, Id> { [INFO] [stdout] | ^^^^ -- ---- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 1294 | / impl_ast_arena! { [INFO] [stdout] 1295 | | SpannedExpr<'ast, Id> => exprs, [INFO] [stdout] 1296 | | SpannedPattern<'ast, Id> => patterns, [INFO] [stdout] 1297 | | PatternField<'ast, Id> => pattern_field, [INFO] [stdout] ... | [INFO] [stdout] 1310 | | Metadata => metadata, [INFO] [stdout] 1311 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_ast_arena` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'ast` [INFO] [stdout] | [INFO] [stdout] 1258 - pub fn borrow(&'ast self) -> ArenaRef<'_, 'ast, Id> { [INFO] [stdout] 1258 + pub fn borrow(&'ast self) -> ArenaRef<'ast, 'ast, Id> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scoped_map.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn exit_scope(&mut self) -> ExitScopeIter { [INFO] [stdout] | ^^^^^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn exit_scope(&mut self) -> ExitScopeIter<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scoped_map.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn entry(&mut self, key: K) -> Entry { [INFO] [stdout] | ^^^^^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 136 | pub fn entry(&mut self, key: K) -> Entry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn iter(&self) -> slice::Iter { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 62 | pub fn iter(&self) -> slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scoped_map.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn iter_mut(&mut self) -> IterMut> { [INFO] [stdout] | ^^^^^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 236 | pub fn iter_mut(&mut self) -> IterMut<'_, K, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scoped_map.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 240 | pub fn iter(&self) -> Iter<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/source.rs:245:25 [INFO] [stdout] | [INFO] [stdout] 245 | fn comments_between(&self, span: Span) -> CommentIter; [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 245 | fn comments_between(&self, span: Span) -> CommentIter<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/source.rs:298:25 [INFO] [stdout] | [INFO] [stdout] 298 | fn comments_between(&self, span: Span) -> CommentIter { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 298 | fn comments_between(&self, span: Span) -> CommentIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/source.rs:340:25 [INFO] [stdout] | [INFO] [stdout] 340 | fn comments_between(&self, _: Span) -> CommentIter { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 340 | fn comments_between(&self, _: Span) -> CommentIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/metadata.rs:55:47 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug, Default, Eq, PartialEq, Hash, gluon_codegen::AstClone)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_BaseMetadata` [INFO] [stdout] 56 | pub struct BaseMetadata<'ast> { [INFO] [stdout] | ------------ `BaseMetadata` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `gluon_codegen::AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `gluon_codegen::AstClone` 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 warning originates in the derive macro `gluon_codegen::AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/symbol.rs:431:23 [INFO] [stdout] | [INFO] [stdout] 431 | pub fn components(&self) -> Components { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 431 | pub fn components(&self) -> Components<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scoped_map.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn exit_scope(&mut self) -> ExitScopeIter { [INFO] [stdout] | ^^^^^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn exit_scope(&mut self) -> ExitScopeIter<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scoped_map.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn entry(&mut self, key: K) -> Entry { [INFO] [stdout] | ^^^^^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 136 | pub fn entry(&mut self, key: K) -> Entry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types/mod.rs:316:24 [INFO] [stdout] | [INFO] [stdout] 316 | #[derive(Clone, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Skolem` [INFO] [stdout] ... [INFO] [stdout] 330 | pub struct Skolem { [INFO] [stdout] | ------ `Skolem` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scoped_map.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn iter_mut(&mut self) -> IterMut> { [INFO] [stdout] | ^^^^^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 236 | pub fn iter_mut(&mut self) -> IterMut<'_, K, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scoped_map.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 240 | pub fn iter(&self) -> Iter<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types/mod.rs:342:45 [INFO] [stdout] | [INFO] [stdout] 342 | #[derive(Clone, Debug, Eq, PartialEq, Hash, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Generic` [INFO] [stdout] ... [INFO] [stdout] 356 | pub struct Generic { [INFO] [stdout] | ------- `Generic` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (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/types/mod.rs:371:45 [INFO] [stdout] | [INFO] [stdout] 371 | #[derive(Clone, Debug, Eq, PartialEq, Hash, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Alias` [INFO] [stdout] ... [INFO] [stdout] 385 | pub struct Alias { [INFO] [stdout] | ----- `Alias` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:512:16 [INFO] [stdout] | [INFO] [stdout] 512 | pub fn typ(&self, interner: &mut impl TypeContext) -> Cow { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 512 | pub fn typ(&self, interner: &mut impl TypeContext) -> Cow<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types/mod.rs:550:17 [INFO] [stdout] | [INFO] [stdout] 550 | #[derive(Clone, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_AliasRef` [INFO] [stdout] ... [INFO] [stdout] 569 | pub struct AliasRef [INFO] [stdout] | -------- `AliasRef` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:659:16 [INFO] [stdout] | [INFO] [stdout] 659 | pub fn typ(&self, interner: &mut impl TypeContext) -> Cow { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 659 | pub fn typ(&self, interner: &mut impl TypeContext) -> Cow<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/source.rs:245:25 [INFO] [stdout] | [INFO] [stdout] 245 | fn comments_between(&self, span: Span) -> CommentIter; [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 245 | fn comments_between(&self, span: Span) -> CommentIter<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/source.rs:298:25 [INFO] [stdout] | [INFO] [stdout] 298 | fn comments_between(&self, span: Span) -> CommentIter { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 298 | fn comments_between(&self, span: Span) -> CommentIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/source.rs:340:25 [INFO] [stdout] | [INFO] [stdout] 340 | fn comments_between(&self, _: Span) -> CommentIter { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 340 | fn comments_between(&self, _: Span) -> CommentIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types/mod.rs:699:45 [INFO] [stdout] | [INFO] [stdout] 699 | #[derive(Clone, Debug, Eq, PartialEq, Hash, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_AliasData` [INFO] [stdout] ... [INFO] [stdout] 718 | pub struct AliasData> { [INFO] [stdout] | --------- `AliasData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (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/types/mod.rs:824:45 [INFO] [stdout] | [INFO] [stdout] 824 | #[derive(Clone, Hash, Eq, PartialEq, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Field` [INFO] [stdout] ... [INFO] [stdout] 843 | pub struct Field> { [INFO] [stdout] | ----- `Field` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/symbol.rs:431:23 [INFO] [stdout] | [INFO] [stdout] 431 | pub fn components(&self) -> Components { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 431 | pub fn components(&self) -> Components<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types/mod.rs:914:45 [INFO] [stdout] | [INFO] [stdout] 914 | #[derive(Clone, Debug, Eq, PartialEq, Hash, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Type` [INFO] [stdout] ... [INFO] [stdout] 947 | pub enum Type = ArcType> { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:1327:27 [INFO] [stdout] | [INFO] [stdout] 1327 | pub fn unapplied_args(&self) -> Cow<[T]> [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1327 | pub fn unapplied_args(&self) -> Cow<'_, [T]> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:1637:25 [INFO] [stdout] | [INFO] [stdout] 1637 | pub fn row_iter(typ: &T) -> RowIterator { [INFO] [stdout] | ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1637 | pub fn row_iter(typ: &T) -> RowIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:1641:33 [INFO] [stdout] | [INFO] [stdout] 1641 | pub fn row_iter_mut(typ: &mut T) -> RowIteratorMut { [INFO] [stdout] | ^^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1641 | pub fn row_iter_mut(typ: &mut T) -> RowIteratorMut<'_, Id, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:1648:32 [INFO] [stdout] | [INFO] [stdout] 1648 | pub fn type_field_iter(typ: &T) -> TypeFieldIterator { [INFO] [stdout] | ^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1648 | pub fn type_field_iter(typ: &T) -> TypeFieldIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types/mod.rs:316:24 [INFO] [stdout] | [INFO] [stdout] 316 | #[derive(Clone, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Skolem` [INFO] [stdout] ... [INFO] [stdout] 330 | pub struct Skolem { [INFO] [stdout] | ------ `Skolem` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:1738:19 [INFO] [stdout] | [INFO] [stdout] 1738 | fn display(&self, width: usize) -> TypeFormatter [INFO] [stdout] | ^^^^^ -------------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1738 | fn display(&self, width: usize) -> TypeFormatter<'_, Self::Id, Self, A> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:1760:24 [INFO] [stdout] | [INFO] [stdout] 1760 | fn type_field_iter(&self) -> TypeFieldIterator { [INFO] [stdout] | ^^^^^ ----------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1760 | fn type_field_iter(&self) -> TypeFieldIterator<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types/mod.rs:342:45 [INFO] [stdout] | [INFO] [stdout] 342 | #[derive(Clone, Debug, Eq, PartialEq, Hash, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Generic` [INFO] [stdout] ... [INFO] [stdout] 356 | pub struct Generic { [INFO] [stdout] | ------- `Generic` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:1764:17 [INFO] [stdout] | [INFO] [stdout] 1764 | fn arg_iter(&self) -> ArgIterator { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1764 | fn arg_iter(&self) -> ArgIterator<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:1768:26 [INFO] [stdout] | [INFO] [stdout] 1768 | fn implicit_arg_iter(&self) -> ImplicitArgIterator { [INFO] [stdout] | ^^^^^ ------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1768 | fn implicit_arg_iter(&self) -> ImplicitArgIterator<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types/mod.rs:371:45 [INFO] [stdout] | [INFO] [stdout] 371 | #[derive(Clone, Debug, Eq, PartialEq, Hash, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Alias` [INFO] [stdout] ... [INFO] [stdout] 385 | pub struct Alias { [INFO] [stdout] | ----- `Alias` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:1774:17 [INFO] [stdout] | [INFO] [stdout] 1774 | fn row_iter(&self) -> RowIterator { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1774 | fn row_iter(&self) -> RowIterator<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:512:16 [INFO] [stdout] | [INFO] [stdout] 512 | pub fn typ(&self, interner: &mut impl TypeContext) -> Cow { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 512 | pub fn typ(&self, interner: &mut impl TypeContext) -> Cow<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:1858:26 [INFO] [stdout] | [INFO] [stdout] 1858 | fn forall_scope_iter(&self) -> ForallScopeIter { [INFO] [stdout] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1858 | fn forall_scope_iter(&self) -> ForallScopeIter<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types/mod.rs:550:17 [INFO] [stdout] | [INFO] [stdout] 550 | #[derive(Clone, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_AliasRef` [INFO] [stdout] ... [INFO] [stdout] 569 | pub struct AliasRef [INFO] [stdout] | -------- `AliasRef` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:659:16 [INFO] [stdout] | [INFO] [stdout] 659 | pub fn typ(&self, interner: &mut impl TypeContext) -> Cow { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 659 | pub fn typ(&self, interner: &mut impl TypeContext) -> Cow<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:2313:33 [INFO] [stdout] | [INFO] [stdout] 2313 | fn split_top<'a, Id, T>(self_: &'a T) -> Option<(Option<&'a T>, Cow<[T]>)> [INFO] [stdout] | ^^ -- -------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 2313 | fn split_top<'a, Id, T>(self_: &'a T) -> Option<(Option<&'a T>, Cow<'a, [T]>)> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types/mod.rs:699:45 [INFO] [stdout] | [INFO] [stdout] 699 | #[derive(Clone, Debug, Eq, PartialEq, Hash, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_AliasData` [INFO] [stdout] ... [INFO] [stdout] 718 | pub struct AliasData> { [INFO] [stdout] | --------- `AliasData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:2337:37 [INFO] [stdout] | [INFO] [stdout] 2337 | pub fn split_app<'a, Id, T>(self_: &'a T) -> (Option<&'a T>, Cow<[T]>) [INFO] [stdout] | ^^ -- -------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 2337 | pub fn split_app<'a, Id, T>(self_: &'a T) -> (Option<&'a T>, Cow<'a, [T]>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types/mod.rs:824:45 [INFO] [stdout] | [INFO] [stdout] 824 | #[derive(Clone, Hash, Eq, PartialEq, Debug, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Field` [INFO] [stdout] ... [INFO] [stdout] 843 | pub struct Field> { [INFO] [stdout] | ----- `Field` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:2362:30 [INFO] [stdout] | [INFO] [stdout] 2362 | pub fn ctor_args(typ: &T) -> ArgIterator [INFO] [stdout] | ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2362 | pub fn ctor_args(typ: &T) -> ArgIterator<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:2376:29 [INFO] [stdout] | [INFO] [stdout] 2376 | pub fn arg_iter(typ: &T) -> ArgIterator [INFO] [stdout] | ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2376 | pub fn arg_iter(typ: &T) -> ArgIterator<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:2404:38 [INFO] [stdout] | [INFO] [stdout] 2404 | pub fn implicit_arg_iter(typ: &T) -> ImplicitArgIterator [INFO] [stdout] | ^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2404 | pub fn implicit_arg_iter(typ: &T) -> ImplicitArgIterator<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:2532:31 [INFO] [stdout] | [INFO] [stdout] 2532 | pub fn dt(prec: Prec, typ: &T) -> DisplayType { [INFO] [stdout] | ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2532 | pub fn dt(prec: Prec, typ: &T) -> DisplayType<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:2536:16 [INFO] [stdout] | [INFO] [stdout] 2536 | fn top(typ: &T) -> DisplayType { [INFO] [stdout] | ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2536 | fn top(typ: &T) -> DisplayType<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types/mod.rs:914:45 [INFO] [stdout] | [INFO] [stdout] 914 | #[derive(Clone, Debug, Eq, PartialEq, Hash, AstClone)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `AstClone` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Type` [INFO] [stdout] ... [INFO] [stdout] 947 | pub enum Type = ArcType> { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `AstClone` 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 warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:1327:27 [INFO] [stdout] | [INFO] [stdout] 1327 | pub fn unapplied_args(&self) -> Cow<[T]> [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1327 | pub fn unapplied_args(&self) -> Cow<'_, [T]> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:1637:25 [INFO] [stdout] | [INFO] [stdout] 1637 | pub fn row_iter(typ: &T) -> RowIterator { [INFO] [stdout] | ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1637 | pub fn row_iter(typ: &T) -> RowIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:1641:33 [INFO] [stdout] | [INFO] [stdout] 1641 | pub fn row_iter_mut(typ: &mut T) -> RowIteratorMut { [INFO] [stdout] | ^^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1641 | pub fn row_iter_mut(typ: &mut T) -> RowIteratorMut<'_, Id, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:1648:32 [INFO] [stdout] | [INFO] [stdout] 1648 | pub fn type_field_iter(typ: &T) -> TypeFieldIterator { [INFO] [stdout] | ^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1648 | pub fn type_field_iter(typ: &T) -> TypeFieldIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:1738:19 [INFO] [stdout] | [INFO] [stdout] 1738 | fn display(&self, width: usize) -> TypeFormatter [INFO] [stdout] | ^^^^^ -------------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1738 | fn display(&self, width: usize) -> TypeFormatter<'_, Self::Id, Self, A> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:1760:24 [INFO] [stdout] | [INFO] [stdout] 1760 | fn type_field_iter(&self) -> TypeFieldIterator { [INFO] [stdout] | ^^^^^ ----------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1760 | fn type_field_iter(&self) -> TypeFieldIterator<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:1764:17 [INFO] [stdout] | [INFO] [stdout] 1764 | fn arg_iter(&self) -> ArgIterator { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1764 | fn arg_iter(&self) -> ArgIterator<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:1768:26 [INFO] [stdout] | [INFO] [stdout] 1768 | fn implicit_arg_iter(&self) -> ImplicitArgIterator { [INFO] [stdout] | ^^^^^ ------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1768 | fn implicit_arg_iter(&self) -> ImplicitArgIterator<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:1774:17 [INFO] [stdout] | [INFO] [stdout] 1774 | fn row_iter(&self) -> RowIterator { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1774 | fn row_iter(&self) -> RowIterator<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:1858:26 [INFO] [stdout] | [INFO] [stdout] 1858 | fn forall_scope_iter(&self) -> ForallScopeIter { [INFO] [stdout] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1858 | fn forall_scope_iter(&self) -> ForallScopeIter<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:2313:33 [INFO] [stdout] | [INFO] [stdout] 2313 | fn split_top<'a, Id, T>(self_: &'a T) -> Option<(Option<&'a T>, Cow<[T]>)> [INFO] [stdout] | ^^ -- -------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 2313 | fn split_top<'a, Id, T>(self_: &'a T) -> Option<(Option<&'a T>, Cow<'a, [T]>)> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:2337:37 [INFO] [stdout] | [INFO] [stdout] 2337 | pub fn split_app<'a, Id, T>(self_: &'a T) -> (Option<&'a T>, Cow<[T]>) [INFO] [stdout] | ^^ -- -------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 2337 | pub fn split_app<'a, Id, T>(self_: &'a T) -> (Option<&'a T>, Cow<'a, [T]>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:2362:30 [INFO] [stdout] | [INFO] [stdout] 2362 | pub fn ctor_args(typ: &T) -> ArgIterator [INFO] [stdout] | ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2362 | pub fn ctor_args(typ: &T) -> ArgIterator<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:2376:29 [INFO] [stdout] | [INFO] [stdout] 2376 | pub fn arg_iter(typ: &T) -> ArgIterator [INFO] [stdout] | ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2376 | pub fn arg_iter(typ: &T) -> ArgIterator<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:2404:38 [INFO] [stdout] | [INFO] [stdout] 2404 | pub fn implicit_arg_iter(typ: &T) -> ImplicitArgIterator [INFO] [stdout] | ^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2404 | pub fn implicit_arg_iter(typ: &T) -> ImplicitArgIterator<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:2532:31 [INFO] [stdout] | [INFO] [stdout] 2532 | pub fn dt(prec: Prec, typ: &T) -> DisplayType { [INFO] [stdout] | ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2532 | pub fn dt(prec: Prec, typ: &T) -> DisplayType<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:2536:16 [INFO] [stdout] | [INFO] [stdout] 2536 | fn top(typ: &T) -> DisplayType { [INFO] [stdout] | ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2536 | fn top(typ: &T) -> DisplayType<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.62s [INFO] running `Command { std: "docker" "inspect" "4c53fe40c7e94f0ed6e645a340cf4a5f614d00c378b64c9670e8c83ee68e22a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c53fe40c7e94f0ed6e645a340cf4a5f614d00c378b64c9670e8c83ee68e22a1", kill_on_drop: false }` [INFO] [stdout] 4c53fe40c7e94f0ed6e645a340cf4a5f614d00c378b64c9670e8c83ee68e22a1