[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] testing zxckotee/mindweave against beta-2025-09-21 for beta-1.91-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxckotee%2Fmindweave" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zxckotee/mindweave on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83fab016404b47b53acc6d89f5ec9ddbdb684676bae6b1ea4097636cb1ad83ea [INFO] running `Command { std: "docker" "start" "-a" "83fab016404b47b53acc6d89f5ec9ddbdb684676bae6b1ea4097636cb1ad83ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83fab016404b47b53acc6d89f5ec9ddbdb684676bae6b1ea4097636cb1ad83ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83fab016404b47b53acc6d89f5ec9ddbdb684676bae6b1ea4097636cb1ad83ea", kill_on_drop: false }` [INFO] [stdout] 83fab016404b47b53acc6d89f5ec9ddbdb684676bae6b1ea4097636cb1ad83ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55b57ba836b3d240a6c5b0915d2ba5a0add9ecafaed84203b09bfdc2bcafb1c7 [INFO] running `Command { std: "docker" "start" "-a" "55b57ba836b3d240a6c5b0915d2ba5a0add9ecafaed84203b09bfdc2bcafb1c7", 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] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling retain_mut v0.1.9 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling rustls-native-certs v0.7.3 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling mindweave v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling chrono-tz v0.8.6 [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 rustls-webpki v0.103.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling delegate v0.10.0 [INFO] [stderr] Compiling neo4rs-macros v0.3.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling futures-util v0.3.31 [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 futures-executor v0.3.31 [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 futures v0.3.31 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio v1.47.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling deadpool v0.9.5 [INFO] [stderr] Compiling neo4rs v0.7.3 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 172 | let _result = client.run(query).await [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 172 - let result = client.run(query).await [INFO] [stdout] 172 + let rest::_ = client.run(query).await [INFO] [stdout] | [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: `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: 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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 4m 06s [INFO] running `Command { std: "docker" "inspect" "55b57ba836b3d240a6c5b0915d2ba5a0add9ecafaed84203b09bfdc2bcafb1c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55b57ba836b3d240a6c5b0915d2ba5a0add9ecafaed84203b09bfdc2bcafb1c7", kill_on_drop: false }` [INFO] [stdout] 55b57ba836b3d240a6c5b0915d2ba5a0add9ecafaed84203b09bfdc2bcafb1c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23fe962c2108b71108d01dec8cf1f8861f2a5b8ce63fe1c091da6a5b5ecf7f7f [INFO] running `Command { std: "docker" "start" "-a" "23fe962c2108b71108d01dec8cf1f8861f2a5b8ce63fe1c091da6a5b5ecf7f7f", kill_on_drop: false }` [INFO] [stderr] Compiling mindweave v0.1.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 172 | let _result = client.run(query).await [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 172 - let result = client.run(query).await [INFO] [stdout] 172 + let rest::_ = client.run(query).await [INFO] [stdout] | [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: `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: 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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 `test` profile [unoptimized + debuginfo] target(s) in 7.18s [INFO] running `Command { std: "docker" "inspect" "23fe962c2108b71108d01dec8cf1f8861f2a5b8ce63fe1c091da6a5b5ecf7f7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23fe962c2108b71108d01dec8cf1f8861f2a5b8ce63fe1c091da6a5b5ecf7f7f", kill_on_drop: false }` [INFO] [stdout] 23fe962c2108b71108d01dec8cf1f8861f2a5b8ce63fe1c091da6a5b5ecf7f7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ea978301acc07eb49d28939a3b4fcfd6dca6245bbc839d387eeab28a7511b261 [INFO] running `Command { std: "docker" "start" "-a" "ea978301acc07eb49d28939a3b4fcfd6dca6245bbc839d387eeab28a7511b261", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> src/parser.rs:1:22 [INFO] [stderr] | [INFO] [stderr] 1 | use anyhow::{Result, Context}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> src/linguistics.rs:2:22 [INFO] [stderr] | [INFO] [stderr] 2 | use anyhow::{Result, Context}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Config as GraphConfig` [INFO] [stderr] --> src/graph.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | use neo4rs::{Graph, Config as GraphConfig}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `error` [INFO] [stderr] --> src/graph.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | use log::{info, error, warn}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> src/ml.rs:3:22 [INFO] [stderr] | [INFO] [stderr] 3 | use anyhow::{Result, Context}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `debug` and `error` [INFO] [stderr] --> src/ml.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | use log::{info, warn, debug, error}; [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/ml.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ParsedSentence` [INFO] [stderr] --> src/rest.rs:9:37 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::parser::{parse_sentence, ParsedSentence}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `GraphNode` and `GraphRelation` [INFO] [stderr] --> src/rest.rs:11:30 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::graph::{NeoGraph, GraphNode, GraphRelation}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/graph.rs:172:13 [INFO] [stderr] | [INFO] [stderr] 172 | let result = client.run(query).await [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 172 | let _result = client.run(query).await [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stderr] | [INFO] [stderr] 172 - let result = client.run(query).await [INFO] [stderr] 172 + let rest::_ = client.run(query).await [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `client` [INFO] [stderr] --> src/graph.rs:266:13 [INFO] [stderr] | [INFO] [stderr] 266 | let client = self.client.lock().await; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `graph` [INFO] [stderr] --> src/rest.rs:224:9 [INFO] [stderr] | [INFO] [stderr] 224 | let graph = app_data.graph.lock().await; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `graph` [INFO] [stderr] --> src/rest.rs:252:9 [INFO] [stderr] | [INFO] [stderr] 252 | let graph = app_data.graph.lock().await; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/parser.rs:569:22 [INFO] [stderr] | [INFO] [stderr] 569 | pub fn import_corpus(path: &str) -> Result> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `relations` [INFO] [stderr] --> src/linguistics.rs:224:49 [INFO] [stderr] | [INFO] [stderr] 224 | fn apply_syntax_rule(&self, nodes: &[Node], relations: &[Relation], rule: &LinguisticRule) -> Result { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_relations` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/linguistics.rs:493:9 [INFO] [stderr] | [INFO] [stderr] 493 | let mut engine = LinguisticEngine::new(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `model_path` [INFO] [stderr] --> src/ml.rs:74:34 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn load_model(&mut self, model_path: &str, tokenizer_path: Option<&str>) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_model_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tokenizer_path` [INFO] [stderr] --> src/ml.rs:74:52 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn load_model(&mut self, model_path: &str, tokenizer_path: Option<&str>) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokenizer_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/ml.rs:463:44 [INFO] [stderr] | [INFO] [stderr] 463 | pub fn contextual_reasoning(&mut self, context: &[String]) -> Result> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/ml.rs:557:30 [INFO] [stderr] | [INFO] [stderr] 557 | pub fn save_model(&self, path: &str) -> Result<()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/parser.rs:331:12 [INFO] [stderr] | [INFO] [stderr] 330 | impl Relation { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 331 | pub fn new(from: String, to: String, rel_type: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `validate_parsing` is never used [INFO] [stderr] --> src/parser.rs:583:8 [INFO] [stderr] | [INFO] [stderr] 583 | pub fn validate_parsing(nodes: &[Node], relations: &[Relation]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_confidence_and_source`, `validate_sentence_structure`, and `check_negation` are never used [INFO] [stderr] --> src/linguistics.rs:320:12 [INFO] [stderr] | [INFO] [stderr] 65 | impl LinguisticEngine { [INFO] [stderr] | --------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 320 | pub fn get_confidence_and_source(&self, rel_type: &str, from: &Node, to: &Node) -> (f32, String) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 366 | pub fn validate_sentence_structure(&self, nodes: &[Node]) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 395 | pub fn check_negation(&self, relations: &[Relation]) -> AuditResult { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `filter_nodes_by_part_speech` is never used [INFO] [stderr] --> src/linguistics.rs:430:8 [INFO] [stderr] | [INFO] [stderr] 430 | pub fn filter_nodes_by_part_speech<'a>(nodes: &'a [Node], part_speech: &str) -> Vec<&'a Node> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `filter_relations_by_confidence` is never used [INFO] [stderr] --> src/linguistics.rs:434:8 [INFO] [stderr] | [INFO] [stderr] 434 | pub fn filter_relations_by_confidence<'a>( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `find_neighbors` is never used [INFO] [stderr] --> src/linguistics.rs:441:8 [INFO] [stderr] | [INFO] [stderr] 441 | pub fn find_neighbors<'a>(relations: &'a [Relation], token: &str) -> Vec<&'a str> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `find_relations_between` is never used [INFO] [stderr] --> src/linguistics.rs:453:8 [INFO] [stderr] | [INFO] [stderr] 453 | pub fn find_relations_between<'a>( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `apply_rules` is never used [INFO] [stderr] --> src/linguistics.rs:468:8 [INFO] [stderr] | [INFO] [stderr] 468 | pub fn apply_rules(nodes: &[Node]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `audit_relations` is never used [INFO] [stderr] --> src/linguistics.rs:474:8 [INFO] [stderr] | [INFO] [stderr] 474 | pub fn audit_relations(nodes: &[Node], relations: &[Relation]) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `check_simple_sentence` is never used [INFO] [stderr] --> src/linguistics.rs:492:8 [INFO] [stderr] | [INFO] [stderr] 492 | pub fn check_simple_sentence(nodes: &[Node]) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `check_agreement` is never used [INFO] [stderr] --> src/linguistics.rs:504:8 [INFO] [stderr] | [INFO] [stderr] 504 | pub fn check_agreement(nodes: &[Node], relations: &[Relation]) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `GraphNode` is never constructed [INFO] [stderr] --> src/graph.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct GraphNode { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `GraphRelation` is never constructed [INFO] [stderr] --> src/graph.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | pub struct GraphRelation { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `find_node_by_token` and `find_relations_for_token` are never used [INFO] [stderr] --> src/graph.rs:227:18 [INFO] [stderr] | [INFO] [stderr] 38 | impl NeoGraph { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 227 | pub async fn find_node_by_token(&self, token: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 246 | pub async fn find_relations_for_token(&self, token: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/ml.rs:257:12 [INFO] [stderr] | [INFO] [stderr] 45 | impl Transformer { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 257 | pub fn encode_sentence(&self, sentence: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 266 | pub fn get_embeddings(&self, tokens: &[String]) -> Result>> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 326 | pub fn calculate_similarity(&self, token1: &str, token2: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 431 | pub fn reasoning(&self) -> Vec { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 442 | pub fn validate_hypotheses(&mut self, relations: &[(String, String)]) -> Vec<(String, String)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 463 | pub fn contextual_reasoning(&mut self, context: &[String]) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 557 | pub fn save_model(&self, path: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `encode_sentence` is never used [INFO] [stderr] --> src/ml.rs:621:18 [INFO] [stderr] | [INFO] [stderr] 609 | impl AsyncTransformer { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 621 | pub async fn encode_sentence(&self, sentence: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `GraphExport` is never constructed [INFO] [stderr] --> src/rest.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 47 | pub struct GraphExport { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `warn` [INFO] [stderr] --> test_neo4j.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | use log::{info, error, warn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `mindweave` (bin "mindweave" test) generated 37 warnings (run `cargo fix --bin "mindweave" --tests` to apply 11 suggestions) [INFO] [stderr] warning: `mindweave` (bin "test_neo4j" test) generated 1 warning (run `cargo fix --bin "test_neo4j" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mindweave-3f8bcc2e9ff46e48) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test parser::tests::test_parse_complex_sentence ... ok [INFO] [stdout] test parser::tests::test_parse_simple_sentence ... FAILED [INFO] [stdout] test parser::tests::test_empty_sentence ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- parser::tests::test_parse_simple_sentence stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'parser::tests::test_parse_simple_sentence' (28) panicked at src/parser.rs:622:9: [INFO] [stdout] assertion failed: !result.relations.is_empty() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x651bde9c6aa2 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x651bde9c6aa2 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x651bde9c6aa2 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x651bde9c6aa2 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x651bde9d794f - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x651bde9d794f - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x651bde992e41 - std::io::default_write_fmt::h69967ac0ba93195f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x651bde992e41 - std::io::Write::write_fmt::h8db9396209deaa1c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x651bde99eea2 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x651bde9a436f - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x651bde9a4201 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x651bde93946e - as core::ops::function::Fn>::call::h18383b2e29377420 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x651bde93946e - test::test_main_with_exit_callback::{{closure}}::h272d7ef99aef06dc [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x651bde9a4a2f - as core::ops::function::Fn>::call::h6dba6e441651a0d1 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x651bde9a4a2f - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x651bde9a4856 - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x651bde99efd9 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x651bde98731d - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x651bde9df8c0 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x651bde9df89c - core::panicking::panic::h355c5fec13755e30 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x651bde916703 - mindweave::parser::tests::test_parse_simple_sentence::h5ecec8d49ce29c6a [INFO] [stdout] at /opt/rustwide/workdir/src/parser.rs:622:9 [INFO] [stdout] 21: 0x651bde916777 - mindweave::parser::tests::test_parse_simple_sentence::{{closure}}::h5a46434c0d3c80c8 [INFO] [stdout] at /opt/rustwide/workdir/src/parser.rs:619:36 [INFO] [stdout] 22: 0x651bde909436 - core::ops::function::FnOnce::call_once::h326acbd7f14c7db3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x651bde93922b - core::ops::function::FnOnce::call_once::h70887edf07a630ba [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x651bde93922b - test::__rust_begin_short_backtrace::h27763c4cbbdb8601 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:663:18 [INFO] [stdout] 25: 0x651bde94ee95 - test::run_test_in_process::{{closure}}::h4dc8bc6d5e3924d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:74 [INFO] [stdout] 26: 0x651bde94ee95 - as core::ops::function::FnOnce<()>>::call_once::h75905e8ffe81974f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 27: 0x651bde94ee95 - std::panicking::catch_unwind::do_call::h0bc60366ba66eba5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x651bde94ee95 - std::panicking::catch_unwind::hae1ec7bf94407afa [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x651bde94ee95 - std::panic::catch_unwind::h0f4ff4773d84d3cd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x651bde94ee95 - test::run_test_in_process::h03fbc77ae48b3f10 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:27 [INFO] [stdout] 31: 0x651bde94ee95 - test::run_test::{{closure}}::h83476a9c453dc4d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:607:43 [INFO] [stdout] 32: 0x651bde925684 - test::run_test::{{closure}}::h515482ad1e7fe7de [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:637:41 [INFO] [stdout] 33: 0x651bde925684 - std::sys::backtrace::__rust_begin_short_backtrace::hed09f6ac5fe9d647 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 34: 0x651bde928f4a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h988e2cd969319888 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x651bde928f4a - as core::ops::function::FnOnce<()>>::call_once::hd70e28dc46ec20be [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 36: 0x651bde928f4a - std::panicking::catch_unwind::do_call::hdc29e11311eb7655 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 37: 0x651bde928f4a - std::panicking::catch_unwind::h9e402d6a96fef41c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 38: 0x651bde928f4a - std::panic::catch_unwind::h9213c0c54aec70e0 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x651bde928f4a - std::thread::Builder::spawn_unchecked_::{{closure}}::h6262965869ed2b87 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x651bde928f4a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h05c05ed02619e462 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x651bde99a13f - as core::ops::function::FnOnce>::call_once::h2044e71c41d3958a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 42: 0x651bde99a13f - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 43: 0x76fdcbaf2aa4 - [INFO] [stdout] 44: 0x76fdcbb7fa34 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] parser::tests::test_parse_simple_sentence [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin mindweave` [INFO] running `Command { std: "docker" "inspect" "ea978301acc07eb49d28939a3b4fcfd6dca6245bbc839d387eeab28a7511b261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea978301acc07eb49d28939a3b4fcfd6dca6245bbc839d387eeab28a7511b261", kill_on_drop: false }` [INFO] [stdout] ea978301acc07eb49d28939a3b4fcfd6dca6245bbc839d387eeab28a7511b261