[INFO] cloning repository https://github.com/davidRoussov/document-to-json [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidRoussov/document-to-json" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdavidRoussov%2Fdocument-to-json", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdavidRoussov%2Fdocument-to-json'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0bd605954f63a4bd9c9654e629a059f5035e314 [INFO] testing davidRoussov/document-to-json against 1.86.0 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdavidRoussov%2Fdocument-to-json" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davidRoussov/document-to-json on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/davidRoussov/document-to-json [INFO] finished tweaking git repo https://github.com/davidRoussov/document-to-json [INFO] tweaked toml for git repo https://github.com/davidRoussov/document-to-json written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/davidRoussov/document-to-json 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" "+1.86.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded webdriver v0.50.0 [INFO] [stderr] Downloaded dot v0.1.4 [INFO] [stderr] Downloaded pathetic v0.3.0 [INFO] [stderr] Downloaded fantoccini v0.21.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f1cb29df3107156fb220ff08668fd7c60ed7556f7ff9f0a3960ee31c8ff2358 [INFO] running `Command { std: "docker" "start" "-a" "9f1cb29df3107156fb220ff08668fd7c60ed7556f7ff9f0a3960ee31c8ff2358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f1cb29df3107156fb220ff08668fd7c60ed7556f7ff9f0a3960ee31c8ff2358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f1cb29df3107156fb220ff08668fd7c60ed7556f7ff9f0a3960ee31c8ff2358", kill_on_drop: false }` [INFO] [stdout] 9f1cb29df3107156fb220ff08668fd7c60ed7556f7ff9f0a3960ee31c8ff2358 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 182699a57128dfb55c15e9807a04131e37610391cc5cd730c5e368daee5d8a1f [INFO] running `Command { std: "docker" "start" "-a" "182699a57128dfb55c15e9807a04131e37610391cc5cd730c5e368daee5d8a1f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling copy_dir v0.1.3 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling libquickjs-sys v0.9.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling winnow v0.6.24 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Compiling simple-logging v2.0.2 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling uuid v1.12.0 [INFO] [stderr] Compiling fern v0.7.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling dot v0.1.4 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling xmltree v0.10.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling xml5ever v0.18.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling markup5ever_rcdom v0.3.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling webdriver v0.50.0 [INFO] [stderr] Compiling pathetic v0.3.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling fantoccini v0.21.4 [INFO] [stderr] Compiling quick-js v0.4.1 [INFO] [stderr] Compiling parversion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/analysis.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashSet, HashMap, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `json` [INFO] [stdout] --> src/analysis.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/analysis.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future` [INFO] [stdout] --> src/analysis.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data_node::DataNode` [INFO] [stdout] --> src/analysis.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::data_node::DataNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::json_node::JsonNode` [INFO] [stdout] --> src/analysis.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::json_node::JsonNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasisGraphBuilder` and `BasisGraph` [INFO] [stdout] --> src/analysis.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::basis_graph::{BasisGraph, BasisGraphBuilder}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DocumentType` and `Document` [INFO] [stdout] --> src/analysis.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::document::{Document, DocumentType}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::document_format::DocumentFormat` [INFO] [stdout] --> src/analysis.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::document_format::DocumentFormat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashTransformation` and `Transformation` [INFO] [stdout] --> src/analysis.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::transformation::{Transformation, HashTransformation}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::document_node::DocumentNode` [INFO] [stdout] --> src/analysis.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::document_node::DocumentNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GraphNode` [INFO] [stdout] --> src/analysis.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::graph_node::{Graph, GraphNode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::profile::Profile` [INFO] [stdout] --> src/analysis.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::profile::Profile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Recursion` [INFO] [stdout] --> src/analysis.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Recursion [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextID` and `Context` [INFO] [stdout] --> src/analysis.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::context::{Context, ContextID}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataNodeFieldsTransform` and `Runtime` [INFO] [stdout] --> src/analysis.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | DataNodeFieldsTransform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | Runtime [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `XMLNode` [INFO] [stdout] --> src/document.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use xmltree::{Element, XMLNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/document.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataNode` [INFO] [stdout] --> src/document.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::data_node::{DataNode}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::transformation::XMLElementTransformation` [INFO] [stdout] --> src/document.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::transformation::XMLElementTransformation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PLAIN_TEXT` should have an upper camel case name [INFO] [stdout] --> src/document.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | PLAIN_TEXT, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PlainText` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/document_node.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/id.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::de::{self, Deserialize, Deserializer, Visitor, Error as SerdeError}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Model` [INFO] [stdout] --> src/normalization.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::model::{Model}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/provider.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/provider.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/provider.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/transformation.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsValue` [INFO] [stdout] --> src/transformation.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | use quick_js::{Context as QuickContext, JsValue}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/types.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BasisGraph` [INFO] [stdout] --> src/types.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::basis_graph::{BasisGraph}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data_node::DataNode` [INFO] [stdout] --> src/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::data_node::DataNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> src/prelude.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> src/prelude.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/llm/mod.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque` [INFO] [stdout] --> src/llm/mod.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextID` and `Context` [INFO] [stdout] --> src/llm/mod.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::context::{Context, ContextID}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GraphNodeID` and `GraphNode` [INFO] [stdout] --> src/llm/mod.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::graph_node::{GraphNode, GraphNodeID}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContextID` [INFO] [stdout] --> src/traverse.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::context::{Context, ContextID}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Graph` [INFO] [stdout] --> src/traverse.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::graph_node::{Graph, GraphNode}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DocumentType` [INFO] [stdout] --> src/traverse.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::document::{Document, DocumentType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContextID` [INFO] [stdout] --> src/meta_context.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::context::{Context, ContextID}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta_context` [INFO] [stdout] --> src/llm/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | meta_context: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meta_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `example_snippet_count` [INFO] [stdout] --> src/llm/mod.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let example_snippet_count = read_lock!(CONFIG).llm.example_snippet_count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_example_snippet_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/llm/openai.rs:264:24 [INFO] [stdout] | [INFO] [stdout] 264 | |mut acc, (index, (subgraph_hash, json))| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/normalization.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | options: &Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document` [INFO] [stdout] --> src/normalization.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let document = build_document_from_meta_context( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/organization.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | options: &Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/translation.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | provider: Arc

, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta_context` [INFO] [stdout] --> src/translation.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | meta_context: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meta_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/translation.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | options: &Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json_schema` [INFO] [stdout] --> src/translation.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | json_schema: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_json_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document_format` [INFO] [stdout] --> src/traverse.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | document_format: &Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/id.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `basis_graph` [INFO] [stdout] --> src/basis_graph.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn from_basis_graph(basis_graph: &BasisGraph) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_basis_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/document.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut reader = std::io::Cursor::new(xml); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_node` [INFO] [stdout] --> src/document_node.rs:142:27 [INFO] [stdout] | [INFO] [stdout] 142 | XMLNode::Text(text_node) => Vec::new(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unique_hashes` [INFO] [stdout] --> src/lineage.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let unique_hashes = remove_duplicate_sequences(hashes.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unique_hashes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `basis_graph` [INFO] [stdout] --> src/model.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn get_normal_model(basis_graph: &BasisGraph) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_basis_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lineage` [INFO] [stdout] --> src/provider.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | lineage: &Lineage [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lineage` [INFO] [stdout] --> src/provider.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | lineage: &Lineage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subgraph_hash` [INFO] [stdout] --> src/provider.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | subgraph_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subgraph_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_node_field` [INFO] [stdout] --> src/transformation.rs:311:21 [INFO] [stdout] | [INFO] [stdout] 311 | if let Some(data_node_field) = data_node.fields.get(&self.field) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_node_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/context.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | let (mut a, b) = read_lock!(document_node).to_string_components(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/context.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | let (a, b) = read_lock!(document_node).to_string_components(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LlmProvider` is more private than the item `LlmConfig::llm_provider` [INFO] [stdout] --> src/config.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub llm_provider: LlmProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `LlmConfig::llm_provider` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `LlmProvider` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/config.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum LlmProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_analysis` and `network_analysis` are never read [INFO] [stdout] --> src/analysis.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Analysis { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 38 | node_analysis: NodeAnalysis, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 39 | network_analysis: NetworkAnalysis, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `basis_nodes` is never read [INFO] [stdout] --> src/analysis.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | struct NodeAnalysis { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 87 | basis_nodes: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `basis_networks` is never read [INFO] [stdout] --> src/analysis.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 199 | struct NetworkAnalysis { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 200 | basis_networks: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Simple`, `Flattened`, and `Nested` are never constructed [INFO] [stdout] --> src/document_format.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum FormatStrategy { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 5 | Simple, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | Flattened, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | Nested, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormatStrategy` 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] --> src/document_format.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DocumentFormat { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 12 | format_type: DocumentType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | encoding: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | strategy: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | indent: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | line_ending: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | headers: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | wrap_text: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | exclude_nulls: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | custom_delimiter: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocumentFormat` 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: trait `Transform` is never used [INFO] [stdout] --> src/transformation.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | trait Transform { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/llm/openai.rs:771:70 [INFO] [stdout] | [INFO] [stdout] 771 | if let Some(cached_response) = Self::get_cached_response(hash.clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/main.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `JsValue` [INFO] [stdout] --> src/main.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use quick_js::{Context, JsValue}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/analysis.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashSet, HashMap, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `json` [INFO] [stdout] --> src/analysis.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/analysis.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future` [INFO] [stdout] --> src/analysis.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data_node::DataNode` [INFO] [stdout] --> src/analysis.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::data_node::DataNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::json_node::JsonNode` [INFO] [stdout] --> src/analysis.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::json_node::JsonNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasisGraphBuilder` and `BasisGraph` [INFO] [stdout] --> src/analysis.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::basis_graph::{BasisGraph, BasisGraphBuilder}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DocumentType` and `Document` [INFO] [stdout] --> src/analysis.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::document::{Document, DocumentType}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::document_format::DocumentFormat` [INFO] [stdout] --> src/analysis.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::document_format::DocumentFormat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashTransformation` and `Transformation` [INFO] [stdout] --> src/analysis.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::transformation::{Transformation, HashTransformation}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::document_node::DocumentNode` [INFO] [stdout] --> src/analysis.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::document_node::DocumentNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GraphNode` [INFO] [stdout] --> src/analysis.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::graph_node::{Graph, GraphNode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::profile::Profile` [INFO] [stdout] --> src/analysis.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::profile::Profile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Recursion` [INFO] [stdout] --> src/analysis.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Recursion [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextID` and `Context` [INFO] [stdout] --> src/analysis.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::context::{Context, ContextID}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataNodeFieldsTransform` and `Runtime` [INFO] [stdout] --> src/analysis.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | DataNodeFieldsTransform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | Runtime [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `XMLNode` [INFO] [stdout] --> src/document.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use xmltree::{Element, XMLNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/document.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataNode` [INFO] [stdout] --> src/document.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::data_node::{DataNode}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::transformation::XMLElementTransformation` [INFO] [stdout] --> src/document.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::transformation::XMLElementTransformation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PLAIN_TEXT` should have an upper camel case name [INFO] [stdout] --> src/document.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | PLAIN_TEXT, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PlainText` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/document_node.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/id.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::de::{self, Deserialize, Deserializer, Visitor, Error as SerdeError}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Model` [INFO] [stdout] --> src/normalization.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::model::{Model}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/provider.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/provider.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/provider.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/transformation.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsValue` [INFO] [stdout] --> src/transformation.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | use quick_js::{Context as QuickContext, JsValue}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/types.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BasisGraph` [INFO] [stdout] --> src/types.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::basis_graph::{BasisGraph}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data_node::DataNode` [INFO] [stdout] --> src/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::data_node::DataNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::Config` [INFO] [stdout] --> src/prelude.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use crate::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::environment::Environment` [INFO] [stdout] --> src/prelude.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use crate::environment::Environment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> src/prelude.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> src/prelude.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::meta_context::MetaContext` [INFO] [stdout] --> src/prelude.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use crate::meta_context::MetaContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::context::Context` [INFO] [stdout] --> src/prelude.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use crate::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/llm/mod.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque` [INFO] [stdout] --> src/llm/mod.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextID` and `Context` [INFO] [stdout] --> src/llm/mod.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::context::{Context, ContextID}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GraphNodeID` and `GraphNode` [INFO] [stdout] --> src/llm/mod.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::graph_node::{GraphNode, GraphNodeID}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContextID` [INFO] [stdout] --> src/traverse.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::context::{Context, ContextID}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Graph` [INFO] [stdout] --> src/traverse.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::graph_node::{Graph, GraphNode}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DocumentType` [INFO] [stdout] --> src/traverse.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::document::{Document, DocumentType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContextID` [INFO] [stdout] --> src/meta_context.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::context::{Context, ContextID}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta_context` [INFO] [stdout] --> src/llm/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | meta_context: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meta_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `example_snippet_count` [INFO] [stdout] --> src/llm/mod.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let example_snippet_count = read_lock!(CONFIG).llm.example_snippet_count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_example_snippet_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/llm/openai.rs:264:24 [INFO] [stdout] | [INFO] [stdout] 264 | |mut acc, (index, (subgraph_hash, json))| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/normalization.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | options: &Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document` [INFO] [stdout] --> src/normalization.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let document = build_document_from_meta_context( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/organization.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | options: &Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/translation.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | provider: Arc

, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta_context` [INFO] [stdout] --> src/translation.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | meta_context: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meta_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/translation.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | options: &Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json_schema` [INFO] [stdout] --> src/translation.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | json_schema: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_json_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document_format` [INFO] [stdout] --> src/traverse.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | document_format: &Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/id.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `basis_graph` [INFO] [stdout] --> src/basis_graph.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn from_basis_graph(basis_graph: &BasisGraph) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_basis_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/document.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut reader = std::io::Cursor::new(xml); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_node` [INFO] [stdout] --> src/document_node.rs:142:27 [INFO] [stdout] | [INFO] [stdout] 142 | XMLNode::Text(text_node) => Vec::new(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unique_hashes` [INFO] [stdout] --> src/lineage.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let unique_hashes = remove_duplicate_sequences(hashes.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unique_hashes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `basis_graph` [INFO] [stdout] --> src/model.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn get_normal_model(basis_graph: &BasisGraph) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_basis_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lineage` [INFO] [stdout] --> src/provider.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | lineage: &Lineage [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lineage` [INFO] [stdout] --> src/provider.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | lineage: &Lineage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subgraph_hash` [INFO] [stdout] --> src/provider.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | subgraph_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subgraph_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_node_field` [INFO] [stdout] --> src/transformation.rs:311:21 [INFO] [stdout] | [INFO] [stdout] 311 | if let Some(data_node_field) = data_node.fields.get(&self.field) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_node_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/context.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | let (mut a, b) = read_lock!(document_node).to_string_components(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/context.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | let (a, b) = read_lock!(document_node).to_string_components(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LlmProvider` is more private than the item `LlmConfig::llm_provider` [INFO] [stdout] --> src/config.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub llm_provider: LlmProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `LlmConfig::llm_provider` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `LlmProvider` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/config.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum LlmProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_analysis` and `network_analysis` are never read [INFO] [stdout] --> src/analysis.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Analysis { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 38 | node_analysis: NodeAnalysis, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 39 | network_analysis: NetworkAnalysis, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `basis_nodes` is never read [INFO] [stdout] --> src/analysis.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | struct NodeAnalysis { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 87 | basis_nodes: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `basis_networks` is never read [INFO] [stdout] --> src/analysis.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 199 | struct NetworkAnalysis { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 200 | basis_networks: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BasisGraphBuilder` is never constructed [INFO] [stdout] --> src/basis_graph.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct BasisGraphBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BasisGraphBuilder` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_basis_graph`, and `build` are never used [INFO] [stdout] --> src/basis_graph.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl BasisGraphBuilder { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 29 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn from_basis_graph(basis_graph: &BasisGraph) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_hash` is never used [INFO] [stdout] --> src/data_node.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl DataNode { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn get_hash(&self) -> Hash { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Simple`, `Flattened`, and `Nested` are never constructed [INFO] [stdout] --> src/document_format.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum FormatStrategy { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 5 | Simple, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | Flattened, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | Nested, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormatStrategy` 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] --> src/document_format.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DocumentFormat { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 12 | format_type: DocumentType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | encoding: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | strategy: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | indent: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | line_ending: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | headers: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | wrap_text: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | exclude_nulls: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | custom_delimiter: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocumentFormat` 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: method `to_string` is never used [INFO] [stdout] --> src/document_node.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl DocumentNode { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Local` and `Production` are never constructed [INFO] [stdout] --> src/environment.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Environment { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 6 | Local, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | Production, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_local` is never used [INFO] [stdout] --> src/environment.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn is_local() -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/environment.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Environment { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 17 | fn from_str(env: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/hash.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Hash { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn from_str(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/id.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ID { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_hashes` is never used [INFO] [stdout] --> src/lineage.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Lineage { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn from_hashes(source_hashes: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_normal_model` is never used [INFO] [stdout] --> src/model.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Model { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 33 | pub fn get_normal_model(basis_graph: &BasisGraph) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_text` is never used [INFO] [stdout] --> src/normalization.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn normalize_text( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_document_to_meta_context` is never used [INFO] [stdout] --> src/normalization.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | pub async fn normalize_document_to_meta_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_document` is never used [INFO] [stdout] --> src/normalization.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | pub async fn normalize_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_document_to_text` is never used [INFO] [stdout] --> src/normalization.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | pub async fn normalize_document_to_text( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_file_to_text` is never used [INFO] [stdout] --> src/normalization.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | pub async fn normalize_file_to_text( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_file` is never used [INFO] [stdout] --> src/normalization.rs:179:14 [INFO] [stdout] | [INFO] [stdout] 179 | pub async fn normalize_file( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_url_to_text` is never used [INFO] [stdout] --> src/normalization.rs:228:14 [INFO] [stdout] | [INFO] [stdout] 228 | pub async fn normalize_url_to_text( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `organize_document` is never used [INFO] [stdout] --> src/organization.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn organize_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `organize_document_to_string` is never used [INFO] [stdout] --> src/organization.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | pub async fn organize_document_to_string( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `organize_text` is never used [INFO] [stdout] --> src/organization.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | pub async fn organize_text( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `organize_text_to_document` is never used [INFO] [stdout] --> src/organization.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | pub async fn organize_text_to_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `organize_file` is never used [INFO] [stdout] --> src/organization.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | pub async fn organize_file( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `organize_file_to_document` is never used [INFO] [stdout] --> src/organization.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | pub async fn organize_file_to_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `organize_file_to_string` is never used [INFO] [stdout] --> src/organization.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 132 | pub async fn organize_file_to_string( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Transform` is never used [INFO] [stdout] --> src/transformation.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | trait Transform { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate` is never used [INFO] [stdout] --> src/translation.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn translate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_meta_context` is never used [INFO] [stdout] --> src/translation.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn translate_meta_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_text_to_meta_context` is never used [INFO] [stdout] --> src/translation.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn translate_text_to_meta_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_text_to_document` is never used [INFO] [stdout] --> src/translation.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn translate_text_to_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_text` is never used [INFO] [stdout] --> src/translation.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn translate_text( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_document_to_meta_context` is never used [INFO] [stdout] --> src/translation.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | pub async fn translate_document_to_meta_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_document` is never used [INFO] [stdout] --> src/translation.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | pub async fn translate_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_document_to_text` is never used [INFO] [stdout] --> src/translation.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | pub async fn translate_document_to_text( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_file_to_meta_context` is never used [INFO] [stdout] --> src/translation.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | pub async fn translate_file_to_meta_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_file_to_document` is never used [INFO] [stdout] --> src/translation.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 158 | pub async fn translate_file_to_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_file_to_text` is never used [INFO] [stdout] --> src/translation.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | pub async fn translate_file_to_text( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_file` is never used [INFO] [stdout] --> src/translation.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | pub async fn translate_file( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DISABLED` and `SIMPLE` are never constructed [INFO] [stdout] --> src/types.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum AnalysisMode { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 10 | DISABLED, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | SIMPLE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnalysisMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | FetchUrlError(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Errors` has derived impls for the traits `Debug` and `Clone`, 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] 30 - FetchUrlError(String), [INFO] [stdout] 30 + FetchUrlError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/types.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Errors { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | FileOutputError, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | JsonParseError, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | UnexpectedOutputFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | XmlParseError, [INFO] [stdout] 26 | BasisGraphBuildError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | PathConversionError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | SqliteDatabaseConnectionError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | BasisNodeNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Errors` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `analysis_mode` and `value_transformations` are never read [INFO] [stdout] --> src/types.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Options { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 43 | pub analysis_mode: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub value_transformations: Option> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Options` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_text_to_file` is never used [INFO] [stdout] --> src/utility.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn write_text_to_file(path: &str, text: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append_to_filename` is never used [INFO] [stdout] --> src/utility.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn append_to_filename(path: &str, suffix: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `document_root` is never read [INFO] [stdout] --> src/meta_context.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MetaContext { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 12 | pub contexts: HashMap>, [INFO] [stdout] 13 | pub document_root: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/llm/openai.rs:771:70 [INFO] [stdout] | [INFO] [stdout] 771 | if let Some(cached_response) = Self::get_cached_response(hash.clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 41s [INFO] running `Command { std: "docker" "inspect" "182699a57128dfb55c15e9807a04131e37610391cc5cd730c5e368daee5d8a1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "182699a57128dfb55c15e9807a04131e37610391cc5cd730c5e368daee5d8a1f", kill_on_drop: false }` [INFO] [stdout] 182699a57128dfb55c15e9807a04131e37610391cc5cd730c5e368daee5d8a1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92b21bb1262dc4f52f3efbf3d95c8e098075e29651a91d3ac17132fd4d5d37bf [INFO] running `Command { std: "docker" "start" "-a" "92b21bb1262dc4f52f3efbf3d95c8e098075e29651a91d3ac17132fd4d5d37bf", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/analysis.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashSet, HashMap, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `json` [INFO] [stdout] --> src/analysis.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/analysis.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future` [INFO] [stdout] --> src/analysis.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data_node::DataNode` [INFO] [stdout] --> src/analysis.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::data_node::DataNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::json_node::JsonNode` [INFO] [stdout] --> src/analysis.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::json_node::JsonNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasisGraphBuilder` and `BasisGraph` [INFO] [stdout] --> src/analysis.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::basis_graph::{BasisGraph, BasisGraphBuilder}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DocumentType` and `Document` [INFO] [stdout] --> src/analysis.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::document::{Document, DocumentType}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::document_format::DocumentFormat` [INFO] [stdout] --> src/analysis.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::document_format::DocumentFormat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashTransformation` and `Transformation` [INFO] [stdout] --> src/analysis.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::transformation::{Transformation, HashTransformation}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::document_node::DocumentNode` [INFO] [stdout] --> src/analysis.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::document_node::DocumentNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GraphNode` [INFO] [stdout] --> src/analysis.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::graph_node::{Graph, GraphNode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::profile::Profile` [INFO] [stdout] --> src/analysis.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::profile::Profile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Recursion` [INFO] [stdout] --> src/analysis.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Recursion [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextID` and `Context` [INFO] [stdout] --> src/analysis.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::context::{Context, ContextID}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataNodeFieldsTransform` and `Runtime` [INFO] [stdout] --> src/analysis.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | DataNodeFieldsTransform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | Runtime [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `XMLNode` [INFO] [stdout] --> src/document.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use xmltree::{Element, XMLNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/document.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataNode` [INFO] [stdout] --> src/document.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::data_node::{DataNode}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::transformation::XMLElementTransformation` [INFO] [stdout] --> src/document.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::transformation::XMLElementTransformation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PLAIN_TEXT` should have an upper camel case name [INFO] [stdout] --> src/document.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | PLAIN_TEXT, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PlainText` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/document_node.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/id.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::de::{self, Deserialize, Deserializer, Visitor, Error as SerdeError}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Model` [INFO] [stdout] --> src/normalization.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::model::{Model}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/provider.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/provider.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/provider.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/transformation.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsValue` [INFO] [stdout] --> src/transformation.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | use quick_js::{Context as QuickContext, JsValue}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/types.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BasisGraph` [INFO] [stdout] --> src/types.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::basis_graph::{BasisGraph}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data_node::DataNode` [INFO] [stdout] --> src/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::data_node::DataNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> src/prelude.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> src/prelude.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/llm/mod.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque` [INFO] [stdout] --> src/llm/mod.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextID` and `Context` [INFO] [stdout] --> src/llm/mod.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::context::{Context, ContextID}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GraphNodeID` and `GraphNode` [INFO] [stdout] --> src/llm/mod.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::graph_node::{GraphNode, GraphNodeID}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling parversion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ContextID` [INFO] [stdout] --> src/traverse.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::context::{Context, ContextID}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Graph` [INFO] [stdout] --> src/traverse.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::graph_node::{Graph, GraphNode}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DocumentType` [INFO] [stdout] --> src/traverse.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::document::{Document, DocumentType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContextID` [INFO] [stdout] --> src/meta_context.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::context::{Context, ContextID}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta_context` [INFO] [stdout] --> src/llm/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | meta_context: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meta_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `example_snippet_count` [INFO] [stdout] --> src/llm/mod.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let example_snippet_count = read_lock!(CONFIG).llm.example_snippet_count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_example_snippet_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/llm/openai.rs:264:24 [INFO] [stdout] | [INFO] [stdout] 264 | |mut acc, (index, (subgraph_hash, json))| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/normalization.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | options: &Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document` [INFO] [stdout] --> src/normalization.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let document = build_document_from_meta_context( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/organization.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | options: &Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/translation.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | provider: Arc

, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta_context` [INFO] [stdout] --> src/translation.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | meta_context: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meta_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/translation.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | options: &Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json_schema` [INFO] [stdout] --> src/translation.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | json_schema: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_json_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document_format` [INFO] [stdout] --> src/traverse.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | document_format: &Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/id.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `basis_graph` [INFO] [stdout] --> src/basis_graph.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn from_basis_graph(basis_graph: &BasisGraph) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_basis_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/document.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut reader = std::io::Cursor::new(xml); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_node` [INFO] [stdout] --> src/document_node.rs:142:27 [INFO] [stdout] | [INFO] [stdout] 142 | XMLNode::Text(text_node) => Vec::new(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unique_hashes` [INFO] [stdout] --> src/lineage.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let unique_hashes = remove_duplicate_sequences(hashes.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unique_hashes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `basis_graph` [INFO] [stdout] --> src/model.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn get_normal_model(basis_graph: &BasisGraph) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_basis_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lineage` [INFO] [stdout] --> src/provider.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | lineage: &Lineage [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lineage` [INFO] [stdout] --> src/provider.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | lineage: &Lineage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subgraph_hash` [INFO] [stdout] --> src/provider.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | subgraph_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subgraph_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_node_field` [INFO] [stdout] --> src/transformation.rs:311:21 [INFO] [stdout] | [INFO] [stdout] 311 | if let Some(data_node_field) = data_node.fields.get(&self.field) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_node_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/context.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | let (mut a, b) = read_lock!(document_node).to_string_components(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/context.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | let (a, b) = read_lock!(document_node).to_string_components(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LlmProvider` is more private than the item `LlmConfig::llm_provider` [INFO] [stdout] --> src/config.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub llm_provider: LlmProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `LlmConfig::llm_provider` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `LlmProvider` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/config.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum LlmProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_analysis` and `network_analysis` are never read [INFO] [stdout] --> src/analysis.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Analysis { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 38 | node_analysis: NodeAnalysis, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 39 | network_analysis: NetworkAnalysis, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `basis_nodes` is never read [INFO] [stdout] --> src/analysis.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | struct NodeAnalysis { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 87 | basis_nodes: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `basis_networks` is never read [INFO] [stdout] --> src/analysis.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 199 | struct NetworkAnalysis { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 200 | basis_networks: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Simple`, `Flattened`, and `Nested` are never constructed [INFO] [stdout] --> src/document_format.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum FormatStrategy { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 5 | Simple, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | Flattened, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | Nested, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormatStrategy` 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] --> src/document_format.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DocumentFormat { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 12 | format_type: DocumentType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | encoding: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | strategy: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | indent: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | line_ending: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | headers: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | wrap_text: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | exclude_nulls: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | custom_delimiter: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocumentFormat` 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: trait `Transform` is never used [INFO] [stdout] --> src/transformation.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | trait Transform { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/llm/openai.rs:771:70 [INFO] [stdout] | [INFO] [stdout] 771 | if let Some(cached_response) = Self::get_cached_response(hash.clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/main.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `JsValue` [INFO] [stdout] --> src/main.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use quick_js::{Context, JsValue}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/analysis.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashSet, HashMap, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `json` [INFO] [stdout] --> src/analysis.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/analysis.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future` [INFO] [stdout] --> src/analysis.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data_node::DataNode` [INFO] [stdout] --> src/analysis.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::data_node::DataNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::json_node::JsonNode` [INFO] [stdout] --> src/analysis.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::json_node::JsonNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasisGraphBuilder` and `BasisGraph` [INFO] [stdout] --> src/analysis.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::basis_graph::{BasisGraph, BasisGraphBuilder}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DocumentType` and `Document` [INFO] [stdout] --> src/analysis.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::document::{Document, DocumentType}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::document_format::DocumentFormat` [INFO] [stdout] --> src/analysis.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::document_format::DocumentFormat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashTransformation` and `Transformation` [INFO] [stdout] --> src/analysis.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::transformation::{Transformation, HashTransformation}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::document_node::DocumentNode` [INFO] [stdout] --> src/analysis.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::document_node::DocumentNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GraphNode` [INFO] [stdout] --> src/analysis.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::graph_node::{Graph, GraphNode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::profile::Profile` [INFO] [stdout] --> src/analysis.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::profile::Profile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Recursion` [INFO] [stdout] --> src/analysis.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Recursion [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextID` and `Context` [INFO] [stdout] --> src/analysis.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::context::{Context, ContextID}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataNodeFieldsTransform` and `Runtime` [INFO] [stdout] --> src/analysis.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | DataNodeFieldsTransform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | Runtime [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `XMLNode` [INFO] [stdout] --> src/document.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use xmltree::{Element, XMLNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/document.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/analysis.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashSet, HashMap, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataNode` [INFO] [stdout] --> src/document.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::data_node::{DataNode}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::transformation::XMLElementTransformation` [INFO] [stdout] --> src/document.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::transformation::XMLElementTransformation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PLAIN_TEXT` should have an upper camel case name [INFO] [stdout] --> src/document.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | PLAIN_TEXT, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PlainText` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/document_node.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/id.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::de::{self, Deserialize, Deserializer, Visitor, Error as SerdeError}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Model` [INFO] [stdout] --> src/normalization.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::model::{Model}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/provider.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/provider.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/provider.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `json` [INFO] [stdout] --> src/analysis.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/analysis.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/transformation.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future` [INFO] [stdout] --> src/analysis.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data_node::DataNode` [INFO] [stdout] --> src/analysis.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::data_node::DataNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::json_node::JsonNode` [INFO] [stdout] --> src/analysis.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::json_node::JsonNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasisGraphBuilder` and `BasisGraph` [INFO] [stdout] --> src/analysis.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::basis_graph::{BasisGraph, BasisGraphBuilder}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DocumentType` and `Document` [INFO] [stdout] --> src/analysis.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::document::{Document, DocumentType}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::document_format::DocumentFormat` [INFO] [stdout] --> src/analysis.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::document_format::DocumentFormat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashTransformation` and `Transformation` [INFO] [stdout] --> src/analysis.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::transformation::{Transformation, HashTransformation}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::document_node::DocumentNode` [INFO] [stdout] --> src/analysis.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::document_node::DocumentNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GraphNode` [INFO] [stdout] --> src/analysis.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::graph_node::{Graph, GraphNode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::profile::Profile` [INFO] [stdout] --> src/analysis.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::profile::Profile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsValue` [INFO] [stdout] --> src/transformation.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | use quick_js::{Context as QuickContext, JsValue}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Recursion` [INFO] [stdout] --> src/analysis.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Recursion [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextID` and `Context` [INFO] [stdout] --> src/analysis.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::context::{Context, ContextID}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/types.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataNodeFieldsTransform` and `Runtime` [INFO] [stdout] --> src/analysis.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | DataNodeFieldsTransform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | Runtime [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `XMLNode` [INFO] [stdout] --> src/document.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use xmltree::{Element, XMLNode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/document.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataNode` [INFO] [stdout] --> src/document.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::data_node::{DataNode}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::transformation::XMLElementTransformation` [INFO] [stdout] --> src/document.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::transformation::XMLElementTransformation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BasisGraph` [INFO] [stdout] --> src/types.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::basis_graph::{BasisGraph}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PLAIN_TEXT` should have an upper camel case name [INFO] [stdout] --> src/document.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | PLAIN_TEXT, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PlainText` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/document_node.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/id.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::de::{self, Deserialize, Deserializer, Visitor, Error as SerdeError}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Model` [INFO] [stdout] --> src/normalization.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::model::{Model}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/provider.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/provider.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/provider.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/transformation.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsValue` [INFO] [stdout] --> src/transformation.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | use quick_js::{Context as QuickContext, JsValue}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/types.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BasisGraph` [INFO] [stdout] --> src/types.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::basis_graph::{BasisGraph}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data_node::DataNode` [INFO] [stdout] --> src/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::data_node::DataNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> src/prelude.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> src/prelude.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/llm/mod.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque` [INFO] [stdout] --> src/llm/mod.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextID` and `Context` [INFO] [stdout] --> src/llm/mod.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::context::{Context, ContextID}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GraphNodeID` and `GraphNode` [INFO] [stdout] --> src/llm/mod.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::graph_node::{GraphNode, GraphNodeID}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContextID` [INFO] [stdout] --> src/traverse.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::context::{Context, ContextID}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Graph` [INFO] [stdout] --> src/traverse.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::graph_node::{Graph, GraphNode}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DocumentType` [INFO] [stdout] --> src/traverse.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::document::{Document, DocumentType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContextID` [INFO] [stdout] --> src/meta_context.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::context::{Context, ContextID}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data_node::DataNode` [INFO] [stdout] --> src/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::data_node::DataNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::Config` [INFO] [stdout] --> src/prelude.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use crate::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::environment::Environment` [INFO] [stdout] --> src/prelude.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use crate::environment::Environment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> src/prelude.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> src/prelude.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::meta_context::MetaContext` [INFO] [stdout] --> src/prelude.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use crate::meta_context::MetaContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::context::Context` [INFO] [stdout] --> src/prelude.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use crate::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/llm/mod.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque` [INFO] [stdout] --> src/llm/mod.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextID` and `Context` [INFO] [stdout] --> src/llm/mod.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::context::{Context, ContextID}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GraphNodeID` and `GraphNode` [INFO] [stdout] --> src/llm/mod.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::graph_node::{GraphNode, GraphNodeID}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContextID` [INFO] [stdout] --> src/traverse.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::context::{Context, ContextID}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Graph` [INFO] [stdout] --> src/traverse.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::graph_node::{Graph, GraphNode}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DocumentType` [INFO] [stdout] --> src/traverse.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::document::{Document, DocumentType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContextID` [INFO] [stdout] --> src/meta_context.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::context::{Context, ContextID}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta_context` [INFO] [stdout] --> src/llm/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | meta_context: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meta_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `example_snippet_count` [INFO] [stdout] --> src/llm/mod.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let example_snippet_count = read_lock!(CONFIG).llm.example_snippet_count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_example_snippet_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta_context` [INFO] [stdout] --> src/llm/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | meta_context: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meta_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `example_snippet_count` [INFO] [stdout] --> src/llm/mod.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let example_snippet_count = read_lock!(CONFIG).llm.example_snippet_count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_example_snippet_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/llm/openai.rs:264:24 [INFO] [stdout] | [INFO] [stdout] 264 | |mut acc, (index, (subgraph_hash, json))| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/llm/openai.rs:264:24 [INFO] [stdout] | [INFO] [stdout] 264 | |mut acc, (index, (subgraph_hash, json))| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/normalization.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | options: &Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document` [INFO] [stdout] --> src/normalization.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let document = build_document_from_meta_context( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/normalization.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | options: &Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document` [INFO] [stdout] --> src/normalization.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let document = build_document_from_meta_context( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/organization.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | options: &Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/organization.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | options: &Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/translation.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | provider: Arc

, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta_context` [INFO] [stdout] --> src/translation.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | meta_context: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meta_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/translation.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | options: &Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json_schema` [INFO] [stdout] --> src/translation.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | json_schema: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_json_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/translation.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | provider: Arc

, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta_context` [INFO] [stdout] --> src/translation.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | meta_context: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meta_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/translation.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | options: &Option, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json_schema` [INFO] [stdout] --> src/translation.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | json_schema: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_json_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document_format` [INFO] [stdout] --> src/traverse.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | document_format: &Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document_format` [INFO] [stdout] --> src/traverse.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | document_format: &Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/id.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `basis_graph` [INFO] [stdout] --> src/basis_graph.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn from_basis_graph(basis_graph: &BasisGraph) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_basis_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/id.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/document.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut reader = std::io::Cursor::new(xml); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_node` [INFO] [stdout] --> src/document_node.rs:142:27 [INFO] [stdout] | [INFO] [stdout] 142 | XMLNode::Text(text_node) => Vec::new(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `basis_graph` [INFO] [stdout] --> src/basis_graph.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn from_basis_graph(basis_graph: &BasisGraph) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_basis_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unique_hashes` [INFO] [stdout] --> src/lineage.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let unique_hashes = remove_duplicate_sequences(hashes.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unique_hashes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `basis_graph` [INFO] [stdout] --> src/model.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn get_normal_model(basis_graph: &BasisGraph) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_basis_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lineage` [INFO] [stdout] --> src/provider.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | lineage: &Lineage [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lineage` [INFO] [stdout] --> src/provider.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | lineage: &Lineage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subgraph_hash` [INFO] [stdout] --> src/provider.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | subgraph_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subgraph_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/document.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut reader = std::io::Cursor::new(xml); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_node` [INFO] [stdout] --> src/document_node.rs:142:27 [INFO] [stdout] | [INFO] [stdout] 142 | XMLNode::Text(text_node) => Vec::new(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unique_hashes` [INFO] [stdout] --> src/lineage.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let unique_hashes = remove_duplicate_sequences(hashes.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unique_hashes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `basis_graph` [INFO] [stdout] --> src/model.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn get_normal_model(basis_graph: &BasisGraph) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_basis_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_node_field` [INFO] [stdout] --> src/transformation.rs:311:21 [INFO] [stdout] | [INFO] [stdout] 311 | if let Some(data_node_field) = data_node.fields.get(&self.field) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_node_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lineage` [INFO] [stdout] --> src/provider.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | lineage: &Lineage [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/context.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | let (mut a, b) = read_lock!(document_node).to_string_components(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/context.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | let (a, b) = read_lock!(document_node).to_string_components(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lineage` [INFO] [stdout] --> src/provider.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | lineage: &Lineage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subgraph_hash` [INFO] [stdout] --> src/provider.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | subgraph_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subgraph_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_node_field` [INFO] [stdout] --> src/transformation.rs:311:21 [INFO] [stdout] | [INFO] [stdout] 311 | if let Some(data_node_field) = data_node.fields.get(&self.field) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_node_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/context.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | let (mut a, b) = read_lock!(document_node).to_string_components(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/context.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | let (a, b) = read_lock!(document_node).to_string_components(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LlmProvider` is more private than the item `LlmConfig::llm_provider` [INFO] [stdout] --> src/config.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub llm_provider: LlmProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `LlmConfig::llm_provider` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `LlmProvider` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/config.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum LlmProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_analysis` and `network_analysis` are never read [INFO] [stdout] --> src/analysis.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Analysis { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 38 | node_analysis: NodeAnalysis, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 39 | network_analysis: NetworkAnalysis, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `basis_nodes` is never read [INFO] [stdout] --> src/analysis.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | struct NodeAnalysis { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 87 | basis_nodes: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `basis_networks` is never read [INFO] [stdout] --> src/analysis.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 199 | struct NetworkAnalysis { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 200 | basis_networks: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BasisGraphBuilder` is never constructed [INFO] [stdout] --> src/basis_graph.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct BasisGraphBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BasisGraphBuilder` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_basis_graph`, and `build` are never used [INFO] [stdout] --> src/basis_graph.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl BasisGraphBuilder { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 29 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn from_basis_graph(basis_graph: &BasisGraph) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_hash` is never used [INFO] [stdout] --> src/data_node.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl DataNode { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn get_hash(&self) -> Hash { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Simple`, `Flattened`, and `Nested` are never constructed [INFO] [stdout] --> src/document_format.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum FormatStrategy { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 5 | Simple, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | Flattened, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | Nested, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormatStrategy` 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] --> src/document_format.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DocumentFormat { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 12 | format_type: DocumentType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | encoding: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | strategy: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | indent: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | line_ending: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | headers: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | wrap_text: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | exclude_nulls: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | custom_delimiter: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocumentFormat` 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: method `to_string` is never used [INFO] [stdout] --> src/document_node.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl DocumentNode { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Local` and `Production` are never constructed [INFO] [stdout] --> src/environment.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Environment { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 6 | Local, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | Production, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_local` is never used [INFO] [stdout] --> src/environment.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn is_local() -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/environment.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Environment { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 17 | fn from_str(env: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/hash.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Hash { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn from_str(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/id.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ID { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_hashes` is never used [INFO] [stdout] --> src/lineage.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Lineage { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn from_hashes(source_hashes: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_normal_model` is never used [INFO] [stdout] --> src/model.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Model { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 33 | pub fn get_normal_model(basis_graph: &BasisGraph) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_text` is never used [INFO] [stdout] --> src/normalization.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn normalize_text( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_document_to_meta_context` is never used [INFO] [stdout] --> src/normalization.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | pub async fn normalize_document_to_meta_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_document` is never used [INFO] [stdout] --> src/normalization.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | pub async fn normalize_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_document_to_text` is never used [INFO] [stdout] --> src/normalization.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | pub async fn normalize_document_to_text( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_file_to_text` is never used [INFO] [stdout] --> src/normalization.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | pub async fn normalize_file_to_text( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_file` is never used [INFO] [stdout] --> src/normalization.rs:179:14 [INFO] [stdout] | [INFO] [stdout] 179 | pub async fn normalize_file( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_url_to_text` is never used [INFO] [stdout] --> src/normalization.rs:228:14 [INFO] [stdout] | [INFO] [stdout] 228 | pub async fn normalize_url_to_text( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `organize_document` is never used [INFO] [stdout] --> src/organization.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn organize_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `organize_document_to_string` is never used [INFO] [stdout] --> src/organization.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | pub async fn organize_document_to_string( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `organize_text` is never used [INFO] [stdout] --> src/organization.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | pub async fn organize_text( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `organize_text_to_document` is never used [INFO] [stdout] --> src/organization.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | pub async fn organize_text_to_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `organize_file` is never used [INFO] [stdout] --> src/organization.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | pub async fn organize_file( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `organize_file_to_document` is never used [INFO] [stdout] --> src/organization.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | pub async fn organize_file_to_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `organize_file_to_string` is never used [INFO] [stdout] --> src/organization.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 132 | pub async fn organize_file_to_string( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Transform` is never used [INFO] [stdout] --> src/transformation.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | trait Transform { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate` is never used [INFO] [stdout] --> src/translation.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn translate( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_meta_context` is never used [INFO] [stdout] --> src/translation.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn translate_meta_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_text_to_meta_context` is never used [INFO] [stdout] --> src/translation.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn translate_text_to_meta_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_text_to_document` is never used [INFO] [stdout] --> src/translation.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn translate_text_to_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_text` is never used [INFO] [stdout] --> src/translation.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn translate_text( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_document_to_meta_context` is never used [INFO] [stdout] --> src/translation.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | pub async fn translate_document_to_meta_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_document` is never used [INFO] [stdout] --> src/translation.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | pub async fn translate_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_document_to_text` is never used [INFO] [stdout] --> src/translation.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | pub async fn translate_document_to_text( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_file_to_meta_context` is never used [INFO] [stdout] --> src/translation.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | pub async fn translate_file_to_meta_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_file_to_document` is never used [INFO] [stdout] --> src/translation.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 158 | pub async fn translate_file_to_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_file_to_text` is never used [INFO] [stdout] --> src/translation.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | pub async fn translate_file_to_text( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate_file` is never used [INFO] [stdout] --> src/translation.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | pub async fn translate_file( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DISABLED` and `SIMPLE` are never constructed [INFO] [stdout] --> src/types.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum AnalysisMode { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 10 | DISABLED, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | SIMPLE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnalysisMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | FetchUrlError(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Errors` has derived impls for the traits `Debug` and `Clone`, 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] 30 - FetchUrlError(String), [INFO] [stdout] 30 + FetchUrlError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/types.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Errors { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | FileOutputError, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | JsonParseError, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | UnexpectedOutputFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | XmlParseError, [INFO] [stdout] 26 | BasisGraphBuildError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | PathConversionError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | SqliteDatabaseConnectionError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | BasisNodeNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Errors` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `analysis_mode` and `value_transformations` are never read [INFO] [stdout] --> src/types.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Options { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 43 | pub analysis_mode: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub value_transformations: Option> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Options` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_text_to_file` is never used [INFO] [stdout] --> src/utility.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn write_text_to_file(path: &str, text: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append_to_filename` is never used [INFO] [stdout] --> src/utility.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn append_to_filename(path: &str, suffix: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `document_root` is never read [INFO] [stdout] --> src/meta_context.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MetaContext { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 12 | pub contexts: HashMap>, [INFO] [stdout] 13 | pub document_root: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/llm/openai.rs:771:70 [INFO] [stdout] | [INFO] [stdout] 771 | if let Some(cached_response) = Self::get_cached_response(hash.clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LlmProvider` is more private than the item `LlmConfig::llm_provider` [INFO] [stdout] --> src/config.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub llm_provider: LlmProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `LlmConfig::llm_provider` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `LlmProvider` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/config.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum LlmProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_analysis` and `network_analysis` are never read [INFO] [stdout] --> src/analysis.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Analysis { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 38 | node_analysis: NodeAnalysis, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 39 | network_analysis: NetworkAnalysis, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `basis_nodes` is never read [INFO] [stdout] --> src/analysis.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | struct NodeAnalysis { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 87 | basis_nodes: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `basis_networks` is never read [INFO] [stdout] --> src/analysis.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 199 | struct NetworkAnalysis { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 200 | basis_networks: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Simple`, `Flattened`, and `Nested` are never constructed [INFO] [stdout] --> src/document_format.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum FormatStrategy { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 5 | Simple, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | Flattened, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | Nested, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormatStrategy` 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] --> src/document_format.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DocumentFormat { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 12 | format_type: DocumentType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | encoding: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | strategy: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | indent: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | line_ending: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | headers: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | wrap_text: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | exclude_nulls: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | custom_delimiter: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocumentFormat` 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: trait `Transform` is never used [INFO] [stdout] --> src/transformation.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | trait Transform { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/llm/openai.rs:771:70 [INFO] [stdout] | [INFO] [stdout] 771 | if let Some(cached_response) = Self::get_cached_response(hash.clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.41s [INFO] running `Command { std: "docker" "inspect" "92b21bb1262dc4f52f3efbf3d95c8e098075e29651a91d3ac17132fd4d5d37bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92b21bb1262dc4f52f3efbf3d95c8e098075e29651a91d3ac17132fd4d5d37bf", kill_on_drop: false }` [INFO] [stdout] 92b21bb1262dc4f52f3efbf3d95c8e098075e29651a91d3ac17132fd4d5d37bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 24459fbea8c3ea2ffeee7ce2318b0dab6e06947d72c30148e10d18b0a68ee267 [INFO] running `Command { std: "docker" "start" "-a" "24459fbea8c3ea2ffeee7ce2318b0dab6e06947d72c30148e10d18b0a68ee267", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `HashSet` [INFO] [stderr] --> src/analysis.rs:1:24 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::{HashSet, HashMap, VecDeque}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Value` and `json` [INFO] [stderr] --> src/analysis.rs:2:18 [INFO] [stderr] | [INFO] [stderr] 2 | use serde_json::{json, Value}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `RwLock` [INFO] [stderr] --> src/analysis.rs:3:22 [INFO] [stderr] | [INFO] [stderr] 3 | use std::sync::{Arc, RwLock}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::future` [INFO] [stderr] --> src/analysis.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use futures::future; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::data_node::DataNode` [INFO] [stderr] --> src/analysis.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::data_node::DataNode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::json_node::JsonNode` [INFO] [stderr] --> src/analysis.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::json_node::JsonNode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BasisGraphBuilder` and `BasisGraph` [INFO] [stderr] --> src/analysis.rs:13:26 [INFO] [stderr] | [INFO] [stderr] 13 | use crate::basis_graph::{BasisGraph, BasisGraphBuilder}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DocumentType` and `Document` [INFO] [stderr] --> src/analysis.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | use crate::document::{Document, DocumentType}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::document_format::DocumentFormat` [INFO] [stderr] --> src/analysis.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use crate::document_format::DocumentFormat; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HashTransformation` and `Transformation` [INFO] [stderr] --> src/analysis.rs:16:29 [INFO] [stderr] | [INFO] [stderr] 16 | use crate::transformation::{Transformation, HashTransformation}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::document_node::DocumentNode` [INFO] [stderr] --> src/analysis.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use crate::document_node::DocumentNode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `GraphNode` [INFO] [stderr] --> src/analysis.rs:19:32 [INFO] [stderr] | [INFO] [stderr] 19 | use crate::graph_node::{Graph, GraphNode}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::profile::Profile` [INFO] [stderr] --> src/analysis.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use crate::profile::Profile; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Recursion` [INFO] [stderr] --> src/analysis.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | Recursion [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ContextID` and `Context` [INFO] [stderr] --> src/analysis.rs:27:22 [INFO] [stderr] | [INFO] [stderr] 27 | use crate::context::{Context, ContextID}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DataNodeFieldsTransform` and `Runtime` [INFO] [stderr] --> src/analysis.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | DataNodeFieldsTransform, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 34 | Runtime [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `XMLNode` [INFO] [stderr] --> src/document.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | use xmltree::{Element, XMLNode}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `HashMap` [INFO] [stderr] --> src/document.rs:6:24 [INFO] [stderr] | [INFO] [stderr] 6 | use std::collections::{HashMap, HashSet}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `DataNode` [INFO] [stderr] --> src/document.rs:10:24 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::data_node::{DataNode}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::transformation::XMLElementTransformation` [INFO] [stderr] --> src/document.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use crate::transformation::XMLElementTransformation; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `PLAIN_TEXT` should have an upper camel case name [INFO] [stderr] --> src/document.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | PLAIN_TEXT, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PlainText` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stderr] --> src/document_node.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use serde::{Serialize, Deserialize}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/id.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use serde::de::{self, Deserialize, Deserializer, Visitor, Error as SerdeError}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Model` [INFO] [stderr] --> src/normalization.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::model::{Model}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `HashMap` [INFO] [stderr] --> src/provider.rs:5:24 [INFO] [stderr] | [INFO] [stderr] 5 | use std::collections::{HashMap, HashSet}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs` [INFO] [stderr] --> src/provider.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::fs; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::Value` [INFO] [stderr] --> src/provider.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use serde_json::Value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `HashSet` [INFO] [stderr] --> src/transformation.rs:4:33 [INFO] [stderr] | [INFO] [stderr] 4 | use std::collections::{HashMap, HashSet}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `JsValue` [INFO] [stderr] --> src/transformation.rs:5:41 [INFO] [stderr] | [INFO] [stderr] 5 | use quick_js::{Context as QuickContext, JsValue}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Arc` [INFO] [stderr] --> src/types.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::{Arc}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `BasisGraph` [INFO] [stderr] --> src/types.rs:4:26 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::basis_graph::{BasisGraph}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::data_node::DataNode` [INFO] [stderr] --> src/types.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::data_node::DataNode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stderr] --> src/prelude.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub use crate::macros::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the most public imported item is `pub(crate)` [INFO] [stderr] --> src/prelude.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub use crate::macros::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stderr] [INFO] [stderr] warning: unused import: `RwLock` [INFO] [stderr] --> src/llm/mod.rs:1:22 [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::{Arc, RwLock}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HashSet` and `VecDeque` [INFO] [stderr] --> src/llm/mod.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::{HashSet, VecDeque}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ContextID` and `Context` [INFO] [stderr] --> src/llm/mod.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::context::{Context, ContextID}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `GraphNodeID` and `GraphNode` [INFO] [stderr] --> src/llm/mod.rs:8:25 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::graph_node::{GraphNode, GraphNodeID}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ContextID` [INFO] [stderr] --> src/traverse.rs:7:31 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::context::{Context, ContextID}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Graph` [INFO] [stderr] --> src/traverse.rs:10:25 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::graph_node::{Graph, GraphNode}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `DocumentType` [INFO] [stderr] --> src/traverse.rs:11:33 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::document::{Document, DocumentType}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ContextID` [INFO] [stderr] --> src/meta_context.rs:7:31 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::context::{Context, ContextID}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `meta_context` [INFO] [stderr] --> src/llm/mod.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | meta_context: Arc, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meta_context` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `example_snippet_count` [INFO] [stderr] --> src/llm/mod.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | let example_snippet_count = read_lock!(CONFIG).llm.example_snippet_count; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_example_snippet_count` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/llm/openai.rs:264:24 [INFO] [stderr] | [INFO] [stderr] 264 | |mut acc, (index, (subgraph_hash, json))| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `options` [INFO] [stderr] --> src/normalization.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | options: &Option, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `document` [INFO] [stderr] --> src/normalization.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | let document = build_document_from_meta_context( [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `options` [INFO] [stderr] --> src/organization.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | options: &Option, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `provider` [INFO] [stderr] --> src/translation.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | provider: Arc

, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provider` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `meta_context` [INFO] [stderr] --> src/translation.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | meta_context: Arc, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meta_context` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `options` [INFO] [stderr] --> src/translation.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | options: &Option, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `json_schema` [INFO] [stderr] --> src/translation.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | json_schema: &str, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_json_schema` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `document_format` [INFO] [stderr] --> src/traverse.rs:126:5 [INFO] [stderr] | [INFO] [stderr] 126 | document_format: &Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document_format` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str::FromStr` [INFO] [stderr] --> src/id.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::str::FromStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `basis_graph` [INFO] [stderr] --> src/basis_graph.rs:40:29 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn from_basis_graph(basis_graph: &BasisGraph) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_basis_graph` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/document.rs:71:17 [INFO] [stderr] | [INFO] [stderr] 71 | let mut reader = std::io::Cursor::new(xml); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `text_node` [INFO] [stderr] --> src/document_node.rs:142:27 [INFO] [stderr] | [INFO] [stderr] 142 | XMLNode::Text(text_node) => Vec::new(), [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_node` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `unique_hashes` [INFO] [stderr] --> src/lineage.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | let unique_hashes = remove_duplicate_sequences(hashes.clone()); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unique_hashes` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `basis_graph` [INFO] [stderr] --> src/model.rs:33:29 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn get_normal_model(basis_graph: &BasisGraph) -> Option { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_basis_graph` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lineage` [INFO] [stderr] --> src/provider.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | lineage: &Lineage [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lineage` [INFO] [stderr] --> src/provider.rs:172:9 [INFO] [stderr] | [INFO] [stderr] 172 | lineage: &Lineage, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `subgraph_hash` [INFO] [stderr] --> src/provider.rs:220:9 [INFO] [stderr] | [INFO] [stderr] 220 | subgraph_hash: String, [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subgraph_hash` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data_node_field` [INFO] [stderr] --> src/transformation.rs:311:21 [INFO] [stderr] | [INFO] [stderr] 311 | if let Some(data_node_field) = data_node.fields.get(&self.field) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_node_field` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> src/context.rs:125:25 [INFO] [stderr] | [INFO] [stderr] 125 | let (mut a, b) = read_lock!(document_node).to_string_components(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> src/context.rs:132:21 [INFO] [stderr] | [INFO] [stderr] 132 | let (a, b) = read_lock!(document_node).to_string_components(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: type `LlmProvider` is more private than the item `LlmConfig::llm_provider` [INFO] [stderr] --> src/config.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | pub llm_provider: LlmProvider, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `LlmConfig::llm_provider` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `LlmProvider` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/config.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | enum LlmProvider { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `node_analysis` and `network_analysis` are never read [INFO] [stderr] --> src/analysis.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 37 | pub struct Analysis { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 38 | node_analysis: NodeAnalysis, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 39 | network_analysis: NetworkAnalysis, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `basis_nodes` is never read [INFO] [stderr] --> src/analysis.rs:87:5 [INFO] [stderr] | [INFO] [stderr] 86 | struct NodeAnalysis { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 87 | basis_nodes: Vec, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `basis_networks` is never read [INFO] [stderr] --> src/analysis.rs:200:5 [INFO] [stderr] | [INFO] [stderr] 199 | struct NetworkAnalysis { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 200 | basis_networks: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Simple`, `Flattened`, and `Nested` are never constructed [INFO] [stderr] --> src/document_format.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 4 | enum FormatStrategy { [INFO] [stderr] | -------------- variants in this enum [INFO] [stderr] 5 | Simple, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 6 | Flattened, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 7 | Nested, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FormatStrategy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/document_format.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct DocumentFormat { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 12 | format_type: DocumentType, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 13 | encoding: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 14 | strategy: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 15 | indent: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 16 | line_ending: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 17 | headers: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 18 | wrap_text: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 19 | exclude_nulls: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 20 | custom_delimiter: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DocumentFormat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: trait `Transform` is never used [INFO] [stderr] --> src/transformation.rs:20:7 [INFO] [stderr] | [INFO] [stderr] 20 | trait Transform { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/llm/openai.rs:771:70 [INFO] [stderr] | [INFO] [stderr] 771 | if let Some(cached_response) = Self::get_cached_response(hash.clone()) { [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `parversion` (lib) generated 72 warnings (run `cargo fix --lib -p parversion` to apply 41 suggestions) [INFO] [stderr] warning: `parversion` (lib test) generated 72 warnings (72 duplicates) [INFO] [stderr] warning: unused imports: `HashMap` and `HashSet` [INFO] [stderr] --> src/main.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `lazy_static::lazy_static` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use lazy_static::lazy_static; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `async_trait::async_trait` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use async_trait::async_trait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Context` and `JsValue` [INFO] [stderr] --> src/main.rs:12:16 [INFO] [stderr] | [INFO] [stderr] 12 | use quick_js::{Context, JsValue}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `HashSet` [INFO] [stderr] --> src/analysis.rs:1:24 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::{HashSet, HashMap, VecDeque}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::config::Config` [INFO] [stderr] --> src/prelude.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub use crate::config::Config; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::environment::Environment` [INFO] [stderr] --> src/prelude.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use crate::environment::Environment; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::meta_context::MetaContext` [INFO] [stderr] --> src/prelude.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub use crate::meta_context::MetaContext; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::context::Context` [INFO] [stderr] --> src/prelude.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub use crate::context::Context; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `LlmProvider` is more private than the item `LlmConfig::llm_provider` [INFO] [stderr] --> src/config.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | pub llm_provider: LlmProvider, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `LlmConfig::llm_provider` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `LlmProvider` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/config.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | enum LlmProvider { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `BasisGraphBuilder` is never constructed [INFO] [stderr] --> src/basis_graph.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct BasisGraphBuilder { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BasisGraphBuilder` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `from_basis_graph`, and `build` are never used [INFO] [stderr] --> src/basis_graph.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 28 | impl BasisGraphBuilder { [INFO] [stderr] | ---------------------- associated items in this implementation [INFO] [stderr] 29 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | pub fn from_basis_graph(basis_graph: &BasisGraph) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 52 | pub fn build(self) -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_hash` is never used [INFO] [stderr] --> src/data_node.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl DataNode { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 42 | pub fn get_hash(&self) -> Hash { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `to_string` is never used [INFO] [stderr] --> src/document_node.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl DocumentNode { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 37 | pub fn to_string(&self) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Local` and `Production` are never constructed [INFO] [stderr] --> src/environment.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum Environment { [INFO] [stderr] | ----------- variants in this enum [INFO] [stderr] 6 | Local, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 7 | Production, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_local` is never used [INFO] [stderr] --> src/environment.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn is_local() -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_str` is never used [INFO] [stderr] --> src/environment.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 16 | impl Environment { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 17 | fn from_str(env: &str) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_str` is never used [INFO] [stderr] --> src/hash.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl Hash { [INFO] [stderr] | --------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 20 | pub fn from_str(s: &str) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `to_string` is never used [INFO] [stderr] --> src/id.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl ID { [INFO] [stderr] | ------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn to_string(&self) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_hashes` is never used [INFO] [stderr] --> src/lineage.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl Lineage { [INFO] [stderr] | ------------ associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 19 | pub fn from_hashes(source_hashes: Vec) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `get_normal_model` is never used [INFO] [stderr] --> src/model.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 32 | impl Model { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] 33 | pub fn get_normal_model(basis_graph: &BasisGraph) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `normalize_text` is never used [INFO] [stderr] --> src/normalization.rs:74:14 [INFO] [stderr] | [INFO] [stderr] 74 | pub async fn normalize_text( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `normalize_document_to_meta_context` is never used [INFO] [stderr] --> src/normalization.rs:92:14 [INFO] [stderr] | [INFO] [stderr] 92 | pub async fn normalize_document_to_meta_context( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `normalize_document` is never used [INFO] [stderr] --> src/normalization.rs:104:14 [INFO] [stderr] | [INFO] [stderr] 104 | pub async fn normalize_document( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `normalize_document_to_text` is never used [INFO] [stderr] --> src/normalization.rs:121:14 [INFO] [stderr] | [INFO] [stderr] 121 | pub async fn normalize_document_to_text( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `normalize_file_to_text` is never used [INFO] [stderr] --> src/normalization.rs:165:14 [INFO] [stderr] | [INFO] [stderr] 165 | pub async fn normalize_file_to_text( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `normalize_file` is never used [INFO] [stderr] --> src/normalization.rs:179:14 [INFO] [stderr] | [INFO] [stderr] 179 | pub async fn normalize_file( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `normalize_url_to_text` is never used [INFO] [stderr] --> src/normalization.rs:228:14 [INFO] [stderr] | [INFO] [stderr] 228 | pub async fn normalize_url_to_text( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `organize_document` is never used [INFO] [stderr] --> src/organization.rs:38:14 [INFO] [stderr] | [INFO] [stderr] 38 | pub async fn organize_document( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `organize_document_to_string` is never used [INFO] [stderr] --> src/organization.rs:59:14 [INFO] [stderr] | [INFO] [stderr] 59 | pub async fn organize_document_to_string( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `organize_text` is never used [INFO] [stderr] --> src/organization.rs:77:14 [INFO] [stderr] | [INFO] [stderr] 77 | pub async fn organize_text( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `organize_text_to_document` is never used [INFO] [stderr] --> src/organization.rs:89:14 [INFO] [stderr] | [INFO] [stderr] 89 | pub async fn organize_text_to_document( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `organize_file` is never used [INFO] [stderr] --> src/organization.rs:102:14 [INFO] [stderr] | [INFO] [stderr] 102 | pub async fn organize_file( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `organize_file_to_document` is never used [INFO] [stderr] --> src/organization.rs:118:14 [INFO] [stderr] | [INFO] [stderr] 118 | pub async fn organize_file_to_document( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `organize_file_to_string` is never used [INFO] [stderr] --> src/organization.rs:132:14 [INFO] [stderr] | [INFO] [stderr] 132 | pub async fn organize_file_to_string( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `translate` is never used [INFO] [stderr] --> src/translation.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | pub async fn translate( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `translate_meta_context` is never used [INFO] [stderr] --> src/translation.rs:22:14 [INFO] [stderr] | [INFO] [stderr] 22 | pub async fn translate_meta_context( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `translate_text_to_meta_context` is never used [INFO] [stderr] --> src/translation.rs:33:14 [INFO] [stderr] | [INFO] [stderr] 33 | pub async fn translate_text_to_meta_context( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `translate_text_to_document` is never used [INFO] [stderr] --> src/translation.rs:47:14 [INFO] [stderr] | [INFO] [stderr] 47 | pub async fn translate_text_to_document( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `translate_text` is never used [INFO] [stderr] --> src/translation.rs:65:14 [INFO] [stderr] | [INFO] [stderr] 65 | pub async fn translate_text( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `translate_document_to_meta_context` is never used [INFO] [stderr] --> src/translation.rs:85:14 [INFO] [stderr] | [INFO] [stderr] 85 | pub async fn translate_document_to_meta_context( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `translate_document` is never used [INFO] [stderr] --> src/translation.rs:98:14 [INFO] [stderr] | [INFO] [stderr] 98 | pub async fn translate_document( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `translate_document_to_text` is never used [INFO] [stderr] --> src/translation.rs:121:14 [INFO] [stderr] | [INFO] [stderr] 121 | pub async fn translate_document_to_text( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `translate_file_to_meta_context` is never used [INFO] [stderr] --> src/translation.rs:141:14 [INFO] [stderr] | [INFO] [stderr] 141 | pub async fn translate_file_to_meta_context( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `translate_file_to_document` is never used [INFO] [stderr] --> src/translation.rs:158:14 [INFO] [stderr] | [INFO] [stderr] 158 | pub async fn translate_file_to_document( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `translate_file_to_text` is never used [INFO] [stderr] --> src/translation.rs:176:14 [INFO] [stderr] | [INFO] [stderr] 176 | pub async fn translate_file_to_text( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `translate_file` is never used [INFO] [stderr] --> src/translation.rs:196:14 [INFO] [stderr] | [INFO] [stderr] 196 | pub async fn translate_file( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `DISABLED` and `SIMPLE` are never constructed [INFO] [stderr] --> src/types.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub enum AnalysisMode { [INFO] [stderr] | ------------ variants in this enum [INFO] [stderr] 10 | DISABLED, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 11 | SIMPLE, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AnalysisMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/types.rs:30:19 [INFO] [stderr] | [INFO] [stderr] 30 | FetchUrlError(String), [INFO] [stderr] | ------------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Errors` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 30 - FetchUrlError(String), [INFO] [stderr] 30 + FetchUrlError(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: multiple variants are never constructed [INFO] [stderr] --> src/types.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub enum Errors { [INFO] [stderr] | ------ variants in this enum [INFO] [stderr] ... [INFO] [stderr] 19 | FileOutputError, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 20 | JsonParseError, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | UnexpectedOutputFormat, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 25 | XmlParseError, [INFO] [stderr] 26 | BasisGraphBuildError(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 27 | PathConversionError, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 28 | SqliteDatabaseConnectionError, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 31 | BasisNodeNotFound, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Errors` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `analysis_mode` and `value_transformations` are never read [INFO] [stderr] --> src/types.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 42 | pub struct Options { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 43 | pub analysis_mode: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | pub value_transformations: Option> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Options` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `write_text_to_file` is never used [INFO] [stderr] --> src/utility.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn write_text_to_file(path: &str, text: &str) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `append_to_filename` is never used [INFO] [stderr] --> src/utility.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn append_to_filename(path: &str, suffix: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `document_root` is never read [INFO] [stderr] --> src/meta_context.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct MetaContext { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 12 | pub contexts: HashMap>, [INFO] [stderr] 13 | pub document_root: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `parversion` (bin "parversion" test) generated 124 warnings (70 duplicates) (run `cargo fix --bin "parversion" --tests` to apply 9 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/parversion-d4519be57ded5c34) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/parversion-478e2bff0f719d19) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests parversion [INFO] [stderr] warning: variant `PLAIN_TEXT` should have an upper camel case name [INFO] [stderr] --> src/document.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | PLAIN_TEXT, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PlainText` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "24459fbea8c3ea2ffeee7ce2318b0dab6e06947d72c30148e10d18b0a68ee267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24459fbea8c3ea2ffeee7ce2318b0dab6e06947d72c30148e10d18b0a68ee267", kill_on_drop: false }` [INFO] [stdout] 24459fbea8c3ea2ffeee7ce2318b0dab6e06947d72c30148e10d18b0a68ee267