[INFO] fetching crate teo-generator 0.3.9... [INFO] testing teo-generator-0.3.9 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate teo-generator 0.3.9 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate teo-generator 0.3.9 [INFO] finished tweaking crates.io crate teo-generator 0.3.9 [INFO] tweaked toml for crates.io crate teo-generator 0.3.9 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate teo-generator 0.3.9 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 319 packages to latest compatible versions [INFO] [stderr] Adding askama v0.12.1 (available: v0.14.0) [INFO] [stderr] Adding colored v2.2.0 (available: v3.0.0) [INFO] [stderr] Adding cuid v1.2.0 (available: v1.3.3) [INFO] [stderr] Adding itertools v0.13.0 (available: v0.14.0) [INFO] [stderr] Adding lazy_static v1.4.0 (available: v1.5.0) [INFO] [stderr] Adding toml_edit v0.22.27 (available: v0.23.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 601feff6c681eaf03ddcebd691479d4a8c5758ab8629d4559cc5999882d03eac [INFO] running `Command { std: "docker" "start" "-a" "601feff6c681eaf03ddcebd691479d4a8c5758ab8629d4559cc5999882d03eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "601feff6c681eaf03ddcebd691479d4a8c5758ab8629d4559cc5999882d03eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "601feff6c681eaf03ddcebd691479d4a8c5758ab8629d4559cc5999882d03eac", kill_on_drop: false }` [INFO] [stdout] 601feff6c681eaf03ddcebd691479d4a8c5758ab8629d4559cc5999882d03eac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd41c96c49dc19c0fe1b25eda5dcb3aaf282c23d870f4850ca965cf69d652585 [INFO] running `Command { std: "docker" "start" "-a" "bd41c96c49dc19c0fe1b25eda5dcb3aaf282c23d870f4850ca965cf69d652585", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling time-macros v0.2.23 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling snailquote v0.3.1 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling educe v0.6.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling cuid-util v0.1.1 [INFO] [stderr] Compiling array_tool v1.0.3 [INFO] [stderr] Compiling cuid2 v0.1.4 [INFO] [stderr] Compiling bcrypt v0.16.0 [INFO] [stderr] Compiling pad v0.1.6 [INFO] [stderr] Compiling random-string v1.1.0 [INFO] [stderr] Compiling cuid v1.2.0 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling inflector-plus v0.11.7 [INFO] [stderr] Compiling educe v0.5.11 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling key-path v0.2.3 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling history-box v0.1.1 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling deferred-box v0.1.4 [INFO] [stderr] Compiling quoted-string v0.6.1 [INFO] [stderr] Compiling indent v0.1.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling askama v0.12.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling bson v2.15.0 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling teo-result v0.3.5 [INFO] [stderr] Compiling teo-parser v0.3.0 [INFO] [stderr] Compiling teo-runtime v0.3.8 [INFO] [stderr] Compiling teo-generator v0.3.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `teo_parser::r#type::Type` [INFO] [stdout] --> src/client/generators/swift/gen.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use teo_parser::r#type::Type; [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 import: `crate::utils::filters` [INFO] [stdout] --> src/client/generators/ts/gen.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::utils::filters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indent` [INFO] [stdout] --> src/client/generators/ts/gen.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use indent; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::outline::outline::Outline` [INFO] [stdout] --> src/entity/ctx.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::outline::outline::Outline; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teo_runtime::namespace::Namespace` [INFO] [stdout] --> src/admin/translations_init_ts.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use teo_runtime::namespace::Namespace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/outline/outline.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | for ((def_path, shape)) in &model.cache().shape.declared_shapes { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - for ((def_path, shape)) in &model.cache().shape.declared_shapes { [INFO] [stdout] 121 + for (def_path, shape) in &model.cache().shape.declared_shapes { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/entity/generators/rust/gen.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | use toml_edit::{Document, value}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/entity/generators/rust/gen.rs:318:36 [INFO] [stdout] | [INFO] [stdout] 318 | let mut doc = toml.parse::().expect("`Cargo.toml' has invalid content"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teo_runtime::model::field::typed::Typed` [INFO] [stdout] --> src/outline/outline.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use teo_runtime::model::field::typed::Typed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/client/generators/csharp/lookup.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | pub(in crate::client) fn lookup(t: &Type) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 19 | fn module_directory_in_package(&self, conf: &Client) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | async fn generate_module_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generator` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:23:54 [INFO] [stdout] | [INFO] [stdout] 23 | async fn generate_module_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | async fn generate_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generator` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:27:55 [INFO] [stdout] | [INFO] [stdout] 27 | async fn generate_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generator` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:31:60 [INFO] [stdout] | [INFO] [stdout] 31 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | async fn generate_main(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generator` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 35 | async fn generate_main(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/client/generators/dart/gen.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | names.iter().map(|n| ", anyToJson".to_string()).join("") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> src/client/generators/dart/gen.rs:281:43 [INFO] [stdout] | [INFO] [stdout] 281 | fn module_directory_in_package(&self, conf: &Client) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/dart/gen.rs:285:43 [INFO] [stdout] | [INFO] [stdout] 285 | async fn generate_module_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/dart/gen.rs:303:49 [INFO] [stdout] | [INFO] [stdout] 303 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `detailed` [INFO] [stdout] --> src/client/generators/kotlin/lookup.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | Type::Union(detailed) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_detailed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> src/client/generators/kotlin/gen.rs:126:43 [INFO] [stdout] | [INFO] [stdout] 126 | fn module_directory_in_package(&self, conf: &Client) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/kotlin/gen.rs:130:43 [INFO] [stdout] | [INFO] [stdout] 130 | async fn generate_module_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/kotlin/gen.rs:159:49 [INFO] [stdout] | [INFO] [stdout] 159 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generator` [INFO] [stdout] --> src/client/generators/kotlin/gen.rs:159:60 [INFO] [stdout] | [INFO] [stdout] 159 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/swift/gen.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 96 | async fn generate_module_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/swift/gen.rs:109:49 [INFO] [stdout] | [INFO] [stdout] 109 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generator` [INFO] [stdout] --> src/client/generators/swift/gen.rs:109:60 [INFO] [stdout] | [INFO] [stdout] 109 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> src/client/generators/ts/gen.rs:112:43 [INFO] [stdout] | [INFO] [stdout] 112 | fn module_directory_in_package(&self, conf: &Client) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/ts/gen.rs:116:43 [INFO] [stdout] | [INFO] [stdout] 116 | async fn generate_module_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/ts/gen.rs:134:49 [INFO] [stdout] | [INFO] [stdout] 134 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lang` [INFO] [stdout] --> src/admin/translations_index_ts.rs:21:64 [INFO] [stdout] | [INFO] [stdout] 21 | pub(super) fn fetch_translation_entries(namespace: &Namespace, lang: &'static str) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lang` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/outline/outline.rs:332:39 [INFO] [stdout] | [INFO] [stdout] 332 | fields: shape.iter().filter(|(name, r#type)| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lookup` is never used [INFO] [stdout] --> src/client/generators/csharp/lookup.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | pub(in crate::client) fn lookup(t: &Type) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `module_name` is never used [INFO] [stdout] --> src/client/generators/dart/gen.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn module_name(path: Vec<&str>, client: &Client) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_is_not_dynamic` and `to_json_parameters` are never read [INFO] [stdout] --> src/client/generators/dart/gen.rs:215:15 [INFO] [stdout] | [INFO] [stdout] 210 | pub(self) struct DartMainTemplate<'a> { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 215 | pub(self) type_is_not_dynamic: &'static dyn Fn(&str) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub(self) to_json_parameters: &'static dyn Fn(&Vec) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `outline` and `lookup` are never read [INFO] [stdout] --> src/client/generators/kotlin/gen.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 83 | pub(self) struct KotlinMainTemplate<'a> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 86 | pub(self) outline: &'a Outline, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 87 | pub(self) conf: &'a Client, [INFO] [stdout] 88 | pub(self) lookup: &'static dyn Lookup, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `outline` and `lookup` are never read [INFO] [stdout] --> src/client/generators/swift/gen.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 51 | pub(self) struct SwiftMainTemplate<'a> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 52 | pub(self) namespace: &'a Namespace, [INFO] [stdout] 53 | pub(self) outline: &'a Outline, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 54 | pub(self) conf: &'a Client, [INFO] [stdout] 55 | pub(self) lookup: &'static dyn Lookup, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lookup_ref_mut`, `generics_declaration_a`, `generics_declaration_double_colon`, and `where_generics_declaration_a` are never read [INFO] [stdout] --> src/entity/generators/rust/gen.rs:226:15 [INFO] [stdout] | [INFO] [stdout] 217 | pub(self) struct RustModuleTemplate<'a> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 226 | pub(self) lookup_ref_mut: &'static dyn Lookup, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub(self) generics_declaration_a: &'static dyn Fn(&Vec) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 230 | pub(self) generics_declaration_double_colon: &'static dyn Fn(&Vec) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 231 | pub(self) where_generics_declaration: &'static dyn Fn(&Vec) -> String, [INFO] [stdout] 232 | pub(self) where_generics_declaration_a: &'static dyn Fn(&Vec) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/outline/enum/enum.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct Enum { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub(crate) path: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `path` is never used [INFO] [stdout] --> src/outline/enum/enum.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl Enum { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn path(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/outline/interface/interface.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct Interface { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub(in super::super) path: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `path` is never used [INFO] [stdout] --> src/outline/interface/interface.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl Interface { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub(crate) fn path(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/outline/delegate/group_item.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct GroupItem { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 2 | pub(crate) name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/outline/delegate/group_item.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl GroupItem { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 8 | [INFO] [stdout] 9 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/outline/delegate/namespace_item.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct NamespaceItem { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 2 | pub(crate) name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/outline/delegate/namespace_item.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl NamespaceItem { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 8 | [INFO] [stdout] 9 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `custom_url_args_path` is never read [INFO] [stdout] --> src/outline/delegate/request_item.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RequestItem { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub custom_url_args_path: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_directory` is never used [INFO] [stdout] --> src/utils/file.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 14 | impl FileUtil { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) async fn clear_directory>(&self, dir_name: D) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `snakecase_preserve_where_operator` is never used [INFO] [stdout] --> src/utils/filters.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn snakecase_preserve_where_operator(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pluralize` is never used [INFO] [stdout] --> src/utils/filters.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn pluralize(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decapitalize` is never used [INFO] [stdout] --> src/utils/filters.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn decapitalize(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `escape_ts` is never used [INFO] [stdout] --> src/utils/filters.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn escape_ts(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `escape_csharp` is never used [INFO] [stdout] --> src/utils/filters.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn escape_csharp(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rust_unwrap_vec` is never used [INFO] [stdout] --> src/utils/filters.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn rust_unwrap_vec(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rust_as` is never used [INFO] [stdout] --> src/utils/filters.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn rust_as(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rust_ref_if_needed` is never used [INFO] [stdout] --> src/utils/filters.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn rust_ref_if_needed(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append_slash` is never used [INFO] [stdout] --> src/utils/filters.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn append_slash(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.38s [INFO] running `Command { std: "docker" "inspect" "bd41c96c49dc19c0fe1b25eda5dcb3aaf282c23d870f4850ca965cf69d652585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd41c96c49dc19c0fe1b25eda5dcb3aaf282c23d870f4850ca965cf69d652585", kill_on_drop: false }` [INFO] [stdout] bd41c96c49dc19c0fe1b25eda5dcb3aaf282c23d870f4850ca965cf69d652585 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b5dcd7e023521ae1c28f9906740ec7dd896b7ccc4a6ae2a023e7a43d4f002aa [INFO] running `Command { std: "docker" "start" "-a" "9b5dcd7e023521ae1c28f9906740ec7dd896b7ccc4a6ae2a023e7a43d4f002aa", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `teo_parser::r#type::Type` [INFO] [stdout] --> src/client/generators/swift/gen.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use teo_parser::r#type::Type; [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 import: `crate::utils::filters` [INFO] [stdout] --> src/client/generators/ts/gen.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::utils::filters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indent` [INFO] [stdout] --> src/client/generators/ts/gen.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use indent; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::outline::outline::Outline` [INFO] [stdout] --> src/entity/ctx.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::outline::outline::Outline; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teo_runtime::namespace::Namespace` [INFO] [stdout] --> src/admin/translations_init_ts.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use teo_runtime::namespace::Namespace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/outline/outline.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | for ((def_path, shape)) in &model.cache().shape.declared_shapes { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - for ((def_path, shape)) in &model.cache().shape.declared_shapes { [INFO] [stdout] 121 + for (def_path, shape) in &model.cache().shape.declared_shapes { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/entity/generators/rust/gen.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | use toml_edit::{Document, value}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/entity/generators/rust/gen.rs:318:36 [INFO] [stdout] | [INFO] [stdout] 318 | let mut doc = toml.parse::().expect("`Cargo.toml' has invalid content"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teo_runtime::model::field::typed::Typed` [INFO] [stdout] --> src/outline/outline.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use teo_runtime::model::field::typed::Typed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/client/generators/csharp/lookup.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | pub(in crate::client) fn lookup(t: &Type) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 19 | fn module_directory_in_package(&self, conf: &Client) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | async fn generate_module_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generator` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:23:54 [INFO] [stdout] | [INFO] [stdout] 23 | async fn generate_module_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | async fn generate_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generator` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:27:55 [INFO] [stdout] | [INFO] [stdout] 27 | async fn generate_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generator` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:31:60 [INFO] [stdout] | [INFO] [stdout] 31 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | async fn generate_main(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generator` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 35 | async fn generate_main(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/client/generators/dart/gen.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | names.iter().map(|n| ", anyToJson".to_string()).join("") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> src/client/generators/dart/gen.rs:281:43 [INFO] [stdout] | [INFO] [stdout] 281 | fn module_directory_in_package(&self, conf: &Client) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/dart/gen.rs:285:43 [INFO] [stdout] | [INFO] [stdout] 285 | async fn generate_module_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/dart/gen.rs:303:49 [INFO] [stdout] | [INFO] [stdout] 303 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `detailed` [INFO] [stdout] --> src/client/generators/kotlin/lookup.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | Type::Union(detailed) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_detailed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> src/client/generators/kotlin/gen.rs:126:43 [INFO] [stdout] | [INFO] [stdout] 126 | fn module_directory_in_package(&self, conf: &Client) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/kotlin/gen.rs:130:43 [INFO] [stdout] | [INFO] [stdout] 130 | async fn generate_module_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/kotlin/gen.rs:159:49 [INFO] [stdout] | [INFO] [stdout] 159 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generator` [INFO] [stdout] --> src/client/generators/kotlin/gen.rs:159:60 [INFO] [stdout] | [INFO] [stdout] 159 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/swift/gen.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 96 | async fn generate_module_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/swift/gen.rs:109:49 [INFO] [stdout] | [INFO] [stdout] 109 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generator` [INFO] [stdout] --> src/client/generators/swift/gen.rs:109:60 [INFO] [stdout] | [INFO] [stdout] 109 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling teo-generator v0.3.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> src/client/generators/ts/gen.rs:112:43 [INFO] [stdout] | [INFO] [stdout] 112 | fn module_directory_in_package(&self, conf: &Client) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/ts/gen.rs:116:43 [INFO] [stdout] | [INFO] [stdout] 116 | async fn generate_module_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/ts/gen.rs:134:49 [INFO] [stdout] | [INFO] [stdout] 134 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lang` [INFO] [stdout] --> src/admin/translations_index_ts.rs:21:64 [INFO] [stdout] | [INFO] [stdout] 21 | pub(super) fn fetch_translation_entries(namespace: &Namespace, lang: &'static str) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lang` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/outline/outline.rs:332:39 [INFO] [stdout] | [INFO] [stdout] 332 | fields: shape.iter().filter(|(name, r#type)| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lookup` is never used [INFO] [stdout] --> src/client/generators/csharp/lookup.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | pub(in crate::client) fn lookup(t: &Type) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `module_name` is never used [INFO] [stdout] --> src/client/generators/dart/gen.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn module_name(path: Vec<&str>, client: &Client) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_is_not_dynamic` and `to_json_parameters` are never read [INFO] [stdout] --> src/client/generators/dart/gen.rs:215:15 [INFO] [stdout] | [INFO] [stdout] 210 | pub(self) struct DartMainTemplate<'a> { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 215 | pub(self) type_is_not_dynamic: &'static dyn Fn(&str) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub(self) to_json_parameters: &'static dyn Fn(&Vec) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `outline` and `lookup` are never read [INFO] [stdout] --> src/client/generators/kotlin/gen.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 83 | pub(self) struct KotlinMainTemplate<'a> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 86 | pub(self) outline: &'a Outline, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 87 | pub(self) conf: &'a Client, [INFO] [stdout] 88 | pub(self) lookup: &'static dyn Lookup, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `outline` and `lookup` are never read [INFO] [stdout] --> src/client/generators/swift/gen.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 51 | pub(self) struct SwiftMainTemplate<'a> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 52 | pub(self) namespace: &'a Namespace, [INFO] [stdout] 53 | pub(self) outline: &'a Outline, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 54 | pub(self) conf: &'a Client, [INFO] [stdout] 55 | pub(self) lookup: &'static dyn Lookup, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lookup_ref_mut`, `generics_declaration_a`, `generics_declaration_double_colon`, and `where_generics_declaration_a` are never read [INFO] [stdout] --> src/entity/generators/rust/gen.rs:226:15 [INFO] [stdout] | [INFO] [stdout] 217 | pub(self) struct RustModuleTemplate<'a> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 226 | pub(self) lookup_ref_mut: &'static dyn Lookup, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub(self) generics_declaration_a: &'static dyn Fn(&Vec) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 230 | pub(self) generics_declaration_double_colon: &'static dyn Fn(&Vec) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 231 | pub(self) where_generics_declaration: &'static dyn Fn(&Vec) -> String, [INFO] [stdout] 232 | pub(self) where_generics_declaration_a: &'static dyn Fn(&Vec) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/outline/enum/enum.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct Enum { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub(crate) path: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `path` is never used [INFO] [stdout] --> src/outline/enum/enum.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl Enum { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn path(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/outline/interface/interface.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct Interface { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub(in super::super) path: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `path` is never used [INFO] [stdout] --> src/outline/interface/interface.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl Interface { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub(crate) fn path(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/outline/delegate/group_item.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct GroupItem { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 2 | pub(crate) name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/outline/delegate/group_item.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl GroupItem { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 8 | [INFO] [stdout] 9 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/outline/delegate/namespace_item.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct NamespaceItem { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 2 | pub(crate) name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/outline/delegate/namespace_item.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl NamespaceItem { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 8 | [INFO] [stdout] 9 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `custom_url_args_path` is never read [INFO] [stdout] --> src/outline/delegate/request_item.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RequestItem { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub custom_url_args_path: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_directory` is never used [INFO] [stdout] --> src/utils/file.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 14 | impl FileUtil { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) async fn clear_directory>(&self, dir_name: D) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `snakecase_preserve_where_operator` is never used [INFO] [stdout] --> src/utils/filters.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn snakecase_preserve_where_operator(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pluralize` is never used [INFO] [stdout] --> src/utils/filters.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn pluralize(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decapitalize` is never used [INFO] [stdout] --> src/utils/filters.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn decapitalize(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `escape_ts` is never used [INFO] [stdout] --> src/utils/filters.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn escape_ts(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `escape_csharp` is never used [INFO] [stdout] --> src/utils/filters.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn escape_csharp(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rust_unwrap_vec` is never used [INFO] [stdout] --> src/utils/filters.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn rust_unwrap_vec(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rust_as` is never used [INFO] [stdout] --> src/utils/filters.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn rust_as(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rust_ref_if_needed` is never used [INFO] [stdout] --> src/utils/filters.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn rust_ref_if_needed(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append_slash` is never used [INFO] [stdout] --> src/utils/filters.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn append_slash(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teo_parser::r#type::Type` [INFO] [stdout] --> src/client/generators/swift/gen.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use teo_parser::r#type::Type; [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 import: `crate::utils::filters` [INFO] [stdout] --> src/client/generators/ts/gen.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::utils::filters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indent` [INFO] [stdout] --> src/client/generators/ts/gen.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use indent; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::outline::outline::Outline` [INFO] [stdout] --> src/entity/ctx.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::outline::outline::Outline; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teo_runtime::namespace::Namespace` [INFO] [stdout] --> src/admin/translations_init_ts.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use teo_runtime::namespace::Namespace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/outline/outline.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | for ((def_path, shape)) in &model.cache().shape.declared_shapes { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - for ((def_path, shape)) in &model.cache().shape.declared_shapes { [INFO] [stdout] 121 + for (def_path, shape) in &model.cache().shape.declared_shapes { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/entity/generators/rust/gen.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | use toml_edit::{Document, value}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stdout] --> src/entity/generators/rust/gen.rs:318:36 [INFO] [stdout] | [INFO] [stdout] 318 | let mut doc = toml.parse::().expect("`Cargo.toml' has invalid content"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teo_runtime::model::field::typed::Typed` [INFO] [stdout] --> src/outline/outline.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use teo_runtime::model::field::typed::Typed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/client/generators/csharp/lookup.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | pub(in crate::client) fn lookup(t: &Type) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 19 | fn module_directory_in_package(&self, conf: &Client) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | async fn generate_module_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generator` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:23:54 [INFO] [stdout] | [INFO] [stdout] 23 | async fn generate_module_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | async fn generate_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generator` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:27:55 [INFO] [stdout] | [INFO] [stdout] 27 | async fn generate_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generator` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:31:60 [INFO] [stdout] | [INFO] [stdout] 31 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | async fn generate_main(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generator` [INFO] [stdout] --> src/client/generators/csharp/gen.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 35 | async fn generate_main(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/client/generators/dart/gen.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | names.iter().map(|n| ", anyToJson".to_string()).join("") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> src/client/generators/dart/gen.rs:281:43 [INFO] [stdout] | [INFO] [stdout] 281 | fn module_directory_in_package(&self, conf: &Client) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/dart/gen.rs:285:43 [INFO] [stdout] | [INFO] [stdout] 285 | async fn generate_module_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/dart/gen.rs:303:49 [INFO] [stdout] | [INFO] [stdout] 303 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `detailed` [INFO] [stdout] --> src/client/generators/kotlin/lookup.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | Type::Union(detailed) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_detailed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> src/client/generators/kotlin/gen.rs:126:43 [INFO] [stdout] | [INFO] [stdout] 126 | fn module_directory_in_package(&self, conf: &Client) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/kotlin/gen.rs:130:43 [INFO] [stdout] | [INFO] [stdout] 130 | async fn generate_module_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/kotlin/gen.rs:159:49 [INFO] [stdout] | [INFO] [stdout] 159 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generator` [INFO] [stdout] --> src/client/generators/kotlin/gen.rs:159:60 [INFO] [stdout] | [INFO] [stdout] 159 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/swift/gen.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 96 | async fn generate_module_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/swift/gen.rs:109:49 [INFO] [stdout] | [INFO] [stdout] 109 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generator` [INFO] [stdout] --> src/client/generators/swift/gen.rs:109:60 [INFO] [stdout] | [INFO] [stdout] 109 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> src/client/generators/ts/gen.rs:112:43 [INFO] [stdout] | [INFO] [stdout] 112 | fn module_directory_in_package(&self, conf: &Client) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/ts/gen.rs:116:43 [INFO] [stdout] | [INFO] [stdout] 116 | async fn generate_module_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client/generators/ts/gen.rs:134:49 [INFO] [stdout] | [INFO] [stdout] 134 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lang` [INFO] [stdout] --> src/admin/translations_index_ts.rs:21:64 [INFO] [stdout] | [INFO] [stdout] 21 | pub(super) fn fetch_translation_entries(namespace: &Namespace, lang: &'static str) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lang` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/outline/outline.rs:332:39 [INFO] [stdout] | [INFO] [stdout] 332 | fields: shape.iter().filter(|(name, r#type)| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lookup` is never used [INFO] [stdout] --> src/client/generators/csharp/lookup.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | pub(in crate::client) fn lookup(t: &Type) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `module_name` is never used [INFO] [stdout] --> src/client/generators/dart/gen.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn module_name(path: Vec<&str>, client: &Client) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_is_not_dynamic` and `to_json_parameters` are never read [INFO] [stdout] --> src/client/generators/dart/gen.rs:215:15 [INFO] [stdout] | [INFO] [stdout] 210 | pub(self) struct DartMainTemplate<'a> { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 215 | pub(self) type_is_not_dynamic: &'static dyn Fn(&str) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub(self) to_json_parameters: &'static dyn Fn(&Vec) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `outline` and `lookup` are never read [INFO] [stdout] --> src/client/generators/kotlin/gen.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 83 | pub(self) struct KotlinMainTemplate<'a> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 86 | pub(self) outline: &'a Outline, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 87 | pub(self) conf: &'a Client, [INFO] [stdout] 88 | pub(self) lookup: &'static dyn Lookup, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `outline` and `lookup` are never read [INFO] [stdout] --> src/client/generators/swift/gen.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 51 | pub(self) struct SwiftMainTemplate<'a> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 52 | pub(self) namespace: &'a Namespace, [INFO] [stdout] 53 | pub(self) outline: &'a Outline, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 54 | pub(self) conf: &'a Client, [INFO] [stdout] 55 | pub(self) lookup: &'static dyn Lookup, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lookup_ref_mut`, `generics_declaration_a`, `generics_declaration_double_colon`, and `where_generics_declaration_a` are never read [INFO] [stdout] --> src/entity/generators/rust/gen.rs:226:15 [INFO] [stdout] | [INFO] [stdout] 217 | pub(self) struct RustModuleTemplate<'a> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 226 | pub(self) lookup_ref_mut: &'static dyn Lookup, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub(self) generics_declaration_a: &'static dyn Fn(&Vec) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 230 | pub(self) generics_declaration_double_colon: &'static dyn Fn(&Vec) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 231 | pub(self) where_generics_declaration: &'static dyn Fn(&Vec) -> String, [INFO] [stdout] 232 | pub(self) where_generics_declaration_a: &'static dyn Fn(&Vec) -> String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/outline/enum/enum.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct Enum { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub(crate) path: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `path` is never used [INFO] [stdout] --> src/outline/enum/enum.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl Enum { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn path(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/outline/interface/interface.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct Interface { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub(in super::super) path: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `path` is never used [INFO] [stdout] --> src/outline/interface/interface.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl Interface { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub(crate) fn path(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/outline/delegate/group_item.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct GroupItem { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 2 | pub(crate) name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/outline/delegate/group_item.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl GroupItem { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 8 | [INFO] [stdout] 9 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/outline/delegate/namespace_item.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct NamespaceItem { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 2 | pub(crate) name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/outline/delegate/namespace_item.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl NamespaceItem { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 8 | [INFO] [stdout] 9 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `custom_url_args_path` is never read [INFO] [stdout] --> src/outline/delegate/request_item.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RequestItem { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub custom_url_args_path: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_directory` is never used [INFO] [stdout] --> src/utils/file.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 14 | impl FileUtil { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub(crate) async fn clear_directory>(&self, dir_name: D) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `snakecase_preserve_where_operator` is never used [INFO] [stdout] --> src/utils/filters.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn snakecase_preserve_where_operator(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pluralize` is never used [INFO] [stdout] --> src/utils/filters.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn pluralize(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decapitalize` is never used [INFO] [stdout] --> src/utils/filters.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn decapitalize(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `escape_ts` is never used [INFO] [stdout] --> src/utils/filters.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn escape_ts(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `escape_csharp` is never used [INFO] [stdout] --> src/utils/filters.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn escape_csharp(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rust_unwrap_vec` is never used [INFO] [stdout] --> src/utils/filters.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn rust_unwrap_vec(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rust_as` is never used [INFO] [stdout] --> src/utils/filters.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn rust_as(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rust_ref_if_needed` is never used [INFO] [stdout] --> src/utils/filters.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn rust_ref_if_needed(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append_slash` is never used [INFO] [stdout] --> src/utils/filters.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn append_slash(s: T) -> ::askama::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.05s [INFO] running `Command { std: "docker" "inspect" "9b5dcd7e023521ae1c28f9906740ec7dd896b7ccc4a6ae2a023e7a43d4f002aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b5dcd7e023521ae1c28f9906740ec7dd896b7ccc4a6ae2a023e7a43d4f002aa", kill_on_drop: false }` [INFO] [stdout] 9b5dcd7e023521ae1c28f9906740ec7dd896b7ccc4a6ae2a023e7a43d4f002aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 25aa553582ca8871fa99aa6aa675987de1813c3a117df7d2305a55e55912326b [INFO] running `Command { std: "docker" "start" "-a" "25aa553582ca8871fa99aa6aa675987de1813c3a117df7d2305a55e55912326b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `teo_parser::r#type::Type` [INFO] [stderr] --> src/client/generators/swift/gen.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use teo_parser::r#type::Type; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::utils::filters` [INFO] [stderr] --> src/client/generators/ts/gen.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::utils::filters; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `indent` [INFO] [stderr] --> src/client/generators/ts/gen.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use indent; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::outline::outline::Outline` [INFO] [stderr] --> src/entity/ctx.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::outline::outline::Outline; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `teo_runtime::namespace::Namespace` [INFO] [stderr] --> src/admin/translations_init_ts.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use teo_runtime::namespace::Namespace; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around pattern [INFO] [stderr] --> src/outline/outline.rs:121:21 [INFO] [stderr] | [INFO] [stderr] 121 | for ((def_path, shape)) in &model.cache().shape.declared_shapes { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 121 - for ((def_path, shape)) in &model.cache().shape.declared_shapes { [INFO] [stderr] 121 + for (def_path, shape) in &model.cache().shape.declared_shapes { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stderr] --> src/entity/generators/rust/gen.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | use toml_edit::{Document, value}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `toml_edit::Document`: Replaced with `DocumentMut` [INFO] [stderr] --> src/entity/generators/rust/gen.rs:318:36 [INFO] [stderr] | [INFO] [stderr] 318 | let mut doc = toml.parse::().expect("`Cargo.toml' has invalid content"); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `teo_runtime::model::field::typed::Typed` [INFO] [stderr] --> src/outline/outline.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use teo_runtime::model::field::typed::Typed; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t` [INFO] [stderr] --> src/client/generators/csharp/lookup.rs:4:33 [INFO] [stderr] | [INFO] [stderr] 4 | pub(in crate::client) fn lookup(t: &Type) -> Result { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conf` [INFO] [stderr] --> src/client/generators/csharp/gen.rs:19:43 [INFO] [stderr] | [INFO] [stderr] 19 | fn module_directory_in_package(&self, conf: &Client) -> String { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/client/generators/csharp/gen.rs:23:43 [INFO] [stderr] | [INFO] [stderr] 23 | async fn generate_module_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `generator` [INFO] [stderr] --> src/client/generators/csharp/gen.rs:23:54 [INFO] [stderr] | [INFO] [stderr] 23 | async fn generate_module_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/client/generators/csharp/gen.rs:27:44 [INFO] [stderr] | [INFO] [stderr] 27 | async fn generate_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `generator` [INFO] [stderr] --> src/client/generators/csharp/gen.rs:27:55 [INFO] [stderr] | [INFO] [stderr] 27 | async fn generate_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/client/generators/csharp/gen.rs:31:49 [INFO] [stderr] | [INFO] [stderr] 31 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `generator` [INFO] [stderr] --> src/client/generators/csharp/gen.rs:31:60 [INFO] [stderr] | [INFO] [stderr] 31 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/client/generators/csharp/gen.rs:35:35 [INFO] [stderr] | [INFO] [stderr] 35 | async fn generate_main(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `generator` [INFO] [stderr] --> src/client/generators/csharp/gen.rs:35:46 [INFO] [stderr] | [INFO] [stderr] 35 | async fn generate_main(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/client/generators/dart/gen.rs:62:23 [INFO] [stderr] | [INFO] [stderr] 62 | names.iter().map(|n| ", anyToJson".to_string()).join("") [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conf` [INFO] [stderr] --> src/client/generators/dart/gen.rs:281:43 [INFO] [stderr] | [INFO] [stderr] 281 | fn module_directory_in_package(&self, conf: &Client) -> String { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/client/generators/dart/gen.rs:285:43 [INFO] [stderr] | [INFO] [stderr] 285 | async fn generate_module_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/client/generators/dart/gen.rs:303:49 [INFO] [stderr] | [INFO] [stderr] 303 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `detailed` [INFO] [stderr] --> src/client/generators/kotlin/lookup.rs:15:21 [INFO] [stderr] | [INFO] [stderr] 15 | Type::Union(detailed) => { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_detailed` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conf` [INFO] [stderr] --> src/client/generators/kotlin/gen.rs:126:43 [INFO] [stderr] | [INFO] [stderr] 126 | fn module_directory_in_package(&self, conf: &Client) -> String { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/client/generators/kotlin/gen.rs:130:43 [INFO] [stderr] | [INFO] [stderr] 130 | async fn generate_module_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/client/generators/kotlin/gen.rs:159:49 [INFO] [stderr] | [INFO] [stderr] 159 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `generator` [INFO] [stderr] --> src/client/generators/kotlin/gen.rs:159:60 [INFO] [stderr] | [INFO] [stderr] 159 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/client/generators/swift/gen.rs:96:43 [INFO] [stderr] | [INFO] [stderr] 96 | async fn generate_module_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/client/generators/swift/gen.rs:109:49 [INFO] [stderr] | [INFO] [stderr] 109 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `generator` [INFO] [stderr] --> src/client/generators/swift/gen.rs:109:60 [INFO] [stderr] | [INFO] [stderr] 109 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conf` [INFO] [stderr] --> src/client/generators/ts/gen.rs:112:43 [INFO] [stderr] | [INFO] [stderr] 112 | fn module_directory_in_package(&self, conf: &Client) -> String { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/client/generators/ts/gen.rs:116:43 [INFO] [stderr] | [INFO] [stderr] 116 | async fn generate_module_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/client/generators/ts/gen.rs:134:49 [INFO] [stderr] | [INFO] [stderr] 134 | async fn update_parent_package_files(&self, ctx: &Ctx, generator: &FileUtil) -> teo_result::Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lang` [INFO] [stderr] --> src/admin/translations_index_ts.rs:21:64 [INFO] [stderr] | [INFO] [stderr] 21 | pub(super) fn fetch_translation_entries(namespace: &Namespace, lang: &'static str) -> Vec { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lang` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/outline/outline.rs:332:39 [INFO] [stderr] | [INFO] [stderr] 332 | fields: shape.iter().filter(|(name, r#type)| { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: function `lookup` is never used [INFO] [stderr] --> src/client/generators/csharp/lookup.rs:4:26 [INFO] [stderr] | [INFO] [stderr] 4 | pub(in crate::client) fn lookup(t: &Type) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `module_name` is never used [INFO] [stderr] --> src/client/generators/dart/gen.rs:99:4 [INFO] [stderr] | [INFO] [stderr] 99 | fn module_name(path: Vec<&str>, client: &Client) -> String { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `type_is_not_dynamic` and `to_json_parameters` are never read [INFO] [stderr] --> src/client/generators/dart/gen.rs:215:15 [INFO] [stderr] | [INFO] [stderr] 210 | pub(self) struct DartMainTemplate<'a> { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 215 | pub(self) type_is_not_dynamic: &'static dyn Fn(&str) -> bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 221 | pub(self) to_json_parameters: &'static dyn Fn(&Vec) -> String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `outline` and `lookup` are never read [INFO] [stderr] --> src/client/generators/kotlin/gen.rs:86:15 [INFO] [stderr] | [INFO] [stderr] 83 | pub(self) struct KotlinMainTemplate<'a> { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 86 | pub(self) outline: &'a Outline, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 87 | pub(self) conf: &'a Client, [INFO] [stderr] 88 | pub(self) lookup: &'static dyn Lookup, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `outline` and `lookup` are never read [INFO] [stderr] --> src/client/generators/swift/gen.rs:53:15 [INFO] [stderr] | [INFO] [stderr] 51 | pub(self) struct SwiftMainTemplate<'a> { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 52 | pub(self) namespace: &'a Namespace, [INFO] [stderr] 53 | pub(self) outline: &'a Outline, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 54 | pub(self) conf: &'a Client, [INFO] [stderr] 55 | pub(self) lookup: &'static dyn Lookup, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `lookup_ref_mut`, `generics_declaration_a`, `generics_declaration_double_colon`, and `where_generics_declaration_a` are never read [INFO] [stderr] --> src/entity/generators/rust/gen.rs:226:15 [INFO] [stderr] | [INFO] [stderr] 217 | pub(self) struct RustModuleTemplate<'a> { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 226 | pub(self) lookup_ref_mut: &'static dyn Lookup, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 229 | pub(self) generics_declaration_a: &'static dyn Fn(&Vec) -> String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 230 | pub(self) generics_declaration_double_colon: &'static dyn Fn(&Vec) -> String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 231 | pub(self) where_generics_declaration: &'static dyn Fn(&Vec) -> String, [INFO] [stderr] 232 | pub(self) where_generics_declaration_a: &'static dyn Fn(&Vec) -> String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `path` is never read [INFO] [stderr] --> src/outline/enum/enum.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 3 | pub(crate) struct Enum { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] ... [INFO] [stderr] 6 | pub(crate) path: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `path` is never used [INFO] [stderr] --> src/outline/enum/enum.rs:21:19 [INFO] [stderr] | [INFO] [stderr] 11 | impl Enum { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 21 | pub(crate) fn path(&self) -> &Vec { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `path` is never read [INFO] [stderr] --> src/outline/interface/interface.rs:9:26 [INFO] [stderr] | [INFO] [stderr] 6 | pub(crate) struct Interface { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 9 | pub(in super::super) path: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `path` is never used [INFO] [stderr] --> src/outline/interface/interface.rs:28:19 [INFO] [stderr] | [INFO] [stderr] 18 | impl Interface { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 28 | pub(crate) fn path(&self) -> &Vec { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/outline/delegate/group_item.rs:2:16 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct GroupItem { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 2 | pub(crate) name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `name` is never used [INFO] [stderr] --> src/outline/delegate/group_item.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 7 | impl GroupItem { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] 8 | [INFO] [stderr] 9 | pub fn name(&self) -> &str { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/outline/delegate/namespace_item.rs:2:16 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct NamespaceItem { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 2 | pub(crate) name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `name` is never used [INFO] [stderr] --> src/outline/delegate/namespace_item.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 7 | impl NamespaceItem { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] 8 | [INFO] [stderr] 9 | pub fn name(&self) -> &str { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `custom_url_args_path` is never read [INFO] [stderr] --> src/outline/delegate/request_item.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct RequestItem { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 15 | pub custom_url_args_path: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `clear_directory` is never used [INFO] [stderr] --> src/utils/file.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 14 | impl FileUtil { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 51 | pub(crate) async fn clear_directory>(&self, dir_name: D) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `snakecase_preserve_where_operator` is never used [INFO] [stderr] --> src/utils/filters.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn snakecase_preserve_where_operator(s: T) -> ::askama::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `pluralize` is never used [INFO] [stderr] --> src/utils/filters.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn pluralize(s: T) -> ::askama::Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `decapitalize` is never used [INFO] [stderr] --> src/utils/filters.rs:51:8 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn decapitalize(s: T) -> ::askama::Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `escape_ts` is never used [INFO] [stderr] --> src/utils/filters.rs:93:8 [INFO] [stderr] | [INFO] [stderr] 93 | pub fn escape_ts(s: T) -> ::askama::Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `escape_csharp` is never used [INFO] [stderr] --> src/utils/filters.rs:102:8 [INFO] [stderr] | [INFO] [stderr] 102 | pub fn escape_csharp(s: T) -> ::askama::Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `rust_unwrap_vec` is never used [INFO] [stderr] --> src/utils/filters.rs:148:8 [INFO] [stderr] | [INFO] [stderr] 148 | pub fn rust_unwrap_vec(s: T) -> ::askama::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `rust_as` is never used [INFO] [stderr] --> src/utils/filters.rs:155:8 [INFO] [stderr] | [INFO] [stderr] 155 | pub fn rust_as(s: T) -> ::askama::Result { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `rust_ref_if_needed` is never used [INFO] [stderr] --> src/utils/filters.rs:168:8 [INFO] [stderr] | [INFO] [stderr] 168 | pub fn rust_ref_if_needed(s: T) -> ::askama::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `append_slash` is never used [INFO] [stderr] --> src/utils/filters.rs:183:8 [INFO] [stderr] | [INFO] [stderr] 183 | pub fn append_slash(s: T) -> ::askama::Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `teo-generator` (lib) generated 61 warnings (run `cargo fix --lib -p teo-generator` to apply 6 suggestions) [INFO] [stderr] warning: `teo-generator` (lib test) generated 61 warnings (61 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/teo_generator-9710c3cc74dbe0fb) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests teo_generator [INFO] [stderr] warning: unnecessary parentheses around pattern [INFO] [stderr] --> src/outline/outline.rs:121:21 [INFO] [stderr] | [INFO] [stderr] 121 | for ((def_path, shape)) in &model.cache().shape.declared_shapes { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 121 - for ((def_path, shape)) in &model.cache().shape.declared_shapes { [INFO] [stderr] 121 + for (def_path, shape) in &model.cache().shape.declared_shapes { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "25aa553582ca8871fa99aa6aa675987de1813c3a117df7d2305a55e55912326b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25aa553582ca8871fa99aa6aa675987de1813c3a117df7d2305a55e55912326b", kill_on_drop: false }` [INFO] [stdout] 25aa553582ca8871fa99aa6aa675987de1813c3a117df7d2305a55e55912326b