[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 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [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-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nikajia/flutter_rust_bridge_codegen-1.61.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39467e5ac64c90ba95ed510e7bf722044bf44820238fbf295b92361f41e536c3 [INFO] running `Command { std: "docker" "start" "-a" "39467e5ac64c90ba95ed510e7bf722044bf44820238fbf295b92361f41e536c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39467e5ac64c90ba95ed510e7bf722044bf44820238fbf295b92361f41e536c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39467e5ac64c90ba95ed510e7bf722044bf44820238fbf295b92361f41e536c3", kill_on_drop: false }` [INFO] [stdout] 39467e5ac64c90ba95ed510e7bf722044bf44820238fbf295b92361f41e536c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26ae0250166027a15cc8df5fc1b27d7c6c99a8ec25a8f593f254a465f26cd338 [INFO] running `Command { std: "docker" "start" "-a" "26ae0250166027a15cc8df5fc1b27d7c6c99a8ec25a8f593f254a465f26cd338", 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 serde v1.0.140 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking os_str_bytes v6.2.0 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling camino v1.0.9 [INFO] [stderr] Compiling semver v1.0.12 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling cbindgen v0.24.3 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking heck v0.4.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking convert_case v0.5.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking topological-sort v0.2.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.2.15 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling enum_dispatch v0.3.8 [INFO] [stderr] Compiling extend v1.1.2 [INFO] [stderr] Compiling delegate v0.8.0 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking clap v3.2.16 [INFO] [stderr] Checking cargo-platform v0.1.2 [INFO] [stderr] Checking toml v0.5.9 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: struct `DartImports` is never constructed [INFO] [stdout] --> src/parser/mod.rs:493:12 [INFO] [stdout] | [INFO] [stdout] 493 | pub struct DartImports(Vec); [INFO] [stdout] | ^^^^^^^^^^^ [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(MirrorOption), [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] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/config.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub rust_input: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/config.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub dart_output: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/config.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub dart_decl_output: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/config.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub c_output: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/config.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub extra_c_output_path: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/config.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub rust_crate_dir: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/config.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub rust_output: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/config.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub class_name: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/config.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub llvm_path: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/config.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub llvm_compiler_opts: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/config.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub dart_root: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/config.rs:148:28 [INFO] [stdout] | [INFO] [stdout] 148 | let mut path = std::path::PathBuf::from_str(each).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generator/dart/wasm.rs:64:48 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn reconstruct_dart_wire_from_raw_repr(ty: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 64 | pub fn reconstruct_dart_wire_from_raw_repr(ty: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generator/rust/ty.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 12 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generator/rust/ty_boxed.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generator/rust/ty_dart_opaque.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generator/rust/ty_delegate.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 178 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generator/rust/ty_optional.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generator/rust/ty_primitive.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 12 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generator/rust/ty_primitive_list.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generator/rust/ty_rust_opaque.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generator/rust/ty_sync_return.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | fn wire2api_jsvalue(&self) -> Option>; [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | fn wire2api_jsvalue(&self) -> Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flutter_rust_bridge_codegen` (lib) due to 12 previous errors; 23 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` (part of `#[warn(unused)]`) 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: struct `DartImports` is never constructed [INFO] [stdout] --> src/parser/mod.rs:493:12 [INFO] [stdout] | [INFO] [stdout] 493 | pub struct DartImports(Vec); [INFO] [stdout] | ^^^^^^^^^^^ [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(MirrorOption), [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] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/config.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub rust_input: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/config.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub dart_output: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/config.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub dart_decl_output: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/config.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub c_output: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/config.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub extra_c_output_path: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/config.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub rust_crate_dir: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/config.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub rust_output: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/config.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub class_name: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/config.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub llvm_path: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/config.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub llvm_compiler_opts: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/config.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub dart_root: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/config.rs:148:28 [INFO] [stdout] | [INFO] [stdout] 148 | let mut path = std::path::PathBuf::from_str(each).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generator/dart/wasm.rs:64:48 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn reconstruct_dart_wire_from_raw_repr(ty: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 64 | pub fn reconstruct_dart_wire_from_raw_repr(ty: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generator/rust/ty.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 12 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generator/rust/ty_boxed.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generator/rust/ty_dart_opaque.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generator/rust/ty_delegate.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 178 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generator/rust/ty_optional.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generator/rust/ty_primitive.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 12 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generator/rust/ty_primitive_list.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generator/rust/ty_rust_opaque.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | fn wire2api_jsvalue(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generator/rust/ty_sync_return.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | fn wire2api_jsvalue(&self) -> Option>; [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | fn wire2api_jsvalue(&self) -> Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flutter_rust_bridge_codegen` (lib test) due to 12 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "26ae0250166027a15cc8df5fc1b27d7c6c99a8ec25a8f593f254a465f26cd338", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26ae0250166027a15cc8df5fc1b27d7c6c99a8ec25a8f593f254a465f26cd338", kill_on_drop: false }` [INFO] [stdout] 26ae0250166027a15cc8df5fc1b27d7c6c99a8ec25a8f593f254a465f26cd338