[INFO] cloning repository https://github.com/gluon-lang/gluon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gluon-lang/gluon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgluon-lang%2Fgluon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgluon-lang%2Fgluon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6085b002e67fb473ab69fbd210433b0e8f7e7750 [INFO] checking gluon-lang/gluon against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgluon-lang%2Fgluon" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gluon-lang/gluon [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/gluon-lang/gluon [INFO] tweaked toml for git repo https://github.com/gluon-lang/gluon written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gluon-lang/gluon on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gluon-lang/gluon already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest_generator v2.7.14 [INFO] [stderr] Downloaded opener v0.5.2 [INFO] [stderr] Downloaded pretty v0.10.0 [INFO] [stderr] Downloaded pest_derive v2.7.14 [INFO] [stderr] Downloaded pulldown-cmark v0.8.0 [INFO] [stderr] Downloaded handlebars v4.5.0 [INFO] [stderr] Downloaded app_dirs2 v2.5.5 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.97 [INFO] [stderr] Downloaded tempdir v0.3.7 [INFO] [stderr] Downloaded pico-args v0.3.4 [INFO] [stderr] Downloaded codespan v0.11.1 [INFO] [stderr] Downloaded dirs v2.0.2 [INFO] [stderr] Downloaded xdg v2.5.2 [INFO] [stderr] Downloaded js-sys v0.3.74 [INFO] [stderr] Downloaded gluon-salsa v0.15.2 [INFO] [stderr] Downloaded rustix v0.38.41 [INFO] [stderr] Downloaded cc v1.2.2 [INFO] [stderr] Downloaded nix v0.14.1 [INFO] [stderr] Downloaded criterion v0.3.6 [INFO] [stderr] Downloaded insta v1.41.1 [INFO] [stderr] Downloaded pulldown-cmark v0.5.3 [INFO] [stderr] Downloaded rpds v0.10.0 [INFO] [stderr] Downloaded web-sys v0.3.74 [INFO] [stderr] Downloaded pretty_assertions v1.4.1 [INFO] [stderr] Downloaded futures v0.1.31 [INFO] [stderr] Downloaded hashbrown v0.5.0 [INFO] [stderr] Downloaded rustyline v6.0.0 [INFO] [stderr] Downloaded csv v1.3.1 [INFO] [stderr] Downloaded pest_meta v2.7.14 [INFO] [stderr] Downloaded ureq v2.12.1 [INFO] [stderr] Downloaded pest v2.7.14 [INFO] [stderr] Downloaded rexpect v0.4.0 [INFO] [stderr] Downloaded rustfix v0.5.1 [INFO] [stderr] Downloaded tester v0.9.1 [INFO] [stderr] Downloaded hyper v0.14.31 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.97 [INFO] [stderr] Downloaded expect-test v1.5.0 [INFO] [stderr] Downloaded gluon-salsa-macros v0.15.2 [INFO] [stderr] Downloaded handlebars v2.0.4 [INFO] [stderr] Downloaded tensile v0.7.0 [INFO] [stderr] Downloaded rustls v0.23.19 [INFO] [stderr] Downloaded similar v2.6.0 [INFO] [stderr] Downloaded archery v0.4.0 [INFO] [stderr] Downloaded serde_state v0.4.8 [INFO] [stderr] Downloaded anymap v0.12.1 [INFO] [stderr] Downloaded frunk_core v0.4.3 [INFO] [stderr] Downloaded collect-mac v0.1.0 [INFO] [stderr] Downloaded compiletest_rs v0.7.1 [INFO] [stderr] Downloaded half v1.8.3 [INFO] [stderr] Downloaded dissimilar v1.0.9 [INFO] [stderr] Downloaded lol_html v0.3.3 [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded wasm-bindgen v0.2.97 [INFO] [stderr] Downloaded bytecount v0.5.1 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded little-skeptic v0.15.2 [INFO] [stderr] Downloaded security-framework-sys v2.12.1 [INFO] [stderr] Downloaded fastrand v2.2.0 [INFO] [stderr] Downloaded tempfile v3.14.0 [INFO] [stderr] Downloaded serde_derive_state v0.4.10 [INFO] [stderr] Downloaded libc v0.2.167 [INFO] [stderr] Downloaded cargo-deadlinks v0.8.1 [INFO] [stderr] Downloaded anyhow v1.0.94 [INFO] [stderr] Downloaded criterion-plot v0.4.5 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.97 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.97 [INFO] [stderr] Downloaded cargo_metadata v0.8.2 [INFO] [stderr] Downloaded bstr v1.11.0 [INFO] [stderr] Downloaded syn v2.0.90 [INFO] [stderr] Downloaded cached v0.25.1 [INFO] [stderr] Downloaded webpki-roots v0.26.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4d98e1d26b74c539171bcc53ad34d3997a2220820a9a51e4ac5b096b54122b1 [INFO] running `Command { std: "docker" "start" "-a" "b4d98e1d26b74c539171bcc53ad34d3997a2220820a9a51e4ac5b096b54122b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4d98e1d26b74c539171bcc53ad34d3997a2220820a9a51e4ac5b096b54122b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4d98e1d26b74c539171bcc53ad34d3997a2220820a9a51e4ac5b096b54122b1", kill_on_drop: false }` [INFO] [stdout] b4d98e1d26b74c539171bcc53ad34d3997a2220820a9a51e4ac5b096b54122b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfd00d3422fddce4d19ba62fb80f5e09956fe5806c320744a197586bc63c8b1a [INFO] running `Command { std: "docker" "start" "-a" "dfd00d3422fddce4d19ba62fb80f5e09956fe5806c320744a197586bc63c8b1a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling serde_derive_state v0.4.10 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking pretty v0.10.0 [INFO] [stderr] Checking collect-mac v0.1.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Checking archery v0.4.0 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Checking rpds v0.10.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Checking ahash v0.7.8 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling gluon_vm v0.18.2 (/opt/rustwide/workdir/vm) [INFO] [stderr] Checking lalrpop-util v0.19.12 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking frunk_core v0.4.3 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking unicase v2.8.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Checking dissimilar v1.0.9 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Checking insta v1.41.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking expect-test v1.5.0 [INFO] [stderr] Checking bstr v1.11.0 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling gluon_doc v0.18.2 (/opt/rustwide/workdir/doc) [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking opener v0.5.2 [INFO] [stderr] Checking rustls-pki-types v1.10.0 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling rustls v0.23.19 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking object v0.36.5 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking webpki-roots v0.26.7 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Compiling gluon_repl v0.18.2 (/opt/rustwide/workdir/repl) [INFO] [stderr] Checking cached v0.25.1 [INFO] [stderr] Checking pico-args v0.3.4 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking app_dirs2 v2.5.5 [INFO] [stderr] Compiling gluon_codegen v0.18.2 (/opt/rustwide/workdir/codegen) [INFO] [stderr] Compiling gluon-salsa-macros v0.15.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> codegen/src/pushable.rs:218:33 [INFO] [stdout] | [INFO] [stdout] 218 | fn get_info_from_fields(fields: &Fields) -> (Vec>, Vec<&Type>) { [INFO] [stdout] | ^^^^^^^ ---------- ----- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 218 | fn get_info_from_fields(fields: &Fields) -> (Vec>, Vec<&Type>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> codegen/src/trace.rs:206:33 [INFO] [stdout] | [INFO] [stdout] 206 | fn get_info_from_fields(fields: &Fields) -> (Vec>, Vec<&Type>) { [INFO] [stdout] | ^^^^^^^ ---------- ----- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] 206 | fn get_info_from_fields(fields: &Fields) -> (Vec>, Vec<&Type>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking pest v2.7.14 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking rustyline v6.0.0 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Compiling pest_meta v2.7.14 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> codegen/src/pushable.rs:218:33 [INFO] [stdout] | [INFO] [stdout] 218 | fn get_info_from_fields(fields: &Fields) -> (Vec>, Vec<&Type>) { [INFO] [stdout] | ^^^^^^^ ---------- ----- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 218 | fn get_info_from_fields(fields: &Fields) -> (Vec>, Vec<&Type>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> codegen/src/trace.rs:206:33 [INFO] [stdout] | [INFO] [stdout] 206 | fn get_info_from_fields(fields: &Fields) -> (Vec>, Vec<&Type>) { [INFO] [stdout] | ^^^^^^^ ---------- ----- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] 206 | fn get_info_from_fields(fields: &Fields) -> (Vec>, Vec<&Type>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Checking rexpect v0.4.0 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Compiling pest_generator v2.7.14 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking gluon-salsa v0.15.2 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking tensile v0.7.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Compiling pest_derive v2.7.14 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking lol_html v0.3.3 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking serde_state v0.4.8 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking cargo-platform v0.1.9 [INFO] [stderr] Checking codespan v0.11.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking handlebars v4.5.0 [INFO] [stderr] Checking cargo_metadata v0.14.2 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Compiling gluon_parser v0.18.2 (/opt/rustwide/workdir/parser) [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking gluon_base v0.18.2 (/opt/rustwide/workdir/base) [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stdout] warning: unexpected `cfg` condition value: `memory_usage` [INFO] [stdout] --> base/src/pos.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg_attr(feature = "memory_usage", derive(HeapSizeOf))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `anymap`, `compiletest_rs`, `nightly`, `serde`, `serde_derive`, `serde_derive_state`, `serde_state`, and `serialization` [INFO] [stdout] = help: consider adding `memory_usage` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `memory_usage` [INFO] [stdout] --> base/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] [stderr] Checking ureq v2.12.1 [INFO] [stdout] warning: unexpected `cfg` condition value: `memory_usage` [INFO] [stdout] --> base/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] [stderr] Checking cargo-deadlinks v0.8.1 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] Checking gluon_check v0.18.2 (/opt/rustwide/workdir/check) [INFO] [stderr] Checking gluon_format v0.18.2 (/opt/rustwide/workdir/format) [INFO] [stderr] Checking gluon_completion v0.18.2 (/opt/rustwide/workdir/completion) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/src/types/mod.rs:2536:16 [INFO] [stdout] | [INFO] [stdout] 2536 | fn top(typ: &T) -> DisplayType { [INFO] [stdout] | ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2536 | fn top(typ: &T) -> DisplayType<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde_derive` [INFO] [stdout] --> check/src/metadata.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "serde_derive")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde_derive` 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: unused imports: `TypeExt` and `TypePtr` [INFO] [stdout] --> check/src/typ.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::base::types::{ArcType as RcType, Flags, TypeExt, TypePtr}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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] --> base/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 gluon v0.18.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `has_data` is never used [INFO] [stdout] --> check/src/metadata.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 22 | trait ArcMetadata: Into> { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 25 | fn has_data(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> parser/src/str_suffix.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 98 | pub fn iter(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> parser/src/str_suffix.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 98 | pub fn iter(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde_derive` [INFO] [stdout] --> check/src/metadata.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "serde_derive")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde_derive` 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: unused import: `TypeExt` [INFO] [stdout] --> check/src/typ.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::base::types::{ArcType as RcType, Flags, TypeExt, TypePtr}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_data` is never used [INFO] [stdout] --> check/src/metadata.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 22 | trait ArcMetadata: Into> { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 25 | fn has_data(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `produce_slice` is never used [INFO] [stdout] --> vm/src/core/interpreter.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 127 | trait Resolver<'l, 'a> { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 128 | fn produce(&self, expr: CExpr<'a>) -> CExpr<'l>; [INFO] [stdout] 129 | fn produce_slice(&self, expr: &'a [Expr<'a>]) -> &'l [Expr<'l>]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> vm/src/core/mod.rs:366:32 [INFO] [stdout] | [INFO] [stdout] 366 | pub struct FrozenAllocator(Arc>); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `FrozenAllocator` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] --> vm/src/lib.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug, PartialEq, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_Variants` [INFO] [stdout] ... [INFO] [stdout] 93 | pub struct Variants<'a>(ValueRepr, PhantomData<&'a Value>); [INFO] [stdout] | -------- `Variants` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/lib.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn new(value: &Value) -> Variants { [INFO] [stdout] | ^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 106 | pub fn new(value: &Value) -> Variants<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/serialization.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | fn gc_seed(seed: &mut S) -> SharedSeed, S> { [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] 82 | fn gc_seed(seed: &mut S) -> SharedSeed<'_, GcPtr, S> { [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] --> vm/src/serialization.rs:569:9 [INFO] [stdout] | [INFO] [stdout] 558 | / pub fn deserialize<'de, 'gc, D>( [INFO] [stdout] 559 | | seed: &mut DeSeed<'gc>, [INFO] [stdout] 560 | | deserializer: D, [INFO] [stdout] 561 | | ) -> Result, D::Error> [INFO] [stdout] 562 | | where [INFO] [stdout] 563 | | D: Deserializer<'de>, [INFO] [stdout] | |_____________________________- move the `impl` block outside of this function `deserialize` [INFO] [stdout] ... [INFO] [stdout] 569 | impl<'de, 'gc> DeserializeSeed<'de> for Seed<'_, 'gc, ClosureData> { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------^^^^^^^^^^----^^^^^^^^^^-----------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `ClosureData` is not local [INFO] [stdout] | | `Seed` is not local [INFO] [stdout] | `DeserializeSeed` is not local [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/serialization.rs:576:17 [INFO] [stdout] | [INFO] [stdout] 572 | / fn deserialize(self, deserializer: D) -> Result [INFO] [stdout] 573 | | where [INFO] [stdout] 574 | | D: Deserializer<'de>, [INFO] [stdout] | |_____________________________________- move the `impl` block outside of this method `deserialize` and up 2 bodies [INFO] [stdout] 575 | { [INFO] [stdout] 576 | impl<'de, 'gc> Visitor<'de> for Seed<'_, 'gc, ClosureData> { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------^^^^^^^^^^----^^^^^^^^^^-----------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `ClosureData` is not local [INFO] [stdout] | | `Seed` is not local [INFO] [stdout] | `Visitor` is not local [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/gc.rs:313:10 [INFO] [stdout] | [INFO] [stdout] 313 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_Move` [INFO] [stdout] 314 | #[gluon(gluon_vm)] [INFO] [stdout] 315 | pub struct Move(pub T); [INFO] [stdout] | ---- `Move` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/gc.rs:325:33 [INFO] [stdout] | [INFO] [stdout] 325 | fn initialize(self, result: WriteOnly) -> &mut T { [INFO] [stdout] | ^^^^^^^^^^^^ ------ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the 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] 325 | fn initialize(self, result: WriteOnly<'_, T>) -> &mut T { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/gc.rs:520:33 [INFO] [stdout] | [INFO] [stdout] 520 | fn initialize(self, result: WriteOnly) -> &mut Self::Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ---------------- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the 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] 520 | fn initialize(self, result: WriteOnly<'_, Self::Value>) -> &mut Self::Value { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/gc.rs:1086:9 [INFO] [stdout] | [INFO] [stdout] 1086 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 1089 | ) -> Result> [INFO] [stdout] | -------------------- 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] 1089 | ) -> Result> [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] --> vm/src/gc.rs:1095:18 [INFO] [stdout] | [INFO] [stdout] 1095 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_Scope1` and up 2 bodies [INFO] [stdout] 1096 | #[gluon(gluon_vm)] [INFO] [stdout] 1097 | struct Scope1(A, B); [INFO] [stdout] | ------ `Scope1` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/gc.rs:1116:21 [INFO] [stdout] | [INFO] [stdout] 1116 | pub fn alloc(&mut self, def: D) -> Result> [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] 1116 | pub fn alloc(&mut self, def: D) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/gc.rs:1124:27 [INFO] [stdout] | [INFO] [stdout] 1124 | pub fn alloc_owned(&mut self, def: D) -> Result> [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] 1124 | pub fn alloc_owned(&mut self, def: D) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/gc.rs:1140:34 [INFO] [stdout] | [INFO] [stdout] 1140 | pub fn alloc_ignore_limit(&mut self, def: D) -> GcRef [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] 1140 | pub fn alloc_ignore_limit(&mut self, def: D) -> GcRef<'_, D::Value> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/gc.rs:1212:31 [INFO] [stdout] | [INFO] [stdout] 1212 | fn alloc_ignore_limit_(&mut self, size: usize, def: D) -> OwnedGcRef [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] 1212 | fn alloc_ignore_limit_(&mut self, size: usize, def: D) -> OwnedGcRef<'_, D::Value> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/gc/mutex.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn lock(&self) -> LockResult> { [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] 73 | pub fn lock(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/gc/mutex.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn try_lock(&self) -> TryLockResult> { [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] 84 | pub fn try_lock(&self) -> TryLockResult> { [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] --> vm/src/api/mod.rs:301:10 [INFO] [stdout] | [INFO] [stdout] 301 | #[derive(Trace, PartialEq)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_Unrooted` [INFO] [stdout] 302 | #[gluon(gluon_vm)] [INFO] [stdout] 303 | pub(crate) struct Unrooted(Value, PhantomData); [INFO] [stdout] | -------- `Unrooted` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/api/function.rs:164:24 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn get_variant(&self) -> Variants { [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] 164 | pub fn get_variant(&self) -> Variants<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/api/opaque.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | fn as_value_ref(&self) -> ValueRef; [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] 35 | fn as_value_ref(&self) -> ValueRef<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/api/opaque.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | fn as_value_ref(&self) -> ValueRef { [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] 39 | fn as_value_ref(&self) -> ValueRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/api/opaque.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | fn as_value_ref(&self) -> ValueRef { [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] 47 | fn as_value_ref(&self) -> ValueRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/api/scoped.rs:157:18 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn write(&self) -> Result> { [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] 157 | pub fn write(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/api/scoped.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn read(&self) -> Result> { [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] 167 | pub fn read(&self) -> Result> { [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] --> vm/src/api/json.rs:146:10 [INFO] [stdout] | [INFO] [stdout] 146 | #[derive(Pushable, Getable, SerializeState)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Pushable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PUSHABLE_FOR_Value` [INFO] [stdout] ... [INFO] [stdout] 150 | pub enum Value { [INFO] [stdout] | ----- `Value` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Pushable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Pushable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Pushable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/api/json.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | #[derive(Pushable, Getable, SerializeState)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Getable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GETABLE_FOR_Value` [INFO] [stdout] ... [INFO] [stdout] 150 | pub enum Value { [INFO] [stdout] | ----- `Value` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Getable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Getable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Getable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/api/json.rs:160:58 [INFO] [stdout] | [INFO] [stdout] 160 | #[derive(SerializeState, Ord, Eq, PartialEq, PartialOrd, Getable, Pushable)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Getable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GETABLE_FOR_JsonString` [INFO] [stdout] ... [INFO] [stdout] 163 | pub struct JsonString(OpaqueValue); [INFO] [stdout] | ---------- `JsonString` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Getable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Getable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Getable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/api/json.rs:160:67 [INFO] [stdout] | [INFO] [stdout] 160 | #[derive(SerializeState, Ord, Eq, PartialEq, PartialOrd, Getable, Pushable)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Pushable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PUSHABLE_FOR_JsonString` [INFO] [stdout] ... [INFO] [stdout] 163 | pub struct JsonString(OpaqueValue); [INFO] [stdout] | ---------- `JsonString` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Pushable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Pushable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Pushable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/api/json.rs:220:10 [INFO] [stdout] | [INFO] [stdout] 220 | #[derive(VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_JsonValue` [INFO] [stdout] ... [INFO] [stdout] 223 | pub struct JsonValue(crate::vm::RootedValue); [INFO] [stdout] | --------- `JsonValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_A` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `A` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_B` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `B` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_C` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `C` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_D` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `D` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_E` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `E` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_F` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `F` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_G` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `G` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_H` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `H` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_I` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `I` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_J` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `J` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_K` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `K` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_L` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `L` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_M` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `M` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_N` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `N` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_O` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `O` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_P` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `P` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_Q` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `Q` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_R` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `R` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_S` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `S` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_T` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `T` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_U` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `U` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_V` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `V` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_X` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `X` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_Y` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `Y` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/api/mod.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | #[derive(Clone, Copy, PartialEq, Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_Z` [INFO] [stdout] ... [INFO] [stdout] 360 | make_generics! {A B C D E F G H I J K L M N O P Q R S T U V X Y Z} [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `Z` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` which comes from the expansion of the macro `make_generics` (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] --> vm/src/core/interpreter.rs:332:15 [INFO] [stdout] | [INFO] [stdout] 332 | fn as_ref(&self) -> &Expr { [INFO] [stdout] | ^^^^^ ----- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 332 | fn as_ref(&self) -> &Expr<'_> { [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] --> vm/src/macros.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Trace, Default)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_MacroEnv` [INFO] [stdout] 336 | #[gluon(gluon_vm)] [INFO] [stdout] 337 | pub struct MacroEnv { [INFO] [stdout] | -------- `MacroEnv` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/primitives.rs:710:10 [INFO] [stdout] | [INFO] [stdout] 710 | #[derive(Pushable, VmType)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Pushable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PUSHABLE_FOR_Component` [INFO] [stdout] ... [INFO] [stdout] 713 | pub enum Component<'a> { [INFO] [stdout] | --------- `Component` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Pushable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Pushable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Pushable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/primitives.rs:710:20 [INFO] [stdout] | [INFO] [stdout] 710 | #[derive(Pushable, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Component` [INFO] [stdout] ... [INFO] [stdout] 713 | pub enum Component<'a> { [INFO] [stdout] | --------- `Component` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/primitives.rs:721:10 [INFO] [stdout] | [INFO] [stdout] 721 | #[derive(Userdata, Debug, VmType)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Userdata` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_USERDATA_FOR_Metadata` [INFO] [stdout] ... [INFO] [stdout] 724 | pub struct Metadata(fs::Metadata); [INFO] [stdout] | -------- `Metadata` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Userdata` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Userdata` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Userdata` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/primitives.rs:721:27 [INFO] [stdout] | [INFO] [stdout] 721 | #[derive(Userdata, Debug, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Metadata` [INFO] [stdout] ... [INFO] [stdout] 724 | pub struct Metadata(fs::Metadata); [INFO] [stdout] | -------- `Metadata` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/primitives.rs:730:10 [INFO] [stdout] | [INFO] [stdout] 730 | #[derive(Userdata, Debug, VmType)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Userdata` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_USERDATA_FOR_DirEntry` [INFO] [stdout] ... [INFO] [stdout] 733 | pub struct DirEntry(fs::DirEntry); [INFO] [stdout] | -------- `DirEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Userdata` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Userdata` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Userdata` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/primitives.rs:730:27 [INFO] [stdout] | [INFO] [stdout] 730 | #[derive(Userdata, Debug, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_DirEntry` [INFO] [stdout] ... [INFO] [stdout] 733 | pub struct DirEntry(fs::DirEntry); [INFO] [stdout] | -------- `DirEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/primitives.rs:863:26 [INFO] [stdout] | [INFO] [stdout] 863 | #[derive(Debug, Default, VmType, Userdata, Trace)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_StringBuf` [INFO] [stdout] ... [INFO] [stdout] 866 | pub(crate) struct StringBuf(Mutex, PhantomData); [INFO] [stdout] | --------- `StringBuf` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/primitives.rs:863:34 [INFO] [stdout] | [INFO] [stdout] 863 | #[derive(Debug, Default, VmType, Userdata, Trace)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Userdata` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_USERDATA_FOR_StringBuf` [INFO] [stdout] ... [INFO] [stdout] 866 | pub(crate) struct StringBuf(Mutex, PhantomData); [INFO] [stdout] | --------- `StringBuf` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Userdata` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Userdata` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Userdata` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/primitives.rs:863:44 [INFO] [stdout] | [INFO] [stdout] 863 | #[derive(Debug, Default, VmType, Userdata, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_StringBuf` [INFO] [stdout] ... [INFO] [stdout] 866 | pub(crate) struct StringBuf(Mutex, PhantomData); [INFO] [stdout] | --------- `StringBuf` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/primitives.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_Slice` and up 2 bodies [INFO] [stdout] 69 | #[gluon(gluon_vm)] [INFO] [stdout] 70 | struct Slice<'a> { [INFO] [stdout] | ----- `Slice` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/primitives.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_Append` and up 2 bodies [INFO] [stdout] 118 | #[gluon(gluon_vm)] [INFO] [stdout] 119 | struct Append<'b> { [INFO] [stdout] | ------ `Append` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/primitives.rs:251:18 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_StrAppend` and up 2 bodies [INFO] [stdout] 252 | #[gluon(gluon_vm)] [INFO] [stdout] 253 | struct StrAppend<'b> { [INFO] [stdout] | --------- `StrAppend` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/reference.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Reference` [INFO] [stdout] ... [INFO] [stdout] 15 | pub struct Reference { [INFO] [stdout] | --------- `Reference` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/stack.rs:184:26 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn new(function: &GcPtr) -> gc::Borrow { [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] 184 | pub fn new(function: &GcPtr) -> gc::Borrow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/stack.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | fn to_state(&self) -> gc::Borrow; [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] 202 | fn to_state(&self) -> gc::Borrow<'_, State>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/stack.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | fn to_state(&self) -> gc::Borrow { [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] 213 | fn to_state(&self) -> gc::Borrow<'_, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/stack.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | fn to_state(&self) -> gc::Borrow { [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] 239 | fn to_state(&self) -> gc::Borrow<'_, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/stack.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | fn to_state(&self) -> gc::Borrow { [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] 260 | fn to_state(&self) -> gc::Borrow<'_, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/stack.rs:335:17 [INFO] [stdout] | [INFO] [stdout] 335 | fn to_state(&self) -> gc::Borrow> [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] 335 | fn to_state(&self) -> gc::Borrow<'_, Frame> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/stack.rs:354:22 [INFO] [stdout] | [INFO] [stdout] 354 | fn from_state(&self) -> gc::Borrow> [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] 354 | fn from_state(&self) -> gc::Borrow<'_, Frame> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/stack.rs:515:17 [INFO] [stdout] | [INFO] [stdout] 515 | pub fn last(&self) -> Option { [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] 515 | pub fn last(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/stack.rs:520:24 [INFO] [stdout] | [INFO] [stdout] 520 | pub fn get_variant(&self, index: VmIndex) -> Option { [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] 520 | pub fn get_variant(&self, index: VmIndex) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/stack.rs:549:29 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn current_frame(&mut self) -> StackFrame [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] 549 | pub fn current_frame(&mut self) -> StackFrame<'_, S> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/stack.rs:721:22 [INFO] [stdout] | [INFO] [stdout] 721 | pub fn frame_mut(&mut self) -> FrameViewMut { [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] 721 | pub fn frame_mut(&mut self) -> FrameViewMut<'_, S> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/stack.rs:811:24 [INFO] [stdout] | [INFO] [stdout] 811 | pub fn get_variant(&self, index: VmIndex) -> Option { [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] 811 | pub fn get_variant(&self, index: VmIndex) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/stack.rs:899:34 [INFO] [stdout] | [INFO] [stdout] 899 | pub(crate) fn current(stack: &mut Stack) -> StackFrame [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] 899 | pub(crate) fn current(stack: &mut Stack) -> StackFrame<'_, S> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/stack.rs:952:22 [INFO] [stdout] | [INFO] [stdout] 952 | pub fn get_upvar(&self, index: VmIndex) -> Variants { [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] 952 | pub fn get_upvar(&self, index: VmIndex) -> Variants<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:260:24 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn get_variant(&self) -> Variants { [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] 260 | pub fn get_variant(&self) -> Variants<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 394 | sync::RwLockReadGuard, [INFO] [stdout] | --------------------------------- the same lifetime is hidden here [INFO] [stdout] 395 | MutexGuard, [INFO] [stdout] | ------------------- 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] 394 ~ sync::RwLockReadGuard<'_, ThreadSlab>, [INFO] [stdout] 395 ~ MutexGuard<'_, Context>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:964:28 [INFO] [stdout] | [INFO] [stdout] 964 | pub fn current_context(&self) -> ActiveThread { [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] 964 | pub fn current_context(&self) -> ActiveThread<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:971:22 [INFO] [stdout] | [INFO] [stdout] 971 | fn owned_context(&self) -> OwnedContext { [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] 971 | fn owned_context(&self) -> OwnedContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:983:34 [INFO] [stdout] | [INFO] [stdout] 983 | pub(crate) fn parent_threads(&self) -> sync::RwLockWriteGuard { [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] 983 | pub(crate) fn parent_threads(&self) -> sync::RwLockWriteGuard<'_, ThreadSlab> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:1070:16 [INFO] [stdout] | [INFO] [stdout] 1070 | fn context(&self) -> OwnedContext; [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] 1070 | fn context(&self) -> OwnedContext<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:1131:15 [INFO] [stdout] | [INFO] [stdout] 1131 | fn resume(&self, cx: &mut task::Context<'_>) -> Poll>; [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] 1131 | fn resume(&self, cx: &mut task::Context<'_>) -> Poll>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:1140:16 [INFO] [stdout] | [INFO] [stdout] 1140 | fn context(&self) -> OwnedContext { [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] 1140 | fn context(&self) -> OwnedContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:1242:15 [INFO] [stdout] | [INFO] [stdout] 1242 | fn resume(&self, cx: &mut task::Context<'_>) -> Poll> { [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] 1242 | fn resume(&self, cx: &mut task::Context<'_>) -> Poll>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:1340:23 [INFO] [stdout] | [INFO] [stdout] 1340 | pub fn stack_info(&self, level: usize) -> Option { [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] 1340 | pub fn stack_info(&self, level: usize) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:1427:19 [INFO] [stdout] | [INFO] [stdout] 1427 | pub fn locals(&self) -> LocalIter { [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] 1427 | pub fn locals(&self) -> LocalIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:1523:9 [INFO] [stdout] | [INFO] [stdout] 1523 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 1527 | ) -> Result { [INFO] [stdout] | -------- 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] 1527 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 1550 | ) -> Result { [INFO] [stdout] | -------- 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] 1550 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:1568:26 [INFO] [stdout] | [INFO] [stdout] 1568 | pub fn alloc_with(&mut self, thread: &Thread, data: D) -> Result> [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] 1568 | pub fn alloc_with(&mut self, thread: &Thread, data: D) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:1576:34 [INFO] [stdout] | [INFO] [stdout] 1576 | pub fn alloc_ignore_limit(&mut self, data: D) -> GcRef [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] 1576 | pub fn alloc_ignore_limit(&mut self, data: D) -> GcRef<'_, D::Value> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:1633:21 [INFO] [stdout] | [INFO] [stdout] 1633 | pub fn alloc(&mut self, data: D) -> Result> [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] 1633 | pub fn alloc(&mut self, data: D) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:1641:27 [INFO] [stdout] | [INFO] [stdout] 1641 | pub fn alloc_owned(&mut self, data: D) -> Result> [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 alloc_owned(&mut self, data: D) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:1655:23 [INFO] [stdout] | [INFO] [stdout] 1655 | pub fn debug_info(&self) -> DebugInfo { [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] 1655 | pub fn debug_info(&self) -> DebugInfo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:1666:27 [INFO] [stdout] | [INFO] [stdout] 1666 | pub fn stack_frame(&mut self) -> StackFrame [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] 1666 | pub fn stack_frame(&mut self) -> StackFrame<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:1970:19 [INFO] [stdout] | [INFO] [stdout] 1970 | fn borrow_mut(&mut self) -> ExecuteContext { [INFO] [stdout] | ^^^^^^^^^ --------------------- [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 1970 | fn borrow_mut(&mut self) -> ExecuteContext<'_, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:2019:21 [INFO] [stdout] | [INFO] [stdout] 2019 | pub fn alloc(&mut self, data: D) -> Result> [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] 2019 | pub fn alloc(&mut self, data: D) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:2027:26 [INFO] [stdout] | [INFO] [stdout] 2027 | pub fn push_new_data(&mut self, tag: VmTag, fields: usize) -> Result { [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] 2027 | pub fn push_new_data(&mut self, tag: VmTag, fields: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:2046:9 [INFO] [stdout] | [INFO] [stdout] 2046 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 2049 | ) -> Result { [INFO] [stdout] | -------- 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] 2049 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:2067:30 [INFO] [stdout] | [INFO] [stdout] 2067 | pub fn push_new_alloc(&mut self, def: D) -> Result [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] 2067 | pub fn push_new_alloc(&mut self, def: D) -> Result> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/thread.rs:2890:20 [INFO] [stdout] | [INFO] [stdout] 2890 | pub fn context(&mut self) -> ExecuteContext { [INFO] [stdout] | ^^^^^^^^^ --------------------- [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 2890 | pub fn context(&mut self) -> ExecuteContext<'_, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> vm/src/types.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe { std::mem::transmute(self.0) } [INFO] [stdout] | -------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/vm.rs:722:24 [INFO] [stdout] | [INFO] [stdout] 722 | pub fn get_globals(&self) -> parking_lot::RwLockReadGuard { [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] 722 | pub fn get_globals(&self) -> parking_lot::RwLockReadGuard<'_, Globals> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/source_map.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn locals(&self, instruction_index: usize) -> LocalIter { [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] 132 | pub fn locals(&self, instruction_index: usize) -> LocalIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> vm/src/value.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | self as *const _ == other as *const _ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 50 - self as *const _ == other as *const _ [INFO] [stdout] 50 + std::ptr::addr_eq(self as *const _, other as *const _) [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] --> vm/src/value.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(PartialEq, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_ClosureData` [INFO] [stdout] ... [INFO] [stdout] 61 | pub struct ClosureData { [INFO] [stdout] | ----------- `ClosureData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/value.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_ClosureInitDef` [INFO] [stdout] 105 | #[gluon(gluon_vm)] [INFO] [stdout] 106 | pub struct ClosureInitDef(pub GcPtr, pub usize); [INFO] [stdout] | -------------- `ClosureInitDef` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/value.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | #[derive(Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_DataStruct` [INFO] [stdout] ... [INFO] [stdout] 166 | pub struct DataStruct { [INFO] [stdout] | ---------- `DataStruct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/value.rs:205:10 [INFO] [stdout] | [INFO] [stdout] 205 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_Def` [INFO] [stdout] 206 | #[gluon(gluon_vm)] [INFO] [stdout] 207 | pub(crate) struct Def<'b> { [INFO] [stdout] | --- `Def` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/value.rs:228:10 [INFO] [stdout] | [INFO] [stdout] 228 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_VariantDef` [INFO] [stdout] 229 | #[gluon(gluon_vm)] [INFO] [stdout] 230 | pub(crate) struct VariantDef<'b> { [INFO] [stdout] | ---------- `VariantDef` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/value.rs:257:10 [INFO] [stdout] | [INFO] [stdout] 257 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_UninitializedVariantDef` [INFO] [stdout] 258 | #[gluon(gluon_vm)] [INFO] [stdout] 259 | pub(crate) struct UninitializedVariantDef { [INFO] [stdout] | ----------------------- `UninitializedVariantDef` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/value.rs:280:10 [INFO] [stdout] | [INFO] [stdout] 280 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_RecordDef` [INFO] [stdout] 281 | #[gluon(gluon_vm)] [INFO] [stdout] 282 | pub(crate) struct RecordDef<'b> { [INFO] [stdout] | --------- `RecordDef` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/value.rs:381:21 [INFO] [stdout] | [INFO] [stdout] 381 | #[derive(PartialEq, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_ValueRepr` [INFO] [stdout] ... [INFO] [stdout] 395 | pub(crate) enum ValueRepr { [INFO] [stdout] | --------- `ValueRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/value.rs:501:25 [INFO] [stdout] | [INFO] [stdout] 501 | pub fn get_variants(&self) -> Variants { [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] 501 | pub fn get_variants(&self) -> Variants<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/value.rs:548:25 [INFO] [stdout] | [INFO] [stdout] 548 | pub fn get_variants(&self) -> Variants { [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] 548 | pub fn get_variants(&self) -> Variants<'_> { [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] --> vm/src/value.rs:893:17 [INFO] [stdout] | [INFO] [stdout] 893 | #[derive(Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_Callable` [INFO] [stdout] ... [INFO] [stdout] 907 | pub(crate) enum Callable { [INFO] [stdout] | -------- `Callable` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/value.rs:942:17 [INFO] [stdout] | [INFO] [stdout] 942 | #[derive(Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_PartialApplicationData` [INFO] [stdout] ... [INFO] [stdout] 950 | pub struct PartialApplicationData { [INFO] [stdout] | ---------------------- `PartialApplicationData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/value.rs:963:10 [INFO] [stdout] | [INFO] [stdout] 963 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_PartialApplicationDataDef` [INFO] [stdout] 964 | #[gluon(gluon_vm)] [INFO] [stdout] 965 | pub(crate) struct PartialApplicationDataDef<'b>(pub Callable, pub &'b [Value]); [INFO] [stdout] | ------------------------- `PartialApplicationDataDef` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/value.rs:1345:16 [INFO] [stdout] | [INFO] [stdout] 1345 | pub fn get(&self, index: usize) -> Option { [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] 1345 | pub fn get(&self, index: usize) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> vm/src/value.rs:1383:17 [INFO] [stdout] | [INFO] [stdout] 1383 | 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] 1383 | pub fn iter(&self) -> Iter<'_> { [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] --> vm/src/value.rs:1472:10 [INFO] [stdout] | [INFO] [stdout] 1472 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_ArrayDef` [INFO] [stdout] 1473 | #[gluon(gluon_vm)] [INFO] [stdout] 1474 | pub(crate) struct ArrayDef<'b>(pub &'b [Value]); [INFO] [stdout] | -------- `ArrayDef` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> vm/src/value.rs:1503:21 [INFO] [stdout] | [INFO] [stdout] 1503 | #[derive(PartialEq, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_ValueStr` [INFO] [stdout] ... [INFO] [stdout] 1506 | pub struct ValueStr(ValueArray); [INFO] [stdout] | -------- `ValueStr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fork` is never used [INFO] [stdout] --> src/import.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub(crate) trait ImportApi: Send + Sync { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 161 | fn fork( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/lift_io.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_LiftIo` [INFO] [stdout] 21 | #[gluon(crate_name = "vm")] [INFO] [stdout] 22 | pub(crate) struct LiftIo; [INFO] [stdout] | ------ `LiftIo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/query.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_UnrootedValue` [INFO] [stdout] 42 | #[gluon(crate_name = "gluon_vm")] [INFO] [stdout] 43 | pub struct UnrootedValue(RootedValue); [INFO] [stdout] | ------------- `UnrootedValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/io.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Userdata, Trace, VmType)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Userdata` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_USERDATA_FOR_GluonFile` [INFO] [stdout] ... [INFO] [stdout] 58 | struct GluonFile(Mutex>); [INFO] [stdout] | --------- `GluonFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Userdata` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Userdata` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Userdata` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/io.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Userdata, Trace, VmType)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_GluonFile` [INFO] [stdout] ... [INFO] [stdout] 58 | struct GluonFile(Mutex>); [INFO] [stdout] | --------- `GluonFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/io.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Userdata, Trace, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_GluonFile` [INFO] [stdout] ... [INFO] [stdout] 58 | struct GluonFile(Mutex>); [INFO] [stdout] | --------- `GluonFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/io.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Getable, VmType, Clone, Copy)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Getable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GETABLE_FOR_OpenOptions` [INFO] [stdout] 76 | #[gluon(crate_name = "::vm")] [INFO] [stdout] 77 | enum OpenOptions { [INFO] [stdout] | ----------- `OpenOptions` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Getable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Getable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Getable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/io.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Getable, VmType, Clone, Copy)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_OpenOptions` [INFO] [stdout] 76 | #[gluon(crate_name = "::vm")] [INFO] [stdout] 77 | enum OpenOptions { [INFO] [stdout] | ----------- `OpenOptions` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/process.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Getable, VmType)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Getable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GETABLE_FOR_CreateProcess` [INFO] [stdout] 5 | #[gluon(crate_name = "::vm")] [INFO] [stdout] 6 | struct CreateProcess<'a> { [INFO] [stdout] | ------------- `CreateProcess` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Getable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Getable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Getable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/process.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Getable, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_CreateProcess` [INFO] [stdout] 5 | #[gluon(crate_name = "::vm")] [INFO] [stdout] 6 | struct CreateProcess<'a> { [INFO] [stdout] | ------------- `CreateProcess` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/random.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug, Userdata, Trace, VmType)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Userdata` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_USERDATA_FOR_XorShiftRng` [INFO] [stdout] ... [INFO] [stdout] 21 | struct XorShiftRng(self::rand_xorshift::XorShiftRng); [INFO] [stdout] | ----------- `XorShiftRng` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Userdata` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Userdata` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Userdata` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/random.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug, Userdata, Trace, VmType)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_XorShiftRng` [INFO] [stdout] ... [INFO] [stdout] 21 | struct XorShiftRng(self::rand_xorshift::XorShiftRng); [INFO] [stdout] | ----------- `XorShiftRng` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/random.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug, Userdata, Trace, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_XorShiftRng` [INFO] [stdout] ... [INFO] [stdout] 21 | struct XorShiftRng(self::rand_xorshift::XorShiftRng); [INFO] [stdout] | ----------- `XorShiftRng` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/regex.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Userdata, Trace, VmType)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Userdata` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_USERDATA_FOR_Regex` [INFO] [stdout] ... [INFO] [stdout] 11 | struct Regex(regex::Regex); [INFO] [stdout] | ----- `Regex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Userdata` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Userdata` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Userdata` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/regex.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Userdata, Trace, VmType)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_Regex` [INFO] [stdout] ... [INFO] [stdout] 11 | struct Regex(regex::Regex); [INFO] [stdout] | ----- `Regex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/regex.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Userdata, Trace, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Regex` [INFO] [stdout] ... [INFO] [stdout] 11 | struct Regex(regex::Regex); [INFO] [stdout] | ----- `Regex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/regex.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Userdata, Trace, VmType)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Userdata` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_USERDATA_FOR_Error` [INFO] [stdout] ... [INFO] [stdout] 17 | struct Error(regex::Error); [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Userdata` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Userdata` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Userdata` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/regex.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Userdata, Trace, VmType)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_Error` [INFO] [stdout] ... [INFO] [stdout] 17 | struct Error(regex::Error); [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/regex.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Userdata, Trace, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Error` [INFO] [stdout] ... [INFO] [stdout] 17 | struct Error(regex::Error); [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/regex.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Pushable, VmType)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Pushable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PUSHABLE_FOR_Match` [INFO] [stdout] ... [INFO] [stdout] 34 | struct Match<'a> { [INFO] [stdout] | ----- `Match` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Pushable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Pushable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Pushable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/regex.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Pushable, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Match` [INFO] [stdout] ... [INFO] [stdout] 34 | struct Match<'a> { [INFO] [stdout] | ----- `Match` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fork` is never used [INFO] [stdout] --> src/import.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub(crate) trait ImportApi: Send + Sync { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 161 | fn fork( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/lift_io.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_LiftIo` [INFO] [stdout] 21 | #[gluon(crate_name = "vm")] [INFO] [stdout] 22 | pub(crate) struct LiftIo; [INFO] [stdout] | ------ `LiftIo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/query.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_UnrootedValue` [INFO] [stdout] 42 | #[gluon(crate_name = "gluon_vm")] [INFO] [stdout] 43 | pub struct UnrootedValue(RootedValue); [INFO] [stdout] | ------------- `UnrootedValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/io.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Userdata, Trace, VmType)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Userdata` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_USERDATA_FOR_GluonFile` [INFO] [stdout] ... [INFO] [stdout] 58 | struct GluonFile(Mutex>); [INFO] [stdout] | --------- `GluonFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Userdata` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Userdata` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Userdata` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/io.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Userdata, Trace, VmType)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_GluonFile` [INFO] [stdout] ... [INFO] [stdout] 58 | struct GluonFile(Mutex>); [INFO] [stdout] | --------- `GluonFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/io.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Userdata, Trace, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_GluonFile` [INFO] [stdout] ... [INFO] [stdout] 58 | struct GluonFile(Mutex>); [INFO] [stdout] | --------- `GluonFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/io.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Getable, VmType, Clone, Copy)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Getable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GETABLE_FOR_OpenOptions` [INFO] [stdout] 76 | #[gluon(crate_name = "::vm")] [INFO] [stdout] 77 | enum OpenOptions { [INFO] [stdout] | ----------- `OpenOptions` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Getable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Getable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Getable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/io.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Getable, VmType, Clone, Copy)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_OpenOptions` [INFO] [stdout] 76 | #[gluon(crate_name = "::vm")] [INFO] [stdout] 77 | enum OpenOptions { [INFO] [stdout] | ----------- `OpenOptions` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/process.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Getable, VmType)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Getable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GETABLE_FOR_CreateProcess` [INFO] [stdout] 5 | #[gluon(crate_name = "::vm")] [INFO] [stdout] 6 | struct CreateProcess<'a> { [INFO] [stdout] | ------------- `CreateProcess` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Getable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Getable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Getable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/process.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Getable, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_CreateProcess` [INFO] [stdout] 5 | #[gluon(crate_name = "::vm")] [INFO] [stdout] 6 | struct CreateProcess<'a> { [INFO] [stdout] | ------------- `CreateProcess` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/random.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug, Userdata, Trace, VmType)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Userdata` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_USERDATA_FOR_XorShiftRng` [INFO] [stdout] ... [INFO] [stdout] 21 | struct XorShiftRng(self::rand_xorshift::XorShiftRng); [INFO] [stdout] | ----------- `XorShiftRng` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Userdata` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Userdata` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Userdata` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/random.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug, Userdata, Trace, VmType)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_XorShiftRng` [INFO] [stdout] ... [INFO] [stdout] 21 | struct XorShiftRng(self::rand_xorshift::XorShiftRng); [INFO] [stdout] | ----------- `XorShiftRng` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/random.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug, Userdata, Trace, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_XorShiftRng` [INFO] [stdout] ... [INFO] [stdout] 21 | struct XorShiftRng(self::rand_xorshift::XorShiftRng); [INFO] [stdout] | ----------- `XorShiftRng` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/regex.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Userdata, Trace, VmType)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Userdata` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_USERDATA_FOR_Regex` [INFO] [stdout] ... [INFO] [stdout] 11 | struct Regex(regex::Regex); [INFO] [stdout] | ----- `Regex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Userdata` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Userdata` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Userdata` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/regex.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Userdata, Trace, VmType)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_Regex` [INFO] [stdout] ... [INFO] [stdout] 11 | struct Regex(regex::Regex); [INFO] [stdout] | ----- `Regex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/regex.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Userdata, Trace, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Regex` [INFO] [stdout] ... [INFO] [stdout] 11 | struct Regex(regex::Regex); [INFO] [stdout] | ----- `Regex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/regex.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Userdata, Trace, VmType)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Userdata` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_USERDATA_FOR_Error` [INFO] [stdout] ... [INFO] [stdout] 17 | struct Error(regex::Error); [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Userdata` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Userdata` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Userdata` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/regex.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Userdata, Trace, VmType)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_Error` [INFO] [stdout] ... [INFO] [stdout] 17 | struct Error(regex::Error); [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/regex.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Userdata, Trace, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Error` [INFO] [stdout] ... [INFO] [stdout] 17 | struct Error(regex::Error); [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/regex.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Pushable, VmType)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Pushable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PUSHABLE_FOR_Match` [INFO] [stdout] ... [INFO] [stdout] 34 | struct Match<'a> { [INFO] [stdout] | ----- `Match` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Pushable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Pushable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Pushable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/std_lib/regex.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Pushable, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Match` [INFO] [stdout] ... [INFO] [stdout] 34 | struct Match<'a> { [INFO] [stdout] | ----- `Match` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking gluon_c-api v0.18.2 (/opt/rustwide/workdir/c-api) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/tests/derive_vm_type.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Struct` [INFO] [stdout] 14 | #[allow(unused)] [INFO] [stdout] 15 | struct Struct { [INFO] [stdout] | ------ `Struct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/tests/derive_vm_type.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(VmType, Serialize, Deserialize)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Enum` [INFO] [stdout] 32 | #[allow(unused)] [INFO] [stdout] 33 | enum Enum { [INFO] [stdout] | ---- `Enum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/tests/derive_vm_type.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_NewtypeInner` [INFO] [stdout] 53 | #[allow(unused)] [INFO] [stdout] 54 | struct NewtypeInner(Struct); [INFO] [stdout] | ------------ `NewtypeInner` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/tests/derive_vm_type.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Newtype` [INFO] [stdout] ... [INFO] [stdout] 69 | struct Newtype(Struct); [INFO] [stdout] | ------- `Newtype` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `/opt/rustwide/target/debug/build/gluon_vm-f4aad721a82635a2/out/core/grammar.rs`: No such file or directory (os error 2) [INFO] [stdout] --> vm/src/core/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lalrpop_util::lalrpop_mod!( [INFO] [stdout] 22 | | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stdout] 23 | | #[allow(unused_parens)] [INFO] [stdout] 24 | | pub grammar, [INFO] [stdout] 25 | | "/core/grammar.rs" [INFO] [stdout] 26 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include` which comes from the expansion of the macro `lalrpop_util::lalrpop_mod` (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] --> codegen/tests/full.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, PartialEq, Getable, Pushable, VmType)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Getable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GETABLE_FOR_Struct` [INFO] [stdout] 17 | struct Struct { [INFO] [stdout] | ------ `Struct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Getable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Getable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Getable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/tests/full.rs:16:37 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, PartialEq, Getable, Pushable, VmType)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Pushable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PUSHABLE_FOR_Struct` [INFO] [stdout] 17 | struct Struct { [INFO] [stdout] | ------ `Struct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Pushable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Pushable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Pushable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/tests/full.rs:16:47 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, PartialEq, Getable, Pushable, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Struct` [INFO] [stdout] 17 | struct Struct { [INFO] [stdout] | ------ `Struct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/tests/full.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug, PartialEq, VmType, Pushable, Getable)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Newtype` [INFO] [stdout] 65 | struct Newtype(pub Struct); [INFO] [stdout] | ------- `Newtype` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/tests/full.rs:64:36 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug, PartialEq, VmType, Pushable, Getable)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Pushable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PUSHABLE_FOR_Newtype` [INFO] [stdout] 65 | struct Newtype(pub Struct); [INFO] [stdout] | ------- `Newtype` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Pushable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Pushable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Pushable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/tests/full.rs:64:46 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Debug, PartialEq, VmType, Pushable, Getable)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Getable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GETABLE_FOR_Newtype` [INFO] [stdout] 65 | struct Newtype(pub Struct); [INFO] [stdout] | ------- `Newtype` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Getable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Getable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Getable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gluon_vm` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/api.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Userdata, Trace)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Userdata` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_USERDATA_FOR_Test` [INFO] [stdout] 46 | struct Test(VmInt); [INFO] [stdout] | ---- `Test` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Userdata` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Userdata` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Userdata` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/api.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Userdata, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_Test` [INFO] [stdout] 46 | struct Test(VmInt); [INFO] [stdout] | ---- `Test` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/api.rs:500:33 [INFO] [stdout] | [INFO] [stdout] 500 | #[derive(Clone, Debug, Default, Userdata, Trace)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Userdata` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_USERDATA_FOR_NoisyDrop` [INFO] [stdout] 501 | struct NoisyDrop(Arc<()>); [INFO] [stdout] | --------- `NoisyDrop` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Userdata` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Userdata` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Userdata` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/api.rs:500:43 [INFO] [stdout] | [INFO] [stdout] 500 | #[derive(Clone, Debug, Default, Userdata, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_NoisyDrop` [INFO] [stdout] 501 | struct NoisyDrop(Arc<()>); [INFO] [stdout] | --------- `NoisyDrop` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/api.rs:510:21 [INFO] [stdout] | [INFO] [stdout] 510 | #[derive(Debug, Userdata, Trace)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Userdata` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_USERDATA_FOR_Cyclic` and up 2 bodies [INFO] [stdout] 511 | struct Cyclic(OpaqueValue); [INFO] [stdout] | ------ `Cyclic` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Userdata` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Userdata` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Userdata` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/api.rs:510:31 [INFO] [stdout] | [INFO] [stdout] 510 | #[derive(Debug, Userdata, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_Cyclic` and up 2 bodies [INFO] [stdout] 511 | struct Cyclic(OpaqueValue); [INFO] [stdout] | ------ `Cyclic` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/api.rs:556:30 [INFO] [stdout] | [INFO] [stdout] 556 | #[derive(Debug, Default, Userdata, Trace)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Userdata` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_USERDATA_FOR_Cyclic` and up 2 bodies [INFO] [stdout] 557 | struct Cyclic(gc::mutex::Mutex>>); [INFO] [stdout] | ------ `Cyclic` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Userdata` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Userdata` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Userdata` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/api.rs:556:40 [INFO] [stdout] | [INFO] [stdout] 556 | #[derive(Debug, Default, Userdata, Trace)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_Cyclic` and up 2 bodies [INFO] [stdout] 557 | struct Cyclic(gc::mutex::Mutex>>); [INFO] [stdout] | ------ `Cyclic` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/api.rs:687:21 [INFO] [stdout] | [INFO] [stdout] 687 | #[derive(Debug, Userdata, Trace, VmType, Clone, PartialEq)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Userdata` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_USERDATA_FOR_Test` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 690 | struct Test(VmInt); [INFO] [stdout] | ---- `Test` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Userdata` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Userdata` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Userdata` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/api.rs:687:31 [INFO] [stdout] | [INFO] [stdout] 687 | #[derive(Debug, Userdata, Trace, VmType, Clone, PartialEq)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_Test` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 690 | struct Test(VmInt); [INFO] [stdout] | ---- `Test` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/api.rs:687:38 [INFO] [stdout] | [INFO] [stdout] 687 | #[derive(Debug, Userdata, Trace, VmType, Clone, PartialEq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Test` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 690 | struct Test(VmInt); [INFO] [stdout] | ---- `Test` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/marshalling.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Getable, Pushable, VmType)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Getable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GETABLE_FOR_Either` [INFO] [stdout] 62 | enum Either { [INFO] [stdout] | ------ `Either` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Getable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Getable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Getable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/marshalling.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Getable, Pushable, VmType)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Pushable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PUSHABLE_FOR_Either` [INFO] [stdout] 62 | enum Either { [INFO] [stdout] | ------ `Either` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Pushable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Pushable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Pushable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/marshalling.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Getable, Pushable, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Either` [INFO] [stdout] 62 | enum Either { [INFO] [stdout] | ------ `Either` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/marshalling.rs:324:10 [INFO] [stdout] | [INFO] [stdout] 324 | #[derive(Userdata, Trace, Clone, Debug, VmType)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Userdata` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_USERDATA_FOR_WindowHandle` [INFO] [stdout] ... [INFO] [stdout] 328 | struct WindowHandle { [INFO] [stdout] | ------------ `WindowHandle` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Userdata` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Userdata` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Userdata` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/marshalling.rs:324:20 [INFO] [stdout] | [INFO] [stdout] 324 | #[derive(Userdata, Trace, Clone, Debug, VmType)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_WindowHandle` [INFO] [stdout] ... [INFO] [stdout] 328 | struct WindowHandle { [INFO] [stdout] | ------------ `WindowHandle` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/marshalling.rs:324:41 [INFO] [stdout] | [INFO] [stdout] 324 | #[derive(Userdata, Trace, Clone, Debug, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_WindowHandle` [INFO] [stdout] ... [INFO] [stdout] 328 | struct WindowHandle { [INFO] [stdout] | ------------ `WindowHandle` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/marshalling.rs:391:28 [INFO] [stdout] | [INFO] [stdout] 391 | #[derive(Debug, PartialEq, VmType, Getable)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_List` [INFO] [stdout] ... [INFO] [stdout] 395 | enum List { [INFO] [stdout] | ---- `List` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/marshalling.rs:391:36 [INFO] [stdout] | [INFO] [stdout] 391 | #[derive(Debug, PartialEq, VmType, Getable)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Getable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_GETABLE_FOR_List` [INFO] [stdout] ... [INFO] [stdout] 395 | enum List { [INFO] [stdout] | ---- `List` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Getable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Getable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Getable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/tests/derive_pushable.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Pushable, VmType, Serialize, Deserialize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Pushable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PUSHABLE_FOR_Struct` [INFO] [stdout] 24 | #[gluon(vm_type = "types.Struct")] [INFO] [stdout] 25 | struct Struct { [INFO] [stdout] | ------ `Struct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Pushable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Pushable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Pushable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/tests/derive_pushable.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Pushable, VmType, Serialize, Deserialize)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Struct` [INFO] [stdout] 24 | #[gluon(vm_type = "types.Struct")] [INFO] [stdout] 25 | struct Struct { [INFO] [stdout] | ------ `Struct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Empty` is never constructed [INFO] [stdout] --> codegen/tests/derive_userdata.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | struct Empty; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] --> codegen/tests/derive_userdata.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Userdata, Trace, Debug, VmType)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Userdata` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_USERDATA_FOR_WindowHandle` [INFO] [stdout] 20 | #[gluon(vm_type = "WindowHandle")] [INFO] [stdout] 21 | struct WindowHandle { [INFO] [stdout] | ------------ `WindowHandle` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Userdata` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Userdata` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Userdata` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/tests/derive_userdata.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Userdata, Trace, Debug, VmType)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_WindowHandle` [INFO] [stdout] 20 | #[gluon(vm_type = "WindowHandle")] [INFO] [stdout] 21 | struct WindowHandle { [INFO] [stdout] | ------------ `WindowHandle` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/tests/derive_userdata.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Userdata, Trace, Debug, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_WindowHandle` [INFO] [stdout] 20 | #[gluon(vm_type = "WindowHandle")] [INFO] [stdout] 21 | struct WindowHandle { [INFO] [stdout] | ------------ `WindowHandle` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/tests/derive_userdata.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Userdata, Trace, Debug, VmType)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Userdata` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_USERDATA_FOR_Empty` [INFO] [stdout] 75 | #[gluon(vm_type = "Empty")] [INFO] [stdout] 76 | struct Empty; [INFO] [stdout] | ----- `Empty` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Userdata` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Userdata` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Userdata` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/tests/derive_userdata.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Userdata, Trace, Debug, VmType)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Trace` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_TRAVERSEABLE_FOR_Empty` [INFO] [stdout] 75 | #[gluon(vm_type = "Empty")] [INFO] [stdout] 76 | struct Empty; [INFO] [stdout] | ----- `Empty` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Trace` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Trace` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/tests/derive_userdata.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Userdata, Trace, Debug, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Empty` [INFO] [stdout] 75 | #[gluon(vm_type = "Empty")] [INFO] [stdout] 76 | struct Empty; [INFO] [stdout] | ----- `Empty` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/tests/derive_pushable.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Pushable, VmType)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Pushable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PUSHABLE_FOR_GenericStruct` [INFO] [stdout] 82 | #[gluon(vm_type = "types.GenericStruct")] [INFO] [stdout] 83 | struct GenericStruct { [INFO] [stdout] | ------------- `GenericStruct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Pushable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Pushable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Pushable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/tests/derive_pushable.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Pushable, VmType)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_GenericStruct` [INFO] [stdout] 82 | #[gluon(vm_type = "types.GenericStruct")] [INFO] [stdout] 83 | struct GenericStruct { [INFO] [stdout] | ------------- `GenericStruct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/tests/derive_pushable.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | #[derive(Pushable, VmType, Serialize, Deserialize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Pushable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PUSHABLE_FOR_LifetimeStruct` [INFO] [stdout] 139 | #[gluon(vm_type = "types.LifetimeStruct")] [INFO] [stdout] 140 | struct LifetimeStruct<'a> { [INFO] [stdout] | -------------- `LifetimeStruct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Pushable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Pushable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Pushable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/tests/derive_pushable.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | #[derive(Pushable, VmType, Serialize, Deserialize)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_LifetimeStruct` [INFO] [stdout] 139 | #[gluon(vm_type = "types.LifetimeStruct")] [INFO] [stdout] 140 | struct LifetimeStruct<'a> { [INFO] [stdout] | -------------- `LifetimeStruct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/tests/derive_pushable.rs:189:10 [INFO] [stdout] | [INFO] [stdout] 189 | #[derive(Pushable, VmType, Serialize, Deserialize)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Pushable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_PUSHABLE_FOR_Enum` [INFO] [stdout] 190 | #[gluon(vm_type = "types.Enum")] [INFO] [stdout] 191 | enum Enum { [INFO] [stdout] | ---- `Enum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Pushable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Pushable` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Pushable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> codegen/tests/derive_pushable.rs:189:20 [INFO] [stdout] | [INFO] [stdout] 189 | #[derive(Pushable, VmType, Serialize, Deserialize)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `VmType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_VM_TYPE_FOR_Enum` [INFO] [stdout] 190 | #[gluon(vm_type = "types.Enum")] [INFO] [stdout] 191 | enum Enum { [INFO] [stdout] | ---- `Enum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VmType` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VmType` may come from an old version of the `gluon_codegen` crate, try updating your dependency with `cargo update -p gluon_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `VmType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dfd00d3422fddce4d19ba62fb80f5e09956fe5806c320744a197586bc63c8b1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfd00d3422fddce4d19ba62fb80f5e09956fe5806c320744a197586bc63c8b1a", kill_on_drop: false }` [INFO] [stdout] dfd00d3422fddce4d19ba62fb80f5e09956fe5806c320744a197586bc63c8b1a