[INFO] cloning repository https://github.com/nikajia/flutter_rust_bridge_codegen-1.61.1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nikajia/flutter_rust_bridge_codegen-1.61.1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikajia%2Fflutter_rust_bridge_codegen-1.61.1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikajia%2Fflutter_rust_bridge_codegen-1.61.1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f70c8325e5c823bb58ccfe1dd4aafeed56770db7 [INFO] checking nikajia/flutter_rust_bridge_codegen-1.61.1/f70c8325e5c823bb58ccfe1dd4aafeed56770db7 against master#cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 for pr-135841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikajia%2Fflutter_rust_bridge_codegen-1.61.1" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nikajia/flutter_rust_bridge_codegen-1.61.1 on toolchain cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nikajia/flutter_rust_bridge_codegen-1.61.1 [INFO] finished tweaking git repo https://github.com/nikajia/flutter_rust_bridge_codegen-1.61.1 [INFO] tweaked toml for git repo https://github.com/nikajia/flutter_rust_bridge_codegen-1.61.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nikajia/flutter_rust_bridge_codegen-1.61.1 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" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded extend v1.1.2 [INFO] [stderr] Downloaded cbindgen v0.24.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c832d12edf0a9a7b444e673273b2b3baaf5c5340fd95487e5f3ab4a832afee3a [INFO] running `Command { std: "docker" "start" "-a" "c832d12edf0a9a7b444e673273b2b3baaf5c5340fd95487e5f3ab4a832afee3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c832d12edf0a9a7b444e673273b2b3baaf5c5340fd95487e5f3ab4a832afee3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c832d12edf0a9a7b444e673273b2b3baaf5c5340fd95487e5f3ab4a832afee3a", kill_on_drop: false }` [INFO] [stdout] c832d12edf0a9a7b444e673273b2b3baaf5c5340fd95487e5f3ab4a832afee3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34e9191d589d4145e1f8db91ca591de247d09d25c586ce928e240cb77ae18fe4 [INFO] running `Command { std: "docker" "start" "-a" "34e9191d589d4145e1f8db91ca591de247d09d25c586ce928e240cb77ae18fe4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling camino v1.0.9 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking os_str_bytes v6.2.0 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling semver v1.0.12 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling cbindgen v0.24.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking topological-sort v0.2.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking convert_case v0.5.0 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling clap_derive v3.2.15 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling delegate v0.8.0 [INFO] [stderr] Compiling enum_dispatch v0.3.8 [INFO] [stderr] Compiling extend v1.1.2 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking clap v3.2.16 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking cargo-platform v0.1.2 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking cargo_metadata v0.14.2 [INFO] [stderr] Checking flutter_rust_bridge_codegen v1.61.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/config.rs:720:46 [INFO] [stdout] | [INFO] [stdout] 720 | result.iter().enumerate().for_each(|(i, each_block)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ir` and `context` are never read [INFO] [stdout] --> src/generator/dart/ty.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | pub ir: $ir_cls, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | pub context: TypeGeneratorContext<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/dart/ty_dart_opaque.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | type_dart_generator_struct!(TypeDartOpaqueGenerator, IrTypeDartOpaque); [INFO] [stdout] | ---------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | fields in this struct [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `TypeDartOpaqueGenerator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `type_dart_generator_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> src/generator/dart/ty.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | pub context: TypeGeneratorContext<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/dart/ty_optional.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | type_dart_generator_struct!(TypeOptionalGenerator, IrTypeOptional); [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | field in this struct [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `TypeOptionalGenerator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `type_dart_generator_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> src/generator/dart/ty.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | pub context: TypeGeneratorContext<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/dart/ty_primitive.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | type_dart_generator_struct!(TypePrimitiveGenerator, IrTypePrimitive); [INFO] [stdout] | -------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | field in this struct [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `TypePrimitiveGenerator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `type_dart_generator_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> src/generator/rust/ty.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | pub context: TypeGeneratorContext<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/rust/ty_dart_opaque.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | type_rust_generator_struct!(TypeDartOpaqueGenerator, IrTypeDartOpaque); [INFO] [stdout] | ---------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | field in this struct [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `TypeDartOpaqueGenerator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `type_rust_generator_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> src/generator/rust/ty.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | pub context: TypeGeneratorContext<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/rust/ty_primitive.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | type_rust_generator_struct!(TypePrimitiveGenerator, IrTypePrimitive); [INFO] [stdout] | -------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | field in this struct [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `TypePrimitiveGenerator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `type_rust_generator_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> src/generator/rust/ty.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | pub context: TypeGeneratorContext<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/rust/ty_primitive_list.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | type_rust_generator_struct!(TypePrimitiveListGenerator, IrTypePrimitiveList); [INFO] [stdout] | ---------------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | field in this struct [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `TypePrimitiveListGenerator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `type_rust_generator_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> src/generator/rust/ty.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | pub context: TypeGeneratorContext<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/rust/ty_rust_opaque.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | type_rust_generator_struct!(TypeRustOpaqueGenerator, IrTypeRustOpaque); [INFO] [stdout] | ---------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | field in this struct [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `TypeRustOpaqueGenerator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `type_rust_generator_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/parser/mod.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 435 | pub struct NamedOption { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 436 | pub name: K, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NamedOption` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/mod.rs:450:25 [INFO] [stdout] | [INFO] [stdout] 450 | pub struct MirrorOption(Path); [INFO] [stdout] | ------------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `MirrorOption` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/mod.rs:493:24 [INFO] [stdout] | [INFO] [stdout] 493 | pub struct DartImports(Vec); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `DartImports` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/mod.rs:523:12 [INFO] [stdout] | [INFO] [stdout] 523 | Mirror(MirrorOption), [INFO] [stdout] | ------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 523 | Mirror(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `manifest_path`, and `root_src_file` are never read [INFO] [stdout] --> src/source_graph.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Crate { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 27 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | pub manifest_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 29 | pub root_src_file: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Crate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `visibility` are never read [INFO] [stdout] --> src/source_graph.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct Import { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 109 | pub path: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 110 | pub visibility: Visibility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Import` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ir` and `context` are never read [INFO] [stdout] --> src/generator/dart/ty.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | pub ir: $ir_cls, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | pub context: TypeGeneratorContext<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/dart/ty_dart_opaque.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | type_dart_generator_struct!(TypeDartOpaqueGenerator, IrTypeDartOpaque); [INFO] [stdout] | ---------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | fields in this struct [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `TypeDartOpaqueGenerator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `type_dart_generator_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> src/generator/dart/ty.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | pub context: TypeGeneratorContext<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/dart/ty_optional.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | type_dart_generator_struct!(TypeOptionalGenerator, IrTypeOptional); [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | field in this struct [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `TypeOptionalGenerator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `type_dart_generator_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> src/generator/dart/ty.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | pub context: TypeGeneratorContext<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/dart/ty_primitive.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | type_dart_generator_struct!(TypePrimitiveGenerator, IrTypePrimitive); [INFO] [stdout] | -------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | field in this struct [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `TypePrimitiveGenerator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `type_dart_generator_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> src/generator/rust/ty.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | pub context: TypeGeneratorContext<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/rust/ty_dart_opaque.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | type_rust_generator_struct!(TypeDartOpaqueGenerator, IrTypeDartOpaque); [INFO] [stdout] | ---------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | field in this struct [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `TypeDartOpaqueGenerator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `type_rust_generator_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> src/generator/rust/ty.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | pub context: TypeGeneratorContext<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/rust/ty_primitive.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | type_rust_generator_struct!(TypePrimitiveGenerator, IrTypePrimitive); [INFO] [stdout] | -------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | field in this struct [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `TypePrimitiveGenerator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `type_rust_generator_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> src/generator/rust/ty.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | pub context: TypeGeneratorContext<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/rust/ty_primitive_list.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | type_rust_generator_struct!(TypePrimitiveListGenerator, IrTypePrimitiveList); [INFO] [stdout] | ---------------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | field in this struct [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `TypePrimitiveListGenerator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `type_rust_generator_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> src/generator/rust/ty.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | pub context: TypeGeneratorContext<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/rust/ty_rust_opaque.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | type_rust_generator_struct!(TypeRustOpaqueGenerator, IrTypeRustOpaque); [INFO] [stdout] | ---------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | field in this struct [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `TypeRustOpaqueGenerator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `type_rust_generator_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/parser/mod.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 435 | pub struct NamedOption { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 436 | pub name: K, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NamedOption` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/mod.rs:450:25 [INFO] [stdout] | [INFO] [stdout] 450 | pub struct MirrorOption(Path); [INFO] [stdout] | ------------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `MirrorOption` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/mod.rs:493:24 [INFO] [stdout] | [INFO] [stdout] 493 | pub struct DartImports(Vec); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `DartImports` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/mod.rs:523:12 [INFO] [stdout] | [INFO] [stdout] 523 | Mirror(MirrorOption), [INFO] [stdout] | ------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 523 | Mirror(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `manifest_path`, and `root_src_file` are never read [INFO] [stdout] --> src/source_graph.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Crate { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 27 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | pub manifest_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 29 | pub root_src_file: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Crate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `visibility` are never read [INFO] [stdout] --> src/source_graph.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct Import { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 109 | pub path: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 110 | pub visibility: Visibility, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Import` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.48s [INFO] running `Command { std: "docker" "inspect" "34e9191d589d4145e1f8db91ca591de247d09d25c586ce928e240cb77ae18fe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34e9191d589d4145e1f8db91ca591de247d09d25c586ce928e240cb77ae18fe4", kill_on_drop: false }` [INFO] [stdout] 34e9191d589d4145e1f8db91ca591de247d09d25c586ce928e240cb77ae18fe4