[INFO] fetching crate nectar-lang 0.2.5...
[INFO] checking nectar-lang-0.2.5 against master#8a703520e80d87d4423c01f9d4fbc9e5f6533a02 for pr-154205-1
[INFO] extracting crate nectar-lang 0.2.5 into /workspace/builds/worker-0-tc1/source
[INFO] started tweaking crates.io crate nectar-lang 0.2.5
[INFO] finished tweaking crates.io crate nectar-lang 0.2.5
[INFO] tweaked toml for crates.io crate nectar-lang 0.2.5 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate nectar-lang 0.2.5 on toolchain 8a703520e80d87d4423c01f9d4fbc9e5f6533a02
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate nectar-lang 0.2.5 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded ctrlc v3.5.2
[INFO] [stderr] Downloaded clap_lex v1.0.0
[INFO] [stderr] Downloaded dispatch2 v0.3.1
[INFO] [stderr] Downloaded clap v4.5.60
[INFO] [stderr] Downloaded clap_builder v4.5.60
[INFO] [stderr] Downloaded objc2 v0.6.4
[INFO] [stderr] Downloaded nix v0.31.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0f4ac71430f3b42e4d55f93e331e068a8b4a5a7de82fa9fee6ed756ae3e3ca61
[INFO] running `Command { std: "docker" "start" "-a" "0f4ac71430f3b42e4d55f93e331e068a8b4a5a7de82fa9fee6ed756ae3e3ca61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0f4ac71430f3b42e4d55f93e331e068a8b4a5a7de82fa9fee6ed756ae3e3ca61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f4ac71430f3b42e4d55f93e331e068a8b4a5a7de82fa9fee6ed756ae3e3ca61", kill_on_drop: false }`
[INFO] [stdout] 0f4ac71430f3b42e4d55f93e331e068a8b4a5a7de82fa9fee6ed756ae3e3ca61
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d26d01410c4046aa4e283f327ac6ed31f2cd7d92519069350116537900451ea9
[INFO] running `Command { std: "docker" "start" "-a" "d26d01410c4046aa4e283f327ac6ed31f2cd7d92519069350116537900451ea9", kill_on_drop: false }`
[INFO] [stderr] Compiling syn v2.0.117
[INFO] [stderr] Compiling libc v0.2.183
[INFO] [stderr] Checking bitflags v2.11.0
[INFO] [stderr] Checking anstyle v1.0.13
[INFO] [stderr] Checking is_terminal_polyfill v1.70.2
[INFO] [stderr] Compiling nix v0.31.2
[INFO] [stderr] Checking anstyle-parse v0.2.7
[INFO] [stderr] Checking anstyle-query v1.1.5
[INFO] [stderr] Checking colorchoice v1.0.4
[INFO] [stderr] Compiling generic-array v0.14.7
[INFO] [stderr] Compiling rustix v1.1.4
[INFO] [stderr] Checking winnow v0.7.15
[INFO] [stderr] Checking option-ext v0.2.0
[INFO] [stderr] Compiling anyhow v1.0.102
[INFO] [stderr] Checking clap_lex v1.0.0
[INFO] [stderr] Checking toml_write v0.1.2
[INFO] [stderr] Checking linux-raw-sys v0.12.1
[INFO] [stderr] Checking serde_json v1.0.149
[INFO] [stderr] Checking once_cell v1.21.3
[INFO] [stderr] Checking anstream v0.6.21
[INFO] [stderr] Checking clap_builder v4.5.60
[INFO] [stderr] Checking block-buffer v0.10.4
[INFO] [stderr] Checking crypto-common v0.1.7
[INFO] [stderr] Checking digest v0.10.7
[INFO] [stderr] Checking sha2 v0.10.9
[INFO] [stderr] Checking dirs-sys v0.5.0
[INFO] [stderr] Checking getrandom v0.4.2
[INFO] [stderr] Checking dirs v6.0.0
[INFO] [stderr] Checking tempfile v3.27.0
[INFO] [stderr] Checking ctrlc v3.5.2
[INFO] [stderr] Compiling serde_derive v1.0.228
[INFO] [stderr] Compiling thiserror-impl v2.0.18
[INFO] [stderr] Compiling clap_derive v4.5.55
[INFO] [stderr] Checking thiserror v2.0.18
[INFO] [stderr] Checking clap v4.5.60
[INFO] [stderr] Checking serde v1.0.228
[INFO] [stderr] Checking toml_datetime v0.6.11
[INFO] [stderr] Checking serde_spanned v0.6.9
[INFO] [stderr] Checking toml_edit v0.22.27
[INFO] [stderr] Checking toml v0.8.23
[INFO] [stderr] Checking nectar-lang v0.2.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `output_before`
[INFO] [stdout] --> src/codegen.rs:819:13
[INFO] [stdout] |
[INFO] [stdout] 819 | let output_before = self.output.len();
[INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_before`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `template_output` is never read
[INFO] [stdout] --> src/codegen.rs:824:35
[INFO] [stdout] |
[INFO] [stdout] 824 | let mut template_output = String::new();
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `is_pub` is never read
[INFO] [stdout] --> src/ast.rs:84:9
[INFO] [stdout] |
[INFO] [stdout] 81 | pub struct ContractDef {
[INFO] [stdout] | ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 84 | pub is_pub: bool,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ContractDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `props` and `gestures` are never read
[INFO] [stdout] --> src/ast.rs:152:9
[INFO] [stdout] |
[INFO] [stdout] 150 | pub struct PageDef {
[INFO] [stdout] | ------- fields in this struct
[INFO] [stdout] 151 | pub name: String,
[INFO] [stdout] 152 | pub props: Vec,
[INFO] [stdout] | ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 | pub gestures: Vec,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `PageDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `extra` is never read
[INFO] [stdout] --> src/ast.rs:172:9
[INFO] [stdout] |
[INFO] [stdout] 166 | pub struct MetaDef {
[INFO] [stdout] | ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 172 | pub extra: Vec<(String, Expr)>, // arbitrary meta key-value pairs
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `MetaDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `on_submit` is never read
[INFO] [stdout] --> src/ast.rs:191:9
[INFO] [stdout] |
[INFO] [stdout] 188 | pub struct FormDef {
[INFO] [stdout] | ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 191 | pub on_submit: Option, // handler function name
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `FormDef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `label` and `placeholder` are never read
[INFO] [stdout] --> src/ast.rs:208:9
[INFO] [stdout] |
[INFO] [stdout] 204 | pub struct FormFieldDef {
[INFO] [stdout] | ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 208 | pub label: Option,
[INFO] [stdout] | ^^^^^
[INFO] [stdout] 209 | pub placeholder: Option,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `FormFieldDef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `message` is never read
[INFO] [stdout] --> src/ast.rs:218:9
[INFO] [stdout] |
[INFO] [stdout] 216 | pub struct ValidatorDef {
[INFO] [stdout] | ------------ field in this struct
[INFO] [stdout] 217 | pub kind: ValidatorKind,
[INFO] [stdout] 218 | pub message: Option,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ValidatorDef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `Min` and `Max` are never constructed
[INFO] [stdout] --> src/ast.rs:231:5
[INFO] [stdout] |
[INFO] [stdout] 224 | pub enum ValidatorKind {
[INFO] [stdout] | ------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 231 | Min(i64),
[INFO] [stdout] | ^^^
[INFO] [stdout] 232 | Max(i64),
[INFO] [stdout] | ^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ValidatorKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `heartbeat_interval` is never read
[INFO] [stdout] --> src/ast.rs:270:9
[INFO] [stdout] |
[INFO] [stdout] 262 | pub struct ChannelDef {
[INFO] [stdout] | ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 270 | pub heartbeat_interval: Option,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ChannelDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `public_key` and `is_pub` are never read
[INFO] [stdout] --> src/ast.rs:331:9
[INFO] [stdout] |
[INFO] [stdout] 328 | pub struct PaymentDef {
[INFO] [stdout] | ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 331 | pub public_key: Option,
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 336 | pub is_pub: bool,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `PaymentDef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `provider` and `is_pub` are never read
[INFO] [stdout] --> src/ast.rs:345:9
[INFO] [stdout] |
[INFO] [stdout] 343 | pub struct AuthDef {
[INFO] [stdout] | ------- fields in this struct
[INFO] [stdout] 344 | pub name: String,
[INFO] [stdout] 345 | pub provider: Option, // "oauth", "jwt", "session"
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 352 | pub is_pub: bool,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `AuthDef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `max_size` and `is_pub` are never read
[INFO] [stdout] --> src/ast.rs:373:9
[INFO] [stdout] |
[INFO] [stdout] 370 | pub struct UploadDef {
[INFO] [stdout] | --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 373 | pub max_size: Option, // bytes
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 380 | pub is_pub: bool,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `UploadDef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `version` and `is_pub` are never read
[INFO] [stdout] --> src/ast.rs:389:9
[INFO] [stdout] |
[INFO] [stdout] 387 | pub struct DbDef {
[INFO] [stdout] | ----- fields in this struct
[INFO] [stdout] 388 | pub name: String,
[INFO] [stdout] 389 | pub version: Option,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 392 | pub is_pub: bool,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `DbDef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `is_pub` is never read
[INFO] [stdout] --> src/ast.rs:420:9
[INFO] [stdout] |
[INFO] [stdout] 412 | pub struct CacheDef {
[INFO] [stdout] | -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 420 | pub is_pub: bool,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `CacheDef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `fetch_expr` is never read
[INFO] [stdout] --> src/ast.rs:430:9
[INFO] [stdout] |
[INFO] [stdout] 426 | pub struct CacheQueryDef {
[INFO] [stdout] | ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 430 | pub fetch_expr: Expr, // the fetch(...) expression
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `CacheQueryDef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `primary` and `is_pub` are never read
[INFO] [stdout] --> src/ast.rs:468:9
[INFO] [stdout] |
[INFO] [stdout] 463 | pub struct ThemeDef {
[INFO] [stdout] | -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 468 | pub primary: Option, // for full auto mode
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] 469 | pub is_pub: bool,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ThemeDef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `is_pub` is never read
[INFO] [stdout] --> src/ast.rs:479:9
[INFO] [stdout] |
[INFO] [stdout] 476 | pub struct AnimationBlockDef {
[INFO] [stdout] | ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 479 | pub is_pub: bool,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `AnimationBlockDef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `keys` is never read
[INFO] [stdout] --> src/ast.rs:508:9
[INFO] [stdout] |
[INFO] [stdout] 507 | pub struct ShortcutDef {
[INFO] [stdout] | ----------- field in this struct
[INFO] [stdout] 508 | pub keys: String,
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ShortcutDef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `gesture_type` and `target` are never read
[INFO] [stdout] --> src/ast.rs:518:9
[INFO] [stdout] |
[INFO] [stdout] 517 | pub struct GestureDef {
[INFO] [stdout] | ---------- fields in this struct
[INFO] [stdout] 518 | pub gesture_type: String, // swipe_left, swipe_right, long_press, pinch, etc.
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] 519 | pub target: Option, // on:element_name, or None for the component root
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `GestureDef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `trait_bounds` is never read
[INFO] [stdout] --> src/ast.rs:585:9
[INFO] [stdout] |
[INFO] [stdout] 577 | pub struct Component {
[INFO] [stdout] | --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 585 | pub trait_bounds: Vec,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Component` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `lifetimes` is never read
[INFO] [stdout] --> src/ast.rs:739:9
[INFO] [stdout] |
[INFO] [stdout] 737 | pub struct StructDef {
[INFO] [stdout] | --------- field in this struct
[INFO] [stdout] 738 | pub name: String,
[INFO] [stdout] 739 | pub lifetimes: Vec,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `StructDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `Result`, `Tuple`, and `Function` are never constructed
[INFO] [stdout] --> src/ast.rs:1038:5
[INFO] [stdout] |
[INFO] [stdout] 1031 | pub enum Type {
[INFO] [stdout] | ---- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 1038 | Result { ok: Box, err: Box },
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] 1039 | Tuple(Vec),
[INFO] [stdout] | ^^^^^
[INFO] [stdout] 1040 | Function { params: Vec, ret: Box },
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: methods `has_errors` and `parse_program` are never used
[INFO] [stdout] --> src/parser.rs:28:12
[INFO] [stdout] |
[INFO] [stdout] 22 | impl Parser {
[INFO] [stdout] | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 | pub fn has_errors(&self) -> bool {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 | pub fn parse_program(&mut self) -> Result {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse` is never used
[INFO] [stdout] --> src/parser.rs:4366:8
[INFO] [stdout] |
[INFO] [stdout] 4366 | pub fn parse(tokens: Vec) -> (Program, Vec) {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `generate_lazy_component` is never used
[INFO] [stdout] --> src/codegen.rs:2358:8
[INFO] [stdout] |
[INFO] [stdout] 57 | impl WasmCodegen {
[INFO] [stdout] | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 2358 | fn generate_lazy_component(&mut self, lazy: &LazyComponentDef) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `kind` is never read
[INFO] [stdout] --> src/borrow_checker.rs:13:9
[INFO] [stdout] |
[INFO] [stdout] 12 | pub struct BorrowError {
[INFO] [stdout] | ----------- field in this struct
[INFO] [stdout] 13 | pub kind: BorrowErrorKind,
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `BorrowError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `lifetime` is never read
[INFO] [stdout] --> src/borrow_checker.rs:88:5
[INFO] [stdout] |
[INFO] [stdout] 81 | struct Scope {
[INFO] [stdout] | ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 88 | lifetime: Option,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `lifetime_scope_depth` is never used
[INFO] [stdout] --> src/borrow_checker.rs:135:8
[INFO] [stdout] |
[INFO] [stdout] 100 | impl Env {
[INFO] [stdout] | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 135 | fn lifetime_scope_depth(&self, name: &str) -> Option {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `name`, `type_params`, `methods`, and `variants` are never read
[INFO] [stdout] --> src/stdlib.rs:19:9
[INFO] [stdout] |
[INFO] [stdout] 17 | pub struct BuiltinType {
[INFO] [stdout] | ----------- fields in this struct
[INFO] [stdout] 18 | /// The type name as it appears in Nectar source code (e.g. "Vec").
[INFO] [stdout] 19 | pub name: String,
[INFO] [stdout] | ^^^^
[INFO] [stdout] 20 | /// Number of generic type parameters (e.g. Vec = 1, HashMap = 2).
[INFO] [stdout] 21 | pub type_params: Vec,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 | pub methods: Vec,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] 27 | /// Variants (only meaningful for enum-like types such as Option/Result).
[INFO] [stdout] 28 | pub variants: Vec,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `BuiltinType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout] --> src/stdlib.rs:34:9
[INFO] [stdout] |
[INFO] [stdout] 33 | pub struct BuiltinVariant {
[INFO] [stdout] | -------------- field in this struct
[INFO] [stdout] 34 | pub name: String,
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `BuiltinVariant` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `name`, `params`, `return_type`, `takes_self`, and `self_mutable` are never read
[INFO] [stdout] --> src/stdlib.rs:43:9
[INFO] [stdout] |
[INFO] [stdout] 41 | pub struct BuiltinFn {
[INFO] [stdout] | --------- fields in this struct
[INFO] [stdout] 42 | /// Function or method name.
[INFO] [stdout] 43 | pub name: String,
[INFO] [stdout] | ^^^^
[INFO] [stdout] 44 | /// Parameter types (excludes `self` for methods).
[INFO] [stdout] 45 | pub params: Vec,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] 46 | /// Return type.
[INFO] [stdout] 47 | pub return_type: Type,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] 48 | /// Whether this is a method that takes `self`.
[INFO] [stdout] 49 | pub takes_self: bool,
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] 50 | /// Whether `self` is taken mutably.
[INFO] [stdout] 51 | pub self_mutable: bool,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `BuiltinFn` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `name` and `ty` are never read
[INFO] [stdout] --> src/stdlib.rs:60:9
[INFO] [stdout] |
[INFO] [stdout] 59 | pub struct BuiltinParam {
[INFO] [stdout] | ------------ fields in this struct
[INFO] [stdout] 60 | pub name: String,
[INFO] [stdout] | ^^^^
[INFO] [stdout] 61 | pub ty: Type,
[INFO] [stdout] | ^^
[INFO] [stdout] |
[INFO] [stdout] = note: `BuiltinParam` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout] --> src/stdlib.rs:77:12
[INFO] [stdout] |
[INFO] [stdout] 75 | impl StdLib {
[INFO] [stdout] | ----------- associated items in this implementation
[INFO] [stdout] 76 | /// Create a new standard library instance with all builtins registered.
[INFO] [stdout] 77 | pub fn new() -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 | pub fn lookup_type(&self, name: &str) -> Option<&BuiltinType> {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 | pub fn lookup_fn(&self, name: &str) -> Option<&BuiltinFn> {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 | pub fn lookup_method(&self, type_name: &str, method_name: &str) -> Option<&BuiltinFn> {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 | fn register_type(&mut self, ty: BuiltinType) {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 | fn register_fn(&mut self, f: BuiltinFn) {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 172 | fn register_vec(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 269 | fn register_hashmap(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 346 | fn register_option(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 412 | fn register_result(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 486 | fn register_string(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 623 | fn register_iterator_trait(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 785 | fn register_math_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 894 | fn register_formatting_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 946 | fn register_web_api_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1130 | fn register_crypto_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1347 | fn register_bigdecimal_type(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1453 | fn register_collections_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1533 | fn register_url_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1587 | fn register_mask_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1626 | fn register_search_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1672 | fn register_theme_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1709 | fn register_auth_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1758 | fn register_upload_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1789 | fn register_db_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1838 | fn register_animate_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1888 | fn register_responsive_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1925 | fn register_toast_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1979 | fn register_data_table_type(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2081 | fn register_datepicker_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2144 | fn register_debounce_throttle_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2175 | fn register_skeleton_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2232 | fn register_pagination_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2289 | fn register_combobox_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2333 | fn register_chart_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2442 | fn register_editor_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2511 | fn register_image_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2565 | fn register_csv_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2609 | fn register_maps_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2691 | fn register_syntax_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2723 | fn register_media_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2800 | fn register_qr_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2832 | fn register_share_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2861 | fn register_wizard_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 2937 | fn register_rtc_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 3224 | fn register_gpu_functions(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant `SelfType` is never constructed
[INFO] [stdout] --> src/type_checker.rs:65:5
[INFO] [stdout] |
[INFO] [stdout] 21 | pub enum Ty {
[INFO] [stdout] | -- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 65 | SelfType,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Ty` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `registry_url` is never read
[INFO] [stdout] --> src/package.rs:71:9
[INFO] [stdout] |
[INFO] [stdout] 67 | pub struct Dependency {
[INFO] [stdout] | ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 71 | pub registry_url: Option,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Dependency` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_lockfile` is never used
[INFO] [stdout] --> src/package.rs:145:8
[INFO] [stdout] |
[INFO] [stdout] 145 | pub fn parse_lockfile(path: &str) -> Result