[INFO] cloning repository https://github.com/zxckotee/mindweave [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zxckotee/mindweave" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxckotee%2Fmindweave", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxckotee%2Fmindweave'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dbb6ffd61d90a054ff29f36b7e3a5fc83667e555 [INFO] checking zxckotee/mindweave against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxckotee%2Fmindweave" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zxckotee/mindweave [INFO] finished tweaking git repo https://github.com/zxckotee/mindweave [INFO] tweaked toml for git repo https://github.com/zxckotee/mindweave written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zxckotee/mindweave on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zxckotee/mindweave 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a094249c461f45c54d3c8e3f879569e46eadd7a851628b9418404e3b44905a2a [INFO] running `Command { std: "docker" "start" "-a" "a094249c461f45c54d3c8e3f879569e46eadd7a851628b9418404e3b44905a2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a094249c461f45c54d3c8e3f879569e46eadd7a851628b9418404e3b44905a2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a094249c461f45c54d3c8e3f879569e46eadd7a851628b9418404e3b44905a2a", kill_on_drop: false }` [INFO] [stdout] a094249c461f45c54d3c8e3f879569e46eadd7a851628b9418404e3b44905a2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9a0601cfa26a2cc28684a9d4ec0f837967aec244816b9bf22312d52c61c3d6f [INFO] running `Command { std: "docker" "start" "-a" "a9a0601cfa26a2cc28684a9d4ec0f837967aec244816b9bf22312d52c61c3d6f", 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.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking brotli v8.0.1 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking webpki-roots v1.0.2 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking retain_mut v0.1.9 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rustls-native-certs v0.7.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling mindweave v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [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 tracing-attributes v0.1.30 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling neo4rs-macros v0.3.0 [INFO] [stderr] Compiling delegate v0.10.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tokio v1.47.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking deadpool v0.9.5 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Checking neo4rs v0.7.3 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking actix-http v3.11.0 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Checking actix-cors v0.6.5 [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> test_neo4j.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{info, error, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> test_neo4j.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{info, error, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/parser.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Result, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/linguistics.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::{Result, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config as GraphConfig` [INFO] [stdout] --> src/graph.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use neo4rs::{Graph, Config as GraphConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/graph.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{info, error, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/ml.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Result, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `error` [INFO] [stdout] --> src/ml.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{info, warn, debug, error}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/ml.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParsedSentence` [INFO] [stdout] --> src/rest.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::parser::{parse_sentence, ParsedSentence}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GraphNode` and `GraphRelation` [INFO] [stdout] --> src/rest.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::graph::{NeoGraph, GraphNode, GraphRelation}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/parser.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Result, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/linguistics.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::{Result, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config as GraphConfig` [INFO] [stdout] --> src/graph.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use neo4rs::{Graph, Config as GraphConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/graph.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{info, error, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/ml.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Result, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `error` [INFO] [stdout] --> src/ml.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{info, warn, debug, error}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/ml.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParsedSentence` [INFO] [stdout] --> src/rest.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::parser::{parse_sentence, ParsedSentence}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GraphNode` and `GraphRelation` [INFO] [stdout] --> src/rest.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::graph::{NeoGraph, GraphNode, GraphRelation}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/graph.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let result = client.run(query).await [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/graph.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let result = client.run(query).await [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/graph.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | let client = self.client.lock().await; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/graph.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | let client = self.client.lock().await; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> src/rest.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | let graph = app_data.graph.lock().await; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> src/rest.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | let graph = app_data.graph.lock().await; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> src/rest.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | let graph = app_data.graph.lock().await; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> src/rest.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | let graph = app_data.graph.lock().await; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/parser.rs:569:22 [INFO] [stdout] | [INFO] [stdout] 569 | pub fn import_corpus(path: &str) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/parser.rs:569:22 [INFO] [stdout] | [INFO] [stdout] 569 | pub fn import_corpus(path: &str) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `relations` [INFO] [stdout] --> src/linguistics.rs:224:49 [INFO] [stdout] | [INFO] [stdout] 224 | fn apply_syntax_rule(&self, nodes: &[Node], relations: &[Relation], rule: &LinguisticRule) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_relations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `relations` [INFO] [stdout] --> src/linguistics.rs:224:49 [INFO] [stdout] | [INFO] [stdout] 224 | fn apply_syntax_rule(&self, nodes: &[Node], relations: &[Relation], rule: &LinguisticRule) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_relations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/linguistics.rs:493:9 [INFO] [stdout] | [INFO] [stdout] 493 | let mut engine = LinguisticEngine::new(); [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: variable does not need to be mutable [INFO] [stdout] --> src/linguistics.rs:493:9 [INFO] [stdout] | [INFO] [stdout] 493 | let mut engine = LinguisticEngine::new(); [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: `model_path` [INFO] [stdout] --> src/ml.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn load_model(&mut self, model_path: &str, tokenizer_path: Option<&str>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_model_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokenizer_path` [INFO] [stdout] --> src/ml.rs:74:52 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn load_model(&mut self, model_path: &str, tokenizer_path: Option<&str>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokenizer_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/ml.rs:463:44 [INFO] [stdout] | [INFO] [stdout] 463 | pub fn contextual_reasoning(&mut self, context: &[String]) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/ml.rs:557:30 [INFO] [stdout] | [INFO] [stdout] 557 | pub fn save_model(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model_path` [INFO] [stdout] --> src/ml.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn load_model(&mut self, model_path: &str, tokenizer_path: Option<&str>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_model_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokenizer_path` [INFO] [stdout] --> src/ml.rs:74:52 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn load_model(&mut self, model_path: &str, tokenizer_path: Option<&str>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokenizer_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/ml.rs:463:44 [INFO] [stdout] | [INFO] [stdout] 463 | pub fn contextual_reasoning(&mut self, context: &[String]) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/ml.rs:557:30 [INFO] [stdout] | [INFO] [stdout] 557 | pub fn save_model(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parser.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 330 | impl Relation { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 331 | pub fn new(from: String, to: String, rel_type: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_parsing` is never used [INFO] [stdout] --> src/parser.rs:583:8 [INFO] [stdout] | [INFO] [stdout] 583 | pub fn validate_parsing(nodes: &[Node], relations: &[Relation]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_confidence_and_source`, `validate_sentence_structure`, and `check_negation` are never used [INFO] [stdout] --> src/linguistics.rs:320:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl LinguisticEngine { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 320 | pub fn get_confidence_and_source(&self, rel_type: &str, from: &Node, to: &Node) -> (f32, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | pub fn validate_sentence_structure(&self, nodes: &[Node]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn check_negation(&self, relations: &[Relation]) -> AuditResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_nodes_by_part_speech` is never used [INFO] [stdout] --> src/linguistics.rs:430:8 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn filter_nodes_by_part_speech<'a>(nodes: &'a [Node], part_speech: &str) -> Vec<&'a Node> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_relations_by_confidence` is never used [INFO] [stdout] --> src/linguistics.rs:434:8 [INFO] [stdout] | [INFO] [stdout] 434 | pub fn filter_relations_by_confidence<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_neighbors` is never used [INFO] [stdout] --> src/linguistics.rs:441:8 [INFO] [stdout] | [INFO] [stdout] 441 | pub fn find_neighbors<'a>(relations: &'a [Relation], token: &str) -> Vec<&'a str> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_relations_between` is never used [INFO] [stdout] --> src/linguistics.rs:453:8 [INFO] [stdout] | [INFO] [stdout] 453 | pub fn find_relations_between<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_rules` is never used [INFO] [stdout] --> src/linguistics.rs:468:8 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn apply_rules(nodes: &[Node]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `audit_relations` is never used [INFO] [stdout] --> src/linguistics.rs:474:8 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn audit_relations(nodes: &[Node], relations: &[Relation]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_simple_sentence` is never used [INFO] [stdout] --> src/linguistics.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 492 | pub fn check_simple_sentence(nodes: &[Node]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_agreement` is never used [INFO] [stdout] --> src/linguistics.rs:504:8 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn check_agreement(nodes: &[Node], relations: &[Relation]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GraphNode` is never constructed [INFO] [stdout] --> src/graph.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GraphNode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GraphRelation` is never constructed [INFO] [stdout] --> src/graph.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct GraphRelation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_node_by_token` and `find_relations_for_token` are never used [INFO] [stdout] --> src/graph.rs:227:18 [INFO] [stdout] | [INFO] [stdout] 38 | impl NeoGraph { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 227 | pub async fn find_node_by_token(&self, token: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub async fn find_relations_for_token(&self, token: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ml.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Transformer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn encode_sentence(&self, sentence: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn get_embeddings(&self, tokens: &[String]) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | pub fn calculate_similarity(&self, token1: &str, token2: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 431 | pub fn reasoning(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | pub fn validate_hypotheses(&mut self, relations: &[(String, String)]) -> Vec<(String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 463 | pub fn contextual_reasoning(&mut self, context: &[String]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 557 | pub fn save_model(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encode_sentence` is never used [INFO] [stdout] --> src/ml.rs:621:18 [INFO] [stdout] | [INFO] [stdout] 609 | impl AsyncTransformer { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 621 | pub async fn encode_sentence(&self, sentence: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GraphExport` is never constructed [INFO] [stdout] --> src/rest.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct GraphExport { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parser.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 330 | impl Relation { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 331 | pub fn new(from: String, to: String, rel_type: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_parsing` is never used [INFO] [stdout] --> src/parser.rs:583:8 [INFO] [stdout] | [INFO] [stdout] 583 | pub fn validate_parsing(nodes: &[Node], relations: &[Relation]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_confidence_and_source`, `validate_sentence_structure`, and `check_negation` are never used [INFO] [stdout] --> src/linguistics.rs:320:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl LinguisticEngine { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 320 | pub fn get_confidence_and_source(&self, rel_type: &str, from: &Node, to: &Node) -> (f32, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | pub fn validate_sentence_structure(&self, nodes: &[Node]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn check_negation(&self, relations: &[Relation]) -> AuditResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_nodes_by_part_speech` is never used [INFO] [stdout] --> src/linguistics.rs:430:8 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn filter_nodes_by_part_speech<'a>(nodes: &'a [Node], part_speech: &str) -> Vec<&'a Node> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_relations_by_confidence` is never used [INFO] [stdout] --> src/linguistics.rs:434:8 [INFO] [stdout] | [INFO] [stdout] 434 | pub fn filter_relations_by_confidence<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_neighbors` is never used [INFO] [stdout] --> src/linguistics.rs:441:8 [INFO] [stdout] | [INFO] [stdout] 441 | pub fn find_neighbors<'a>(relations: &'a [Relation], token: &str) -> Vec<&'a str> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_relations_between` is never used [INFO] [stdout] --> src/linguistics.rs:453:8 [INFO] [stdout] | [INFO] [stdout] 453 | pub fn find_relations_between<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_rules` is never used [INFO] [stdout] --> src/linguistics.rs:468:8 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn apply_rules(nodes: &[Node]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `audit_relations` is never used [INFO] [stdout] --> src/linguistics.rs:474:8 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn audit_relations(nodes: &[Node], relations: &[Relation]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_simple_sentence` is never used [INFO] [stdout] --> src/linguistics.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 492 | pub fn check_simple_sentence(nodes: &[Node]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_agreement` is never used [INFO] [stdout] --> src/linguistics.rs:504:8 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn check_agreement(nodes: &[Node], relations: &[Relation]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GraphNode` is never constructed [INFO] [stdout] --> src/graph.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GraphNode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GraphRelation` is never constructed [INFO] [stdout] --> src/graph.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct GraphRelation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_node_by_token` and `find_relations_for_token` are never used [INFO] [stdout] --> src/graph.rs:227:18 [INFO] [stdout] | [INFO] [stdout] 38 | impl NeoGraph { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 227 | pub async fn find_node_by_token(&self, token: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub async fn find_relations_for_token(&self, token: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ml.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Transformer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn encode_sentence(&self, sentence: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn get_embeddings(&self, tokens: &[String]) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | pub fn calculate_similarity(&self, token1: &str, token2: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 431 | pub fn reasoning(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | pub fn validate_hypotheses(&mut self, relations: &[(String, String)]) -> Vec<(String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 463 | pub fn contextual_reasoning(&mut self, context: &[String]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 557 | pub fn save_model(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encode_sentence` is never used [INFO] [stdout] --> src/ml.rs:621:18 [INFO] [stdout] | [INFO] [stdout] 609 | impl AsyncTransformer { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 621 | pub async fn encode_sentence(&self, sentence: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GraphExport` is never constructed [INFO] [stdout] --> src/rest.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct GraphExport { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 56s [INFO] running `Command { std: "docker" "inspect" "a9a0601cfa26a2cc28684a9d4ec0f837967aec244816b9bf22312d52c61c3d6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9a0601cfa26a2cc28684a9d4ec0f837967aec244816b9bf22312d52c61c3d6f", kill_on_drop: false }` [INFO] [stdout] a9a0601cfa26a2cc28684a9d4ec0f837967aec244816b9bf22312d52c61c3d6f