[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 try#1f5783cbeb5da8b38566d718631d016891e9c912 for pr-142704 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatklad%2Ftom" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matklad/tom on toolchain 1f5783cbeb5da8b38566d718631d016891e9c912 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [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" "+1f5783cbeb5da8b38566d718631d016891e9c912" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a09be1b9d2fc4b12e4277672ab69323189e5c711556e08920b908305b45db16d [INFO] running `Command { std: "docker" "start" "-a" "a09be1b9d2fc4b12e4277672ab69323189e5c711556e08920b908305b45db16d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a09be1b9d2fc4b12e4277672ab69323189e5c711556e08920b908305b45db16d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a09be1b9d2fc4b12e4277672ab69323189e5c711556e08920b908305b45db16d", kill_on_drop: false }` [INFO] [stdout] a09be1b9d2fc4b12e4277672ab69323189e5c711556e08920b908305b45db16d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53db3f579bf30473c2f64753867c4adaaecc579d77e973497fb6ee8912919f04 [INFO] running `Command { std: "docker" "start" "-a" "53db3f579bf30473c2f64753867c4adaaecc579d77e973497fb6ee8912919f04", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking rand_core v0.4.2 [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] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Compiling syn v1.0.27 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking smol_str v0.1.15 [INFO] [stderr] Checking text_unit v0.1.10 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking uncover v0.1.1 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Checking drop_bomb v0.1.4 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking rowan v0.1.4 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking heck v0.3.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking pico-args v0.3.1 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking object v0.19.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 [INFO] [stderr] Checking addr2line v0.12.1 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking m_lexer v0.0.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking crossbeam-utils v0.5.0 [INFO] [stderr] Checking xtask v0.0.0 (/opt/rustwide/workdir/xtask) [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking tom_syntax v0.0.1 (/opt/rustwide/workdir/crates/tom_syntax) [INFO] [stderr] Checking crossbeam-channel v0.2.6 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking superslice v0.1.0 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/lib.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn cst(&self) -> SyntaxNodeRef { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn cst(&self) -> SyntaxNodeRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 74 | pub fn ast(&self) -> ast::Doc<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ --- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 97 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:138:37 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:176:37 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 176 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:214:37 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ ----------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 214 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:249:37 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 249 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:287:37 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ --- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 287 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:329:37 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 329 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:383:37 [INFO] [stdout] | [INFO] [stdout] 383 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ --------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 383 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:421:37 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 421 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:456:37 [INFO] [stdout] | [INFO] [stdout] 456 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 456 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking flexi_logger v0.10.7 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:491:37 [INFO] [stdout] | [INFO] [stdout] 491 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ ---- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 491 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:526:37 [INFO] [stdout] | [INFO] [stdout] 526 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ ------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 526 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:561:37 [INFO] [stdout] | [INFO] [stdout] 561 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ ---- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 561 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:596:37 [INFO] [stdout] | [INFO] [stdout] 596 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ -------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 596 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/lib.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn cst(&self) -> SyntaxNodeRef { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn cst(&self) -> SyntaxNodeRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 74 | pub fn ast(&self) -> ast::Doc<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ --- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 97 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:138:37 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option
{ [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:176:37 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ ---------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 176 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:214:37 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ ----------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 214 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:249:37 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 249 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:287:37 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ --- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 287 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:329:37 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 329 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:383:37 [INFO] [stdout] | [INFO] [stdout] 383 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ --------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 383 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:421:37 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 421 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:456:37 [INFO] [stdout] | [INFO] [stdout] 456 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 456 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:491:37 [INFO] [stdout] | [INFO] [stdout] 491 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ ---- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 491 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:526:37 [INFO] [stdout] | [INFO] [stdout] 526 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ ------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 526 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:561:37 [INFO] [stdout] | [INFO] [stdout] 561 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ ---- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 561 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:596:37 [INFO] [stdout] | [INFO] [stdout] 596 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^ -------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 596 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking backtrace v0.3.48 [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 43.27s [INFO] running `Command { std: "docker" "inspect" "53db3f579bf30473c2f64753867c4adaaecc579d77e973497fb6ee8912919f04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53db3f579bf30473c2f64753867c4adaaecc579d77e973497fb6ee8912919f04", kill_on_drop: false }` [INFO] [stdout] 53db3f579bf30473c2f64753867c4adaaecc579d77e973497fb6ee8912919f04