[INFO] cloning repository https://github.com/donet-server/DoNet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/donet-server/DoNet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdonet-server%2FDoNet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdonet-server%2FDoNet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d54b1d939b26a4afe50444b51f364112f159c160 [INFO] checking donet-server/DoNet against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdonet-server%2FDoNet" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/donet-server/DoNet [INFO] finished tweaking git repo https://github.com/donet-server/DoNet [INFO] tweaked toml for git repo https://github.com/donet-server/DoNet written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/donet-server/DoNet on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/donet-server/DoNet 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21d4718a63c66955d0078bd80286746be173a59cea13c1172242bb518a0d1b08 [INFO] running `Command { std: "docker" "start" "-a" "21d4718a63c66955d0078bd80286746be173a59cea13c1172242bb518a0d1b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21d4718a63c66955d0078bd80286746be173a59cea13c1172242bb518a0d1b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21d4718a63c66955d0078bd80286746be173a59cea13c1172242bb518a0d1b08", kill_on_drop: false }` [INFO] [stdout] 21d4718a63c66955d0078bd80286746be173a59cea13c1172242bb518a0d1b08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba59960d39051c1404f20f4a575205df5917638fcd6002bdda32c7c4c1af3805 [INFO] running `Command { std: "docker" "start" "-a" "ba59960d39051c1404f20f4a575205df5917638fcd6002bdda32c7c4c1af3805", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling lalr v0.0.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling redfa v0.0.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking foldhash v0.1.3 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking btoi v0.4.3 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking trilean v1.1.0 [INFO] [stderr] Compiling mysql v25.0.1 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking gcollections v1.5.0 [INFO] [stderr] Checking rangemap v1.5.1 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking intervallum v1.4.1 [INFO] [stderr] Compiling cmake v0.1.52 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling derive_utils v0.14.2 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling plex v0.3.1 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling io-enum v1.1.3 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling mysql-common-derive v0.31.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde v1.0.215 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Compiling mysql_common v0.32.4 [INFO] [stderr] Compiling mysql_common v0.33.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking multimap v0.9.1 [INFO] [stderr] Checking serde_json v1.0.133 [INFO] [stderr] Checking multimap v0.10.0 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking codespan v0.11.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking donet-core v0.1.0 (/opt/rustwide/workdir/donet-core) [INFO] [stderr] Checking toml v0.7.8 [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> donet-core/src/dcswitch.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 111 | key: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 112 | cases: vec![], [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> donet-core/src/dcswitch.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 111 | key: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 112 | cases: vec![], [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | StructType(Struct), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeDeclaration` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 41 - StructType(Struct), [INFO] [stdout] 41 + StructType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | DClassType(DClass), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeDeclaration` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 42 - DClassType(DClass), [INFO] [stdout] 42 + DClassType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | TypedefType(TypeDefinition), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeDeclaration` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 43 - TypedefType(TypeDefinition), [INFO] [stdout] 43 + TypedefType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct PythonImport { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 53 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PythonImport` 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 `span` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct SymbolWithViews { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 62 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolWithViews` 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 `span`, `deprecated`, `data_type`, and `alias_identifier` are never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct TypeDefinition { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 80 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 81 | /// Used if deprecated type aliases are found, such as `typedef uint8 bool;` [INFO] [stdout] 82 | pub deprecated: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 83 | pub data_type: NonMethodDataType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 84 | pub array_range: Option, [INFO] [stdout] 85 | pub alias_identifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeDefinition` 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 `span`, `identifier`, `parents`, and `fields` are never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct DClass { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 99 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 100 | pub identifier: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 101 | pub parents: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 102 | pub fields: ClassFields, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DClass` 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 `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | Atomic(AtomicField), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AtomicOrMolecular` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 111 - Atomic(AtomicField), [INFO] [stdout] 111 + Atomic(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 112 | Molecular(MolecularField), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AtomicOrMolecular` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 112 - Molecular(MolecularField), [INFO] [stdout] 112 + Molecular(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span`, `identifier`, `keywords`, and `parameters` are never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct AtomicField { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 118 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 119 | pub identifier: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 120 | pub keywords: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 121 | pub parameters: MethodBody, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AtomicField` 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 `span`, `identifier`, and `atomic_field_identifiers` are never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct MolecularField { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 146 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 147 | pub identifier: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 148 | pub atomic_field_identifiers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MolecularField` 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: type alias `ParameterValues` is never used [INFO] [stdout] --> donet-core/src/parser/ast.rs:152:10 [INFO] [stdout] | [INFO] [stdout] 152 | pub type ParameterValues = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span`, `identifier`, and `fields` are never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct Struct { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 157 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 158 | pub identifier: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 159 | pub fields: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Struct` 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 `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | ParameterField(ParameterField), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StructField` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 165 - ParameterField(ParameterField), [INFO] [stdout] 165 + ParameterField(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | MethodAsField(MethodAsField), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StructField` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 166 - MethodAsField(MethodAsField), [INFO] [stdout] 166 + MethodAsField(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | Switch(Switch), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StructField` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 167 - Switch(Switch), [INFO] [stdout] 167 + Switch(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span`, `identifier`, `key_parameter`, and `cases` are never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Switch { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 182 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 183 | pub identifier: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 184 | pub key_parameter: ParameterField, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 185 | pub cases: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Switch` 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 `condition` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct Case { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 193 | pub condition: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Case` 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 `span` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 207 | pub struct MethodAsField { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 208 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MethodAsField` 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 `span` and `data_type` are never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct Parameter { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 238 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 239 | pub data_type: NonMethodDataType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parameter` 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 `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | NumericType(NumericType), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NonMethodDataType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 265 - NumericType(NumericType), [INFO] [stdout] 265 + NumericType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:266:16 [INFO] [stdout] | [INFO] [stdout] 266 | StructType(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NonMethodDataType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 266 - StructType(String), [INFO] [stdout] 266 + StructType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:267:19 [INFO] [stdout] | [INFO] [stdout] 267 | TypeWithArray(TypeWithArray), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NonMethodDataType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 267 - TypeWithArray(TypeWithArray), [INFO] [stdout] 267 + TypeWithArray(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span` and `data_type` are never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct TypeWithArray { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 273 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 274 | pub data_type: ArrayableType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeWithArray` 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 `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | Numeric(NumericType), [INFO] [stdout] | ------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ArrayableType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 280 - Numeric(NumericType), [INFO] [stdout] 280 + Numeric(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 281 | Struct(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ArrayableType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 281 - Struct(String), [INFO] [stdout] 281 + Struct(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:282:11 [INFO] [stdout] | [INFO] [stdout] 282 | Sized(SizedTypeToken), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ArrayableType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 282 - Sized(SizedTypeToken), [INFO] [stdout] 282 + Sized(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TypeOrSizedValue` is never used [INFO] [stdout] --> donet-core/src/parser/ast.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | pub enum TypeOrSizedValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | I64(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 298 - I64(i64), [INFO] [stdout] 298 + I64(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:299:10 [INFO] [stdout] | [INFO] [stdout] 299 | Char(char), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 299 - Char(char), [INFO] [stdout] 299 + Char(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 300 | String(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 300 - String(String), [INFO] [stdout] 300 + String(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:301:16 [INFO] [stdout] | [INFO] [stdout] 301 | ArrayValue(Vec), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 301 - ArrayValue(Vec), [INFO] [stdout] 301 + ArrayValue(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span` and `base_type` are never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 306 | pub struct NumericType { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 307 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 308 | pub base_type: DCTypeEnum, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NumericType` 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 `span` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 394 | pub struct DataType { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 395 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataType` 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 variants are never constructed [INFO] [stdout] --> donet-core/src/parser/error.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub enum SemanticError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 73 | NotDefined(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | MultipleInheritanceDisabled, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 78 | #[error("maximum number of dclasses declared")] [INFO] [stdout] 79 | DClassOverflow, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 80 | #[error("maximum number of fields declared")] [INFO] [stdout] 81 | FieldOverflow, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | RedundantKeyword(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | KeywordsInStructField, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | RedundantCase, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 98 | #[error("default case already defined")] [INFO] [stdout] 99 | RedundantDefault, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 100 | #[error("case value type does not match key value type")] [INFO] [stdout] 101 | InvalidCaseValueType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | MismatchedKeywords { atom1: String, atom2: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 106 | #[error("`{0}` is not an atomic field")] [INFO] [stdout] 107 | ExpectedAtomic(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | InvalidRange, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 112 | #[error("overlapping range")] [INFO] [stdout] 113 | OverlappingRange, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 114 | #[error("value out of range")] [INFO] [stdout] 115 | ValueOutOfRange, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | InvalidDivisor, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 120 | #[error("invalid modulus")] [INFO] [stdout] 121 | InvalidModulus, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | InvalidDefault, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | ExpectedStruct(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SemanticError` 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 `field_id_2_field`, `all_object_valid`, and `inherited_fields_stale` are never read [INFO] [stdout] --> donet-core/src/dcfile.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct DCFile<'dc> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 83 | field_id_2_field: Vec<&'dc DCField<'dc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | // TODO: type_id_2_type, type_name_2_type [INFO] [stdout] 85 | all_object_valid: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 86 | inherited_fields_stale: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DCFile` 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 `structs`, `dclasses`, `all_object_valid`, and `inherited_fields_stale` are never read [INFO] [stdout] --> donet-core/src/dcfile.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 339 | pub(crate) struct DCFile { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 340 | pub config: DCFileConfig, [INFO] [stdout] 341 | pub structs: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 342 | pub dclasses: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | pub all_object_valid: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 348 | pub inherited_fields_stale: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DCFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_field`, `add_typedef`, `add_dclass`, `add_struct`, and `get_next_dclass_id` are never used [INFO] [stdout] --> donet-core/src/dcfile.rs:368:16 [INFO] [stdout] | [INFO] [stdout] 366 | impl DCFile { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 367 | /// Assigns unique ID to the field for the scope of the entire DC file. [INFO] [stdout] 368 | pub fn add_field(&mut self, _field: DCField) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 469 | pub fn add_typedef(&mut self, _name: String) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | pub fn add_dclass(&mut self, dclass: DClass) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | pub fn add_struct(&mut self, _strct: DCStruct) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 486 | pub fn get_next_dclass_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DCKeywordList` is never constructed [INFO] [stdout] --> donet-core/src/dckeyword.rs:220:16 [INFO] [stdout] | [INFO] [stdout] 220 | pub struct DCKeywordList { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_keyword`, `copy_keywords`, and `clear_keywords` are never used [INFO] [stdout] --> donet-core/src/dckeyword.rs:240:16 [INFO] [stdout] | [INFO] [stdout] 239 | impl DCKeywordList { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 240 | pub fn add_keyword(&mut self, keyword: DCKeyword) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn copy_keywords(&mut self, target: &DCKeywordList) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn clear_keywords(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_bogus_class`, `inherited_fields`, and `field_id_2_field` are never read [INFO] [stdout] --> donet-core/src/dclass.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct DClass<'dc> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | is_bogus_class: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | inherited_fields: Vec<&'dc ClassField<'dc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | field_name_2_field: FieldName2Field<'dc>, [INFO] [stdout] 49 | field_id_2_field: FieldId2Field<'dc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DClass` 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 fields are never read [INFO] [stdout] --> donet-core/src/dclass.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct DClass { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 174 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 175 | pub identifier: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 176 | pub parents: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 177 | pub fields: ast::ClassFields, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 178 | pub class_id: globals::DClassId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 179 | pub is_bogus_class: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 180 | pub class_parents: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DClass` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_parent` and `add_class_field` are never used [INFO] [stdout] --> donet-core/src/dclass.rs:185:16 [INFO] [stdout] | [INFO] [stdout] 183 | impl DClass { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 184 | #[inline(always)] [INFO] [stdout] 185 | pub fn add_parent(&mut self, parent: Rc>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn add_class_field(&mut self, field: ast::AtomicOrMolecular) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `data_to_number` is never used [INFO] [stdout] --> donet-core/src/dcnumeric.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 190 | impl DCNumericType { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 261 | fn data_to_number(&self, data: Vec) -> Result<(bool, DCNumber), IteratorError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_alias` is never read [INFO] [stdout] --> donet-core/src/dcparameter.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct DCParameter<'dc> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | type_alias: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DCParameter` 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 `case_fields` is never read [INFO] [stdout] --> donet-core/src/dcswitch.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct DCSwitch<'dc> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | case_fields: Vec<&'dc DCField<'dc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DCSwitch` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SwitchCase` is never constructed [INFO] [stdout] --> donet-core/src/dcswitch.rs:210:16 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct SwitchCase { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_case_field` is never used [INFO] [stdout] --> donet-core/src/dcswitch.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 215 | impl SwitchCase { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 216 | fn add_case_field(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_case` is never used [INFO] [stdout] --> donet-core/src/dcswitch.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 225 | impl DCSwitch { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 226 | fn add_case(&mut self) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dcfield.rs:148:23 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn get_dclass(&self) -> &'dc DClass { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | pub fn get_dclass(&self) -> &'dc DClass<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dcfile.rs:235:23 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn get_dclass(&self, _index: usize) -> &'dc DClass { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 235 | pub fn get_dclass(&self, _index: usize) -> &'dc DClass<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dcfile.rs:239:29 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn get_dclass_by_id(&self, id: globals::DClassId) -> &'dc DClass { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 239 | pub fn get_dclass_by_id(&self, id: globals::DClassId) -> &'dc DClass<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dcfile.rs:243:31 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn get_dclass_by_name(&self, _name: &str) -> &'dc DClass { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 243 | pub fn get_dclass_by_name(&self, _name: &str) -> &'dc DClass<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dcfile.rs:253:23 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn get_struct(&self, _index: usize) -> &'dc DCStruct { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 253 | pub fn get_struct(&self, _index: usize) -> &'dc DCStruct<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dckeyword.rs:179:38 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn _get_keywords_by_name_map(&self) -> KeywordName2Keyword { [INFO] [stdout] | ^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 179 | pub fn _get_keywords_by_name_map(&self) -> KeywordName2Keyword<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dclass.rs:120:30 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn get_field_by_name(&self, name: &str) -> Option<&'dc ClassField> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ---------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | pub fn get_field_by_name(&self, name: &str) -> Option<&'dc ClassField<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dclass.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn get_parent(&self, index: usize) -> Option<&'static DClass> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn get_parent(&self, index: usize) -> Option<&'static DClass<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dclass.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn get_constructor(&self) -> Option<&'dc DCAtomicField> { [INFO] [stdout] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 154 | pub fn get_constructor(&self) -> Option<&'dc DCAtomicField<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dcmolecular.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn get_atomic_field(&self, index: usize) -> Option<&'dc DCAtomicField> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn get_atomic_field(&self, index: usize) -> Option<&'dc DCAtomicField<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dcparameter.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_atomic_field(&self) -> &'dc DCAtomicField { [INFO] [stdout] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_atomic_field(&self) -> &'dc DCAtomicField<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dcswitch.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn get_field(&self, index: usize) -> Option<&'dc DCField> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn get_field(&self, index: usize) -> Option<&'dc DCField<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dcswitch.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn get_field_by_name(&self, _name: String) -> Option<&'dc DCField> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | pub fn get_field_by_name(&self, _name: String) -> Option<&'dc DCField<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dcswitch.rs:171:30 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn get_key_parameter(&self) -> &'dc DCField { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 171 | pub fn get_key_parameter(&self) -> &'dc DCField<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dcswitch.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn get_case(&self, index: usize) -> Option<&'dc SwitchCase> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ---------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 184 | pub fn get_case(&self, index: usize) -> Option<&'dc SwitchCase<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dcswitch.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn get_default_case(&self) -> Option<&'dc SwitchCase> { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 191 | pub fn get_default_case(&self) -> Option<&'dc SwitchCase<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking donet-network v0.1.0 (/opt/rustwide/workdir/donet-network) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | StructType(Struct), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeDeclaration` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 41 - StructType(Struct), [INFO] [stdout] 41 + StructType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | DClassType(DClass), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeDeclaration` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 42 - DClassType(DClass), [INFO] [stdout] 42 + DClassType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | TypedefType(TypeDefinition), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeDeclaration` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 43 - TypedefType(TypeDefinition), [INFO] [stdout] 43 + TypedefType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct PythonImport { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 53 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PythonImport` 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 `span` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct SymbolWithViews { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 62 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolWithViews` 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 `span`, `deprecated`, `data_type`, and `alias_identifier` are never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct TypeDefinition { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 80 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 81 | /// Used if deprecated type aliases are found, such as `typedef uint8 bool;` [INFO] [stdout] 82 | pub deprecated: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 83 | pub data_type: NonMethodDataType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 84 | pub array_range: Option, [INFO] [stdout] 85 | pub alias_identifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeDefinition` 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 `span`, `identifier`, `parents`, and `fields` are never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct DClass { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 99 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 100 | pub identifier: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 101 | pub parents: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 102 | pub fields: ClassFields, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DClass` 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 `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | Atomic(AtomicField), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AtomicOrMolecular` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 111 - Atomic(AtomicField), [INFO] [stdout] 111 + Atomic(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 112 | Molecular(MolecularField), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AtomicOrMolecular` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 112 - Molecular(MolecularField), [INFO] [stdout] 112 + Molecular(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span`, `identifier`, `keywords`, and `parameters` are never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct AtomicField { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 118 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 119 | pub identifier: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 120 | pub keywords: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 121 | pub parameters: MethodBody, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AtomicField` 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 `span`, `identifier`, and `atomic_field_identifiers` are never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct MolecularField { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 146 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 147 | pub identifier: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 148 | pub atomic_field_identifiers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MolecularField` 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: type alias `ParameterValues` is never used [INFO] [stdout] --> donet-core/src/parser/ast.rs:152:10 [INFO] [stdout] | [INFO] [stdout] 152 | pub type ParameterValues = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span`, `identifier`, and `fields` are never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct Struct { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 157 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 158 | pub identifier: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 159 | pub fields: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Struct` 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 `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | ParameterField(ParameterField), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StructField` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 165 - ParameterField(ParameterField), [INFO] [stdout] 165 + ParameterField(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | MethodAsField(MethodAsField), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StructField` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 166 - MethodAsField(MethodAsField), [INFO] [stdout] 166 + MethodAsField(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | Switch(Switch), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StructField` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 167 - Switch(Switch), [INFO] [stdout] 167 + Switch(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span`, `identifier`, `key_parameter`, and `cases` are never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Switch { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 182 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 183 | pub identifier: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 184 | pub key_parameter: ParameterField, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 185 | pub cases: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Switch` 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 `condition` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct Case { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 193 | pub condition: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Case` 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 `span` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 207 | pub struct MethodAsField { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 208 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MethodAsField` 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 `span` and `data_type` are never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct Parameter { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 238 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 239 | pub data_type: NonMethodDataType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parameter` 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 `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | NumericType(NumericType), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NonMethodDataType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 265 - NumericType(NumericType), [INFO] [stdout] 265 + NumericType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:266:16 [INFO] [stdout] | [INFO] [stdout] 266 | StructType(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NonMethodDataType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 266 - StructType(String), [INFO] [stdout] 266 + StructType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:267:19 [INFO] [stdout] | [INFO] [stdout] 267 | TypeWithArray(TypeWithArray), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NonMethodDataType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 267 - TypeWithArray(TypeWithArray), [INFO] [stdout] 267 + TypeWithArray(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span` and `data_type` are never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct TypeWithArray { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 273 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 274 | pub data_type: ArrayableType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeWithArray` 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 `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | Numeric(NumericType), [INFO] [stdout] | ------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ArrayableType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 280 - Numeric(NumericType), [INFO] [stdout] 280 + Numeric(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 281 | Struct(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ArrayableType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 281 - Struct(String), [INFO] [stdout] 281 + Struct(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:282:11 [INFO] [stdout] | [INFO] [stdout] 282 | Sized(SizedTypeToken), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ArrayableType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 282 - Sized(SizedTypeToken), [INFO] [stdout] 282 + Sized(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TypeOrSizedValue` is never used [INFO] [stdout] --> donet-core/src/parser/ast.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | pub enum TypeOrSizedValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | I64(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 298 - I64(i64), [INFO] [stdout] 298 + I64(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:299:10 [INFO] [stdout] | [INFO] [stdout] 299 | Char(char), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 299 - Char(char), [INFO] [stdout] 299 + Char(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 300 | String(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 300 - String(String), [INFO] [stdout] 300 + String(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:301:16 [INFO] [stdout] | [INFO] [stdout] 301 | ArrayValue(Vec), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 301 - ArrayValue(Vec), [INFO] [stdout] 301 + ArrayValue(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span` and `base_type` are never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 306 | pub struct NumericType { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 307 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 308 | pub base_type: DCTypeEnum, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NumericType` 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 `span` is never read [INFO] [stdout] --> donet-core/src/parser/ast.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 394 | pub struct DataType { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 395 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataType` 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 variants are never constructed [INFO] [stdout] --> donet-core/src/parser/error.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub enum SemanticError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 73 | NotDefined(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | MultipleInheritanceDisabled, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 78 | #[error("maximum number of dclasses declared")] [INFO] [stdout] 79 | DClassOverflow, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 80 | #[error("maximum number of fields declared")] [INFO] [stdout] 81 | FieldOverflow, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | RedundantKeyword(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | KeywordsInStructField, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | RedundantCase, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 98 | #[error("default case already defined")] [INFO] [stdout] 99 | RedundantDefault, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 100 | #[error("case value type does not match key value type")] [INFO] [stdout] 101 | InvalidCaseValueType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | MismatchedKeywords { atom1: String, atom2: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 106 | #[error("`{0}` is not an atomic field")] [INFO] [stdout] 107 | ExpectedAtomic(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | InvalidRange, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 112 | #[error("overlapping range")] [INFO] [stdout] 113 | OverlappingRange, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 114 | #[error("value out of range")] [INFO] [stdout] 115 | ValueOutOfRange, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | InvalidDivisor, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 120 | #[error("invalid modulus")] [INFO] [stdout] 121 | InvalidModulus, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | InvalidDefault, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | ExpectedStruct(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SemanticError` 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 `field_id_2_field`, `all_object_valid`, and `inherited_fields_stale` are never read [INFO] [stdout] --> donet-core/src/dcfile.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct DCFile<'dc> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 83 | field_id_2_field: Vec<&'dc DCField<'dc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | // TODO: type_id_2_type, type_name_2_type [INFO] [stdout] 85 | all_object_valid: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 86 | inherited_fields_stale: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DCFile` 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 `structs`, `dclasses`, `all_object_valid`, and `inherited_fields_stale` are never read [INFO] [stdout] --> donet-core/src/dcfile.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 339 | pub(crate) struct DCFile { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 340 | pub config: DCFileConfig, [INFO] [stdout] 341 | pub structs: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 342 | pub dclasses: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | pub all_object_valid: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 348 | pub inherited_fields_stale: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DCFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_field`, `add_typedef`, `add_dclass`, `add_struct`, and `get_next_dclass_id` are never used [INFO] [stdout] --> donet-core/src/dcfile.rs:368:16 [INFO] [stdout] | [INFO] [stdout] 366 | impl DCFile { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 367 | /// Assigns unique ID to the field for the scope of the entire DC file. [INFO] [stdout] 368 | pub fn add_field(&mut self, _field: DCField) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 469 | pub fn add_typedef(&mut self, _name: String) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | pub fn add_dclass(&mut self, dclass: DClass) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | pub fn add_struct(&mut self, _strct: DCStruct) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 486 | pub fn get_next_dclass_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DCKeywordList` is never constructed [INFO] [stdout] --> donet-core/src/dckeyword.rs:220:16 [INFO] [stdout] | [INFO] [stdout] 220 | pub struct DCKeywordList { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_keyword`, `copy_keywords`, and `clear_keywords` are never used [INFO] [stdout] --> donet-core/src/dckeyword.rs:240:16 [INFO] [stdout] | [INFO] [stdout] 239 | impl DCKeywordList { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 240 | pub fn add_keyword(&mut self, keyword: DCKeyword) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn copy_keywords(&mut self, target: &DCKeywordList) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn clear_keywords(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_bogus_class`, `inherited_fields`, and `field_id_2_field` are never read [INFO] [stdout] --> donet-core/src/dclass.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct DClass<'dc> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | is_bogus_class: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | inherited_fields: Vec<&'dc ClassField<'dc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | field_name_2_field: FieldName2Field<'dc>, [INFO] [stdout] 49 | field_id_2_field: FieldId2Field<'dc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DClass` 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 fields are never read [INFO] [stdout] --> donet-core/src/dclass.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct DClass { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 174 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 175 | pub identifier: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 176 | pub parents: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 177 | pub fields: ast::ClassFields, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 178 | pub class_id: globals::DClassId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 179 | pub is_bogus_class: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 180 | pub class_parents: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DClass` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_parent` and `add_class_field` are never used [INFO] [stdout] --> donet-core/src/dclass.rs:185:16 [INFO] [stdout] | [INFO] [stdout] 183 | impl DClass { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 184 | #[inline(always)] [INFO] [stdout] 185 | pub fn add_parent(&mut self, parent: Rc>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn add_class_field(&mut self, field: ast::AtomicOrMolecular) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `data_to_number` is never used [INFO] [stdout] --> donet-core/src/dcnumeric.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 190 | impl DCNumericType { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 261 | fn data_to_number(&self, data: Vec) -> Result<(bool, DCNumber), IteratorError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_alias` is never read [INFO] [stdout] --> donet-core/src/dcparameter.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct DCParameter<'dc> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | type_alias: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DCParameter` 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 `case_fields` is never read [INFO] [stdout] --> donet-core/src/dcswitch.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct DCSwitch<'dc> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | case_fields: Vec<&'dc DCField<'dc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DCSwitch` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SwitchCase` is never constructed [INFO] [stdout] --> donet-core/src/dcswitch.rs:210:16 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct SwitchCase { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_case_field` is never used [INFO] [stdout] --> donet-core/src/dcswitch.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 215 | impl SwitchCase { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 216 | fn add_case_field(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_case` is never used [INFO] [stdout] --> donet-core/src/dcswitch.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 225 | impl DCSwitch { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 226 | fn add_case(&mut self) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dcfield.rs:148:23 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn get_dclass(&self) -> &'dc DClass { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | pub fn get_dclass(&self) -> &'dc DClass<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dcfile.rs:235:23 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn get_dclass(&self, _index: usize) -> &'dc DClass { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 235 | pub fn get_dclass(&self, _index: usize) -> &'dc DClass<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dcfile.rs:239:29 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn get_dclass_by_id(&self, id: globals::DClassId) -> &'dc DClass { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 239 | pub fn get_dclass_by_id(&self, id: globals::DClassId) -> &'dc DClass<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dcfile.rs:243:31 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn get_dclass_by_name(&self, _name: &str) -> &'dc DClass { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 243 | pub fn get_dclass_by_name(&self, _name: &str) -> &'dc DClass<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dcfile.rs:253:23 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn get_struct(&self, _index: usize) -> &'dc DCStruct { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 253 | pub fn get_struct(&self, _index: usize) -> &'dc DCStruct<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dckeyword.rs:179:38 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn _get_keywords_by_name_map(&self) -> KeywordName2Keyword { [INFO] [stdout] | ^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 179 | pub fn _get_keywords_by_name_map(&self) -> KeywordName2Keyword<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dclass.rs:120:30 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn get_field_by_name(&self, name: &str) -> Option<&'dc ClassField> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ---------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | pub fn get_field_by_name(&self, name: &str) -> Option<&'dc ClassField<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dclass.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn get_parent(&self, index: usize) -> Option<&'static DClass> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn get_parent(&self, index: usize) -> Option<&'static DClass<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dclass.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn get_constructor(&self) -> Option<&'dc DCAtomicField> { [INFO] [stdout] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 154 | pub fn get_constructor(&self) -> Option<&'dc DCAtomicField<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dcmolecular.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn get_atomic_field(&self, index: usize) -> Option<&'dc DCAtomicField> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn get_atomic_field(&self, index: usize) -> Option<&'dc DCAtomicField<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dcparameter.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_atomic_field(&self) -> &'dc DCAtomicField { [INFO] [stdout] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_atomic_field(&self) -> &'dc DCAtomicField<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dcswitch.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn get_field(&self, index: usize) -> Option<&'dc DCField> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn get_field(&self, index: usize) -> Option<&'dc DCField<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dcswitch.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn get_field_by_name(&self, _name: String) -> Option<&'dc DCField> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | pub fn get_field_by_name(&self, _name: String) -> Option<&'dc DCField<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dcswitch.rs:171:30 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn get_key_parameter(&self) -> &'dc DCField { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 171 | pub fn get_key_parameter(&self) -> &'dc DCField<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dcswitch.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn get_case(&self, index: usize) -> Option<&'dc SwitchCase> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ---------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 184 | pub fn get_case(&self, index: usize) -> Option<&'dc SwitchCase<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> donet-core/src/dcswitch.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn get_default_case(&self) -> Option<&'dc SwitchCase> { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 191 | pub fn get_default_case(&self) -> Option<&'dc SwitchCase<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking donet-daemon v0.1.0 (/opt/rustwide/workdir/donet-daemon) [INFO] [stdout] error[E0583]: file not found for module `meson` [INFO] [stdout] --> donet-daemon/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub mod meson; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `meson`, create file "donet-daemon/src/meson.rs" or "donet-daemon/src/meson/mod.rs" [INFO] [stdout] = note: if there is a `mod meson` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `meson` [INFO] [stdout] --> donet-daemon/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub mod meson; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `meson`, create file "donet-daemon/src/meson.rs" or "donet-daemon/src/meson/mod.rs" [INFO] [stdout] = note: if there is a `mod meson` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `donet-daemon` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `donet-daemon` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "ba59960d39051c1404f20f4a575205df5917638fcd6002bdda32c7c4c1af3805", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba59960d39051c1404f20f4a575205df5917638fcd6002bdda32c7c4c1af3805", kill_on_drop: false }` [INFO] [stdout] ba59960d39051c1404f20f4a575205df5917638fcd6002bdda32c7c4c1af3805