[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] 4fb895152aea661a1cfae6a8a4da863c705e72f3 [INFO] testing davidRoussov/document-to-json against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdavidRoussov%2Fdocument-to-json" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/davidRoussov/document-to-json on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pathetic v0.3.0 [INFO] [stderr] Downloaded webdriver v0.50.0 [INFO] [stderr] Downloaded quick-js v0.4.1 [INFO] [stderr] Downloaded fantoccini v0.21.5 [INFO] [stderr] Downloaded libquickjs-sys v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00f3a153386973b9078a8570df69f2f749455974f69ece398e5bc0dfaadd8b69 [INFO] running `Command { std: "docker" "start" "-a" "00f3a153386973b9078a8570df69f2f749455974f69ece398e5bc0dfaadd8b69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00f3a153386973b9078a8570df69f2f749455974f69ece398e5bc0dfaadd8b69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00f3a153386973b9078a8570df69f2f749455974f69ece398e5bc0dfaadd8b69", kill_on_drop: false }` [INFO] [stdout] 00f3a153386973b9078a8570df69f2f749455974f69ece398e5bc0dfaadd8b69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b24c82939e65f0863b30933a2895316f795c26630237af1b1a10f99bcb531789 [INFO] running `Command { std: "docker" "start" "-a" "b24c82939e65f0863b30933a2895316f795c26630237af1b1a10f99bcb531789", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling copy_dir v0.1.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libquickjs-sys v0.9.0 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling xmltree v0.10.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling simple-logging v2.0.2 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling fern v0.7.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling dot v0.1.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling pathetic v0.3.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling xml5ever v0.18.1 [INFO] [stderr] Compiling webdriver v0.50.0 [INFO] [stderr] Compiling markup5ever_rcdom v0.3.0 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling fantoccini v0.21.5 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling quick-js v0.4.1 [INFO] [stderr] Compiling parversion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::schema_node::SchemaNode` [INFO] [stdout] --> src/document.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::schema_node::SchemaNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::Schema` [INFO] [stdout] --> src/normalization.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::schema::Schema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/provider/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::fs as async_fs` [INFO] [stdout] --> src/provider/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::fs as async_fs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock as AsyncRwLock` [INFO] [stdout] --> src/provider/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::RwLock as AsyncRwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_yaml` [INFO] [stdout] --> src/provider/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_yaml; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::Schema` [INFO] [stdout] --> src/provider/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::schema::Schema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::Schema` [INFO] [stdout] --> src/provider/yaml.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::schema::Schema; [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:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> src/prelude.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | 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/meta_context.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::transformation::SchemaTransformation` [INFO] [stdout] --> src/schema.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::transformation::SchemaTransformation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::provider::Provider` [INFO] [stdout] --> src/schema.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::provider::Provider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/node_analysis.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema_node::SchemaNode` [INFO] [stdout] --> src/node_analysis.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::schema_node::SchemaNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/context.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | provider: Arc

, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provider` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/llm/openai.rs:362:24 [INFO] [stdout] | [INFO] [stdout] 362 | |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: `hash` [INFO] [stdout] --> src/llm/openai.rs:859:39 [INFO] [stdout] | [INFO] [stdout] 859 | async fn get_or_set_cache(hash: Hash, fetch_data: F) -> Option [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/node_analysis.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 71 | panic!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 72 | [INFO] [stdout] 73 | let max_concurrency = read_lock!(CONFIG).llm.max_concurrency; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/node_analysis.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | provider: Arc

, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema_contexts` [INFO] [stdout] --> src/node_analysis.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let schema_contexts: Vec> = { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_contexts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aliases` [INFO] [stdout] --> src/node_analysis.rs:264:31 [INFO] [stdout] | [INFO] [stdout] 264 | let (target, description, aliases) = LLM::get_normal_schema(&snippet).await?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aliases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/node_analysis.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | 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/node_analysis.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | 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: `schema_context` [INFO] [stdout] --> src/node_analysis.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | schema_context: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_schema` [INFO] [stdout] --> src/node_analysis.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | target_schema: &str [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lineage` [INFO] [stdout] --> src/provider/yaml.rs:200:38 [INFO] [stdout] | [INFO] [stdout] 200 | async fn save_basis_graph(&self, lineage: &Lineage, basis_graph: BasisGraph) -> Result<(), Errors> { [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/yaml.rs:239:55 [INFO] [stdout] | [INFO] [stdout] 239 | async fn save_normal_schema_transformation(&self, lineage: &Lineage, schema_transformation: SchemaTransformation) -> Result<(), Error... [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/mod.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | 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/mod.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | lineage: &Lineage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `basis_graph` [INFO] [stdout] --> src/provider/mod.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | basis_graph: BasisGraph [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/mod.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | 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/mod.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | lineage: &Lineage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema_transformation` [INFO] [stdout] --> src/provider/mod.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | schema_transformation: SchemaTransformation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_transformation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document_format` [INFO] [stdout] --> src/meta_context.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | document_format: &Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/meta_context.rs:388:29 [INFO] [stdout] | [INFO] [stdout] 388 | let mut existing_schema_node = schema.get_mut(&schema_node.name).unwrap(); [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: type `LlmProvider` is more private than the item `LlmConfig::llm_provider` [INFO] [stdout] --> src/config.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | 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:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | enum LlmProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/meta_context.rs:353:45 [INFO] [stdout] | [INFO] [stdout] 353 | ... meta_context.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `meta_context::MetaContext` does not implement `Clone`, so calling `clone` on `&meta_context::MetaContext` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 353 - meta_context.clone(), [INFO] [stdout] 353 + meta_context, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `meta_context::MetaContext`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(Clone)] [INFO] [stdout] 23 | pub struct MetaContext { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/meta_context.rs:367:37 [INFO] [stdout] | [INFO] [stdout] 367 | meta_context.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `meta_context::MetaContext` does not implement `Clone`, so calling `clone` on `&meta_context::MetaContext` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 367 - meta_context.clone(), [INFO] [stdout] 367 + meta_context, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `meta_context::MetaContext`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(Clone)] [INFO] [stdout] 23 | pub struct MetaContext { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema_node::SchemaNode` [INFO] [stdout] --> src/document.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::schema_node::SchemaNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::Schema` [INFO] [stdout] --> src/normalization.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::schema::Schema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/provider/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::fs as async_fs` [INFO] [stdout] --> src/provider/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::fs as async_fs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock as AsyncRwLock` [INFO] [stdout] --> src/provider/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::RwLock as AsyncRwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_yaml` [INFO] [stdout] --> src/provider/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_yaml; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::Schema` [INFO] [stdout] --> src/provider/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::schema::Schema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::Schema` [INFO] [stdout] --> src/provider/yaml.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::schema::Schema; [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: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> src/prelude.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> src/prelude.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | 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/meta_context.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::transformation::SchemaTransformation` [INFO] [stdout] --> src/schema.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::transformation::SchemaTransformation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::provider::Provider` [INFO] [stdout] --> src/schema.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::provider::Provider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/node_analysis.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema_node::SchemaNode` [INFO] [stdout] --> src/node_analysis.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::schema_node::SchemaNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/context.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | provider: Arc

, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provider` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/llm/openai.rs:362:24 [INFO] [stdout] | [INFO] [stdout] 362 | |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: `hash` [INFO] [stdout] --> src/llm/openai.rs:859:39 [INFO] [stdout] | [INFO] [stdout] 859 | async fn get_or_set_cache(hash: Hash, fetch_data: F) -> Option [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/node_analysis.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 71 | panic!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 72 | [INFO] [stdout] 73 | let max_concurrency = read_lock!(CONFIG).llm.max_concurrency; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/node_analysis.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | provider: Arc

, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema_contexts` [INFO] [stdout] --> src/node_analysis.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let schema_contexts: Vec> = { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_contexts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aliases` [INFO] [stdout] --> src/node_analysis.rs:264:31 [INFO] [stdout] | [INFO] [stdout] 264 | let (target, description, aliases) = LLM::get_normal_schema(&snippet).await?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aliases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/node_analysis.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | 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/node_analysis.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | 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: `schema_context` [INFO] [stdout] --> src/node_analysis.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | schema_context: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_schema` [INFO] [stdout] --> src/node_analysis.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | target_schema: &str [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lineage` [INFO] [stdout] --> src/provider/yaml.rs:200:38 [INFO] [stdout] | [INFO] [stdout] 200 | async fn save_basis_graph(&self, lineage: &Lineage, basis_graph: BasisGraph) -> Result<(), Errors> { [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/yaml.rs:239:55 [INFO] [stdout] | [INFO] [stdout] 239 | async fn save_normal_schema_transformation(&self, lineage: &Lineage, schema_transformation: SchemaTransformation) -> Result<(), Error... [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/mod.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | 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/mod.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | lineage: &Lineage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `basis_graph` [INFO] [stdout] --> src/provider/mod.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | basis_graph: BasisGraph [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/mod.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | 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/mod.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | lineage: &Lineage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema_transformation` [INFO] [stdout] --> src/provider/mod.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | schema_transformation: SchemaTransformation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_transformation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document_format` [INFO] [stdout] --> src/meta_context.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | document_format: &Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/meta_context.rs:388:29 [INFO] [stdout] | [INFO] [stdout] 388 | let mut existing_schema_node = schema.get_mut(&schema_node.name).unwrap(); [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: type `LlmProvider` is more private than the item `LlmConfig::llm_provider` [INFO] [stdout] --> src/config.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | 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:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | enum LlmProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [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] = note: `#[warn(dead_code)]` on by default [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: method `to_string` is never used [INFO] [stdout] --> src/document_node.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl DocumentNode { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `subgraph_hash` is never used [INFO] [stdout] --> src/graph_node.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl GraphNode { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn subgraph_hash(&self) -> Hash { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `permute_hash` is never used [INFO] [stdout] --> src/hash.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Hash { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn permute_hash(&self, permutation_index: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/id.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ID { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VoidProvider` is never constructed [INFO] [stdout] --> src/provider/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct VoidProvider; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | YamlParseError(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] 13 - YamlParseError(String), [INFO] [stdout] 13 + YamlParseError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | 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] 14 - FetchUrlError(String), [INFO] [stdout] 14 + FetchUrlError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | JsonSchemaParseError(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] 22 - JsonSchemaParseError(String), [INFO] [stdout] 22 + JsonSchemaParseError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | DeficientMetaContextError(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] 23 - DeficientMetaContextError(String) [INFO] [stdout] 23 + DeficientMetaContextError(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_url_as_text_complex` is never used [INFO] [stdout] --> src/utility.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | pub async fn fetch_url_as_text_complex(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/schema_context.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SchemaContext { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 11 | pub id: ID, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `SchemaContext` 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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/meta_context.rs:353:45 [INFO] [stdout] | [INFO] [stdout] 353 | ... meta_context.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `meta_context::MetaContext` does not implement `Clone`, so calling `clone` on `&meta_context::MetaContext` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 353 - meta_context.clone(), [INFO] [stdout] 353 + meta_context, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `meta_context::MetaContext`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(Clone)] [INFO] [stdout] 23 | pub struct MetaContext { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/meta_context.rs:367:37 [INFO] [stdout] | [INFO] [stdout] 367 | meta_context.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `meta_context::MetaContext` does not implement `Clone`, so calling `clone` on `&meta_context::MetaContext` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 367 - meta_context.clone(), [INFO] [stdout] 367 + meta_context, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `meta_context::MetaContext`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(Clone)] [INFO] [stdout] 23 | pub struct MetaContext { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 57s [INFO] running `Command { std: "docker" "inspect" "b24c82939e65f0863b30933a2895316f795c26630237af1b1a10f99bcb531789", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b24c82939e65f0863b30933a2895316f795c26630237af1b1a10f99bcb531789", kill_on_drop: false }` [INFO] [stdout] b24c82939e65f0863b30933a2895316f795c26630237af1b1a10f99bcb531789 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2610fd88f4468571088703ddf97322ac7678beb27518583a686224588c790d4c [INFO] running `Command { std: "docker" "start" "-a" "2610fd88f4468571088703ddf97322ac7678beb27518583a686224588c790d4c", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::schema_node::SchemaNode` [INFO] [stdout] --> src/document.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::schema_node::SchemaNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::Schema` [INFO] [stdout] --> src/normalization.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::schema::Schema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/provider/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::fs as async_fs` [INFO] [stdout] --> src/provider/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::fs as async_fs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock as AsyncRwLock` [INFO] [stdout] --> src/provider/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::RwLock as AsyncRwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_yaml` [INFO] [stdout] --> src/provider/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_yaml; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::Schema` [INFO] [stdout] --> src/provider/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::schema::Schema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::Schema` [INFO] [stdout] --> src/provider/yaml.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::schema::Schema; [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:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> src/prelude.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | 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/meta_context.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::transformation::SchemaTransformation` [INFO] [stdout] --> src/schema.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::transformation::SchemaTransformation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::provider::Provider` [INFO] [stdout] --> src/schema.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::provider::Provider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/node_analysis.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema_node::SchemaNode` [INFO] [stdout] --> src/node_analysis.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::schema_node::SchemaNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/context.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | provider: Arc

, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provider` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/llm/openai.rs:362:24 [INFO] [stdout] | [INFO] [stdout] 362 | |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: `hash` [INFO] [stdout] --> src/llm/openai.rs:859:39 [INFO] [stdout] | [INFO] [stdout] 859 | async fn get_or_set_cache(hash: Hash, fetch_data: F) -> Option [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/node_analysis.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 71 | panic!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 72 | [INFO] [stdout] 73 | let max_concurrency = read_lock!(CONFIG).llm.max_concurrency; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/node_analysis.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | provider: Arc

, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema_contexts` [INFO] [stdout] --> src/node_analysis.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let schema_contexts: Vec> = { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_contexts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aliases` [INFO] [stdout] --> src/node_analysis.rs:264:31 [INFO] [stdout] | [INFO] [stdout] 264 | let (target, description, aliases) = LLM::get_normal_schema(&snippet).await?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aliases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/node_analysis.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | 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/node_analysis.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | meta_context: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meta_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling parversion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `schema_context` [INFO] [stdout] --> src/node_analysis.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | schema_context: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_schema` [INFO] [stdout] --> src/node_analysis.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | target_schema: &str [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lineage` [INFO] [stdout] --> src/provider/yaml.rs:200:38 [INFO] [stdout] | [INFO] [stdout] 200 | async fn save_basis_graph(&self, lineage: &Lineage, basis_graph: BasisGraph) -> Result<(), Errors> { [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/yaml.rs:239:55 [INFO] [stdout] | [INFO] [stdout] 239 | async fn save_normal_schema_transformation(&self, lineage: &Lineage, schema_transformation: SchemaTransformation) -> Result<(), Error... [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/mod.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | 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/mod.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | lineage: &Lineage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `basis_graph` [INFO] [stdout] --> src/provider/mod.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | basis_graph: BasisGraph [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/mod.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | 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/mod.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | lineage: &Lineage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema_transformation` [INFO] [stdout] --> src/provider/mod.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | schema_transformation: SchemaTransformation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_transformation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document_format` [INFO] [stdout] --> src/meta_context.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | document_format: &Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/meta_context.rs:388:29 [INFO] [stdout] | [INFO] [stdout] 388 | let mut existing_schema_node = schema.get_mut(&schema_node.name).unwrap(); [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: type `LlmProvider` is more private than the item `LlmConfig::llm_provider` [INFO] [stdout] --> src/config.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | 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:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | enum LlmProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/meta_context.rs:353:45 [INFO] [stdout] | [INFO] [stdout] 353 | ... meta_context.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `meta_context::MetaContext` does not implement `Clone`, so calling `clone` on `&meta_context::MetaContext` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 353 - meta_context.clone(), [INFO] [stdout] 353 + meta_context, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `meta_context::MetaContext`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(Clone)] [INFO] [stdout] 23 | pub struct MetaContext { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/meta_context.rs:367:37 [INFO] [stdout] | [INFO] [stdout] 367 | meta_context.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `meta_context::MetaContext` does not implement `Clone`, so calling `clone` on `&meta_context::MetaContext` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 367 - meta_context.clone(), [INFO] [stdout] 367 + meta_context, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `meta_context::MetaContext`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(Clone)] [INFO] [stdout] 23 | pub struct MetaContext { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema_node::SchemaNode` [INFO] [stdout] --> src/document.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::schema_node::SchemaNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::Schema` [INFO] [stdout] --> src/normalization.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::schema::Schema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/provider/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::fs as async_fs` [INFO] [stdout] --> src/provider/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::fs as async_fs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock as AsyncRwLock` [INFO] [stdout] --> src/provider/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::RwLock as AsyncRwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_yaml` [INFO] [stdout] --> src/provider/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_yaml; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::Schema` [INFO] [stdout] --> src/provider/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::schema::Schema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::Schema` [INFO] [stdout] --> src/provider/yaml.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::schema::Schema; [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: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> src/prelude.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> src/prelude.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | 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/meta_context.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::transformation::SchemaTransformation` [INFO] [stdout] --> src/schema.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::transformation::SchemaTransformation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::provider::Provider` [INFO] [stdout] --> src/schema.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::provider::Provider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/node_analysis.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema_node::SchemaNode` [INFO] [stdout] --> src/node_analysis.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::schema_node::SchemaNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema_node::SchemaNode` [INFO] [stdout] --> src/document.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::schema_node::SchemaNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::Schema` [INFO] [stdout] --> src/normalization.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::schema::Schema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/provider/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::fs as async_fs` [INFO] [stdout] --> src/provider/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::fs as async_fs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock as AsyncRwLock` [INFO] [stdout] --> src/provider/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::RwLock as AsyncRwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_yaml` [INFO] [stdout] --> src/provider/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_yaml; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::Schema` [INFO] [stdout] --> src/provider/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::schema::Schema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::Schema` [INFO] [stdout] --> src/provider/yaml.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::schema::Schema; [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:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> src/prelude.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | 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/meta_context.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::transformation::SchemaTransformation` [INFO] [stdout] --> src/schema.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::transformation::SchemaTransformation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::provider::Provider` [INFO] [stdout] --> src/schema.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::provider::Provider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/node_analysis.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema_node::SchemaNode` [INFO] [stdout] --> src/node_analysis.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::schema_node::SchemaNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/context.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | provider: Arc

, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provider` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/llm/openai.rs:362:24 [INFO] [stdout] | [INFO] [stdout] 362 | |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: `provider` [INFO] [stdout] --> src/context.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | provider: Arc

, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provider` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/llm/openai.rs:362:24 [INFO] [stdout] | [INFO] [stdout] 362 | |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: `hash` [INFO] [stdout] --> src/llm/openai.rs:859:39 [INFO] [stdout] | [INFO] [stdout] 859 | async fn get_or_set_cache(hash: Hash, fetch_data: F) -> Option [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/llm/openai.rs:859:39 [INFO] [stdout] | [INFO] [stdout] 859 | async fn get_or_set_cache(hash: Hash, fetch_data: F) -> Option [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/node_analysis.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 71 | panic!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 72 | [INFO] [stdout] 73 | let max_concurrency = read_lock!(CONFIG).llm.max_concurrency; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/node_analysis.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | provider: Arc

, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema_contexts` [INFO] [stdout] --> src/node_analysis.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let schema_contexts: Vec> = { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_contexts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aliases` [INFO] [stdout] --> src/node_analysis.rs:264:31 [INFO] [stdout] | [INFO] [stdout] 264 | let (target, description, aliases) = LLM::get_normal_schema(&snippet).await?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aliases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/node_analysis.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | 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/node_analysis.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | 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: `schema_context` [INFO] [stdout] --> src/node_analysis.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | schema_context: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_schema` [INFO] [stdout] --> src/node_analysis.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | target_schema: &str [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/node_analysis.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 71 | panic!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 72 | [INFO] [stdout] 73 | let max_concurrency = read_lock!(CONFIG).llm.max_concurrency; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/node_analysis.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | provider: Arc

, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema_contexts` [INFO] [stdout] --> src/node_analysis.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let schema_contexts: Vec> = { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_contexts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aliases` [INFO] [stdout] --> src/node_analysis.rs:264:31 [INFO] [stdout] | [INFO] [stdout] 264 | let (target, description, aliases) = LLM::get_normal_schema(&snippet).await?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aliases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provider` [INFO] [stdout] --> src/node_analysis.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | 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/node_analysis.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | 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: `schema_context` [INFO] [stdout] --> src/node_analysis.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | schema_context: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_schema` [INFO] [stdout] --> src/node_analysis.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | target_schema: &str [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lineage` [INFO] [stdout] --> src/provider/yaml.rs:200:38 [INFO] [stdout] | [INFO] [stdout] 200 | async fn save_basis_graph(&self, lineage: &Lineage, basis_graph: BasisGraph) -> Result<(), Errors> { [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/yaml.rs:239:55 [INFO] [stdout] | [INFO] [stdout] 239 | async fn save_normal_schema_transformation(&self, lineage: &Lineage, schema_transformation: SchemaTransformation) -> Result<(), Error... [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/mod.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | 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/mod.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | lineage: &Lineage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `basis_graph` [INFO] [stdout] --> src/provider/mod.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | basis_graph: BasisGraph [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/mod.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | 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/mod.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | lineage: &Lineage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema_transformation` [INFO] [stdout] --> src/provider/mod.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | schema_transformation: SchemaTransformation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_transformation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lineage` [INFO] [stdout] --> src/provider/yaml.rs:200:38 [INFO] [stdout] | [INFO] [stdout] 200 | async fn save_basis_graph(&self, lineage: &Lineage, basis_graph: BasisGraph) -> Result<(), Errors> { [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/yaml.rs:239:55 [INFO] [stdout] | [INFO] [stdout] 239 | async fn save_normal_schema_transformation(&self, lineage: &Lineage, schema_transformation: SchemaTransformation) -> Result<(), Error... [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/mod.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | 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/mod.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | lineage: &Lineage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `basis_graph` [INFO] [stdout] --> src/provider/mod.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | basis_graph: BasisGraph [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/mod.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | 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/mod.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | lineage: &Lineage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema_transformation` [INFO] [stdout] --> src/provider/mod.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | schema_transformation: SchemaTransformation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_transformation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document_format` [INFO] [stdout] --> src/meta_context.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | document_format: &Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/meta_context.rs:388:29 [INFO] [stdout] | [INFO] [stdout] 388 | let mut existing_schema_node = schema.get_mut(&schema_node.name).unwrap(); [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: `document_format` [INFO] [stdout] --> src/meta_context.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | document_format: &Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/meta_context.rs:388:29 [INFO] [stdout] | [INFO] [stdout] 388 | let mut existing_schema_node = schema.get_mut(&schema_node.name).unwrap(); [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: type `LlmProvider` is more private than the item `LlmConfig::llm_provider` [INFO] [stdout] --> src/config.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | 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:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | enum LlmProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` 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:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | 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:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | enum LlmProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [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] = note: `#[warn(dead_code)]` on by default [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: method `to_string` is never used [INFO] [stdout] --> src/document_node.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl DocumentNode { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `subgraph_hash` is never used [INFO] [stdout] --> src/graph_node.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl GraphNode { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn subgraph_hash(&self) -> Hash { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `permute_hash` is never used [INFO] [stdout] --> src/hash.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Hash { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn permute_hash(&self, permutation_index: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/id.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ID { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VoidProvider` is never constructed [INFO] [stdout] --> src/provider/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct VoidProvider; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | YamlParseError(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] 13 - YamlParseError(String), [INFO] [stdout] 13 + YamlParseError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | 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] 14 - FetchUrlError(String), [INFO] [stdout] 14 + FetchUrlError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | JsonSchemaParseError(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] 22 - JsonSchemaParseError(String), [INFO] [stdout] 22 + JsonSchemaParseError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | DeficientMetaContextError(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] 23 - DeficientMetaContextError(String) [INFO] [stdout] 23 + DeficientMetaContextError(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_url_as_text_complex` is never used [INFO] [stdout] --> src/utility.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | pub async fn fetch_url_as_text_complex(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/schema_context.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SchemaContext { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 11 | pub id: ID, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `SchemaContext` 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: 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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/meta_context.rs:353:45 [INFO] [stdout] | [INFO] [stdout] 353 | ... meta_context.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `meta_context::MetaContext` does not implement `Clone`, so calling `clone` on `&meta_context::MetaContext` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 353 - meta_context.clone(), [INFO] [stdout] 353 + meta_context, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `meta_context::MetaContext`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(Clone)] [INFO] [stdout] 23 | pub struct MetaContext { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/meta_context.rs:367:37 [INFO] [stdout] | [INFO] [stdout] 367 | meta_context.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `meta_context::MetaContext` does not implement `Clone`, so calling `clone` on `&meta_context::MetaContext` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 367 - meta_context.clone(), [INFO] [stdout] 367 + meta_context, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `meta_context::MetaContext`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(Clone)] [INFO] [stdout] 23 | pub struct MetaContext { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/meta_context.rs:353:45 [INFO] [stdout] | [INFO] [stdout] 353 | ... meta_context.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `meta_context::MetaContext` does not implement `Clone`, so calling `clone` on `&meta_context::MetaContext` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 353 - meta_context.clone(), [INFO] [stdout] 353 + meta_context, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `meta_context::MetaContext`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(Clone)] [INFO] [stdout] 23 | pub struct MetaContext { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/meta_context.rs:367:37 [INFO] [stdout] | [INFO] [stdout] 367 | meta_context.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `meta_context::MetaContext` does not implement `Clone`, so calling `clone` on `&meta_context::MetaContext` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 367 - meta_context.clone(), [INFO] [stdout] 367 + meta_context, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `meta_context::MetaContext`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(Clone)] [INFO] [stdout] 23 | pub struct MetaContext { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.72s [INFO] running `Command { std: "docker" "inspect" "2610fd88f4468571088703ddf97322ac7678beb27518583a686224588c790d4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2610fd88f4468571088703ddf97322ac7678beb27518583a686224588c790d4c", kill_on_drop: false }` [INFO] [stdout] 2610fd88f4468571088703ddf97322ac7678beb27518583a686224588c790d4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 59d1644b5cdcf9e3a4a845882dd29b860206f2941c6fd272d22813512c3e9ddf [INFO] running `Command { std: "docker" "start" "-a" "59d1644b5cdcf9e3a4a845882dd29b860206f2941c6fd272d22813512c3e9ddf", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::schema_node::SchemaNode` [INFO] [stderr] --> src/document.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use crate::schema_node::SchemaNode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::schema::Schema` [INFO] [stderr] --> src/normalization.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::schema::Schema; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/provider/mod.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::fs as async_fs` [INFO] [stderr] --> src/provider/mod.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio::fs as async_fs; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::sync::RwLock as AsyncRwLock` [INFO] [stderr] --> src/provider/mod.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio::sync::RwLock as AsyncRwLock; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_yaml` [INFO] [stderr] --> src/provider/mod.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use serde_yaml; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::schema::Schema` [INFO] [stderr] --> src/provider/mod.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use crate::schema::Schema; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::schema::Schema` [INFO] [stderr] --> src/provider/yaml.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use crate::schema::Schema; [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:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use crate::macros::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the most public imported item is `pub(crate)` [INFO] [stderr] --> src/prelude.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | 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/meta_context.rs:1:22 [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::{Arc, RwLock}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::transformation::SchemaTransformation` [INFO] [stderr] --> src/schema.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::transformation::SchemaTransformation; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::provider::Provider` [INFO] [stderr] --> src/schema.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::provider::Provider; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `VecDeque` [INFO] [stderr] --> src/node_analysis.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::{VecDeque}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::schema_node::SchemaNode` [INFO] [stderr] --> src/node_analysis.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use crate::schema_node::SchemaNode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `provider` [INFO] [stderr] --> src/context.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | provider: Arc

, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provider` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/llm/openai.rs:362:24 [INFO] [stderr] | [INFO] [stderr] 362 | |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: `hash` [INFO] [stderr] --> src/llm/openai.rs:859:39 [INFO] [stderr] | [INFO] [stderr] 859 | async fn get_or_set_cache(hash: Hash, fetch_data: F) -> Option [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/node_analysis.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 71 | panic!(); [INFO] [stderr] | -------- any code following this expression is unreachable [INFO] [stderr] 72 | [INFO] [stderr] 73 | let max_concurrency = read_lock!(CONFIG).llm.max_concurrency; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `provider` [INFO] [stderr] --> src/node_analysis.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | provider: Arc

, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provider` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `schema_contexts` [INFO] [stderr] --> src/node_analysis.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | let schema_contexts: Vec> = { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_contexts` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `aliases` [INFO] [stderr] --> src/node_analysis.rs:264:31 [INFO] [stderr] | [INFO] [stderr] 264 | let (target, description, aliases) = LLM::get_normal_schema(&snippet).await?; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aliases` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `provider` [INFO] [stderr] --> src/node_analysis.rs:282:5 [INFO] [stderr] | [INFO] [stderr] 282 | 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/node_analysis.rs:283:5 [INFO] [stderr] | [INFO] [stderr] 283 | meta_context: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meta_context` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `schema_context` [INFO] [stderr] --> src/node_analysis.rs:284:5 [INFO] [stderr] | [INFO] [stderr] 284 | schema_context: Arc, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_context` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `target_schema` [INFO] [stderr] --> src/node_analysis.rs:285:5 [INFO] [stderr] | [INFO] [stderr] 285 | target_schema: &str [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_schema` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lineage` [INFO] [stderr] --> src/provider/yaml.rs:200:38 [INFO] [stderr] | [INFO] [stderr] 200 | async fn save_basis_graph(&self, lineage: &Lineage, basis_graph: BasisGraph) -> Result<(), Errors> { [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/yaml.rs:239:55 [INFO] [stderr] | [INFO] [stderr] 239 | async fn save_normal_schema_transformation(&self, lineage: &Lineage, schema_transformation: SchemaTransformation) -> Result<(), Error... [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/mod.rs:116:9 [INFO] [stderr] | [INFO] [stderr] 116 | 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/mod.rs:123:9 [INFO] [stderr] | [INFO] [stderr] 123 | lineage: &Lineage, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `basis_graph` [INFO] [stderr] --> src/provider/mod.rs:124:9 [INFO] [stderr] | [INFO] [stderr] 124 | basis_graph: BasisGraph [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/mod.rs:131:9 [INFO] [stderr] | [INFO] [stderr] 131 | 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/mod.rs:138:9 [INFO] [stderr] | [INFO] [stderr] 138 | lineage: &Lineage, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `schema_transformation` [INFO] [stderr] --> src/provider/mod.rs:139:9 [INFO] [stderr] | [INFO] [stderr] 139 | schema_transformation: SchemaTransformation [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_transformation` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `document_format` [INFO] [stderr] --> src/meta_context.rs:161:9 [INFO] [stderr] | [INFO] [stderr] 161 | document_format: &Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document_format` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/meta_context.rs:388:29 [INFO] [stderr] | [INFO] [stderr] 388 | let mut existing_schema_node = schema.get_mut(&schema_node.name).unwrap(); [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: type `LlmProvider` is more private than the item `LlmConfig::llm_provider` [INFO] [stderr] --> src/config.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | 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:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | enum LlmProvider { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [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] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/meta_context.rs:353:45 [INFO] [stderr] | [INFO] [stderr] 353 | ... meta_context.clone(), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `meta_context::MetaContext` does not implement `Clone`, so calling `clone` on `&meta_context::MetaContext` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 353 - meta_context.clone(), [INFO] [stderr] 353 + meta_context, [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `meta_context::MetaContext`, implement `Clone` for it [INFO] [stderr] | [INFO] [stderr] 22 + #[derive(Clone)] [INFO] [stderr] 23 | pub struct MetaContext { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/meta_context.rs:367:37 [INFO] [stderr] | [INFO] [stderr] 367 | meta_context.clone(), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `meta_context::MetaContext` does not implement `Clone`, so calling `clone` on `&meta_context::MetaContext` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 367 - meta_context.clone(), [INFO] [stderr] 367 + meta_context, [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `meta_context::MetaContext`, implement `Clone` for it [INFO] [stderr] | [INFO] [stderr] 22 + #[derive(Clone)] [INFO] [stderr] 23 | pub struct MetaContext { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `parversion` (lib) generated 39 warnings (run `cargo fix --lib -p parversion` to apply 16 suggestions) [INFO] [stderr] warning: `parversion` (lib test) generated 39 warnings (39 duplicates) [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: type `LlmProvider` is more private than the item `LlmConfig::llm_provider` [INFO] [stderr] --> src/config.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | 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:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | enum LlmProvider { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [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] = note: `#[warn(dead_code)]` on by default [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: method `to_string` is never used [INFO] [stderr] --> src/document_node.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl DocumentNode { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 36 | pub fn to_string(&self) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `subgraph_hash` is never used [INFO] [stderr] --> src/graph_node.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 22 | impl GraphNode { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 48 | pub fn subgraph_hash(&self) -> Hash { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `permute_hash` is never used [INFO] [stderr] --> src/hash.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl Hash { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 80 | pub fn permute_hash(&self, permutation_index: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `to_string` is never used [INFO] [stderr] --> src/id.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl ID { [INFO] [stderr] | ------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 24 | pub fn to_string(&self) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `VoidProvider` is never constructed [INFO] [stderr] --> src/provider/mod.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | pub struct VoidProvider; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/types.rs:13:20 [INFO] [stderr] | [INFO] [stderr] 13 | YamlParseError(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] 13 - YamlParseError(String), [INFO] [stderr] 13 + YamlParseError(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/types.rs:14:19 [INFO] [stderr] | [INFO] [stderr] 14 | 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] 14 - FetchUrlError(String), [INFO] [stderr] 14 + FetchUrlError(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/types.rs:22:26 [INFO] [stderr] | [INFO] [stderr] 22 | JsonSchemaParseError(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] 22 - JsonSchemaParseError(String), [INFO] [stderr] 22 + JsonSchemaParseError(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/types.rs:23:31 [INFO] [stderr] | [INFO] [stderr] 23 | DeficientMetaContextError(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] 23 - DeficientMetaContextError(String) [INFO] [stderr] 23 + DeficientMetaContextError(()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function `fetch_url_as_text_complex` is never used [INFO] [stderr] --> src/utility.rs:91:14 [INFO] [stderr] | [INFO] [stderr] 91 | pub async fn fetch_url_as_text_complex(url: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/schema_context.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct SchemaContext { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 11 | pub id: ID, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `SchemaContext` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `parversion` (bin "parversion" test) generated 52 warnings (37 duplicates) (run `cargo fix --bin "parversion" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/parversion-acd12a593ee69f6d) [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] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/parversion-869c3222e119ca03) [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] [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" "59d1644b5cdcf9e3a4a845882dd29b860206f2941c6fd272d22813512c3e9ddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59d1644b5cdcf9e3a4a845882dd29b860206f2941c6fd272d22813512c3e9ddf", kill_on_drop: false }` [INFO] [stdout] 59d1644b5cdcf9e3a4a845882dd29b860206f2941c6fd272d22813512c3e9ddf