[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 try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxckotee%2Fmindweave" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zxckotee/mindweave on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc45de52261270c72da3c2dcaa0e12c12db34925cf3ad443a4c1cacf52248461 [INFO] running `Command { std: "docker" "start" "-a" "bc45de52261270c72da3c2dcaa0e12c12db34925cf3ad443a4c1cacf52248461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc45de52261270c72da3c2dcaa0e12c12db34925cf3ad443a4c1cacf52248461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc45de52261270c72da3c2dcaa0e12c12db34925cf3ad443a4c1cacf52248461", kill_on_drop: false }` [INFO] [stdout] bc45de52261270c72da3c2dcaa0e12c12db34925cf3ad443a4c1cacf52248461 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 943ab777742600a40e930cf46abe34db853fd634404c1ffed376b1c15d76e3b2 [INFO] running `Command { std: "docker" "start" "-a" "943ab777742600a40e930cf46abe34db853fd634404c1ffed376b1c15d76e3b2", 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 shlex v1.3.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling version_check v0.9.5 [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 siphasher v1.0.1 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling getrandom v0.3.3 [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 jobserver v0.1.33 [INFO] [stderr] Compiling lock_api v0.4.13 [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 mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [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 indexmap v2.10.0 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling retain_mut v0.1.9 [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 is-terminal v0.4.16 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling mindweave v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling zstd v0.13.3 [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 actix-web-codegen v4.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling delegate v0.10.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling neo4rs-macros v0.3.0 [INFO] [stderr] Compiling derive_more v0.99.20 [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 tokio v1.47.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling deadpool v0.9.5 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling neo4rs v0.7.3 [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: `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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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: `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] [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: `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: `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: 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 7m 40s [INFO] running `Command { std: "docker" "inspect" "943ab777742600a40e930cf46abe34db853fd634404c1ffed376b1c15d76e3b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "943ab777742600a40e930cf46abe34db853fd634404c1ffed376b1c15d76e3b2", kill_on_drop: false }` [INFO] [stdout] 943ab777742600a40e930cf46abe34db853fd634404c1ffed376b1c15d76e3b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a1a3ea9e24db323ea1e729aad057ff4663ad30a525abafeeabceddae34f6d05 [INFO] running `Command { std: "docker" "start" "-a" "7a1a3ea9e24db323ea1e729aad057ff4663ad30a525abafeeabceddae34f6d05", 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: `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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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: `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] [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: `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: `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: 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.35s [INFO] running `Command { std: "docker" "inspect" "7a1a3ea9e24db323ea1e729aad057ff4663ad30a525abafeeabceddae34f6d05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a1a3ea9e24db323ea1e729aad057ff4663ad30a525abafeeabceddae34f6d05", kill_on_drop: false }` [INFO] [stdout] 7a1a3ea9e24db323ea1e729aad057ff4663ad30a525abafeeabceddae34f6d05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d2651c095e9baa7ae3140da9d480bf84cd0dcc536c83b58f98a74f217c0a29ed [INFO] running `Command { std: "docker" "start" "-a" "d2651c095e9baa7ae3140da9d480bf84cd0dcc536c83b58f98a74f217c0a29ed", 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: `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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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: `result` [INFO] [stderr] --> src/graph.rs:172:13 [INFO] [stderr] | [INFO] [stderr] 172 | let result = client.run(query).await [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [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: `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: 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: 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" -p mindweave --tests` to apply 20 suggestions) [INFO] [stderr] warning: `mindweave` (bin "test_neo4j" test) generated 1 warning (run `cargo fix --bin "test_neo4j" -p mindweave --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mindweave-084a0a5dc9de6440) [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' (20) panicked at src/parser.rs:622:9: [INFO] [stdout] assertion failed: !result.relations.is_empty() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x650c77797062 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x650c77797062 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x650c77797062 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x650c77797062 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x650c777a7c1f - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x650c777a7c1f - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x650c77763823 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x650c77763823 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x650c7776f6f2 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x650c77774b4f - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x650c777749e1 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x650c7770f58e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x650c7770f58e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x650c7777515f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x650c7777515f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x650c77774f86 - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x650c7776f829 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x650c7775811d - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x650c777afb10 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x650c777afaec - core::panicking::panic::h2a6fe4ac012a7582 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:150:5 [INFO] [stdout] 20: 0x650c776def93 - mindweave::parser::tests::test_parse_simple_sentence::h5a6c3af9e7ce12d1 [INFO] [stdout] at /opt/rustwide/workdir/src/parser.rs:622:9 [INFO] [stdout] 21: 0x650c776df007 - mindweave::parser::tests::test_parse_simple_sentence::{{closure}}::h42a0b0b50b738297 [INFO] [stdout] at /opt/rustwide/workdir/src/parser.rs:619:36 [INFO] [stdout] 22: 0x650c776dccc6 - core::ops::function::FnOnce::call_once::h488d3fcab2577c7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x650c7770f3db - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x650c7770f3db - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 25: 0x650c777233ed - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 26: 0x650c777233ed - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 27: 0x650c777233ed - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x650c777233ed - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x650c777233ed - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x650c777233ed - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 31: 0x650c777233ed - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 32: 0x650c776fc934 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 33: 0x650c776fc934 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 34: 0x650c7770026a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 35: 0x650c7770026a - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 36: 0x650c7770026a - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 37: 0x650c7770026a - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 38: 0x650c7770026a - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x650c7770026a - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 40: 0x650c7770026a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x650c7776ac2f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 42: 0x650c7776ac2f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 43: 0x70ee3f4ccaa4 - [INFO] [stdout] 44: 0x70ee3f559a64 - 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.29s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin mindweave` [INFO] running `Command { std: "docker" "inspect" "d2651c095e9baa7ae3140da9d480bf84cd0dcc536c83b58f98a74f217c0a29ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2651c095e9baa7ae3140da9d480bf84cd0dcc536c83b58f98a74f217c0a29ed", kill_on_drop: false }` [INFO] [stdout] d2651c095e9baa7ae3140da9d480bf84cd0dcc536c83b58f98a74f217c0a29ed