[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#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [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 c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prost v0.12.6 [INFO] [stderr] Downloaded prost-derive v0.12.6 [INFO] [stderr] Downloaded axum-core v0.3.4 [INFO] [stderr] Downloaded tokio-io-timeout v1.2.1 [INFO] [stderr] Downloaded windows-registry v0.5.3 [INFO] [stderr] Downloaded axum v0.6.20 [INFO] [stderr] Downloaded bindgen v0.71.1 [INFO] [stderr] Downloaded rocksdb v0.21.0 [INFO] [stderr] Downloaded cc v1.2.31 [INFO] [stderr] Downloaded rustls-webpki v0.103.4 [INFO] [stderr] Downloaded rustls v0.23.31 [INFO] [stderr] Downloaded lz4-sys v1.11.1+lz4-1.10.0 [INFO] [stderr] Downloaded bindgen v0.65.1 [INFO] [stderr] Downloaded reqwest v0.12.22 [INFO] [stderr] Downloaded axum v0.7.9 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94c5c7ec67c073866788df11154d60bc4c9ef587245e160993a089db89efc67e [INFO] running `Command { std: "docker" "start" "-a" "94c5c7ec67c073866788df11154d60bc4c9ef587245e160993a089db89efc67e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94c5c7ec67c073866788df11154d60bc4c9ef587245e160993a089db89efc67e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94c5c7ec67c073866788df11154d60bc4c9ef587245e160993a089db89efc67e", kill_on_drop: false }` [INFO] [stdout] 94c5c7ec67c073866788df11154d60bc4c9ef587245e160993a089db89efc67e [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75ce4d7762de5f35b66f4d852d2c9a5c5ab9d72ba3878a716c624c1d06a23b69 [INFO] running `Command { std: "docker" "start" "-a" "75ce4d7762de5f35b66f4d852d2c9a5c5ab9d72ba3878a716c624c1d06a23b69", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling synstructure v0.13.2 [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 socket2 v0.6.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.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 encoding_rs v0.8.35 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [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 46s [INFO] running `Command { std: "docker" "inspect" "75ce4d7762de5f35b66f4d852d2c9a5c5ab9d72ba3878a716c624c1d06a23b69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75ce4d7762de5f35b66f4d852d2c9a5c5ab9d72ba3878a716c624c1d06a23b69", kill_on_drop: false }` [INFO] [stdout] 75ce4d7762de5f35b66f4d852d2c9a5c5ab9d72ba3878a716c624c1d06a23b69 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 815073600e99d3cca4010faab4433e8f256cadf99ed10878df9d135c41f42736 [INFO] running `Command { std: "docker" "start" "-a" "815073600e99d3cca4010faab4433e8f256cadf99ed10878df9d135c41f42736", 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.59s [INFO] running `Command { std: "docker" "inspect" "815073600e99d3cca4010faab4433e8f256cadf99ed10878df9d135c41f42736", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "815073600e99d3cca4010faab4433e8f256cadf99ed10878df9d135c41f42736", kill_on_drop: false }` [INFO] [stdout] 815073600e99d3cca4010faab4433e8f256cadf99ed10878df9d135c41f42736