[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] testing matklad/tom against nightly-2025-01-18 for randomize-layout-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatklad%2Ftom" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matklad/tom on toolchain nightly-2025-01-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-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-4-tc1/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" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winapi-util v0.1.5 [INFO] [stderr] Downloaded same-file v1.0.6 [INFO] [stderr] Downloaded gen_lsp_server v0.1.0 [INFO] [stderr] Downloaded time v0.1.43 [INFO] [stderr] Downloaded stable_deref_trait v1.1.1 [INFO] [stderr] Downloaded fuchsia-cprng v0.1.1 [INFO] [stderr] Downloaded url_serde v0.2.0 [INFO] [stderr] Downloaded text_unit v0.1.10 [INFO] [stderr] Downloaded num-integer v0.1.42 [INFO] [stderr] Downloaded superslice v0.1.0 [INFO] [stderr] Downloaded matches v0.1.8 [INFO] [stderr] Downloaded glob v0.2.11 [INFO] [stderr] Downloaded memoffset v0.2.1 [INFO] [stderr] Downloaded nodrop v0.1.14 [INFO] [stderr] Downloaded cfg-if v0.1.10 [INFO] [stderr] Downloaded crossbeam-utils v0.5.0 [INFO] [stderr] Downloaded chrono v0.4.11 [INFO] [stderr] Downloaded arrayvec v0.4.12 [INFO] [stderr] Downloaded crossbeam-channel v0.2.6 [INFO] [stderr] Downloaded ryu v1.0.4 [INFO] [stderr] Downloaded rand v0.6.5 [INFO] [stderr] Downloaded unicode-normalization v0.1.12 [INFO] [stderr] Downloaded rand v0.5.6 [INFO] [stderr] Downloaded syn v0.15.44 [INFO] [stderr] Downloaded syn v1.0.27 [INFO] [stderr] Downloaded idna v0.1.5 [INFO] [stderr] Downloaded regex v1.3.7 [INFO] [stderr] Downloaded regex-syntax v0.6.17 [INFO] [stderr] Downloaded object v0.19.0 [INFO] [stderr] Downloaded difference v2.0.0 [INFO] [stderr] Downloaded aho-corasick v0.7.10 [INFO] [stderr] Downloaded libc v0.2.71 [INFO] [stderr] Downloaded unicode-segmentation v1.6.0 [INFO] [stderr] Downloaded parking_lot v0.7.1 [INFO] [stderr] Downloaded gimli v0.21.0 [INFO] [stderr] Downloaded itertools v0.9.0 [INFO] [stderr] Downloaded serde_json v1.0.53 [INFO] [stderr] Downloaded serde v1.0.110 [INFO] [stderr] Downloaded url v1.7.2 [INFO] [stderr] Downloaded autocfg v1.0.0 [INFO] [stderr] Downloaded num-traits v0.2.11 [INFO] [stderr] Downloaded proc-macro2 v1.0.17 [INFO] [stderr] Downloaded serde_derive v1.0.110 [INFO] [stderr] Downloaded smallvec v1.4.0 [INFO] [stderr] Downloaded rand_chacha v0.1.1 [INFO] [stderr] Downloaded rand_hc v0.1.0 [INFO] [stderr] Downloaded smallvec v0.6.13 [INFO] [stderr] Downloaded parking_lot_core v0.4.0 [INFO] [stderr] Downloaded winapi v0.3.8 [INFO] [stderr] Downloaded lazy_static v1.4.0 [INFO] [stderr] Downloaded anyhow v1.0.31 [INFO] [stderr] Downloaded heck v0.3.1 [INFO] [stderr] Downloaded crossbeam-utils v0.6.6 [INFO] [stderr] Downloaded crossbeam-epoch v0.6.1 [INFO] [stderr] Downloaded parking_lot_core v0.3.1 [INFO] [stderr] Downloaded parking_lot v0.6.4 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded proc-macro2 v0.4.30 [INFO] [stderr] Downloaded quote v0.6.13 [INFO] [stderr] Downloaded num-derive v0.2.5 [INFO] [stderr] Downloaded itoa v0.4.5 [INFO] [stderr] Downloaded languageserver-types v0.51.1 [INFO] [stderr] Downloaded winapi-i686-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded log v0.4.8 [INFO] [stderr] Downloaded unicode-bidi v0.3.4 [INFO] [stderr] Downloaded scopeguard v0.3.3 [INFO] [stderr] Downloaded cloudabi v0.0.3 [INFO] [stderr] Downloaded rand_os v0.1.3 [INFO] [stderr] Downloaded rand_pcg v0.1.2 [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded addr2line v0.12.1 [INFO] [stderr] Downloaded flexi_logger v0.10.7 [INFO] [stderr] Downloaded uncover v0.1.1 [INFO] [stderr] Downloaded backtrace v0.3.48 [INFO] [stderr] Downloaded autocfg v0.1.7 [INFO] [stderr] Downloaded winapi-x86_64-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded maybe-uninit v2.0.0 [INFO] [stderr] Downloaded thread_local v1.0.1 [INFO] [stderr] Downloaded lock_api v0.1.5 [INFO] [stderr] Downloaded either v1.5.3 [INFO] [stderr] Downloaded percent-encoding v1.0.1 [INFO] [stderr] Downloaded owning_ref v0.4.1 [INFO] [stderr] Downloaded bitflags v1.2.1 [INFO] [stderr] Downloaded rand_core v0.4.2 [INFO] [stderr] Downloaded rustc_version v0.2.3 [INFO] [stderr] Downloaded rowan v0.1.4 [INFO] [stderr] Downloaded synstructure v0.12.3 [INFO] [stderr] Downloaded rand_isaac v0.1.1 [INFO] [stderr] Downloaded rand_jitter v0.1.4 [INFO] [stderr] Downloaded rand_core v0.3.1 [INFO] [stderr] Downloaded rand_xorshift v0.1.1 [INFO] [stderr] Downloaded semver-parser v0.7.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.16 [INFO] [stderr] Downloaded unicode-xid v0.1.0 [INFO] [stderr] Downloaded quote v1.0.6 [INFO] [stderr] Downloaded unicode-xid v0.2.0 [INFO] [stderr] Downloaded memchr v2.3.3 [INFO] [stderr] Downloaded semver v0.9.0 [INFO] [stderr] Downloaded smol_str v0.1.15 [INFO] [stderr] Downloaded walkdir v2.3.1 [INFO] [stderr] Downloaded pico-args v0.3.1 [INFO] [stderr] Downloaded drop_bomb v0.1.4 [INFO] [stderr] Downloaded m_lexer v0.0.4 [INFO] [stderr] Downloaded rdrand v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1365d226409cc736fc5ebe99d5e8dcaf8b61222fcf3b0444d86fa35b65f0edc3 [INFO] running `Command { std: "docker" "start" "-a" "1365d226409cc736fc5ebe99d5e8dcaf8b61222fcf3b0444d86fa35b65f0edc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1365d226409cc736fc5ebe99d5e8dcaf8b61222fcf3b0444d86fa35b65f0edc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1365d226409cc736fc5ebe99d5e8dcaf8b61222fcf3b0444d86fa35b65f0edc3", kill_on_drop: false }` [INFO] [stdout] 1365d226409cc736fc5ebe99d5e8dcaf8b61222fcf3b0444d86fa35b65f0edc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66034b9ed1b643c9d83cacd5fdfbff869ff595c82eaad47da2797938f4ada1ff [INFO] running `Command { std: "docker" "start" "-a" "66034b9ed1b643c9d83cacd5fdfbff869ff595c82eaad47da2797938f4ada1ff", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.27 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling num-integer v0.1.42 [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 thread_local v1.0.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling smol_str v0.1.15 [INFO] [stderr] Compiling text_unit v0.1.10 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling uncover v0.1.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling drop_bomb v0.1.4 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling pico-args v0.3.1 [INFO] [stderr] Compiling superslice v0.1.0 [INFO] [stderr] Compiling crossbeam-channel v0.2.6 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling xtask v0.0.0 (/opt/rustwide/workdir/xtask) [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling rowan v0.1.4 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling m_lexer v0.0.4 [INFO] [stderr] Compiling flexi_logger v0.10.7 [INFO] [stderr] Compiling tom_syntax v0.0.1 (/opt/rustwide/workdir/crates/tom_syntax) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:97:52 [INFO] [stdout] | [INFO] [stdout] 96 | impl<'a> Doc<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 97 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:138:52 [INFO] [stdout] | [INFO] [stdout] 137 | impl<'a> Table<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 138 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:176:52 [INFO] [stdout] | [INFO] [stdout] 175 | impl<'a> ArrayTable<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 176 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:214:52 [INFO] [stdout] | [INFO] [stdout] 213 | impl<'a> TableHeader<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 214 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:249:52 [INFO] [stdout] | [INFO] [stdout] 248 | impl<'a> Entry<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 249 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:287:52 [INFO] [stdout] | [INFO] [stdout] 286 | impl<'a> Key<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 287 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:329:52 [INFO] [stdout] | [INFO] [stdout] 328 | impl<'a> Value<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 329 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:383:52 [INFO] [stdout] | [INFO] [stdout] 382 | impl<'a> StringLit<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 383 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:421:52 [INFO] [stdout] | [INFO] [stdout] 420 | impl<'a> BareKey<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 421 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:456:52 [INFO] [stdout] | [INFO] [stdout] 455 | impl<'a> Array<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 456 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:491:52 [INFO] [stdout] | [INFO] [stdout] 490 | impl<'a> Dict<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 491 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:526:52 [INFO] [stdout] | [INFO] [stdout] 525 | impl<'a> Number<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 526 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:561:52 [INFO] [stdout] | [INFO] [stdout] 560 | impl<'a> Bool<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 561 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:596:52 [INFO] [stdout] | [INFO] [stdout] 595 | impl<'a> DateTime<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 596 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling url_serde v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling languageserver-types v0.51.1 [INFO] [stderr] Compiling gen_lsp_server v0.1.0 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized] target(s) in 25.81s [INFO] running `Command { std: "docker" "inspect" "66034b9ed1b643c9d83cacd5fdfbff869ff595c82eaad47da2797938f4ada1ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66034b9ed1b643c9d83cacd5fdfbff869ff595c82eaad47da2797938f4ada1ff", kill_on_drop: false }` [INFO] [stdout] 66034b9ed1b643c9d83cacd5fdfbff869ff595c82eaad47da2797938f4ada1ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9136f6a1da003c3fbc0360ef126bc8cac73896354db22a4feba7d1311d790879 [INFO] running `Command { std: "docker" "start" "-a" "9136f6a1da003c3fbc0360ef126bc8cac73896354db22a4feba7d1311d790879", kill_on_drop: false }` [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling tom v0.1.0 (/opt/rustwide/workdir/crates/tom) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:97:52 [INFO] [stdout] | [INFO] [stdout] 96 | impl<'a> Doc<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 97 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:138:52 [INFO] [stdout] | [INFO] [stdout] 137 | impl<'a> Table<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 138 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option
{ [INFO] [stdout] | ^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:176:52 [INFO] [stdout] | [INFO] [stdout] 175 | impl<'a> ArrayTable<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 176 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:214:52 [INFO] [stdout] | [INFO] [stdout] 213 | impl<'a> TableHeader<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 214 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:249:52 [INFO] [stdout] | [INFO] [stdout] 248 | impl<'a> Entry<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 249 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:287:52 [INFO] [stdout] | [INFO] [stdout] 286 | impl<'a> Key<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 287 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:329:52 [INFO] [stdout] | [INFO] [stdout] 328 | impl<'a> Value<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 329 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:383:52 [INFO] [stdout] | [INFO] [stdout] 382 | impl<'a> StringLit<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 383 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:421:52 [INFO] [stdout] | [INFO] [stdout] 420 | impl<'a> BareKey<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 421 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:456:52 [INFO] [stdout] | [INFO] [stdout] 455 | impl<'a> Array<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 456 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:491:52 [INFO] [stdout] | [INFO] [stdout] 490 | impl<'a> Dict<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 491 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:526:52 [INFO] [stdout] | [INFO] [stdout] 525 | impl<'a> Number<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 526 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:561:52 [INFO] [stdout] | [INFO] [stdout] 560 | impl<'a> Bool<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 561 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:596:52 [INFO] [stdout] | [INFO] [stdout] 595 | impl<'a> DateTime<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 596 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling tom_syntax v0.0.1 (/opt/rustwide/workdir/crates/tom_syntax) [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: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:97:52 [INFO] [stdout] | [INFO] [stdout] 96 | impl<'a> Doc<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 97 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:138:52 [INFO] [stdout] | [INFO] [stdout] 137 | impl<'a> Table<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 138 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option
{ [INFO] [stdout] | ^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:176:52 [INFO] [stdout] | [INFO] [stdout] 175 | impl<'a> ArrayTable<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 176 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:214:52 [INFO] [stdout] | [INFO] [stdout] 213 | impl<'a> TableHeader<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 214 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:249:52 [INFO] [stdout] | [INFO] [stdout] 248 | impl<'a> Entry<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 249 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:287:52 [INFO] [stdout] | [INFO] [stdout] 286 | impl<'a> Key<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 287 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:329:52 [INFO] [stdout] | [INFO] [stdout] 328 | impl<'a> Value<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 329 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:383:52 [INFO] [stdout] | [INFO] [stdout] 382 | impl<'a> StringLit<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 383 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:421:52 [INFO] [stdout] | [INFO] [stdout] 420 | impl<'a> BareKey<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 421 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:456:52 [INFO] [stdout] | [INFO] [stdout] 455 | impl<'a> Array<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 456 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:491:52 [INFO] [stdout] | [INFO] [stdout] 490 | impl<'a> Dict<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 491 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:526:52 [INFO] [stdout] | [INFO] [stdout] 525 | impl<'a> Number<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 526 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:561:52 [INFO] [stdout] | [INFO] [stdout] 560 | impl<'a> Bool<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 561 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/tom_syntax/src/ast/generated.rs:596:52 [INFO] [stdout] | [INFO] [stdout] 595 | impl<'a> DateTime<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 596 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling xtask v0.0.0 (/opt/rustwide/workdir/xtask) [INFO] [stderr] Finished `test` profile [unoptimized] target(s) in 2.16s [INFO] running `Command { std: "docker" "inspect" "9136f6a1da003c3fbc0360ef126bc8cac73896354db22a4feba7d1311d790879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9136f6a1da003c3fbc0360ef126bc8cac73896354db22a4feba7d1311d790879", kill_on_drop: false }` [INFO] [stdout] 9136f6a1da003c3fbc0360ef126bc8cac73896354db22a4feba7d1311d790879 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 64baf190d4045d5ea4d12ed987759ea29fdc516ce1fe702b1194d387695a9f7c [INFO] running `Command { std: "docker" "start" "-a" "64baf190d4045d5ea4d12ed987759ea29fdc516ce1fe702b1194d387695a9f7c", kill_on_drop: false }` [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> crates/tom_syntax/src/ast/generated.rs:97:52 [INFO] [stderr] | [INFO] [stderr] 96 | impl<'a> Doc<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 97 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stderr] | ^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> crates/tom_syntax/src/ast/generated.rs:138:52 [INFO] [stderr] | [INFO] [stderr] 137 | impl<'a> Table<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 138 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option
{ [INFO] [stderr] | ^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> crates/tom_syntax/src/ast/generated.rs:176:52 [INFO] [stderr] | [INFO] [stderr] 175 | impl<'a> ArrayTable<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 176 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stderr] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> crates/tom_syntax/src/ast/generated.rs:214:52 [INFO] [stderr] | [INFO] [stderr] 213 | impl<'a> TableHeader<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 214 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stderr] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> crates/tom_syntax/src/ast/generated.rs:249:52 [INFO] [stderr] | [INFO] [stderr] 248 | impl<'a> Entry<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 249 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stderr] | ^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> crates/tom_syntax/src/ast/generated.rs:287:52 [INFO] [stderr] | [INFO] [stderr] 286 | impl<'a> Key<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 287 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stderr] | ^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> crates/tom_syntax/src/ast/generated.rs:329:52 [INFO] [stderr] | [INFO] [stderr] 328 | impl<'a> Value<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 329 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stderr] | ^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> crates/tom_syntax/src/ast/generated.rs:383:52 [INFO] [stderr] | [INFO] [stderr] 382 | impl<'a> StringLit<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 383 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stderr] | ^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> crates/tom_syntax/src/ast/generated.rs:421:52 [INFO] [stderr] | [INFO] [stderr] 420 | impl<'a> BareKey<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 421 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stderr] | ^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> crates/tom_syntax/src/ast/generated.rs:456:52 [INFO] [stderr] | [INFO] [stderr] 455 | impl<'a> Array<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 456 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stderr] | ^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> crates/tom_syntax/src/ast/generated.rs:491:52 [INFO] [stderr] | [INFO] [stderr] 490 | impl<'a> Dict<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 491 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stderr] | ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> crates/tom_syntax/src/ast/generated.rs:526:52 [INFO] [stderr] | [INFO] [stderr] 525 | impl<'a> Number<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 526 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stderr] | ^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> crates/tom_syntax/src/ast/generated.rs:561:52 [INFO] [stderr] | [INFO] [stderr] 560 | impl<'a> Bool<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 561 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stderr] | ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> crates/tom_syntax/src/ast/generated.rs:596:52 [INFO] [stderr] | [INFO] [stderr] 595 | impl<'a> DateTime<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 596 | pub fn cast(node: SyntaxNodeRef<'a>) -> Option { [INFO] [stderr] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: `tom_syntax` (lib) generated 14 warnings [INFO] [stderr] warning: `tom_syntax` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> crates/tom/src/req.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Deserialize, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SyntaxTreeParams` [INFO] [stderr] 19 | #[serde(rename_all = "camelCase")] [INFO] [stderr] 20 | pub struct SyntaxTreeParams { [INFO] [stderr] | ---------------- `SyntaxTreeParams` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> crates/tom/src/req.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(Deserialize, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ExtendSelectionParams` [INFO] [stderr] 33 | #[serde(rename_all = "camelCase")] [INFO] [stderr] 34 | pub struct ExtendSelectionParams { [INFO] [stderr] | --------------------- `ExtendSelectionParams` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> crates/tom/src/req.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(Serialize, Debug)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ExtendSelectionResult` [INFO] [stderr] 40 | #[serde(rename_all = "camelCase")] [INFO] [stderr] 41 | pub struct ExtendSelectionResult { [INFO] [stderr] | --------------------- `ExtendSelectionResult` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> crates/tom/src/req.rs:60:10 [INFO] [stderr] | [INFO] [stderr] 60 | #[derive(Serialize, Debug)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PublishDecorationsParams` [INFO] [stderr] 61 | #[serde(rename_all = "camelCase")] [INFO] [stderr] 62 | pub struct PublishDecorationsParams { [INFO] [stderr] | ------------------------ `PublishDecorationsParams` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> crates/tom/src/req.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Serialize, Debug)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Decoration` [INFO] [stderr] 69 | #[serde(rename_all = "camelCase")] [INFO] [stderr] 70 | pub struct Decoration { [INFO] [stderr] | ---------- `Decoration` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `tom` (bin "tom" test) generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized] target(s) in 0.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tom-f7ce5ef27199297e) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test line_index::test_line_index ... ok [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tom_syntax-e359fe72bd27fc61) [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/suite/main.rs (/opt/rustwide/target/debug/deps/suite-739c6daf7cc9dd69) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test ast::date_time_value ... ignored [INFO] [stdout] test ast::int_value ... ignored [INFO] [stdout] test ast::key_name_with_escape ... ignored [INFO] [stdout] test ast::string_escaping_escape_sequences ... ignored [INFO] [stdout] test ast::key_name ... ok [INFO] [stdout] test ast::bool_value ... ok [INFO] [stdout] test ast::string_escaping_trivial ... ok [INFO] [stdout] test dir::test_parser_validation ... ok [INFO] [stdout] test dir::test_parser_inline ... ok [INFO] [stdout] test simple_bench ... ok [INFO] [stdout] test dir::test_parser_err ... ok [INFO] [stdout] test dir::test_parser_ok ... ok [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xtask-c021d452698e72b5) [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/xtask-7a2bb1b0b709240c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/tidy.rs (/opt/rustwide/target/debug/deps/tidy-68eb461b30a4d2b9) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test generated_tests_are_fresh ... ok [INFO] [stdout] test rust_files_are_tidy ... ok [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain 'nightly-2025-01-18-x86_64-unknown-linux-gnu'. [INFO] [stderr] To install, run `rustup component add --toolchain nightly-2025-01-18-x86_64-unknown-linux-gnu rustfmt` [INFO] [stdout] test generated_symbols_code_is_fresh ... FAILED [INFO] [stderr] error: 'rustfmt' is not installed for the toolchain 'nightly-2025-01-18-x86_64-unknown-linux-gnu'. [INFO] [stderr] To install, run `rustup component add --toolchain nightly-2025-01-18-x86_64-unknown-linux-gnu rustfmt` [INFO] [stdout] test generated_ast_code_is_fresh ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- generated_symbols_code_is_fresh stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'generated_symbols_code_is_fresh' panicked at xtask/tests/tidy.rs:20:40: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: process `rustfmt --config-path /opt/rustwide/workdir/rustfmt.toml` failed [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] exit status: 1 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5e7e1d6cdfea - ::fmt::h71a62eb3b9696b12 [INFO] [stdout] 1: 0x5e7e1d6f67f3 - core::fmt::write::h2cc1698af7e2d686 [INFO] [stdout] 2: 0x5e7e1d6ca113 - std::io::Write::write_fmt::hab1b4cd059a79022 [INFO] [stdout] 3: 0x5e7e1d6cde32 - std::sys::backtrace::BacktraceLock::print::h147fe35b4ea13b08 [INFO] [stdout] 4: 0x5e7e1d6cf40f - std::panicking::default_hook::{{closure}}::hbd44223dbdc0d208 [INFO] [stdout] 5: 0x5e7e1d6cf228 - std::panicking::default_hook::h20f81eb0576efcec [INFO] [stdout] 6: 0x5e7e1d655473 - test::test_main::{{closure}}::hc0a4963c59427c24 [INFO] [stdout] 7: 0x5e7e1d6cff03 - std::panicking::rust_panic_with_hook::h625eea43051b2edc [INFO] [stdout] 8: 0x5e7e1d6cfbba - std::panicking::begin_panic_handler::{{closure}}::h4f9159cfbc3f6bd3 [INFO] [stdout] 9: 0x5e7e1d6ce4e9 - std::sys::backtrace::__rust_end_short_backtrace::h0390abce48353151 [INFO] [stdout] 10: 0x5e7e1d6cf84d - rust_begin_unwind [INFO] [stdout] 11: 0x5e7e1d6f4ef0 - core::panicking::panic_fmt::h9e7c637e9e5f29c9 [INFO] [stdout] 12: 0x5e7e1d6f5336 - core::result::unwrap_failed::h7979f09313fe1849 [INFO] [stdout] 13: 0x5e7e1d61468f - tidy::generated_symbols_code_is_fresh::h0562af9abf8e1ed8 [INFO] [stdout] 14: 0x5e7e1d614613 - tidy::generated_symbols_code_is_fresh::{{closure}}::h0df0cd69be298d22 [INFO] [stdout] 15: 0x5e7e1d6165b6 - core::ops::function::FnOnce::call_once::h445d7f609e2f3ebc [INFO] [stdout] 16: 0x5e7e1d65abcb - test::__rust_begin_short_backtrace::h4e84902998457a5d [INFO] [stdout] 17: 0x5e7e1d659b03 - test::run_test::{{closure}}::hfb2007f8649c30bb [INFO] [stdout] 18: 0x5e7e1d61cbe5 - std::sys::backtrace::__rust_begin_short_backtrace::hd2d2d2fb8e8c6aac [INFO] [stdout] 19: 0x5e7e1d6204ca - core::ops::function::FnOnce::call_once{{vtable.shim}}::h048ce291ad4f62bf [INFO] [stdout] 20: 0x5e7e1d6d47eb - std::sys::pal::unix::thread::Thread::new::thread_start::h2d970728ae887adc [INFO] [stdout] 21: 0x775008fabac3 - [INFO] [stdout] 22: 0x77500903ca04 - clone [INFO] [stdout] 23: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- generated_ast_code_is_fresh stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'generated_ast_code_is_fresh' panicked at xtask/tests/tidy.rs:15:36: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: process `rustfmt --config-path /opt/rustwide/workdir/rustfmt.toml` failed [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] exit status: 1 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5e7e1d6cdfea - ::fmt::h71a62eb3b9696b12 [INFO] [stdout] 1: 0x5e7e1d6f67f3 - core::fmt::write::h2cc1698af7e2d686 [INFO] [stdout] 2: 0x5e7e1d6ca113 - std::io::Write::write_fmt::hab1b4cd059a79022 [INFO] [stdout] 3: 0x5e7e1d6cde32 - std::sys::backtrace::BacktraceLock::print::h147fe35b4ea13b08 [INFO] [stdout] 4: 0x5e7e1d6cf40f - std::panicking::default_hook::{{closure}}::hbd44223dbdc0d208 [INFO] [stdout] 5: 0x5e7e1d6cf228 - std::panicking::default_hook::h20f81eb0576efcec [INFO] [stdout] 6: 0x5e7e1d655473 - test::test_main::{{closure}}::hc0a4963c59427c24 [INFO] [stdout] 7: 0x5e7e1d6cff03 - std::panicking::rust_panic_with_hook::h625eea43051b2edc [INFO] [stdout] 8: 0x5e7e1d6cfbba - std::panicking::begin_panic_handler::{{closure}}::h4f9159cfbc3f6bd3 [INFO] [stdout] 9: 0x5e7e1d6ce4e9 - std::sys::backtrace::__rust_end_short_backtrace::h0390abce48353151 [INFO] [stdout] 10: 0x5e7e1d6cf84d - rust_begin_unwind [INFO] [stdout] 11: 0x5e7e1d6f4ef0 - core::panicking::panic_fmt::h9e7c637e9e5f29c9 [INFO] [stdout] 12: 0x5e7e1d6f5336 - core::result::unwrap_failed::h7979f09313fe1849 [INFO] [stdout] 13: 0x5e7e1d6145bf - tidy::generated_ast_code_is_fresh::hcd9557c875b4d506 [INFO] [stdout] 14: 0x5e7e1d614543 - tidy::generated_ast_code_is_fresh::{{closure}}::h9ccd01dcc77fd062 [INFO] [stdout] 15: 0x5e7e1d616716 - core::ops::function::FnOnce::call_once::hc5d3dbbc16f7cf0c [INFO] [stdout] 16: 0x5e7e1d65abcb - test::__rust_begin_short_backtrace::h4e84902998457a5d [INFO] [stdout] 17: 0x5e7e1d659b03 - test::run_test::{{closure}}::hfb2007f8649c30bb [INFO] [stdout] 18: 0x5e7e1d61cbe5 - std::sys::backtrace::__rust_begin_short_backtrace::hd2d2d2fb8e8c6aac [INFO] [stdout] 19: 0x5e7e1d6204ca - core::ops::function::FnOnce::call_once{{vtable.shim}}::h048ce291ad4f62bf [INFO] [stdout] 20: 0x5e7e1d6d47eb - std::sys::pal::unix::thread::Thread::new::thread_start::h2d970728ae887adc [INFO] [stdout] 21: 0x775008fabac3 - [INFO] [stdout] 22: 0x77500903ca04 - clone [INFO] [stdout] 23: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] generated_ast_code_is_fresh [INFO] [stdout] generated_symbols_code_is_fresh [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p xtask --test tidy` [INFO] [stdout] test result: FAILED. 2 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.85s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "64baf190d4045d5ea4d12ed987759ea29fdc516ce1fe702b1194d387695a9f7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64baf190d4045d5ea4d12ed987759ea29fdc516ce1fe702b1194d387695a9f7c", kill_on_drop: false }` [INFO] [stdout] 64baf190d4045d5ea4d12ed987759ea29fdc516ce1fe702b1194d387695a9f7c