[INFO] fetching crate ohos-nj-derive 3.4.2... [INFO] checking ohos-nj-derive-3.4.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate ohos-nj-derive 3.4.2 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate ohos-nj-derive 3.4.2 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ohos-nj-derive 3.4.2 [INFO] finished tweaking crates.io crate ohos-nj-derive 3.4.2 [INFO] tweaked toml for crates.io crate ohos-nj-derive 3.4.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 100 packages to latest compatible versions [INFO] [stderr] Adding async-io v1.13.0 (available: v2.3.4) [INFO] [stderr] Adding async-lock v2.8.0 (available: v3.4.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding event-listener v2.5.3 (available: v5.3.1) [INFO] [stderr] Adding fastrand v1.9.0 (available: v2.1.1) [INFO] [stderr] Adding fluvio-future v0.6.2 (available: v0.7.0) [INFO] [stderr] Adding futures-lite v1.13.0 (available: v2.3.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding io-lifetimes v1.0.11 (available: v2.0.3) [INFO] [stderr] Adding linux-raw-sys v0.3.8 (available: v0.6.5) [INFO] [stderr] Adding parking_lot v0.11.2 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.8.6 (available: v0.9.10) [INFO] [stderr] Adding polling v2.8.0 (available: v3.7.3) [INFO] [stderr] Adding redox_syscall v0.2.16 (available: v0.5.6) [INFO] [stderr] Adding rustix v0.37.27 (available: v0.38.37) [INFO] [stderr] Adding socket2 v0.4.10 (available: v0.5.7) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fluvio-wasm-timer v0.2.5 [INFO] [stderr] Downloaded fluvio-future v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f2db2f88866fb4f48952fdb16512a0b6a5e965455ba3efb15bf29efe11f3f94 [INFO] running `Command { std: "docker" "start" "-a" "7f2db2f88866fb4f48952fdb16512a0b6a5e965455ba3efb15bf29efe11f3f94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f2db2f88866fb4f48952fdb16512a0b6a5e965455ba3efb15bf29efe11f3f94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f2db2f88866fb4f48952fdb16512a0b6a5e965455ba3efb15bf29efe11f3f94", kill_on_drop: false }` [INFO] [stdout] 7f2db2f88866fb4f48952fdb16512a0b6a5e965455ba3efb15bf29efe11f3f94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d10fec03f2fb7d0b499c35fce4e437beff8b957ffdefe042ac2534b19576c048 [INFO] running `Command { std: "docker" "start" "-a" "d10fec03f2fb7d0b499c35fce4e437beff8b957ffdefe042ac2534b19576c048", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking rustix v0.37.27 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking ohos-nj-derive v3.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast/class.rs:45:48 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'a> Class<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn constructor(&'a self) -> Option<&'a Method> { [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] --> src/ast/class.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'a> Class<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn my_type(&'a self) -> &MyTypePath<'a> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast/types.rs:127:55 [INFO] [stdout] | [INFO] [stdout] 126 | impl<'a> MyDeriveInput<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 127 | pub fn from_ast(input: &'a DeriveInput) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast/types.rs:186:50 [INFO] [stdout] | [INFO] [stdout] 185 | impl<'a> MyFields<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 186 | pub fn from_ast(input: &'a Fields) -> Result { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast/types.rs:218:41 [INFO] [stdout] | [INFO] [stdout] 217 | impl<'a> MyFieldType<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 218 | pub fn from(ty: &'a Type) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast/types.rs:237:56 [INFO] [stdout] | [INFO] [stdout] 236 | impl<'a> MyEnum<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 237 | pub fn from_ast(enum_data: &'a DataEnum) -> Result { [INFO] [stdout] | ^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast/types.rs:255:58 [INFO] [stdout] | [INFO] [stdout] 254 | impl<'a> MyVariant<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 255 | pub fn from_ast(variant_data: &'a Variant) -> Result { [INFO] [stdout] | ^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast/types.rs:271:60 [INFO] [stdout] | [INFO] [stdout] 270 | impl<'a> MyStruct<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 271 | pub fn from_ast(struct_data: &'a DataStruct) -> Result { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/attribute.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | Getter(Ident), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 | Getter(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/attribute.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | Setter(Ident), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | Setter(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/attribute.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | Constructor(Ident), [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | Constructor(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/attribute.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | Mt(Ident), [INFO] [stdout] | -- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 | Mt(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `arg_index` is never read [INFO] [stdout] --> src/ast/arg.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FunctionArg<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 78 | pub arg_index: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionArg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/ast/util.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FunctionItem { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 12 | fn name(&self) -> &Ident; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/types.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | Path(MyTypePath<'a>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MyFieldType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 181 | Path(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/types.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | Ref(MyReferenceType<'a>), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MyFieldType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 182 | Ref(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast/class.rs:45:48 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'a> Class<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn constructor(&'a self) -> Option<&'a Method> { [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] --> src/ast/class.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'a> Class<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn my_type(&'a self) -> &MyTypePath<'a> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast/types.rs:127:55 [INFO] [stdout] | [INFO] [stdout] 126 | impl<'a> MyDeriveInput<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 127 | pub fn from_ast(input: &'a DeriveInput) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast/types.rs:186:50 [INFO] [stdout] | [INFO] [stdout] 185 | impl<'a> MyFields<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 186 | pub fn from_ast(input: &'a Fields) -> Result { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast/types.rs:218:41 [INFO] [stdout] | [INFO] [stdout] 217 | impl<'a> MyFieldType<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 218 | pub fn from(ty: &'a Type) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast/types.rs:237:56 [INFO] [stdout] | [INFO] [stdout] 236 | impl<'a> MyEnum<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 237 | pub fn from_ast(enum_data: &'a DataEnum) -> Result { [INFO] [stdout] | ^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast/types.rs:255:58 [INFO] [stdout] | [INFO] [stdout] 254 | impl<'a> MyVariant<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 255 | pub fn from_ast(variant_data: &'a Variant) -> Result { [INFO] [stdout] | ^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast/types.rs:271:60 [INFO] [stdout] | [INFO] [stdout] 270 | impl<'a> MyStruct<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 271 | pub fn from_ast(struct_data: &'a DataStruct) -> Result { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/attribute.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | Getter(Ident), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 | Getter(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/attribute.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | Setter(Ident), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | Setter(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/attribute.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | Constructor(Ident), [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | Constructor(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/attribute.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | Mt(Ident), [INFO] [stdout] | -- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 | Mt(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `arg_index` is never read [INFO] [stdout] --> src/ast/arg.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FunctionArg<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 78 | pub arg_index: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionArg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/ast/util.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FunctionItem { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 12 | fn name(&self) -> &Ident; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/types.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | Path(MyTypePath<'a>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MyFieldType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 181 | Path(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/types.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | Ref(MyReferenceType<'a>), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MyFieldType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 182 | Ref(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking fluvio-future v0.6.2 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `trybuild` [INFO] [stdout] --> tests/parse.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | let t = trybuild::TestCases::check_only(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `trybuild` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ohos-nj-derive` (test "parse") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast/class.rs:45:48 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'a> Class<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn constructor(&'a self) -> Option<&'a Method> { [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] --> src/ast/class.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'a> Class<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn my_type(&'a self) -> &MyTypePath<'a> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast/types.rs:127:55 [INFO] [stdout] | [INFO] [stdout] 126 | impl<'a> MyDeriveInput<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 127 | pub fn from_ast(input: &'a DeriveInput) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast/types.rs:186:50 [INFO] [stdout] | [INFO] [stdout] 185 | impl<'a> MyFields<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 186 | pub fn from_ast(input: &'a Fields) -> Result { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast/types.rs:218:41 [INFO] [stdout] | [INFO] [stdout] 217 | impl<'a> MyFieldType<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 218 | pub fn from(ty: &'a Type) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast/types.rs:237:56 [INFO] [stdout] | [INFO] [stdout] 236 | impl<'a> MyEnum<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 237 | pub fn from_ast(enum_data: &'a DataEnum) -> Result { [INFO] [stdout] | ^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast/types.rs:255:58 [INFO] [stdout] | [INFO] [stdout] 254 | impl<'a> MyVariant<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 255 | pub fn from_ast(variant_data: &'a Variant) -> Result { [INFO] [stdout] | ^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast/types.rs:271:60 [INFO] [stdout] | [INFO] [stdout] 270 | impl<'a> MyStruct<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 271 | pub fn from_ast(struct_data: &'a DataStruct) -> Result { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/attribute.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | Getter(Ident), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 | Getter(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/attribute.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | Setter(Ident), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | Setter(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/attribute.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | Constructor(Ident), [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | Constructor(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/attribute.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | Mt(Ident), [INFO] [stdout] | -- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 | Mt(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `arg_index` is never read [INFO] [stdout] --> src/ast/arg.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FunctionArg<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 78 | pub arg_index: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionArg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/ast/util.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FunctionItem { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 12 | fn name(&self) -> &Ident; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/types.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | Path(MyTypePath<'a>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MyFieldType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 181 | Path(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/types.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | Ref(MyReferenceType<'a>), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MyFieldType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 182 | Ref(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d10fec03f2fb7d0b499c35fce4e437beff8b957ffdefe042ac2534b19576c048", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d10fec03f2fb7d0b499c35fce4e437beff8b957ffdefe042ac2534b19576c048", kill_on_drop: false }` [INFO] [stdout] d10fec03f2fb7d0b499c35fce4e437beff8b957ffdefe042ac2534b19576c048