[INFO] cloning repository https://github.com/nbursa/inception-core [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nbursa/inception-core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnbursa%2Finception-core", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnbursa%2Finception-core'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8f4b1303c1bf25b1f6d9a8e608510d588d75abf [INFO] building nbursa/inception-core against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnbursa%2Finception-core" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nbursa/inception-core [INFO] finished tweaking git repo https://github.com/nbursa/inception-core [INFO] tweaked toml for git repo https://github.com/nbursa/inception-core written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nbursa/inception-core on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nbursa/inception-core 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prost-derive v0.12.6 [INFO] [stderr] Downloaded prost v0.12.6 [INFO] [stderr] Downloaded windows-targets v0.53.3 [INFO] [stderr] Downloaded tokio-io-timeout v1.2.1 [INFO] [stderr] Downloaded hyper-timeout v0.4.1 [INFO] [stderr] Downloaded serde_path_to_error v0.1.17 [INFO] [stderr] Downloaded prettyplease v0.2.36 [INFO] [stderr] Downloaded hyper-util v0.1.16 [INFO] [stderr] Downloaded serde_json v1.0.142 [INFO] [stderr] Downloaded rocksdb v0.21.0 [INFO] [stderr] Downloaded bindgen v0.65.1 [INFO] [stderr] Downloaded socket2 v0.6.0 [INFO] [stderr] Downloaded tonic v0.11.0 [INFO] [stderr] Downloaded cc v1.2.31 [INFO] [stderr] Downloaded bindgen v0.71.1 [INFO] [stderr] Downloaded rustls v0.23.31 [INFO] [stderr] Downloaded lz4-sys v1.11.1+lz4-1.10.0 [INFO] [stderr] Downloaded bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Downloaded tokio v1.47.1 [INFO] [stderr] Downloaded libz-sys v1.1.22 [INFO] [stderr] Downloaded librocksdb-sys v0.11.0+8.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32194d0e76cbd1c47018927b26b965cf8e402ec8fa67fd5f765e760745965275 [INFO] running `Command { std: "docker" "start" "-a" "32194d0e76cbd1c47018927b26b965cf8e402ec8fa67fd5f765e760745965275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32194d0e76cbd1c47018927b26b965cf8e402ec8fa67fd5f765e760745965275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32194d0e76cbd1c47018927b26b965cf8e402ec8fa67fd5f765e760745965275", kill_on_drop: false }` [INFO] [stdout] 32194d0e76cbd1c47018927b26b965cf8e402ec8fa67fd5f765e760745965275 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 751b879a800b06a3b1c6041bdba998399d15e2261f844d7fb77f0fb51a5875fa [INFO] running `Command { std: "docker" "start" "-a" "751b879a800b06a3b1c6041bdba998399d15e2261f844d7fb77f0fb51a5875fa", 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 smallvec v1.15.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.2 [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 tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tungstenite v0.24.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 zerotrie v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties 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 tungstenite v0.21.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling inception v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::backends::in_memory::InMemoryBackend` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::backends::in_memory::InMemoryBackend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_ws` is never used [INFO] [stdout] --> src/api/websocket.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn handle_ws( [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 `handle_socket` is never used [INFO] [stdout] --> src/api/websocket.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | async fn handle_socket(mut socket: WebSocket) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InMemoryBackend` is never constructed [INFO] [stdout] --> src/backends/in_memory.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct InMemoryBackend { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/backends/in_memory.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl InMemoryBackend { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `backend` is never read [INFO] [stdout] --> src/config/settings.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Settings { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | pub api_address: String, [INFO] [stdout] 6 | pub backend: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SemanticIndex` is never constructed [INFO] [stdout] --> src/core/indexing.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SemanticIndex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `query_subject`, and `query_tag` are never used [INFO] [stdout] --> src/core/indexing.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl SemanticIndex { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn insert(&mut self, token: &MemoryToken) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn query_subject(&self, subject: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn query_tag(&self, tag: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_tokens_by_subject` and `get_latest_frame` are never used [INFO] [stdout] --> src/core/memory_store.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait MemoryBackend: Send + Sync { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | async fn get_tokens_by_subject(&self, subject: &str) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | async fn get_latest_frame(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/memory_types.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl MemoryToken { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(subject: &str, relation: &str, object: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemoryFrame` is never constructed [INFO] [stdout] --> src/core/memory_types.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct MemoryFrame { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemoryEpisode` is never constructed [INFO] [stdout] --> src/core/memory_types.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct MemoryEpisode { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemoryResult` is never constructed [INFO] [stdout] --> src/core/memory_types.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct MemoryResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryEngine` is never constructed [INFO] [stdout] --> src/core/query_engine.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct QueryEngine; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/core/query_engine.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl QueryEngine { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 6 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn run(&self, query: &RecallQuery, tokens: &[MemoryToken]) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InceptionClient` is never constructed [INFO] [stdout] --> src/rpc_client/client.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct InceptionClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `store_token`, and `recall` are never used [INFO] [stdout] --> src/rpc_client/client.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl InceptionClient { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(base_url: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub async fn store_token(&self, token: &MemoryToken) -> Result<(), reqwest::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub async fn recall(&self, query: &RecallQuery) -> Result, reqwest::Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemoryToken` is never constructed [INFO] [stdout] --> src/rpc_client/types.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MemoryToken { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecallQuery` is never constructed [INFO] [stdout] --> src/rpc_client/types.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RecallQuery { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_json` is never used [INFO] [stdout] --> src/utils/encoding.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn to_json(data: &T) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_json` is never used [INFO] [stdout] --> src/utils/encoding.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn from_json Deserialize<'de>>(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_id` is never used [INFO] [stdout] --> src/utils/id_generator.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn generate_id() -> Uuid { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `now_utc` is never used [INFO] [stdout] --> src/utils/time.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn now_utc() -> OffsetDateTime { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_timestamp` is never used [INFO] [stdout] --> src/utils/time.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn format_timestamp(ts: OffsetDateTime) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_timestamp` is never used [INFO] [stdout] --> src/utils/time.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse_timestamp(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "751b879a800b06a3b1c6041bdba998399d15e2261f844d7fb77f0fb51a5875fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "751b879a800b06a3b1c6041bdba998399d15e2261f844d7fb77f0fb51a5875fa", kill_on_drop: false }` [INFO] [stdout] 751b879a800b06a3b1c6041bdba998399d15e2261f844d7fb77f0fb51a5875fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60c0b3fd79f9c18cc8ab6f4bfa2326cd3e25a62b6199bc229412090469dca15c [INFO] running `Command { std: "docker" "start" "-a" "60c0b3fd79f9c18cc8ab6f4bfa2326cd3e25a62b6199bc229412090469dca15c", kill_on_drop: false }` [INFO] [stderr] Compiling inception v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::backends::in_memory::InMemoryBackend` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::backends::in_memory::InMemoryBackend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_ws` is never used [INFO] [stdout] --> src/api/websocket.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn handle_ws( [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 `handle_socket` is never used [INFO] [stdout] --> src/api/websocket.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | async fn handle_socket(mut socket: WebSocket) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InMemoryBackend` is never constructed [INFO] [stdout] --> src/backends/in_memory.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct InMemoryBackend { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/backends/in_memory.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl InMemoryBackend { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `backend` is never read [INFO] [stdout] --> src/config/settings.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Settings { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | pub api_address: String, [INFO] [stdout] 6 | pub backend: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SemanticIndex` is never constructed [INFO] [stdout] --> src/core/indexing.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SemanticIndex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `query_subject`, and `query_tag` are never used [INFO] [stdout] --> src/core/indexing.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl SemanticIndex { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn insert(&mut self, token: &MemoryToken) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn query_subject(&self, subject: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn query_tag(&self, tag: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_tokens_by_subject` and `get_latest_frame` are never used [INFO] [stdout] --> src/core/memory_store.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait MemoryBackend: Send + Sync { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | async fn get_tokens_by_subject(&self, subject: &str) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | async fn get_latest_frame(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/memory_types.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl MemoryToken { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(subject: &str, relation: &str, object: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemoryFrame` is never constructed [INFO] [stdout] --> src/core/memory_types.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct MemoryFrame { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemoryEpisode` is never constructed [INFO] [stdout] --> src/core/memory_types.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct MemoryEpisode { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemoryResult` is never constructed [INFO] [stdout] --> src/core/memory_types.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct MemoryResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryEngine` is never constructed [INFO] [stdout] --> src/core/query_engine.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct QueryEngine; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/core/query_engine.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl QueryEngine { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 6 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn run(&self, query: &RecallQuery, tokens: &[MemoryToken]) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InceptionClient` is never constructed [INFO] [stdout] --> src/rpc_client/client.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct InceptionClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `store_token`, and `recall` are never used [INFO] [stdout] --> src/rpc_client/client.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl InceptionClient { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(base_url: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub async fn store_token(&self, token: &MemoryToken) -> Result<(), reqwest::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub async fn recall(&self, query: &RecallQuery) -> Result, reqwest::Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemoryToken` is never constructed [INFO] [stdout] --> src/rpc_client/types.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MemoryToken { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecallQuery` is never constructed [INFO] [stdout] --> src/rpc_client/types.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RecallQuery { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_json` is never used [INFO] [stdout] --> src/utils/encoding.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn to_json(data: &T) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_json` is never used [INFO] [stdout] --> src/utils/encoding.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn from_json Deserialize<'de>>(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_id` is never used [INFO] [stdout] --> src/utils/id_generator.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn generate_id() -> Uuid { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `now_utc` is never used [INFO] [stdout] --> src/utils/time.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn now_utc() -> OffsetDateTime { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_timestamp` is never used [INFO] [stdout] --> src/utils/time.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn format_timestamp(ts: OffsetDateTime) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_timestamp` is never used [INFO] [stdout] --> src/utils/time.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse_timestamp(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.76s [INFO] running `Command { std: "docker" "inspect" "60c0b3fd79f9c18cc8ab6f4bfa2326cd3e25a62b6199bc229412090469dca15c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60c0b3fd79f9c18cc8ab6f4bfa2326cd3e25a62b6199bc229412090469dca15c", kill_on_drop: false }` [INFO] [stdout] 60c0b3fd79f9c18cc8ab6f4bfa2326cd3e25a62b6199bc229412090469dca15c