[INFO] fetching crate uniffi-bindgen-alicorn 0.1.2... [INFO] checking uniffi-bindgen-alicorn-0.1.2 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate uniffi-bindgen-alicorn 0.1.2 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate uniffi-bindgen-alicorn 0.1.2 [INFO] finished tweaking crates.io crate uniffi-bindgen-alicorn 0.1.2 [INFO] tweaked toml for crates.io crate uniffi-bindgen-alicorn 0.1.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate uniffi-bindgen-alicorn 0.1.2 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate uniffi-bindgen-alicorn 0.1.2 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uniffi_testing v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e22b0cf285a2846f9949a7c5f65a10fe54f4debf6be93faa86127eb733d804ce [INFO] running `Command { std: "docker" "start" "-a" "e22b0cf285a2846f9949a7c5f65a10fe54f4debf6be93faa86127eb733d804ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e22b0cf285a2846f9949a7c5f65a10fe54f4debf6be93faa86127eb733d804ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e22b0cf285a2846f9949a7c5f65a10fe54f4debf6be93faa86127eb733d804ce", kill_on_drop: false }` [INFO] [stdout] e22b0cf285a2846f9949a7c5f65a10fe54f4debf6be93faa86127eb733d804ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a05e3af0917f74ac28d0132fce5edcae561f57b766757bb6e5924ed3dc091913 [INFO] running `Command { std: "docker" "start" "-a" "a05e3af0917f74ac28d0132fce5edcae561f57b766757bb6e5924ed3dc091913", kill_on_drop: false }` [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking weedle2 v5.0.0 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling uniffi_internal_macros v0.29.0 [INFO] [stderr] Compiling scroll_derive v0.12.0 [INFO] [stderr] Checking uniffi_meta v0.29.0 [INFO] [stderr] Checking scroll v0.12.0 [INFO] [stderr] Checking goblin v0.8.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking uniffi_udl v0.29.0 [INFO] [stderr] Compiling rinja_parser v0.3.5 [INFO] [stderr] Compiling basic-toml v0.1.9 [INFO] [stderr] Checking cargo-platform v0.1.9 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking cargo_metadata v0.15.4 [INFO] [stderr] Compiling rinja_derive v0.3.5 [INFO] [stderr] Checking rinja v0.3.5 [INFO] [stderr] Checking uniffi_bindgen v0.29.0 [INFO] [stderr] Checking uniffi-bindgen-alicorn v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ToShoutySnakeCase` [INFO] [stdout] --> src/scaffolding/mod.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use heck::{ToKebabCase, ToShoutySnakeCase}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/scaffolding/mod.rs:66:52 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn type_rs(type_: &Type) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | #![warn(rust_2018_idioms, unused_qualifications)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 66 - pub fn type_rs(type_: &Type) -> Result { [INFO] [stdout] 66 + pub fn type_rs(type_: &Type) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/scaffolding/mod.rs:66:52 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn type_rs(type_: &Type) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | #![warn(rust_2018_idioms, unused_qualifications)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 66 - pub fn type_rs(type_: &Type) -> Result { [INFO] [stdout] 66 + pub fn type_rs(type_: &Type) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToShoutySnakeCase` [INFO] [stdout] --> src/scaffolding/mod.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use heck::{ToKebabCase, ToShoutySnakeCase}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/scaffolding/mod.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | Type::Object { name, imp, .. } => { [INFO] [stdout] | ^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imp` [INFO] [stdout] --> src/scaffolding/mod.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | Type::Object { name, imp, .. } => { [INFO] [stdout] | ^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_type` [INFO] [stdout] --> src/scaffolding/mod.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | Type::Sequence { inner_type } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `inner_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_type` [INFO] [stdout] --> src/scaffolding/mod.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | key_type, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `key_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_type` [INFO] [stdout] --> src/scaffolding/mod.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | value_type, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `value_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_bindings` is never used [INFO] [stdout] --> src/bindings/alicorn/mod.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn generate_bindings(options: BindingOptions) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BindingOptions` is never constructed [INFO] [stdout] --> src/bindings/alicorn/mod.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct BindingOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `initialization_fn` is never used [INFO] [stdout] --> src/bindings/alicorn/code_types.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub(super) trait CodeType: Debug { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 61 | fn initialization_fn(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/bindings/alicorn/code_types/callback_interface.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CallbackInterface { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 9 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallbackInterface` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Variant` is never constructed [INFO] [stdout] --> src/bindings/alicorn/code_types/enum_.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Variant { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/bindings/alicorn/code_types/enum_.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Variant { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 51 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `imp` is never read [INFO] [stdout] --> src/bindings/alicorn/code_types/object.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Object { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 9 | name: String, [INFO] [stdout] 10 | imp: interface::ObjectImpl, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Object` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Magic` and `Module` are never constructed [INFO] [stdout] --> src/bindings/alicorn/gen.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum ImportRequirement { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 60 | /// A magical module import. [INFO] [stdout] 61 | Magic { mod_name: String }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 62 | /// A simple, actual module import. [INFO] [stdout] 63 | Module { mod_name: String }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImportRequirement` 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: fields `config`, `ci`, and `include_once_names` are never read [INFO] [stdout] --> src/bindings/alicorn/gen.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct TypeRenderer<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 89 | config: &'a BindingConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 90 | ci: &'a ComponentInterface, [INFO] [stdout] | ^^ [INFO] [stdout] 91 | // Track included modules for the `include_once()` macro [INFO] [stdout] 92 | include_once_names: RefCell>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/bindings/alicorn/gen.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct Wrapper<'a> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 111 | ci: &'a ComponentInterface, [INFO] [stdout] 112 | config: BindingConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `type_name` is never used [INFO] [stdout] --> src/bindings/alicorn/gen.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 141 | impl CodeOracle { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn type_name(&self, nm: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_fn` is never used [INFO] [stdout] --> src/bindings/alicorn/gen.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn write_fn(as_type: &impl AsType) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `udl_base_name` is never read [INFO] [stdout] --> src/scaffolding/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct RustAlicornScaffolding<'a> { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 17 | ci: &'a ComponentInterface, [INFO] [stdout] 18 | udl_base_name: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/scaffolding/mod.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | Type::Object { name, imp, .. } => { [INFO] [stdout] | ^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imp` [INFO] [stdout] --> src/scaffolding/mod.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | Type::Object { name, imp, .. } => { [INFO] [stdout] | ^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_type` [INFO] [stdout] --> src/scaffolding/mod.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | Type::Sequence { inner_type } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `inner_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_type` [INFO] [stdout] --> src/scaffolding/mod.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | key_type, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `key_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_type` [INFO] [stdout] --> src/scaffolding/mod.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | value_type, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `value_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_bindings` is never used [INFO] [stdout] --> src/bindings/alicorn/mod.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn generate_bindings(options: BindingOptions) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BindingOptions` is never constructed [INFO] [stdout] --> src/bindings/alicorn/mod.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct BindingOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `initialization_fn` is never used [INFO] [stdout] --> src/bindings/alicorn/code_types.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub(super) trait CodeType: Debug { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 61 | fn initialization_fn(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/bindings/alicorn/code_types/callback_interface.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CallbackInterface { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 9 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallbackInterface` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Variant` is never constructed [INFO] [stdout] --> src/bindings/alicorn/code_types/enum_.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Variant { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/bindings/alicorn/code_types/enum_.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Variant { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 51 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `imp` is never read [INFO] [stdout] --> src/bindings/alicorn/code_types/object.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Object { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 9 | name: String, [INFO] [stdout] 10 | imp: interface::ObjectImpl, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Object` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Magic` and `Module` are never constructed [INFO] [stdout] --> src/bindings/alicorn/gen.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum ImportRequirement { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 60 | /// A magical module import. [INFO] [stdout] 61 | Magic { mod_name: String }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 62 | /// A simple, actual module import. [INFO] [stdout] 63 | Module { mod_name: String }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImportRequirement` 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: fields `config`, `ci`, and `include_once_names` are never read [INFO] [stdout] --> src/bindings/alicorn/gen.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct TypeRenderer<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 89 | config: &'a BindingConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 90 | ci: &'a ComponentInterface, [INFO] [stdout] | ^^ [INFO] [stdout] 91 | // Track included modules for the `include_once()` macro [INFO] [stdout] 92 | include_once_names: RefCell>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/bindings/alicorn/gen.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct Wrapper<'a> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 111 | ci: &'a ComponentInterface, [INFO] [stdout] 112 | config: BindingConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `type_name` is never used [INFO] [stdout] --> src/bindings/alicorn/gen.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 141 | impl CodeOracle { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn type_name(&self, nm: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_fn` is never used [INFO] [stdout] --> src/bindings/alicorn/gen.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn write_fn(as_type: &impl AsType) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `udl_base_name` is never read [INFO] [stdout] --> src/scaffolding/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct RustAlicornScaffolding<'a> { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 17 | ci: &'a ComponentInterface, [INFO] [stdout] 18 | udl_base_name: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.52s [INFO] running `Command { std: "docker" "inspect" "a05e3af0917f74ac28d0132fce5edcae561f57b766757bb6e5924ed3dc091913", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a05e3af0917f74ac28d0132fce5edcae561f57b766757bb6e5924ed3dc091913", kill_on_drop: false }` [INFO] [stdout] a05e3af0917f74ac28d0132fce5edcae561f57b766757bb6e5924ed3dc091913