[INFO] fetching crate gluon_base 0.18.2... [INFO] testing gluon_base-0.18.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate gluon_base 0.18.2 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gluon_base 0.18.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 91 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.4) [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.16.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding ordered-float v2.10.1 (available: v5.1.0) [INFO] [stderr] Adding pretty v0.10.0 (available: v0.12.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82e04ba06cad1b5db6912c49f38d4c03216f81b9689867740ea891499c7ea45d [INFO] running `Command { std: "docker" "start" "-a" "82e04ba06cad1b5db6912c49f38d4c03216f81b9689867740ea891499c7ea45d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82e04ba06cad1b5db6912c49f38d4c03216f81b9689867740ea891499c7ea45d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82e04ba06cad1b5db6912c49f38d4c03216f81b9689867740ea891499c7ea45d", kill_on_drop: false }` [INFO] [stdout] 82e04ba06cad1b5db6912c49f38d4c03216f81b9689867740ea891499c7ea45d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83111fb49fd7facd0163df8484c15a9d1b16529d0bb9416408957cdbb98bc98d [INFO] running `Command { std: "docker" "start" "-a" "83111fb49fd7facd0163df8484c15a9d1b16529d0bb9416408957cdbb98bc98d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling collect-mac v0.1.0 [INFO] [stderr] Compiling codespan v0.11.1 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling gluon_codegen v0.18.2 [INFO] [stderr] Compiling 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: 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: 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/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/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/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/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: 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: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: 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: 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: 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 8.45s [INFO] running `Command { std: "docker" "inspect" "83111fb49fd7facd0163df8484c15a9d1b16529d0bb9416408957cdbb98bc98d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83111fb49fd7facd0163df8484c15a9d1b16529d0bb9416408957cdbb98bc98d", kill_on_drop: false }` [INFO] [stdout] 83111fb49fd7facd0163df8484c15a9d1b16529d0bb9416408957cdbb98bc98d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 931ae95fa365b5eea7f440d446a2ddf42749e94eb69d0915b44d131a7ee2b219 [INFO] running `Command { std: "docker" "start" "-a" "931ae95fa365b5eea7f440d446a2ddf42749e94eb69d0915b44d131a7ee2b219", kill_on_drop: false }` [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling diff v0.1.13 [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: 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/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/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/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/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: 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: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: 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: 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: 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] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling 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: 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: 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/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/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/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/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: 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: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: 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: 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 3.71s [INFO] running `Command { std: "docker" "inspect" "931ae95fa365b5eea7f440d446a2ddf42749e94eb69d0915b44d131a7ee2b219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "931ae95fa365b5eea7f440d446a2ddf42749e94eb69d0915b44d131a7ee2b219", kill_on_drop: false }` [INFO] [stdout] 931ae95fa365b5eea7f440d446a2ddf42749e94eb69d0915b44d131a7ee2b219 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3504f3f3f8e2a9ae43a3eaf62aa9f45f847f96b9ce9d7226a046fd2df8f357b4 [INFO] running `Command { std: "docker" "start" "-a" "3504f3f3f8e2a9ae43a3eaf62aa9f45f847f96b9ce9d7226a046fd2df8f357b4", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `memory_usage` [INFO] [stderr] --> src/pos.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | #[cfg_attr(feature = "memory_usage", derive(HeapSizeOf))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `anymap`, `compiletest_rs`, `nightly`, `serde`, `serde_derive`, `serde_derive_state`, `serde_state`, and `serialization` [INFO] [stderr] = help: consider adding `memory_usage` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/ast.rs:1328:32 [INFO] [stderr] | [INFO] [stderr] 1328 | struct Guard<'tag>(&'tag $crate::ast::InvariantLifetime<'tag>); [INFO] [stderr] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] ... [INFO] [stderr] 1346 | mk_ast_arena!(arena); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: this warning originates in the macro `mk_ast_arena` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/ast.rs:81:25 [INFO] [stderr] | [INFO] [stderr] 81 | #[derive(Eq, PartialEq, AstClone)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `AstClone` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_InnerAstType` [INFO] [stderr] 82 | pub struct InnerAstType<'ast, Id> { [INFO] [stderr] | ------------ `InnerAstType` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/ast.rs:87:25 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Eq, PartialEq, AstClone)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `AstClone` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_AstType` [INFO] [stderr] 88 | pub struct AstType<'ast, Id> { [INFO] [stderr] | ------- `AstType` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/ast.rs:283:32 [INFO] [stderr] | [INFO] [stderr] 283 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `AstClone` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_PatternField` [INFO] [stderr] 284 | pub enum PatternField<'ast, Id> { [INFO] [stderr] | ------------ `PatternField` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/ast.rs:302:32 [INFO] [stderr] | [INFO] [stderr] 302 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `AstClone` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Pattern` [INFO] [stderr] 303 | pub enum Pattern<'ast, Id> { [INFO] [stderr] | ------- `Pattern` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/ast.rs:384:32 [INFO] [stderr] | [INFO] [stderr] 384 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `AstClone` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Alternative` [INFO] [stderr] 385 | pub struct Alternative<'ast, Id> { [INFO] [stderr] | ----------- `Alternative` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/ast.rs:390:32 [INFO] [stderr] | [INFO] [stderr] 390 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `AstClone` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Array` [INFO] [stderr] 391 | pub struct Array<'ast, Id> { [INFO] [stderr] | ----- `Array` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/ast.rs:396:32 [INFO] [stderr] | [INFO] [stderr] 396 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `AstClone` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Lambda` [INFO] [stderr] 397 | pub struct Lambda<'ast, Id> { [INFO] [stderr] | ------ `Lambda` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/ast.rs:411:32 [INFO] [stderr] | [INFO] [stderr] 411 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `AstClone` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_ExprField` [INFO] [stderr] 412 | pub struct ExprField<'ast, Id, E> { [INFO] [stderr] | --------- `ExprField` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/ast.rs:418:32 [INFO] [stderr] | [INFO] [stderr] 418 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `AstClone` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Do` [INFO] [stderr] 419 | pub struct Do<'ast, Id> { [INFO] [stderr] | -- `Do` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/ast.rs:428:32 [INFO] [stderr] | [INFO] [stderr] 428 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `AstClone` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Expr` [INFO] [stderr] 429 | pub enum Expr<'ast, Id> { [INFO] [stderr] | ---- `Expr` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/ast.rs:587:10 [INFO] [stderr] | [INFO] [stderr] 587 | &'a self, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 588 | ) -> impl Iterator< [INFO] [stderr] 589 | Item = Either<&'a ExprField>, &'a ExprField>>, [INFO] [stderr] | -- -------------------------- -- ------------------------------------ the same lifetime is hidden here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is named here [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the same lifetime is named here [INFO] [stderr] 590 | > + 'a { [INFO] [stderr] | -- the same lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 589 | Item = Either<&'a ExprField<'a, Id, ArcType>, &'a ExprField<'a, Id, SpannedExpr<'ast, Id>>>, [INFO] [stderr] | +++ +++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/ast.rs:609:32 [INFO] [stderr] | [INFO] [stderr] 609 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `AstClone` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_TypeBinding` [INFO] [stderr] 610 | pub struct TypeBinding<'ast, Id> { [INFO] [stderr] | ----------- `TypeBinding` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/ast.rs:623:54 [INFO] [stderr] | [INFO] [stderr] 623 | #[derive(Clone, Default, Eq, PartialEq, Debug, Hash, AstClone)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `AstClone` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Argument` [INFO] [stderr] 624 | #[cfg_attr(feature = "serde_derive", derive(Deserialize, Serialize))] [INFO] [stderr] 625 | pub struct Argument { [INFO] [stderr] | -------- `Argument` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/ast.rs:646:32 [INFO] [stderr] | [INFO] [stderr] 646 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `AstClone` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_ValueBindings` [INFO] [stderr] 647 | pub enum ValueBindings<'ast, Id> { [INFO] [stderr] | ------------- `ValueBindings` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/ast.rs:698:32 [INFO] [stderr] | [INFO] [stderr] 698 | #[derive(Eq, PartialEq, Debug, AstClone)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `AstClone` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_ValueBinding` [INFO] [stderr] 699 | pub struct ValueBinding<'ast, Id> { [INFO] [stderr] | ------------ `ValueBinding` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/ast.rs:1258:28 [INFO] [stderr] | [INFO] [stderr] 1258 | pub fn borrow(&'ast self) -> ArenaRef<'_, 'ast, Id> { [INFO] [stderr] | ^^^^ -- ---- the same lifetime is named here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] ... [INFO] [stderr] 1294 | / impl_ast_arena! { [INFO] [stderr] 1295 | | SpannedExpr<'ast, Id> => exprs, [INFO] [stderr] 1296 | | SpannedPattern<'ast, Id> => patterns, [INFO] [stderr] 1297 | | PatternField<'ast, Id> => pattern_field, [INFO] [stderr] ... | [INFO] [stderr] 1310 | | Metadata => metadata, [INFO] [stderr] 1311 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `impl_ast_arena` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consistently use `'ast` [INFO] [stderr] | [INFO] [stderr] 1258 - pub fn borrow(&'ast self) -> ArenaRef<'_, 'ast, Id> { [INFO] [stderr] 1258 + pub fn borrow(&'ast self) -> ArenaRef<'ast, 'ast, Id> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/error.rs:62:17 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn iter(&self) -> slice::Iter { [INFO] [stderr] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 62 | pub fn iter(&self) -> slice::Iter<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/metadata.rs:55:47 [INFO] [stderr] | [INFO] [stderr] 55 | #[derive(Debug, Default, Eq, PartialEq, Hash, gluon_codegen::AstClone)] [INFO] [stderr] | ^---------------------- [INFO] [stderr] | | [INFO] [stderr] | `AstClone` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_BaseMetadata` [INFO] [stderr] 56 | pub struct BaseMetadata<'ast> { [INFO] [stderr] | ------------ `BaseMetadata` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `gluon_codegen::AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `gluon_codegen::AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/scoped_map.rs:70:23 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn exit_scope(&mut self) -> ExitScopeIter { [INFO] [stderr] | ^^^^^^^^^ ------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 70 | pub fn exit_scope(&mut self) -> ExitScopeIter<'_, K, V> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/scoped_map.rs:136:18 [INFO] [stderr] | [INFO] [stderr] 136 | pub fn entry(&mut self, key: K) -> Entry { [INFO] [stderr] | ^^^^^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 136 | pub fn entry(&mut self, key: K) -> Entry<'_, K, V> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/scoped_map.rs:236:21 [INFO] [stderr] | [INFO] [stderr] 236 | pub fn iter_mut(&mut self) -> IterMut> { [INFO] [stderr] | ^^^^^^^^^ ------------------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 236 | pub fn iter_mut(&mut self) -> IterMut<'_, K, Vec> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/scoped_map.rs:240:17 [INFO] [stderr] | [INFO] [stderr] 240 | pub fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 240 | pub fn iter(&self) -> Iter<'_, K, V> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/source.rs:245:25 [INFO] [stderr] | [INFO] [stderr] 245 | fn comments_between(&self, span: Span) -> CommentIter; [INFO] [stderr] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 245 | fn comments_between(&self, span: Span) -> CommentIter<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/source.rs:298:25 [INFO] [stderr] | [INFO] [stderr] 298 | fn comments_between(&self, span: Span) -> CommentIter { [INFO] [stderr] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 298 | fn comments_between(&self, span: Span) -> CommentIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/source.rs:340:25 [INFO] [stderr] | [INFO] [stderr] 340 | fn comments_between(&self, _: Span) -> CommentIter { [INFO] [stderr] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 340 | fn comments_between(&self, _: Span) -> CommentIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/symbol.rs:431:23 [INFO] [stderr] | [INFO] [stderr] 431 | pub fn components(&self) -> Components { [INFO] [stderr] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 431 | pub fn components(&self) -> Components<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types/mod.rs:316:24 [INFO] [stderr] | [INFO] [stderr] 316 | #[derive(Clone, Debug, AstClone)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `AstClone` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Skolem` [INFO] [stderr] ... [INFO] [stderr] 330 | pub struct Skolem { [INFO] [stderr] | ------ `Skolem` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types/mod.rs:342:45 [INFO] [stderr] | [INFO] [stderr] 342 | #[derive(Clone, Debug, Eq, PartialEq, Hash, AstClone)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `AstClone` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Generic` [INFO] [stderr] ... [INFO] [stderr] 356 | pub struct Generic { [INFO] [stderr] | ------- `Generic` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types/mod.rs:371:45 [INFO] [stderr] | [INFO] [stderr] 371 | #[derive(Clone, Debug, Eq, PartialEq, Hash, AstClone)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `AstClone` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Alias` [INFO] [stderr] ... [INFO] [stderr] 385 | pub struct Alias { [INFO] [stderr] | ----- `Alias` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/mod.rs:512:16 [INFO] [stderr] | [INFO] [stderr] 512 | pub fn typ(&self, interner: &mut impl TypeContext) -> Cow { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 512 | pub fn typ(&self, interner: &mut impl TypeContext) -> Cow<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types/mod.rs:550:17 [INFO] [stderr] | [INFO] [stderr] 550 | #[derive(Clone, AstClone)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `AstClone` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_AliasRef` [INFO] [stderr] ... [INFO] [stderr] 569 | pub struct AliasRef [INFO] [stderr] | -------- `AliasRef` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/mod.rs:659:16 [INFO] [stderr] | [INFO] [stderr] 659 | pub fn typ(&self, interner: &mut impl TypeContext) -> Cow { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 659 | pub fn typ(&self, interner: &mut impl TypeContext) -> Cow<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types/mod.rs:699:45 [INFO] [stderr] | [INFO] [stderr] 699 | #[derive(Clone, Debug, Eq, PartialEq, Hash, AstClone)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `AstClone` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_AliasData` [INFO] [stderr] ... [INFO] [stderr] 718 | pub struct AliasData> { [INFO] [stderr] | --------- `AliasData` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types/mod.rs:824:45 [INFO] [stderr] | [INFO] [stderr] 824 | #[derive(Clone, Hash, Eq, PartialEq, Debug, AstClone)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `AstClone` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Field` [INFO] [stderr] ... [INFO] [stderr] 843 | pub struct Field> { [INFO] [stderr] | ----- `Field` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types/mod.rs:914:45 [INFO] [stderr] | [INFO] [stderr] 914 | #[derive(Clone, Debug, Eq, PartialEq, Hash, AstClone)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `AstClone` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_AST_CLONE_FOR_Type` [INFO] [stderr] ... [INFO] [stderr] 947 | pub enum Type = ArcType> { [INFO] [stderr] | ---- `Type` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `AstClone` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `AstClone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/mod.rs:1327:27 [INFO] [stderr] | [INFO] [stderr] 1327 | pub fn unapplied_args(&self) -> Cow<[T]> [INFO] [stderr] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1327 | pub fn unapplied_args(&self) -> Cow<'_, [T]> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/mod.rs:1637:25 [INFO] [stderr] | [INFO] [stderr] 1637 | pub fn row_iter(typ: &T) -> RowIterator { [INFO] [stderr] | ^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1637 | pub fn row_iter(typ: &T) -> RowIterator<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/mod.rs:1641:33 [INFO] [stderr] | [INFO] [stderr] 1641 | pub fn row_iter_mut(typ: &mut T) -> RowIteratorMut { [INFO] [stderr] | ^^^^^^ --------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1641 | pub fn row_iter_mut(typ: &mut T) -> RowIteratorMut<'_, Id, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/mod.rs:1648:32 [INFO] [stderr] | [INFO] [stderr] 1648 | pub fn type_field_iter(typ: &T) -> TypeFieldIterator { [INFO] [stderr] | ^^ -------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1648 | pub fn type_field_iter(typ: &T) -> TypeFieldIterator<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/mod.rs:1738:19 [INFO] [stderr] | [INFO] [stderr] 1738 | fn display(&self, width: usize) -> TypeFormatter [INFO] [stderr] | ^^^^^ -------------------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1738 | fn display(&self, width: usize) -> TypeFormatter<'_, Self::Id, Self, A> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/mod.rs:1760:24 [INFO] [stderr] | [INFO] [stderr] 1760 | fn type_field_iter(&self) -> TypeFieldIterator { [INFO] [stderr] | ^^^^^ ----------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1760 | fn type_field_iter(&self) -> TypeFieldIterator<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/mod.rs:1764:17 [INFO] [stderr] | [INFO] [stderr] 1764 | fn arg_iter(&self) -> ArgIterator { [INFO] [stderr] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1764 | fn arg_iter(&self) -> ArgIterator<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/mod.rs:1768:26 [INFO] [stderr] | [INFO] [stderr] 1768 | fn implicit_arg_iter(&self) -> ImplicitArgIterator { [INFO] [stderr] | ^^^^^ ------------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1768 | fn implicit_arg_iter(&self) -> ImplicitArgIterator<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/mod.rs:1774:17 [INFO] [stderr] | [INFO] [stderr] 1774 | fn row_iter(&self) -> RowIterator { [INFO] [stderr] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1774 | fn row_iter(&self) -> RowIterator<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/mod.rs:1858:26 [INFO] [stderr] | [INFO] [stderr] 1858 | fn forall_scope_iter(&self) -> ForallScopeIter { [INFO] [stderr] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1858 | fn forall_scope_iter(&self) -> ForallScopeIter<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/types/mod.rs:2313:33 [INFO] [stderr] | [INFO] [stderr] 2313 | fn split_top<'a, Id, T>(self_: &'a T) -> Option<(Option<&'a T>, Cow<[T]>)> [INFO] [stderr] | ^^ -- -------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 2313 | fn split_top<'a, Id, T>(self_: &'a T) -> Option<(Option<&'a T>, Cow<'a, [T]>)> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/types/mod.rs:2337:37 [INFO] [stderr] | [INFO] [stderr] 2337 | pub fn split_app<'a, Id, T>(self_: &'a T) -> (Option<&'a T>, Cow<[T]>) [INFO] [stderr] | ^^ -- -------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 2337 | pub fn split_app<'a, Id, T>(self_: &'a T) -> (Option<&'a T>, Cow<'a, [T]>) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/mod.rs:2362:30 [INFO] [stderr] | [INFO] [stderr] 2362 | pub fn ctor_args(typ: &T) -> ArgIterator [INFO] [stderr] | ^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 2362 | pub fn ctor_args(typ: &T) -> ArgIterator<'_, T> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/mod.rs:2376:29 [INFO] [stderr] | [INFO] [stderr] 2376 | pub fn arg_iter(typ: &T) -> ArgIterator [INFO] [stderr] | ^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 2376 | pub fn arg_iter(typ: &T) -> ArgIterator<'_, T> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/mod.rs:2404:38 [INFO] [stderr] | [INFO] [stderr] 2404 | pub fn implicit_arg_iter(typ: &T) -> ImplicitArgIterator [INFO] [stderr] | ^^ ---------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 2404 | pub fn implicit_arg_iter(typ: &T) -> ImplicitArgIterator<'_, T> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/mod.rs:2532:31 [INFO] [stderr] | [INFO] [stderr] 2532 | pub fn dt(prec: Prec, typ: &T) -> DisplayType { [INFO] [stderr] | ^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 2532 | pub fn dt(prec: Prec, typ: &T) -> DisplayType<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/types/mod.rs:2536:16 [INFO] [stderr] | [INFO] [stderr] 2536 | fn top(typ: &T) -> DisplayType { [INFO] [stderr] | ^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 2536 | fn top(typ: &T) -> DisplayType<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `gluon_base` (lib) generated 54 warnings (run `cargo fix --lib -p gluon_base` to apply 30 suggestions) [INFO] [stderr] warning: `gluon_base` (lib test) generated 54 warnings (54 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gluon_base-4cb8562a3a37fda0) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test scoped_map::tests::remove ... ok [INFO] [stdout] test fixed::tests::truncate_buffer ... ok [INFO] [stdout] test source::tests::empty_comment_iter ... ok [INFO] [stdout] test tests::filename_to_module_test ... ok [INFO] [stdout] test scoped_map::tests::test ... ok [INFO] [stdout] test types::tests::walk_move_types_test ... ok [INFO] [stdout] [INFO] [stderr] Running tests/compiletest.rs (/opt/rustwide/target/debug/deps/compiletest-03723ae4102e76b7) [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/types.rs (/opt/rustwide/target/debug/deps/types-0fa2486089c06aab) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stderr] Doc-tests gluon_base [INFO] [stdout] test break_record ... ok [INFO] [stdout] test show_forall ... ok [INFO] [stdout] test forall_hides_generic_flag ... ok [INFO] [stdout] test show_function ... ok [INFO] [stdout] test show_kind ... ok [INFO] [stdout] test show_polymorphic_record_associated_type ... ok [INFO] [stdout] test resolve_partially_applied_alias ... ok [INFO] [stdout] test show_polymorphic_record ... ok [INFO] [stdout] test show_record_filtered ... ok [INFO] [stdout] test show_record_empty ... ok [INFO] [stdout] test show_record_multifield ... ok [INFO] [stdout] test show_record_multiline ... ok [INFO] [stdout] test show_record_singleton ... ok [INFO] [stdout] test show_record_singleton_polymorphic ... ok [INFO] [stdout] test show_variant ... ok [INFO] [stdout] test take_implicits_into_account_on_infix_type ... ok [INFO] [stdout] test show_record_multi_line_nested ... ok [INFO] [stdout] test tuple ... ok [INFO] [stdout] test show_record_long_type ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/pos.rs - pos::Span::containment_exclusive (line 217) ... ok [INFO] [stdout] test src/pos.rs - pos::Span::between (line 268) ... ok [INFO] [stdout] test src/pos.rs - pos::Span::to (line 245) ... ok [INFO] [stdout] test src/pos.rs - pos::Span::new (line 69) ... ok [INFO] [stdout] test src/pos.rs - pos::Span::containment (line 192) ... ok [INFO] [stdout] test src/pos.rs - pos::Span::contains (line 171) ... ok [INFO] [stdout] test src/pos.rs - pos::Span::until (line 288) ... ok [INFO] [stdout] test src/symbol.rs - symbol::SymbolModule<'a>::scoped_symbol (line 741) ... ok [INFO] [stdout] test src/pos.rs - pos::Span::with_end (line 157) ... ok [INFO] [stdout] test src/pos.rs - pos::Span::new (line 79) ... ok [INFO] [stdout] test src/pos.rs - pos::Span::with_start (line 143) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.95s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3504f3f3f8e2a9ae43a3eaf62aa9f45f847f96b9ce9d7226a046fd2df8f357b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3504f3f3f8e2a9ae43a3eaf62aa9f45f847f96b9ce9d7226a046fd2df8f357b4", kill_on_drop: false }` [INFO] [stdout] 3504f3f3f8e2a9ae43a3eaf62aa9f45f847f96b9ce9d7226a046fd2df8f357b4