[INFO] cloning repository https://github.com/matklad/tom [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matklad/tom" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatklad%2Ftom", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatklad%2Ftom'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7753d8aca79bbc166d5a28b81595dda2a5e24713 [INFO] checking matklad/tom against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatklad%2Ftom" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/matklad/tom [INFO] finished tweaking git repo https://github.com/matklad/tom [INFO] tweaked toml for git repo https://github.com/matklad/tom written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/matklad/tom on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/matklad/tom 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded url_serde v0.2.0 [INFO] [stderr] Downloaded smol_str v0.1.15 [INFO] [stderr] Downloaded m_lexer v0.0.4 [INFO] [stderr] Downloaded drop_bomb v0.1.4 [INFO] [stderr] Downloaded pico-args v0.3.1 [INFO] [stderr] Downloaded owning_ref v0.4.1 [INFO] [stderr] Downloaded text_unit v0.1.10 [INFO] [stderr] Downloaded uncover v0.1.1 [INFO] [stderr] Downloaded superslice v0.1.0 [INFO] [stderr] Downloaded rowan v0.1.4 [INFO] [stderr] Downloaded flexi_logger v0.10.7 [INFO] [stderr] Downloaded crossbeam-epoch v0.6.1 [INFO] [stderr] Downloaded languageserver-types v0.51.1 [INFO] [stderr] Downloaded crossbeam-channel v0.2.6 [INFO] [stderr] Downloaded backtrace v0.3.48 [INFO] [stderr] Downloaded addr2line v0.12.1 [INFO] [stderr] Downloaded gen_lsp_server v0.1.0 [INFO] [stderr] Downloaded object v0.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c76e922e4b941edc98f8c351eea767395b72c981975c4881d084acffafce2070 [INFO] running `Command { std: "docker" "start" "-a" "c76e922e4b941edc98f8c351eea767395b72c981975c4881d084acffafce2070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c76e922e4b941edc98f8c351eea767395b72c981975c4881d084acffafce2070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c76e922e4b941edc98f8c351eea767395b72c981975c4881d084acffafce2070", kill_on_drop: false }` [INFO] [stdout] c76e922e4b941edc98f8c351eea767395b72c981975c4881d084acffafce2070 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d260af140d7c71f24a3ea5016e72f1208fa7fc678d037f157ed3421d96bd630 [INFO] running `Command { std: "docker" "start" "-a" "2d260af140d7c71f24a3ea5016e72f1208fa7fc678d037f157ed3421d96bd630", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling syn v1.0.27 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking text_unit v0.1.10 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking smol_str v0.1.15 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking uncover v0.1.1 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking drop_bomb v0.1.4 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking heck v0.3.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking object v0.19.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking pico-args v0.3.1 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking crossbeam-utils v0.5.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking superslice v0.1.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking xtask v0.0.0 (/opt/rustwide/workdir/xtask) [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking rowan v0.1.4 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking crossbeam-channel v0.2.6 [INFO] [stderr] Checking addr2line v0.12.1 [INFO] [stderr] Checking backtrace v0.3.48 [INFO] [stderr] Checking m_lexer v0.0.4 [INFO] [stderr] Checking flexi_logger v0.10.7 [INFO] [stderr] Checking tom_syntax v0.0.1 (/opt/rustwide/workdir/crates/tom_syntax) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/lib.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn cst(&self) -> SyntaxNodeRef { [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] 70 | pub fn cst(&self) -> SyntaxNodeRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/lib.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn ast(&self) -> ast::Doc { [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] 74 | pub fn ast(&self) -> ast::Doc<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:97:52 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 97 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:138:52 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 138 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:176:52 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 176 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:214:52 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 214 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:249:52 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 249 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:287:52 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 287 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:329:52 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 329 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:383:52 [INFO] [stdout] | [INFO] [stdout] 383 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 383 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:421:52 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 421 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:456:52 [INFO] [stdout] | [INFO] [stdout] 456 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 456 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:491:52 [INFO] [stdout] | [INFO] [stdout] 491 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 491 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:526:52 [INFO] [stdout] | [INFO] [stdout] 526 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 526 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:561:52 [INFO] [stdout] | [INFO] [stdout] 561 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 561 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:596:52 [INFO] [stdout] | [INFO] [stdout] 596 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 596 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/lib.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn cst(&self) -> SyntaxNodeRef { [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] 70 | pub fn cst(&self) -> SyntaxNodeRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/lib.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn ast(&self) -> ast::Doc { [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] 74 | pub fn ast(&self) -> ast::Doc<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:97:52 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 97 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:138:52 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option
{ [INFO] [stdout] | -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 138 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:176:52 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 176 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:214:52 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 214 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:249:52 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 249 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:287:52 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 287 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:329:52 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 329 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:383:52 [INFO] [stdout] | [INFO] [stdout] 383 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 383 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:421:52 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 421 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:456:52 [INFO] [stdout] | [INFO] [stdout] 456 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 456 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:491:52 [INFO] [stdout] | [INFO] [stdout] 491 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 491 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:526:52 [INFO] [stdout] | [INFO] [stdout] 526 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 526 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:561:52 [INFO] [stdout] | [INFO] [stdout] 561 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 561 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:596:52 [INFO] [stdout] | [INFO] [stdout] 596 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | -- ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 596 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking url_serde v0.2.0 [INFO] [stderr] Checking languageserver-types v0.51.1 [INFO] [stderr] Checking gen_lsp_server v0.1.0 [INFO] [stderr] Checking tom v0.1.0 (/opt/rustwide/workdir/crates/tom) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/tom/src/req.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SyntaxTreeParams` [INFO] [stdout] 19 | #[serde(rename_all = "camelCase")] [INFO] [stdout] 20 | pub struct SyntaxTreeParams { [INFO] [stdout] | ---------------- `SyntaxTreeParams` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/tom/src/req.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ExtendSelectionParams` [INFO] [stdout] 33 | #[serde(rename_all = "camelCase")] [INFO] [stdout] 34 | pub struct ExtendSelectionParams { [INFO] [stdout] | --------------------- `ExtendSelectionParams` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/tom/src/req.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Serialize, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ExtendSelectionResult` [INFO] [stdout] 40 | #[serde(rename_all = "camelCase")] [INFO] [stdout] 41 | pub struct ExtendSelectionResult { [INFO] [stdout] | --------------------- `ExtendSelectionResult` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/tom/src/req.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Serialize, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PublishDecorationsParams` [INFO] [stdout] 61 | #[serde(rename_all = "camelCase")] [INFO] [stdout] 62 | pub struct PublishDecorationsParams { [INFO] [stdout] | ------------------------ `PublishDecorationsParams` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/tom/src/req.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Serialize, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Decoration` [INFO] [stdout] 69 | #[serde(rename_all = "camelCase")] [INFO] [stdout] 70 | pub struct Decoration { [INFO] [stdout] | ---------- `Decoration` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/tom/src/req.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SyntaxTreeParams` [INFO] [stdout] 19 | #[serde(rename_all = "camelCase")] [INFO] [stdout] 20 | pub struct SyntaxTreeParams { [INFO] [stdout] | ---------------- `SyntaxTreeParams` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/tom/src/req.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ExtendSelectionParams` [INFO] [stdout] 33 | #[serde(rename_all = "camelCase")] [INFO] [stdout] 34 | pub struct ExtendSelectionParams { [INFO] [stdout] | --------------------- `ExtendSelectionParams` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/tom/src/req.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Serialize, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ExtendSelectionResult` [INFO] [stdout] 40 | #[serde(rename_all = "camelCase")] [INFO] [stdout] 41 | pub struct ExtendSelectionResult { [INFO] [stdout] | --------------------- `ExtendSelectionResult` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/tom/src/req.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Serialize, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PublishDecorationsParams` [INFO] [stdout] 61 | #[serde(rename_all = "camelCase")] [INFO] [stdout] 62 | pub struct PublishDecorationsParams { [INFO] [stdout] | ------------------------ `PublishDecorationsParams` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/tom/src/req.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Serialize, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Decoration` [INFO] [stdout] 69 | #[serde(rename_all = "camelCase")] [INFO] [stdout] 70 | pub struct Decoration { [INFO] [stdout] | ---------- `Decoration` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized] target(s) in 27.84s [INFO] running `Command { std: "docker" "inspect" "2d260af140d7c71f24a3ea5016e72f1208fa7fc678d037f157ed3421d96bd630", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d260af140d7c71f24a3ea5016e72f1208fa7fc678d037f157ed3421d96bd630", kill_on_drop: false }` [INFO] [stdout] 2d260af140d7c71f24a3ea5016e72f1208fa7fc678d037f157ed3421d96bd630