[INFO] cloning repository https://github.com/dhcdht/rs_hpp_bridge
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dhcdht/rs_hpp_bridge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhcdht%2Frs_hpp_bridge", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhcdht%2Frs_hpp_bridge'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 207650dc04dde4cbb07c0066d7920f77ed86c679
[INFO] checking dhcdht/rs_hpp_bridge against try#09eeb2bacb9b40b2ed1d47f03177442c0632cda1 for pr-157710
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhcdht%2Frs_hpp_bridge" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dhcdht/rs_hpp_bridge
[INFO] finished tweaking git repo https://github.com/dhcdht/rs_hpp_bridge
[INFO] tweaked toml for git repo https://github.com/dhcdht/rs_hpp_bridge written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dhcdht/rs_hpp_bridge on toolchain 09eeb2bacb9b40b2ed1d47f03177442c0632cda1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dhcdht/rs_hpp_bridge 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" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded once_cell v1.20.3
[INFO] [stderr]   Downloaded clap_derive v4.5.28
[INFO] [stderr]   Downloaded clap v4.5.29
[INFO] [stderr]   Downloaded clang v2.0.0
[INFO] [stderr]   Downloaded clap_builder v4.5.29
[INFO] [stderr]   Downloaded syn v2.0.98
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8924651096a5fd3ac312081a7b5fbfdb033d121a40ba083b96b065a19cd2c14f
[INFO] running `Command { std: "docker" "start" "8924651096a5fd3ac312081a7b5fbfdb033d121a40ba083b96b065a19cd2c14f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8924651096a5fd3ac312081a7b5fbfdb033d121a40ba083b96b065a19cd2c14f" "/opt/rustwide/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8924651096a5fd3ac312081a7b5fbfdb033d121a40ba083b96b065a19cd2c14f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8924651096a5fd3ac312081a7b5fbfdb033d121a40ba083b96b065a19cd2c14f" "/opt/rustwide/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.16
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling rs_hpp_bridge v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking clap_builder v4.5.29
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]     Checking clang v2.0.0
[INFO] [stderr]    Compiling clap_derive v4.5.28
[INFO] [stderr]     Checking clap v4.5.29
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> tests/test_lib.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `class`
[INFO] [stdout]    --> src/parser.rs:676:27
[INFO] [stdout]     |
[INFO] [stdout] 676 |         HppElement::Class(class) => {
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_class`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ffi_class_name`
[INFO] [stdout]    --> src/gen_c.rs:455:9
[INFO] [stdout]     |
[INFO] [stdout] 455 |     let ffi_class_name = format!("FFI_{}", class.unwrap().type_str);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ffi_class_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fun_ptr_var_str`
[INFO] [stdout]    --> src/gen_c.rs:457:9
[INFO] [stdout]     |
[INFO] [stdout] 457 |     let fun_ptr_var_str = format!("{}_{}", class.unwrap().type_str, method.name);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fun_ptr_var_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]     --> src/gen_c.rs:1092:9
[INFO] [stdout]      |
[INFO] [stdout] 1092 |         _ => {
[INFO] [stdout]      |         ^ no value can reach this
[INFO] [stdout]      |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]     --> src/gen_c.rs:1092:9
[INFO] [stdout]      |
[INFO] [stdout] 1027 |         MethodType::Constructor => {
[INFO] [stdout]      |         ----------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1077 |         MethodType::Destructor => {
[INFO] [stdout]      |         ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1085 |         MethodType::Normal => {
[INFO] [stdout]      |         ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1092 |         _ => {
[INFO] [stdout]      |         ^ collectively making this unreachable
[INFO] [stdout]      = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `method_impl` is never read
[INFO] [stdout]     --> src/gen_c.rs:1025:27
[INFO] [stdout]      |
[INFO] [stdout] 1025 |     let mut method_impl = String::new();
[INFO] [stdout]      |                           ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 1071 |                 method_impl = format!("{} {{
[INFO] [stdout]      |                 ----------- `method_impl` is overwritten here before the previous value is read
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cls`
[INFO] [stdout]     --> src/gen_c.rs:1105:33
[INFO] [stdout]      |
[INFO] [stdout] 1105 |     let is_static = if let Some(cls) = class {
[INFO] [stdout]      |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_cls`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]     --> src/gen_c.rs:1267:9
[INFO] [stdout]      |
[INFO] [stdout] 1267 |         _ => {
[INFO] [stdout]      |         ^ no value can reach this
[INFO] [stdout]      |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]     --> src/gen_c.rs:1267:9
[INFO] [stdout]      |
[INFO] [stdout] 1255 |         MethodType::Constructor => {
[INFO] [stdout]      |         ----------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1258 |         MethodType::Destructor => {
[INFO] [stdout]      |         ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1261 |         MethodType::Normal => {
[INFO] [stdout]      |         ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1267 |         _ => {
[INFO] [stdout]      |         ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]     --> src/gen_c.rs:1274:58
[INFO] [stdout]      |
[INFO] [stdout] 1274 | fn get_str_decl_class_name<'a>(class: Option<&'a Class>, method: &Method) -> &'a str {
[INFO] [stdout]      |                                                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/gen_dart.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout] 234 |         _ => {
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/gen_dart.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout]  48 |         HppElement::File(file) => {
[INFO] [stdout]     |         ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  97 |         HppElement::Class(class) => {
[INFO] [stdout]     |         ------------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 187 |         HppElement::Method(method) => {
[INFO] [stdout]     |         -------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 205 |         HppElement::Field(field) => {
[INFO] [stdout]     |         ------------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 234 |         _ => {
[INFO] [stdout]     |         ^ ...and 1 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/gen_dart.rs:350:9
[INFO] [stdout]     |
[INFO] [stdout] 350 |         _ => {
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/gen_dart.rs:350:9
[INFO] [stdout]     |
[INFO] [stdout] 242 |         HppElement::File(file) => {
[INFO] [stdout]     |         ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 269 |         HppElement::Class(class) => {
[INFO] [stdout]     |         ------------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 300 |         HppElement::Method(method) => {
[INFO] [stdout]     |         -------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 324 |         HppElement::Field(field) => {
[INFO] [stdout]     |         ------------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 350 |         _ => {
[INFO] [stdout]     |         ^ ...and 1 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gen_context`
[INFO] [stdout]    --> src/gen_dart.rs:357:41
[INFO] [stdout]     |
[INFO] [stdout] 357 | fn gen_dart_fun_for_regist_callback<'a>(gen_context: &GenContext, hpp_element: &'a HppElement, gen_out_dir: &str, dart_gen_context:...
[INFO] [stdout]     |                                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gen_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gen_out_dir`
[INFO] [stdout]    --> src/gen_dart.rs:357:96
[INFO] [stdout]     |
[INFO] [stdout] 357 | ...ent: &'a HppElement, gen_out_dir: &str, dart_gen_context: Option<&mut DartGenContext<'a>>, init_str: &mut String) {
[INFO] [stdout]     |                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gen_out_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/gen_dart.rs:398:9
[INFO] [stdout]     |
[INFO] [stdout] 398 |         _ => {
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/gen_dart.rs:398:9
[INFO] [stdout]     |
[INFO] [stdout] 392 |         MethodType::Normal | MethodType::Destructor => {
[INFO] [stdout]     |         ------------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 395 |         MethodType::Constructor => {
[INFO] [stdout]     |         ----------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 398 |         _ => {
[INFO] [stdout]     |         ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `class`
[INFO] [stdout]    --> src/gen_dart.rs:595:51
[INFO] [stdout]     |
[INFO] [stdout] 595 | fn get_str_port_fun_params_impl_for_sync_callback(class: Option<&Class>, method: &Method) -> String {
[INFO] [stdout]     |                                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_class`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/gen_dart.rs:683:9
[INFO] [stdout]     |
[INFO] [stdout] 683 |         _ => {
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/gen_dart.rs:683:9
[INFO] [stdout]     |
[INFO] [stdout] 639 |         MethodType::Normal => {
[INFO] [stdout]     |         ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 643 |         MethodType::Constructor => {
[INFO] [stdout]     |         ----------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 679 |         MethodType::Destructor => {
[INFO] [stdout]     |         ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 683 |         _ => {
[INFO] [stdout]     |         ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `class_is_callback`
[INFO] [stdout]    --> src/gen_dart.rs:622:26
[INFO] [stdout]     |
[INFO] [stdout] 622 |     let (cur_class_name, class_is_callback) = if let Some(cur_class) = class {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_class_is_callback`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `param`
[INFO] [stdout]    --> src/gen_dart.rs:655:37
[INFO] [stdout]     |
[INFO] [stdout] 655 | ...                   for param in &m.params {
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `class`
[INFO] [stdout]    --> src/gen_dart.rs:697:33
[INFO] [stdout]     |
[INFO] [stdout] 697 | fn get_str_dart_fun_params_decl(class: Option<&Class>, method: &Method) -> String {
[INFO] [stdout]     |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_class`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `class`
[INFO] [stdout]    --> src/parser.rs:676:27
[INFO] [stdout]     |
[INFO] [stdout] 676 |         HppElement::Class(class) => {
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_class`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `default_return`
[INFO] [stdout]    --> src/gen_dart.rs:808:13
[INFO] [stdout]     |
[INFO] [stdout] 808 |         let default_return = match method.return_type.type_kind {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default_return`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `register_fun_name`
[INFO] [stdout]    --> src/gen_dart.rs:872:13
[INFO] [stdout]     |
[INFO] [stdout] 872 |         let register_fun_name = format!("FFI_{}_{}_FnPtr_register", cur_class_name, method.name);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_register_fun_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `exception_value_str`
[INFO] [stdout]    --> src/gen_dart.rs:892:13
[INFO] [stdout]     |
[INFO] [stdout] 892 |         let exception_value_str = if exception_default_value_str.is_empty() {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exception_value_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `class`
[INFO] [stdout]    --> src/gen_dart.rs:930:53
[INFO] [stdout]     |
[INFO] [stdout] 930 | fn get_str_dart_fun_params_impl_for_regist_callback(class: Option<&Class>, method: &Method) -> String {
[INFO] [stdout]     |                                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_class`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `class`
[INFO] [stdout]     --> src/gen_dart.rs:1117:47
[INFO] [stdout]      |
[INFO] [stdout] 1117 | fn get_str_native_callback_function_signature(class: Option<&Class>, method: &Method) -> String {
[INFO] [stdout]      |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_class`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]     --> src/gen_dart.rs:1313:13
[INFO] [stdout]      |
[INFO] [stdout] 1313 |             _ => {
[INFO] [stdout]      |             ^ no value can reach this
[INFO] [stdout]      |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]     --> src/gen_dart.rs:1313:13
[INFO] [stdout]      |
[INFO] [stdout] 1262 |             TypeKind::Void => {
[INFO] [stdout]      |             -------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1265 |             TypeKind::Int64 => {
[INFO] [stdout]      |             --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1268 |             TypeKind::Float => {
[INFO] [stdout]      |             --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1271 |             TypeKind::Double => {
[INFO] [stdout]      |             ---------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1313 |             _ => {
[INFO] [stdout]      |             ^ ...and 12 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ffi_class_name`
[INFO] [stdout]    --> src/gen_c.rs:455:9
[INFO] [stdout]     |
[INFO] [stdout] 455 |     let ffi_class_name = format!("FFI_{}", class.unwrap().type_str);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ffi_class_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fun_ptr_var_str`
[INFO] [stdout]    --> src/gen_c.rs:457:9
[INFO] [stdout]     |
[INFO] [stdout] 457 |     let fun_ptr_var_str = format!("{}_{}", class.unwrap().type_str, method.name);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fun_ptr_var_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]     --> src/gen_c.rs:1092:9
[INFO] [stdout]      |
[INFO] [stdout] 1092 |         _ => {
[INFO] [stdout]      |         ^ no value can reach this
[INFO] [stdout]      |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]     --> src/gen_c.rs:1092:9
[INFO] [stdout]      |
[INFO] [stdout] 1027 |         MethodType::Constructor => {
[INFO] [stdout]      |         ----------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1077 |         MethodType::Destructor => {
[INFO] [stdout]      |         ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1085 |         MethodType::Normal => {
[INFO] [stdout]      |         ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1092 |         _ => {
[INFO] [stdout]      |         ^ collectively making this unreachable
[INFO] [stdout]      = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `method_impl` is never read
[INFO] [stdout]     --> src/gen_c.rs:1025:27
[INFO] [stdout]      |
[INFO] [stdout] 1025 |     let mut method_impl = String::new();
[INFO] [stdout]      |                           ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 1071 |                 method_impl = format!("{} {{
[INFO] [stdout]      |                 ----------- `method_impl` is overwritten here before the previous value is read
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `gen_context` is never read
[INFO] [stdout]   --> src/gen_c.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct CFileContext<'a> {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub gen_context: &'a GenContext,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CFileContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_str_port_fun_params_impl_for_sync_callback` is never used
[INFO] [stdout]    --> src/gen_dart.rs:595:4
[INFO] [stdout]     |
[INFO] [stdout] 595 | fn get_str_port_fun_params_impl_for_sync_callback(class: Option<&Class>, method: &Method) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_str_native_callback_function_signature` is never used
[INFO] [stdout]     --> src/gen_dart.rs:1117:4
[INFO] [stdout]      |
[INFO] [stdout] 1117 | fn get_str_native_callback_function_signature(class: Option<&Class>, method: &Method) -> String {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cls`
[INFO] [stdout]     --> src/gen_c.rs:1105:33
[INFO] [stdout]      |
[INFO] [stdout] 1105 |     let is_static = if let Some(cls) = class {
[INFO] [stdout]      |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_cls`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_clang_ClassDecl` should have a snake case name
[INFO] [stdout]    --> src/parser.rs:155:4
[INFO] [stdout]     |
[INFO] [stdout] 155 | fn handle_clang_ClassDecl(out_hpp_element: &mut HppElement, entity: &clang::Entity<'_>, indent: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `handle_clang_class_decl`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_clang_Constructor` should have a snake case name
[INFO] [stdout]    --> src/parser.rs:638:4
[INFO] [stdout]     |
[INFO] [stdout] 638 | fn handle_clang_Constructor(out_hpp_element: &mut HppElement, entity: &clang::Entity<'_>, indent: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `handle_clang_constructor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_clang_Destructor` should have a snake case name
[INFO] [stdout]    --> src/parser.rs:674:4
[INFO] [stdout]     |
[INFO] [stdout] 674 | fn handle_clang_Destructor(out_hpp_element: &mut HppElement, entity: &clang::Entity,) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `handle_clang_destructor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_clang_Method` should have a snake case name
[INFO] [stdout]    --> src/parser.rs:694:4
[INFO] [stdout]     |
[INFO] [stdout] 694 | fn handle_clang_Method(out_hpp_element: &mut HppElement, entity: &clang::Entity<'_>, indent: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `handle_clang_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_clang_ParmDecl` should have a snake case name
[INFO] [stdout]    --> src/parser.rs:778:4
[INFO] [stdout]     |
[INFO] [stdout] 778 | fn handle_clang_ParmDecl(out_hpp_element: &mut HppElement, entity: &clang::Entity<'_>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `handle_clang_parm_decl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]     --> src/gen_c.rs:1267:9
[INFO] [stdout]      |
[INFO] [stdout] 1267 |         _ => {
[INFO] [stdout]      |         ^ no value can reach this
[INFO] [stdout]      |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]     --> src/gen_c.rs:1267:9
[INFO] [stdout]      |
[INFO] [stdout] 1255 |         MethodType::Constructor => {
[INFO] [stdout]      |         ----------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1258 |         MethodType::Destructor => {
[INFO] [stdout]      |         ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1261 |         MethodType::Normal => {
[INFO] [stdout]      |         ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1267 |         _ => {
[INFO] [stdout]      |         ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_clang_FieldDecl` should have a snake case name
[INFO] [stdout]    --> src/parser.rs:804:4
[INFO] [stdout]     |
[INFO] [stdout] 804 | fn handle_clang_FieldDecl(out_hpp_element: &mut HppElement, entity: &clang::Entity<'_>, indent: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `handle_clang_field_decl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_clang_FunctionDecl` should have a snake case name
[INFO] [stdout]    --> src/parser.rs:828:4
[INFO] [stdout]     |
[INFO] [stdout] 828 | fn handle_clang_FunctionDecl(out_hpp_element: &mut HppElement, entity: &clang::Entity<'_>, indent: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `handle_clang_function_decl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]     --> src/gen_c.rs:1274:58
[INFO] [stdout]      |
[INFO] [stdout] 1274 | fn get_str_decl_class_name<'a>(class: Option<&'a Class>, method: &Method) -> &'a str {
[INFO] [stdout]      |                                                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_clang_EnumDecl` should have a snake case name
[INFO] [stdout]    --> src/parser.rs:886:4
[INFO] [stdout]     |
[INFO] [stdout] 886 | fn handle_clang_EnumDecl(out_hpp_element: &mut HppElement, entity: &clang::Entity<'_>, _indent: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `handle_clang_enum_decl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_c.rs:139:5
[INFO] [stdout]     |
[INFO] [stdout] 139 |     ch_file.write_all(ch_str.as_bytes());
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 139 |     let _ = ch_file.write_all(ch_str.as_bytes());
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_c.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 140 |     cc_file.write_all(cc_str.as_bytes());
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 140 |     let _ = cc_file.write_all(cc_str.as_bytes());
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/gen_dart.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     public_file.write_all(public_file_str.as_bytes());
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let _ = public_file.write_all(public_file_str.as_bytes());
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/gen_dart.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |             dart_file.write(file_header.as_bytes());
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 90 |             let _ = dart_file.write(file_header.as_bytes());
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:129:13
[INFO] [stdout]     |
[INFO] [stdout] 129 |             dart_file_header.write(class_header.as_bytes());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 129 |             let _ = dart_file_header.write(class_header.as_bytes());
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:134:17
[INFO] [stdout]     |
[INFO] [stdout] 134 |                 dart_file_header.write(callback_header.as_bytes());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 134 |                 let _ = dart_file_header.write(callback_header.as_bytes());
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:147:17
[INFO] [stdout]     |
[INFO] [stdout] 147 |                 dart_file.write(convenience_methods.as_bytes());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 147 |                 let _ = dart_file.write(convenience_methods.as_bytes());
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:151:17
[INFO] [stdout]     |
[INFO] [stdout] 151 |                 dart_file.write(convenience_methods.as_bytes());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 151 |                 let _ = dart_file.write(convenience_methods.as_bytes());
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:155:17
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 dart_file.write(convenience_methods.as_bytes());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 let _ = dart_file.write(convenience_methods.as_bytes());
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:159:17
[INFO] [stdout]     |
[INFO] [stdout] 159 |                 dart_file.write(convenience_methods.as_bytes());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 159 |                 let _ = dart_file.write(convenience_methods.as_bytes());
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:176:13
[INFO] [stdout]     |
[INFO] [stdout] 176 |             dart_file_footer.write(class_footer.as_bytes());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 176 |             let _ = dart_file_footer.write(class_footer.as_bytes());
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:184:17
[INFO] [stdout]     |
[INFO] [stdout] 184 |                 dart_file_footer.write(callback_footer.as_bytes());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 184 |                 let _ = dart_file_footer.write(callback_footer.as_bytes());
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 |             dart_file.write(method_impl.as_bytes());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 203 |             let _ = dart_file.write(method_impl.as_bytes());
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:225:13
[INFO] [stdout]     |
[INFO] [stdout] 225 |             dart_file.write(format!("{}\n{}\n", get_method_str, set_method_str).as_bytes());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 225 |             let _ = dart_file.write(format!("{}\n{}\n", get_method_str, set_method_str).as_bytes());
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:232:13
[INFO] [stdout]     |
[INFO] [stdout] 232 |             dart_file.write(enum_code.as_bytes());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 232 |             let _ = dart_file.write(enum_code.as_bytes());
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:262:13
[INFO] [stdout]     |
[INFO] [stdout] 262 |             ffiapi_file.write(file_header.as_bytes());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 262 |             let _ = ffiapi_file.write(file_header.as_bytes());
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:291:21
[INFO] [stdout]     |
[INFO] [stdout] 291 |                     ffiapi_file.write(set_result_api.as_bytes());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 291 |                     let _ = ffiapi_file.write(set_result_api.as_bytes());
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:318:17
[INFO] [stdout]     |
[INFO] [stdout] 318 |                 ffiapi_file.write(format!("{}", dart_api_str).as_bytes());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 318 |                 let _ = ffiapi_file.write(format!("{}", dart_api_str).as_bytes());
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:322:13
[INFO] [stdout]     |
[INFO] [stdout] 322 |             ffiapi_file.write(format!("{}\n", dart_api_str).as_bytes());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 322 |             let _ = ffiapi_file.write(format!("{}\n", dart_api_str).as_bytes());
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:344:13
[INFO] [stdout]     |
[INFO] [stdout] 344 |             ffiapi_file.write(format!("{}\n{}\n", get_method_str, set_method_str).as_bytes());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 344 |             let _ = ffiapi_file.write(format!("{}\n{}\n", get_method_str, set_method_str).as_bytes());
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:365:13
[INFO] [stdout]     |
[INFO] [stdout] 365 |             dart_file.write(dart_fun_impl.as_bytes());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 365 |             let _ = dart_file.write(dart_fun_impl.as_bytes());
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/gen_dart.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout] 234 |         _ => {
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/gen_dart.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout]  48 |         HppElement::File(file) => {
[INFO] [stdout]     |         ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  97 |         HppElement::Class(class) => {
[INFO] [stdout]     |         ------------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 187 |         HppElement::Method(method) => {
[INFO] [stdout]     |         -------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 205 |         HppElement::Field(field) => {
[INFO] [stdout]     |         ------------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 234 |         _ => {
[INFO] [stdout]     |         ^ ...and 1 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/gen_dart.rs:350:9
[INFO] [stdout]     |
[INFO] [stdout] 350 |         _ => {
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/gen_dart.rs:350:9
[INFO] [stdout]     |
[INFO] [stdout] 242 |         HppElement::File(file) => {
[INFO] [stdout]     |         ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 269 |         HppElement::Class(class) => {
[INFO] [stdout]     |         ------------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 300 |         HppElement::Method(method) => {
[INFO] [stdout]     |         -------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 324 |         HppElement::Field(field) => {
[INFO] [stdout]     |         ------------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 350 |         _ => {
[INFO] [stdout]     |         ^ ...and 1 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gen_context`
[INFO] [stdout]    --> src/gen_dart.rs:357:41
[INFO] [stdout]     |
[INFO] [stdout] 357 | fn gen_dart_fun_for_regist_callback<'a>(gen_context: &GenContext, hpp_element: &'a HppElement, gen_out_dir: &str, dart_gen_context:...
[INFO] [stdout]     |                                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gen_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gen_out_dir`
[INFO] [stdout]    --> src/gen_dart.rs:357:96
[INFO] [stdout]     |
[INFO] [stdout] 357 | ...ent: &'a HppElement, gen_out_dir: &str, dart_gen_context: Option<&mut DartGenContext<'a>>, init_str: &mut String) {
[INFO] [stdout]     |                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gen_out_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/gen_dart.rs:398:9
[INFO] [stdout]     |
[INFO] [stdout] 398 |         _ => {
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/gen_dart.rs:398:9
[INFO] [stdout]     |
[INFO] [stdout] 392 |         MethodType::Normal | MethodType::Destructor => {
[INFO] [stdout]     |         ------------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 395 |         MethodType::Constructor => {
[INFO] [stdout]     |         ----------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 398 |         _ => {
[INFO] [stdout]     |         ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `class`
[INFO] [stdout]    --> src/gen_dart.rs:595:51
[INFO] [stdout]     |
[INFO] [stdout] 595 | fn get_str_port_fun_params_impl_for_sync_callback(class: Option<&Class>, method: &Method) -> String {
[INFO] [stdout]     |                                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_class`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/gen_dart.rs:683:9
[INFO] [stdout]     |
[INFO] [stdout] 683 |         _ => {
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/gen_dart.rs:683:9
[INFO] [stdout]     |
[INFO] [stdout] 639 |         MethodType::Normal => {
[INFO] [stdout]     |         ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 643 |         MethodType::Constructor => {
[INFO] [stdout]     |         ----------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 679 |         MethodType::Destructor => {
[INFO] [stdout]     |         ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 683 |         _ => {
[INFO] [stdout]     |         ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `class_is_callback`
[INFO] [stdout]    --> src/gen_dart.rs:622:26
[INFO] [stdout]     |
[INFO] [stdout] 622 |     let (cur_class_name, class_is_callback) = if let Some(cur_class) = class {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_class_is_callback`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `param`
[INFO] [stdout]    --> src/gen_dart.rs:655:37
[INFO] [stdout]     |
[INFO] [stdout] 655 | ...                   for param in &m.params {
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `class`
[INFO] [stdout]    --> src/gen_dart.rs:697:33
[INFO] [stdout]     |
[INFO] [stdout] 697 | fn get_str_dart_fun_params_decl(class: Option<&Class>, method: &Method) -> String {
[INFO] [stdout]     |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_class`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `default_return`
[INFO] [stdout]    --> src/gen_dart.rs:808:13
[INFO] [stdout]     |
[INFO] [stdout] 808 |         let default_return = match method.return_type.type_kind {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default_return`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `register_fun_name`
[INFO] [stdout]    --> src/gen_dart.rs:872:13
[INFO] [stdout]     |
[INFO] [stdout] 872 |         let register_fun_name = format!("FFI_{}_{}_FnPtr_register", cur_class_name, method.name);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_register_fun_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `exception_value_str`
[INFO] [stdout]    --> src/gen_dart.rs:892:13
[INFO] [stdout]     |
[INFO] [stdout] 892 |         let exception_value_str = if exception_default_value_str.is_empty() {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exception_value_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `class`
[INFO] [stdout]    --> src/gen_dart.rs:930:53
[INFO] [stdout]     |
[INFO] [stdout] 930 | fn get_str_dart_fun_params_impl_for_regist_callback(class: Option<&Class>, method: &Method) -> String {
[INFO] [stdout]     |                                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_class`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `class`
[INFO] [stdout]     --> src/gen_dart.rs:1117:47
[INFO] [stdout]      |
[INFO] [stdout] 1117 | fn get_str_native_callback_function_signature(class: Option<&Class>, method: &Method) -> String {
[INFO] [stdout]      |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_class`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]     --> src/gen_dart.rs:1313:13
[INFO] [stdout]      |
[INFO] [stdout] 1313 |             _ => {
[INFO] [stdout]      |             ^ no value can reach this
[INFO] [stdout]      |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]     --> src/gen_dart.rs:1313:13
[INFO] [stdout]      |
[INFO] [stdout] 1262 |             TypeKind::Void => {
[INFO] [stdout]      |             -------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1265 |             TypeKind::Int64 => {
[INFO] [stdout]      |             --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1268 |             TypeKind::Float => {
[INFO] [stdout]      |             --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1271 |             TypeKind::Double => {
[INFO] [stdout]      |             ---------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1313 |             _ => {
[INFO] [stdout]      |             ^ ...and 12 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `gen_context` is never read
[INFO] [stdout]   --> src/gen_c.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct CFileContext<'a> {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub gen_context: &'a GenContext,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CFileContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_str_port_fun_params_impl_for_sync_callback` is never used
[INFO] [stdout]    --> src/gen_dart.rs:595:4
[INFO] [stdout]     |
[INFO] [stdout] 595 | fn get_str_port_fun_params_impl_for_sync_callback(class: Option<&Class>, method: &Method) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_str_native_callback_function_signature` is never used
[INFO] [stdout]     --> src/gen_dart.rs:1117:4
[INFO] [stdout]      |
[INFO] [stdout] 1117 | fn get_str_native_callback_function_signature(class: Option<&Class>, method: &Method) -> String {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_clang_ClassDecl` should have a snake case name
[INFO] [stdout]    --> src/parser.rs:155:4
[INFO] [stdout]     |
[INFO] [stdout] 155 | fn handle_clang_ClassDecl(out_hpp_element: &mut HppElement, entity: &clang::Entity<'_>, indent: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `handle_clang_class_decl`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_clang_Constructor` should have a snake case name
[INFO] [stdout]    --> src/parser.rs:638:4
[INFO] [stdout]     |
[INFO] [stdout] 638 | fn handle_clang_Constructor(out_hpp_element: &mut HppElement, entity: &clang::Entity<'_>, indent: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `handle_clang_constructor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_clang_Destructor` should have a snake case name
[INFO] [stdout]    --> src/parser.rs:674:4
[INFO] [stdout]     |
[INFO] [stdout] 674 | fn handle_clang_Destructor(out_hpp_element: &mut HppElement, entity: &clang::Entity,) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `handle_clang_destructor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_clang_Method` should have a snake case name
[INFO] [stdout]    --> src/parser.rs:694:4
[INFO] [stdout]     |
[INFO] [stdout] 694 | fn handle_clang_Method(out_hpp_element: &mut HppElement, entity: &clang::Entity<'_>, indent: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `handle_clang_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_clang_ParmDecl` should have a snake case name
[INFO] [stdout]    --> src/parser.rs:778:4
[INFO] [stdout]     |
[INFO] [stdout] 778 | fn handle_clang_ParmDecl(out_hpp_element: &mut HppElement, entity: &clang::Entity<'_>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `handle_clang_parm_decl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_clang_FieldDecl` should have a snake case name
[INFO] [stdout]    --> src/parser.rs:804:4
[INFO] [stdout]     |
[INFO] [stdout] 804 | fn handle_clang_FieldDecl(out_hpp_element: &mut HppElement, entity: &clang::Entity<'_>, indent: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `handle_clang_field_decl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_clang_FunctionDecl` should have a snake case name
[INFO] [stdout]    --> src/parser.rs:828:4
[INFO] [stdout]     |
[INFO] [stdout] 828 | fn handle_clang_FunctionDecl(out_hpp_element: &mut HppElement, entity: &clang::Entity<'_>, indent: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `handle_clang_function_decl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_clang_EnumDecl` should have a snake case name
[INFO] [stdout]    --> src/parser.rs:886:4
[INFO] [stdout]     |
[INFO] [stdout] 886 | fn handle_clang_EnumDecl(out_hpp_element: &mut HppElement, entity: &clang::Entity<'_>, _indent: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `handle_clang_enum_decl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_c.rs:139:5
[INFO] [stdout]     |
[INFO] [stdout] 139 |     ch_file.write_all(ch_str.as_bytes());
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 139 |     let _ = ch_file.write_all(ch_str.as_bytes());
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_c.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 140 |     cc_file.write_all(cc_str.as_bytes());
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 140 |     let _ = cc_file.write_all(cc_str.as_bytes());
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/gen_dart.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     public_file.write_all(public_file_str.as_bytes());
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let _ = public_file.write_all(public_file_str.as_bytes());
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/gen_dart.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |             dart_file.write(file_header.as_bytes());
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 90 |             let _ = dart_file.write(file_header.as_bytes());
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:129:13
[INFO] [stdout]     |
[INFO] [stdout] 129 |             dart_file_header.write(class_header.as_bytes());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 129 |             let _ = dart_file_header.write(class_header.as_bytes());
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:134:17
[INFO] [stdout]     |
[INFO] [stdout] 134 |                 dart_file_header.write(callback_header.as_bytes());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 134 |                 let _ = dart_file_header.write(callback_header.as_bytes());
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:147:17
[INFO] [stdout]     |
[INFO] [stdout] 147 |                 dart_file.write(convenience_methods.as_bytes());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 147 |                 let _ = dart_file.write(convenience_methods.as_bytes());
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:151:17
[INFO] [stdout]     |
[INFO] [stdout] 151 |                 dart_file.write(convenience_methods.as_bytes());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 151 |                 let _ = dart_file.write(convenience_methods.as_bytes());
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:155:17
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 dart_file.write(convenience_methods.as_bytes());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 let _ = dart_file.write(convenience_methods.as_bytes());
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:159:17
[INFO] [stdout]     |
[INFO] [stdout] 159 |                 dart_file.write(convenience_methods.as_bytes());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 159 |                 let _ = dart_file.write(convenience_methods.as_bytes());
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:176:13
[INFO] [stdout]     |
[INFO] [stdout] 176 |             dart_file_footer.write(class_footer.as_bytes());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 176 |             let _ = dart_file_footer.write(class_footer.as_bytes());
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:184:17
[INFO] [stdout]     |
[INFO] [stdout] 184 |                 dart_file_footer.write(callback_footer.as_bytes());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 184 |                 let _ = dart_file_footer.write(callback_footer.as_bytes());
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 |             dart_file.write(method_impl.as_bytes());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 203 |             let _ = dart_file.write(method_impl.as_bytes());
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:225:13
[INFO] [stdout]     |
[INFO] [stdout] 225 |             dart_file.write(format!("{}\n{}\n", get_method_str, set_method_str).as_bytes());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 225 |             let _ = dart_file.write(format!("{}\n{}\n", get_method_str, set_method_str).as_bytes());
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:232:13
[INFO] [stdout]     |
[INFO] [stdout] 232 |             dart_file.write(enum_code.as_bytes());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 232 |             let _ = dart_file.write(enum_code.as_bytes());
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:262:13
[INFO] [stdout]     |
[INFO] [stdout] 262 |             ffiapi_file.write(file_header.as_bytes());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 262 |             let _ = ffiapi_file.write(file_header.as_bytes());
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:291:21
[INFO] [stdout]     |
[INFO] [stdout] 291 |                     ffiapi_file.write(set_result_api.as_bytes());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 291 |                     let _ = ffiapi_file.write(set_result_api.as_bytes());
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:318:17
[INFO] [stdout]     |
[INFO] [stdout] 318 |                 ffiapi_file.write(format!("{}", dart_api_str).as_bytes());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 318 |                 let _ = ffiapi_file.write(format!("{}", dart_api_str).as_bytes());
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:322:13
[INFO] [stdout]     |
[INFO] [stdout] 322 |             ffiapi_file.write(format!("{}\n", dart_api_str).as_bytes());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 322 |             let _ = ffiapi_file.write(format!("{}\n", dart_api_str).as_bytes());
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:344:13
[INFO] [stdout]     |
[INFO] [stdout] 344 |             ffiapi_file.write(format!("{}\n{}\n", get_method_str, set_method_str).as_bytes());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 344 |             let _ = ffiapi_file.write(format!("{}\n{}\n", get_method_str, set_method_str).as_bytes());
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gen_dart.rs:365:13
[INFO] [stdout]     |
[INFO] [stdout] 365 |             dart_file.write(dart_fun_impl.as_bytes());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 365 |             let _ = dart_file.write(dart_fun_impl.as_bytes());
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.56s
[INFO] running `Command { std: "docker" "inspect" "8924651096a5fd3ac312081a7b5fbfdb033d121a40ba083b96b065a19cd2c14f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8924651096a5fd3ac312081a7b5fbfdb033d121a40ba083b96b065a19cd2c14f", kill_on_drop: false }`
[INFO] [stdout] 8924651096a5fd3ac312081a7b5fbfdb033d121a40ba083b96b065a19cd2c14f
