[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] 1dbcb4ecbab7bfd0dff907a6724b14ba2151f185
[INFO] checking davidRoussov/document-to-json against master#fe55364329579d361b1ab565728bc033a7dba07e for pr-146013
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdavidRoussov%2Fdocument-to-json" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/davidRoussov/document-to-json on toolchain fe55364329579d361b1ab565728bc033a7dba07e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "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" "+fe55364329579d361b1ab565728bc033a7dba07e" "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 simple-logging v2.0.2
[INFO] [stderr] Downloaded dot v0.1.4
[INFO] [stderr] Downloaded fantoccini v0.21.5
[INFO] [stderr] Downloaded webdriver v0.50.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4d3d56da263fc3ff20d56b53dcf9caae13908f8811c8c8b24139393ddd26dac6
[INFO] running `Command { std: "docker" "start" "-a" "4d3d56da263fc3ff20d56b53dcf9caae13908f8811c8c8b24139393ddd26dac6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4d3d56da263fc3ff20d56b53dcf9caae13908f8811c8c8b24139393ddd26dac6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d3d56da263fc3ff20d56b53dcf9caae13908f8811c8c8b24139393ddd26dac6", kill_on_drop: false }`
[INFO] [stdout] 4d3d56da263fc3ff20d56b53dcf9caae13908f8811c8c8b24139393ddd26dac6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3fca238633f7b63f967de7649b66ac888468df50407c3f4591c4fc0dc7dcb681
[INFO] running `Command { std: "docker" "start" "-a" "3fca238633f7b63f967de7649b66ac888468df50407c3f4591c4fc0dc7dcb681", kill_on_drop: false }`
[INFO] [stderr] Compiling cc v1.2.22
[INFO] [stderr] Checking mio v1.0.3
[INFO] [stderr] Checking socket2 v0.5.9
[INFO] [stderr] Compiling futures-macro v0.3.31
[INFO] [stderr] Checking serde v1.0.219
[INFO] [stderr] Checking tracing v0.1.41
[INFO] [stderr] Compiling openssl v0.10.72
[INFO] [stderr] Compiling string_cache_codegen v0.5.4
[INFO] [stderr] Compiling time-core v0.1.4
[INFO] [stderr] Compiling copy_dir v0.1.3
[INFO] [stderr] Checking phf v0.11.3
[INFO] [stderr] Compiling cookie v0.16.2
[INFO] [stderr] Compiling indexmap v1.9.3
[INFO] [stderr] Compiling html5ever v0.27.0
[INFO] [stderr] Compiling thiserror-impl v1.0.69
[INFO] [stderr] Checking thread-id v3.3.0
[INFO] [stderr] Checking atty v0.2.14
[INFO] [stderr] Checking textwrap v0.16.2
[INFO] [stderr] Compiling time-macros v0.2.22
[INFO] [stderr] Checking xml-rs v0.8.26
[INFO] [stderr] Checking simple-logging v2.0.2
[INFO] [stderr] Checking sha2 v0.10.9
[INFO] [stderr] Checking chrono v0.4.41
[INFO] [stderr] Checking uuid v1.16.0
[INFO] [stderr] Checking pathetic v0.3.0
[INFO] [stderr] Checking fern v0.7.1
[INFO] [stderr] Compiling async-trait v0.1.88
[INFO] [stderr] Checking dot v0.1.4
[INFO] [stderr] Checking tokio v1.45.0
[INFO] [stderr] Compiling markup5ever v0.12.1
[INFO] [stderr] Checking clap v3.2.25
[INFO] [stderr] Checking xmltree v0.10.3
[INFO] [stderr] Checking futures-util v0.3.31
[INFO] [stderr] Checking thiserror v1.0.69
[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] Checking time v0.3.41
[INFO] [stderr] Compiling native-tls v0.2.14
[INFO] [stderr] Checking string_cache v0.8.9
[INFO] [stderr] Checking serde_json v1.0.140
[INFO] [stderr] Checking serde_spanned v0.6.8
[INFO] [stderr] Checking toml_datetime v0.6.9
[INFO] [stderr] Checking serde_urlencoded v0.7.1
[INFO] [stderr] Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr] Checking bincode v1.3.3
[INFO] [stderr] Checking cookie v0.18.1
[INFO] [stderr] Checking toml_edit v0.22.26
[INFO] [stderr] Checking webdriver v0.50.0
[INFO] [stderr] Checking futures-executor v0.3.31
[INFO] [stderr] Checking futures v0.3.31
[INFO] [stderr] Checking xml5ever v0.18.1
[INFO] [stderr] Checking markup5ever_rcdom v0.3.0
[INFO] [stderr] Compiling rustls v0.21.12
[INFO] [stderr] Checking toml v0.8.22
[INFO] [stderr] Checking tokio-util v0.7.15
[INFO] [stderr] Checking hyper v1.6.0
[INFO] [stderr] Checking rustls-webpki v0.101.7
[INFO] [stderr] Checking sct v0.7.1
[INFO] [stderr] Checking h2 v0.3.26
[INFO] [stderr] Checking tokio-native-tls v0.3.1
[INFO] [stderr] Checking hyper-util v0.1.11
[INFO] [stderr] Checking hyper-tls v0.6.0
[INFO] [stderr] Checking fantoccini v0.21.5
[INFO] [stderr] Checking tokio-rustls v0.24.1
[INFO] [stderr] Checking hyper v0.14.32
[INFO] [stderr] Checking hyper-rustls v0.24.2
[INFO] [stderr] Checking hyper-tls v0.5.0
[INFO] [stderr] Checking reqwest v0.11.27
[INFO] [stderr] Checking quick-js v0.4.1
[INFO] [stderr] Checking parversion v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::basis_node::BasisNode`
[INFO] [stdout] --> src/document.rs:27:5
[INFO] [stdout] |
[INFO] [stdout] 27 | use crate::basis_node::BasisNode;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::basis_network::BasisNetwork`
[INFO] [stdout] --> src/document.rs:28:5
[INFO] [stdout] |
[INFO] [stdout] 28 | use crate::basis_network::BasisNetwork;
[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: `crate::basis_node::BasisNode`
[INFO] [stdout] --> src/document.rs:27:5
[INFO] [stdout] |
[INFO] [stdout] 27 | use crate::basis_node::BasisNode;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::basis_network::BasisNetwork`
[INFO] [stdout] --> src/document.rs:28:5
[INFO] [stdout] |
[INFO] [stdout] 28 | use crate::basis_network::BasisNetwork;
[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 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)]` (part of `#[warn(unused)]`) on by default
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout] --> src/llm/openai.rs:494:24
[INFO] [stdout] |
[INFO] [stdout] 494 | |mut acc, (index, (subgraph_hash, json))| {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout] --> src/llm/openai.rs:494:24
[INFO] [stdout] |
[INFO] [stdout] 494 | |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:990:39
[INFO] [stdout] |
[INFO] [stdout] 990 | 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:990:39
[INFO] [stdout] |
[INFO] [stdout] 990 | 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: `document_format`
[INFO] [stdout] --> src/document.rs:271:29
[INFO] [stdout] |
[INFO] [stdout] 271 | pub fn to_string(&self, document_format: &Option) -> String {
[INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document_format`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `document_format`
[INFO] [stdout] --> src/document.rs:271:29
[INFO] [stdout] |
[INFO] [stdout] 271 | pub fn to_string(&self, document_format: &Option) -> String {
[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/document.rs:695:29
[INFO] [stdout] |
[INFO] [stdout] 695 | 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/document.rs:695:29
[INFO] [stdout] |
[INFO] [stdout] 695 | 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `lineage`
[INFO] [stdout] --> src/provider/yaml.rs:224:38
[INFO] [stdout] |
[INFO] [stdout] 224 | 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:267:48
[INFO] [stdout] |
[INFO] [stdout] 267 | async fn save_schema_transformation(&self, lineage: &Lineage, schema_transformation: SchemaTransformation) -> 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:224:38
[INFO] [stdout] |
[INFO] [stdout] 224 | 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:267:48
[INFO] [stdout] |
[INFO] [stdout] 267 | async fn save_schema_transformation(&self, lineage: &Lineage, schema_transformation: SchemaTransformation) -> Result<(), Errors> {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `is_array`
[INFO] [stdout] --> src/schema_node.rs:108:9
[INFO] [stdout] |
[INFO] [stdout] 108 | is_array: bool
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_array`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `is_array`
[INFO] [stdout] --> src/schema_node.rs:108:9
[INFO] [stdout] |
[INFO] [stdout] 108 | is_array: bool
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_array`
[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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::basis_node::BasisNode`
[INFO] [stdout] --> src/document.rs:27:5
[INFO] [stdout] |
[INFO] [stdout] 27 | use crate::basis_node::BasisNode;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::basis_network::BasisNetwork`
[INFO] [stdout] --> src/document.rs:28:5
[INFO] [stdout] |
[INFO] [stdout] 28 | use crate::basis_network::BasisNetwork;
[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: `crate::basis_node::BasisNode`
[INFO] [stdout] --> src/document.rs:27:5
[INFO] [stdout] |
[INFO] [stdout] 27 | use crate::basis_node::BasisNode;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::basis_network::BasisNetwork`
[INFO] [stdout] --> src/document.rs:28:5
[INFO] [stdout] |
[INFO] [stdout] 28 | use crate::basis_network::BasisNetwork;
[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 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)]` (part of `#[warn(unused)]`) on by default
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout] --> src/llm/openai.rs:494:24
[INFO] [stdout] |
[INFO] [stdout] 494 | |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:990:39
[INFO] [stdout] |
[INFO] [stdout] 990 | 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: `index`
[INFO] [stdout] --> src/llm/openai.rs:494:24
[INFO] [stdout] |
[INFO] [stdout] 494 | |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:990:39
[INFO] [stdout] |
[INFO] [stdout] 990 | 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: `document_format`
[INFO] [stdout] --> src/document.rs:271:29
[INFO] [stdout] |
[INFO] [stdout] 271 | pub fn to_string(&self, document_format: &Option) -> String {
[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/document.rs:695:29
[INFO] [stdout] |
[INFO] [stdout] 695 | 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `document_format`
[INFO] [stdout] --> src/document.rs:271:29
[INFO] [stdout] |
[INFO] [stdout] 271 | pub fn to_string(&self, document_format: &Option) -> String {
[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/document.rs:695:29
[INFO] [stdout] |
[INFO] [stdout] 695 | 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `lineage`
[INFO] [stdout] --> src/provider/yaml.rs:224:38
[INFO] [stdout] |
[INFO] [stdout] 224 | 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:267:48
[INFO] [stdout] |
[INFO] [stdout] 267 | async fn save_schema_transformation(&self, lineage: &Lineage, schema_transformation: SchemaTransformation) -> 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:224:38
[INFO] [stdout] |
[INFO] [stdout] 224 | 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:267:48
[INFO] [stdout] |
[INFO] [stdout] 267 | async fn save_schema_transformation(&self, lineage: &Lineage, schema_transformation: SchemaTransformation) -> Result<(), Errors> {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineage`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `is_array`
[INFO] [stdout] --> src/schema_node.rs:108:9
[INFO] [stdout] |
[INFO] [stdout] 108 | is_array: bool
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_array`
[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: 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `VoidProvider` is never constructed
[INFO] [stdout] --> src/provider/mod.rs:62:12
[INFO] [stdout] |
[INFO] [stdout] 62 | pub struct VoidProvider;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant `FileReadError` is never constructed
[INFO] [stdout] --> src/types.rs:12:5
[INFO] [stdout] |
[INFO] [stdout] 11 | pub enum Errors {
[INFO] [stdout] | ------ variant in this enum
[INFO] [stdout] 12 | FileReadError,
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Errors` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `with_index_segment_increment` is never used
[INFO] [stdout] --> src/path.rs:98:12
[INFO] [stdout] |
[INFO] [stdout] 65 | impl Path {
[INFO] [stdout] | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 98 | pub fn with_index_segment_increment(&self, index: usize) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `is_array`
[INFO] [stdout] --> src/schema_node.rs:108:9
[INFO] [stdout] |
[INFO] [stdout] 108 | is_array: bool
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_array`
[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: 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `VoidProvider` is never constructed
[INFO] [stdout] --> src/provider/mod.rs:62:12
[INFO] [stdout] |
[INFO] [stdout] 62 | pub struct VoidProvider;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant `FileReadError` is never constructed
[INFO] [stdout] --> src/types.rs:12:5
[INFO] [stdout] |
[INFO] [stdout] 11 | pub enum Errors {
[INFO] [stdout] | ------ variant in this enum
[INFO] [stdout] 12 | FileReadError,
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Errors` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `with_index_segment_increment` is never used
[INFO] [stdout] --> src/path.rs:98:12
[INFO] [stdout] |
[INFO] [stdout] 65 | impl Path {
[INFO] [stdout] | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 98 | pub fn with_index_segment_increment(&self, index: usize) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s
[INFO] running `Command { std: "docker" "inspect" "3fca238633f7b63f967de7649b66ac888468df50407c3f4591c4fc0dc7dcb681", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3fca238633f7b63f967de7649b66ac888468df50407c3f4591c4fc0dc7dcb681", kill_on_drop: false }`
[INFO] [stdout] 3fca238633f7b63f967de7649b66ac888468df50407c3f4591c4fc0dc7dcb681