[INFO] cloning repository https://github.com/zhufucdev/vectoria
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhufucdev/vectoria" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhufucdev%2Fvectoria", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhufucdev%2Fvectoria'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a83046bd839905b0a7df249cb4048758781bb0b4
[INFO] checking zhufucdev/vectoria against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhufucdev%2Fvectoria" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/zhufucdev/vectoria
[INFO] finished tweaking git repo https://github.com/zhufucdev/vectoria
[INFO] tweaked toml for git repo https://github.com/zhufucdev/vectoria written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zhufucdev/vectoria on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/zhufucdev/vectoria 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 26ef0b406114024d017c01e10150c71d51a382bf65a461ac66f43ff42109ecc9
[INFO] running `Command { std: "docker" "start" "-a" "26ef0b406114024d017c01e10150c71d51a382bf65a461ac66f43ff42109ecc9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "26ef0b406114024d017c01e10150c71d51a382bf65a461ac66f43ff42109ecc9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26ef0b406114024d017c01e10150c71d51a382bf65a461ac66f43ff42109ecc9", kill_on_drop: false }`
[INFO] [stdout] 26ef0b406114024d017c01e10150c71d51a382bf65a461ac66f43ff42109ecc9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 45645129ed01cd65713d586ed10a2a81a14ca9aa1282fda9774a78aca8720c06
[INFO] running `Command { std: "docker" "start" "-a" "45645129ed01cd65713d586ed10a2a81a14ca9aa1282fda9774a78aca8720c06", kill_on_drop: false }`
[INFO] [stderr]     Checking vectoria v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/vio/dbheader.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::Write;
[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 variable: `e`
[INFO] [stdout]   --> src/vio/dbheader.rs:56:19
[INFO] [stdout]    |
[INFO] [stdout] 56 |         .map_err(|e| Error::Parse(ParseErrorReason::StringDecodeFailed))?;
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `dbheader::Error` is more private than the item `db::Error::Header::0`
[INFO] [stdout]    --> src/db.rs:184:12
[INFO] [stdout]     |
[INFO] [stdout] 184 |     Header(vio::dbheader::Error),
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^ field `db::Error::Header::0` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `dbheader::Error` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/vio/dbheader.rs:26:1
[INFO] [stdout]     |
[INFO] [stdout]  26 | pub(crate) enum Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `RandomAccess` is more private than the item `Database::read`
[INFO] [stdout]    --> src/db.rs:205:5
[INFO] [stdout]     |
[INFO] [stdout] 205 |     pub fn read(name: &String, mut fd: Box<dyn RandomAccess>) -> Result<Database, Error> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `Database::read` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but trait `RandomAccess` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/vio.rs:8:1
[INFO] [stdout]     |
[INFO] [stdout]   8 | pub(crate) trait RandomAccess: Read + Write + Seek {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `RandomAccess` is more private than the item `Database::new`
[INFO] [stdout]    --> src/db.rs:224:5
[INFO] [stdout]     |
[INFO] [stdout] 224 |     pub fn new(name: &str, dim_size: u32, mut fd: Box<dyn RandomAccess>) -> Database {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `Database::new` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but trait `RandomAccess` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/vio.rs:8:1
[INFO] [stdout]     |
[INFO] [stdout]   8 | pub(crate) trait RandomAccess: Read + Write + Seek {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DbHandle` is more private than the item `ManagementSystem`
[INFO] [stdout]   --> src/ms.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct ManagementSystem<H: DbHandle> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `ManagementSystem` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but trait `DbHandle` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/ms.rs:43:1
[INFO] [stdout]    |
[INFO] [stdout] 43 | trait DbHandle {
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_bounds)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DbHandle` is more private than the item `ManagementSystem<H>`
[INFO] [stdout]   --> src/ms.rs:87:1
[INFO] [stdout]    |
[INFO] [stdout] 87 | impl<H: DbHandle> ManagementSystem<H> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation `ManagementSystem<H>` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but trait `DbHandle` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/ms.rs:43:1
[INFO] [stdout]    |
[INFO] [stdout] 43 | trait DbHandle {
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_empty`, `get_neighbors`, and `get_vertices` are never used
[INFO] [stdout]   --> src/ds/graph.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub(crate) trait Graph<Error> {
[INFO] [stdout]    |                  ----- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 13 |     fn is_empty(&self) -> bool;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     fn get_neighbors(&self, query_node: u32) -> Vec<u32>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 17 |     fn get_vertices(&self, query_node: u32) -> Vec<(u32, f32)>;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `graph` and `level` are never read
[INFO] [stdout]  --> src/ds/layer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(crate) struct HnswLayer {
[INFO] [stdout]   |                   --------- fields in this struct
[INFO] [stdout] 4 |     graph: NdGraph,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 5 |     level: u32,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_empty` is never used
[INFO] [stdout]   --> src/ds/layer.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl HnswLayer {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub(crate) fn is_empty(&self) -> bool {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `layers` are never read
[INFO] [stdout]    --> src/db.rs:176:5
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub struct Database {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] 176 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 177 |     layers: LinkedList<HnswLayer>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `gc` is never used
[INFO] [stdout]   --> src/ms.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 87 | impl<H: DbHandle> ManagementSystem<H> {
[INFO] [stdout]    | ------------------------------------- method in this implementation
[INFO] [stdout] 88 |     fn gc(&mut self) {
[INFO] [stdout]    |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/vio/dbheader.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |             String::from_str(product_name).unwrap(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]  --> src/ext/semaphore.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 |     fn lock_auto_clear_poison<'a>(&mut self) -> MutexGuard<T>;
[INFO] [stdout]   |                                   ^^^^^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   the lifetime is elided here
[INFO] [stdout]   |
[INFO] [stdout]   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]   |
[INFO] [stdout] 4 |     fn lock_auto_clear_poison<'a>(&mut self) -> MutexGuard<'_, T>;
[INFO] [stdout]   |                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]  --> src/ext/semaphore.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn lock_auto_clear_poison<'a>(&mut self) -> MutexGuard<T> {
[INFO] [stdout]   |                                   ^^^^^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   the lifetime is elided here
[INFO] [stdout]   |
[INFO] [stdout]   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn lock_auto_clear_poison<'a>(&mut self) -> MutexGuard<'_, T> {
[INFO] [stdout]   |                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `vectoria` (lib test) due to 1 previous error; 14 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/vio/dbheader.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::Write;
[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 variable: `e`
[INFO] [stdout]   --> src/vio/dbheader.rs:56:19
[INFO] [stdout]    |
[INFO] [stdout] 56 |         .map_err(|e| Error::Parse(ParseErrorReason::StringDecodeFailed))?;
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `dbheader::Error` is more private than the item `db::Error::Header::0`
[INFO] [stdout]    --> src/db.rs:184:12
[INFO] [stdout]     |
[INFO] [stdout] 184 |     Header(vio::dbheader::Error),
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^ field `db::Error::Header::0` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `dbheader::Error` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/vio/dbheader.rs:26:1
[INFO] [stdout]     |
[INFO] [stdout]  26 | pub(crate) enum Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `RandomAccess` is more private than the item `Database::read`
[INFO] [stdout]    --> src/db.rs:205:5
[INFO] [stdout]     |
[INFO] [stdout] 205 |     pub fn read(name: &String, mut fd: Box<dyn RandomAccess>) -> Result<Database, Error> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `Database::read` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but trait `RandomAccess` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/vio.rs:8:1
[INFO] [stdout]     |
[INFO] [stdout]   8 | pub(crate) trait RandomAccess: Read + Write + Seek {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `RandomAccess` is more private than the item `Database::new`
[INFO] [stdout]    --> src/db.rs:224:5
[INFO] [stdout]     |
[INFO] [stdout] 224 |     pub fn new(name: &str, dim_size: u32, mut fd: Box<dyn RandomAccess>) -> Database {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `Database::new` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but trait `RandomAccess` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/vio.rs:8:1
[INFO] [stdout]     |
[INFO] [stdout]   8 | pub(crate) trait RandomAccess: Read + Write + Seek {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DbHandle` is more private than the item `ManagementSystem`
[INFO] [stdout]   --> src/ms.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct ManagementSystem<H: DbHandle> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `ManagementSystem` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but trait `DbHandle` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/ms.rs:43:1
[INFO] [stdout]    |
[INFO] [stdout] 43 | trait DbHandle {
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_bounds)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DbHandle` is more private than the item `ManagementSystem<H>`
[INFO] [stdout]   --> src/ms.rs:87:1
[INFO] [stdout]    |
[INFO] [stdout] 87 | impl<H: DbHandle> ManagementSystem<H> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation `ManagementSystem<H>` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but trait `DbHandle` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/ms.rs:43:1
[INFO] [stdout]    |
[INFO] [stdout] 43 | trait DbHandle {
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/ds/graph.rs:7:8
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub(crate) trait Graph<Error> {
[INFO] [stdout]    |                  ----- associated items in this trait
[INFO] [stdout]  7 |     fn new() -> Self;
[INFO] [stdout]    |        ^^^
[INFO] [stdout]  8 |     fn with_capacity(capacity: u32) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     fn len(&self) -> u32;
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 12 |     fn capacity(&self) -> u32;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 13 |     fn is_empty(&self) -> bool;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 14 |
[INFO] [stdout] 15 |     fn connect(&mut self, a: u32, b: u32, distance: f32) -> Result<(), Error>;
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 16 |     fn get_neighbors(&self, query_node: u32) -> Vec<u32>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 17 |     fn get_vertices(&self, query_node: u32) -> Vec<(u32, f32)>;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 18 |     fn get_vertice(&self, a: u32, b: u32) -> Result<Option<f32>, Error>;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `len`, `capacity`, and `adjacent_matrix` are never read
[INFO] [stdout]   --> src/ds/graph.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub(crate) struct NdGraph {
[INFO] [stdout]    |                   ------- fields in this struct
[INFO] [stdout] 30 |     len: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 31 |     capacity: u32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 32 |     adjacent_matrix: Vec<Vec<f32>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ExceedBoundary` is never constructed
[INFO] [stdout]   --> src/ds/graph.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub(crate) enum NdgError {
[INFO] [stdout]    |                 -------- variant in this enum
[INFO] [stdout] 42 |     ExceedBoundary(u32, u32),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NdgError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `push_many` and `push_one` are never used
[INFO] [stdout]    --> src/ds/graph.rs:170:19
[INFO] [stdout]     |
[INFO] [stdout] 169 | impl NdGraph {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] 170 |     pub(crate) fn push_many(&mut self, count: u32) -> u32 {
[INFO] [stdout]     |                   ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     pub(crate) fn push_one(&mut self) -> u32 {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AnyCastNdGraph` is never constructed
[INFO] [stdout]    --> src/ds/graph.rs:196:8
[INFO] [stdout]     |
[INFO] [stdout] 196 | struct AnyCastNdGraph {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AcndgError` is never used
[INFO] [stdout]    --> src/ds/graph.rs:202:6
[INFO] [stdout]     |
[INFO] [stdout] 202 | enum AcndgError {
[INFO] [stdout]     |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_mapping_or_insert` is never used
[INFO] [stdout]    --> src/ds/graph.rs:207:8
[INFO] [stdout]     |
[INFO] [stdout] 206 | impl AnyCastNdGraph {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] 207 |     fn get_mapping_or_insert(&mut self, node: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `graph` and `level` are never read
[INFO] [stdout]  --> src/ds/layer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(crate) struct HnswLayer {
[INFO] [stdout]   |                   --------- fields in this struct
[INFO] [stdout] 4 |     graph: NdGraph,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 5 |     level: u32,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_empty` is never used
[INFO] [stdout]   --> src/ds/layer.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl HnswLayer {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub(crate) fn is_empty(&self) -> bool {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `count` is never used
[INFO] [stdout]   --> src/db.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl VectorHandle {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn count(&self) -> Result<u64, Error> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `layers` are never read
[INFO] [stdout]    --> src/db.rs:176:5
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub struct Database {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] 176 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 177 |     layers: LinkedList<HnswLayer>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `gc` is never used
[INFO] [stdout]   --> src/ms.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 87 | impl<H: DbHandle> ManagementSystem<H> {
[INFO] [stdout]    | ------------------------------------- method in this implementation
[INFO] [stdout] 88 |     fn gc(&mut self) {
[INFO] [stdout]    |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/vio/dbheader.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |             String::from_str(product_name).unwrap(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]  --> src/ext/semaphore.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 |     fn lock_auto_clear_poison<'a>(&mut self) -> MutexGuard<T>;
[INFO] [stdout]   |                                   ^^^^^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   the lifetime is elided here
[INFO] [stdout]   |
[INFO] [stdout]   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]   |
[INFO] [stdout] 4 |     fn lock_auto_clear_poison<'a>(&mut self) -> MutexGuard<'_, T>;
[INFO] [stdout]   |                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]  --> src/ext/semaphore.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn lock_auto_clear_poison<'a>(&mut self) -> MutexGuard<T> {
[INFO] [stdout]   |                                   ^^^^^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   the lifetime is elided here
[INFO] [stdout]   |
[INFO] [stdout]   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn lock_auto_clear_poison<'a>(&mut self) -> MutexGuard<'_, T> {
[INFO] [stdout]   |                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `vectoria` (lib) due to 1 previous error; 21 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "45645129ed01cd65713d586ed10a2a81a14ca9aa1282fda9774a78aca8720c06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "45645129ed01cd65713d586ed10a2a81a14ca9aa1282fda9774a78aca8720c06", kill_on_drop: false }`
[INFO] [stdout] 45645129ed01cd65713d586ed10a2a81a14ca9aa1282fda9774a78aca8720c06
