[INFO] cloning repository https://github.com/rohanprabhu/tarrow [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rohanprabhu/tarrow" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohanprabhu%2Ftarrow", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohanprabhu%2Ftarrow'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de343b02495d91c3fb2e212f9b5984b761c3534b [INFO] building rohanprabhu/tarrow against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohanprabhu%2Ftarrow" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rohanprabhu/tarrow [INFO] finished tweaking git repo https://github.com/rohanprabhu/tarrow [INFO] tweaked toml for git repo https://github.com/rohanprabhu/tarrow written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rohanprabhu/tarrow on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rohanprabhu/tarrow 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded migrations_macros v2.1.0 [INFO] [stderr] Downloaded mac v0.0.2 [INFO] [stderr] Downloaded pq-sys v0.4.8 [INFO] [stderr] Downloaded anyhow v1.0.83 [INFO] [stderr] Downloaded buffer v0.1.9 [INFO] [stderr] Downloaded migrations_internals v2.1.0 [INFO] [stderr] Downloaded diesel_migrations v2.1.0 [INFO] [stderr] Downloaded diesel_derives v2.1.4 [INFO] [stderr] Downloaded diesel v2.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aac9030e9191c5bca743451cd7d1e802ea59024be5613eba350a7b1a123e0c26 [INFO] running `Command { std: "docker" "start" "-a" "aac9030e9191c5bca743451cd7d1e802ea59024be5613eba350a7b1a123e0c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aac9030e9191c5bca743451cd7d1e802ea59024be5613eba350a7b1a123e0c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aac9030e9191c5bca743451cd7d1e802ea59024be5613eba350a7b1a123e0c26", kill_on_drop: false }` [INFO] [stdout] aac9030e9191c5bca743451cd7d1e802ea59024be5613eba350a7b1a123e0c26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 71c6fcb600ff92f7427043a3c363a7061d08becdec6ec8fc793c3bfce923f8cc [INFO] running `Command { std: "docker" "start" "-a" "71c6fcb600ff92f7427043a3c363a7061d08becdec6ec8fc793c3bfce923f8cc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling mac v0.0.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling buffer v0.1.9 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling diesel_derives v2.1.4 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling diesel v2.1.6 [INFO] [stderr] Compiling tarrow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `max` [INFO] [stdout] --> src/object_db/object_db.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{max, min}; [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: `QueryResult` [INFO] [stdout] --> src/object_db/object_db.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::{insert_into, PgConnection, QueryResult, RunQueryDsl}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/object_db/errors.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter, write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content_addresses` [INFO] [stdout] --> src/object_db/object_db.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | content_addresses: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content_addresses` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_info` [INFO] [stdout] --> src/object_db/object_db.rs:79:63 [INFO] [stdout] | [INFO] [stdout] 79 | Error::DatabaseError(database_error_kind, error_info) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tree` [INFO] [stdout] --> src/tarrow.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | tree: StorableTarrowTree [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjectDb` is never constructed [INFO] [stdout] --> src/object_db/object_db.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ObjectDb { [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 `sha_256` is never used [INFO] [stdout] --> src/object_db/object_db.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn sha_256(content: &Vec) -> Result, anyhow::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_blobs`, and `store_object` are never used [INFO] [stdout] --> src/object_db/object_db.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl ObjectDb { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 34 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_blobs( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn store_object( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StoreObjectRequest` is never constructed [INFO] [stdout] --> src/object_db/models.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct StoreObjectRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StoredObject` is never constructed [INFO] [stdout] --> src/object_db/models.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct StoredObject { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ObjectStorageError` is never used [INFO] [stdout] --> src/object_db/errors.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ObjectStorageError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataBlob` is never constructed [INFO] [stdout] --> src/models.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct DataBlob<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TreeEntry` is never used [INFO] [stdout] --> src/models.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum TreeEntry<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StorableTarrowTree` is never constructed [INFO] [stdout] --> src/models.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct StorableTarrowTree<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TarrowTree` is never constructed [INFO] [stdout] --> src/models.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct TarrowTree<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TarrowRef` is never constructed [INFO] [stdout] --> src/models.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct TarrowRef { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/models.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl TarrowRef { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 27 | fn from(ref_name: String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tarrow` is never constructed [INFO] [stdout] --> src/tarrow.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Tarrow { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `store` is never used [INFO] [stdout] --> src/tarrow.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Tarrow { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 11 | fn store( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TreeDb` is never constructed [INFO] [stdout] --> src/tree_db/tree_db.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct TreeDb { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ContentAddress` is never used [INFO] [stdout] --> src/core/types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub type ContentAddress = [u8; 32]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.27s [INFO] running `Command { std: "docker" "inspect" "71c6fcb600ff92f7427043a3c363a7061d08becdec6ec8fc793c3bfce923f8cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71c6fcb600ff92f7427043a3c363a7061d08becdec6ec8fc793c3bfce923f8cc", kill_on_drop: false }` [INFO] [stdout] 71c6fcb600ff92f7427043a3c363a7061d08becdec6ec8fc793c3bfce923f8cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 6eb6b5401f05793f30927347f54e0c408ff510d87f6216121f6d5bbacf200ba8 [INFO] running `Command { std: "docker" "start" "-a" "6eb6b5401f05793f30927347f54e0c408ff510d87f6216121f6d5bbacf200ba8", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling diesel v2.1.6 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling migrations_internals v2.1.0 [INFO] [stderr] Compiling migrations_macros v2.1.0 [INFO] [stderr] Compiling diesel_migrations v2.1.0 [INFO] [stderr] Compiling tarrow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `max` [INFO] [stdout] --> src/object_db/object_db.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{max, min}; [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: `QueryResult` [INFO] [stdout] --> src/object_db/object_db.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::{insert_into, PgConnection, QueryResult, RunQueryDsl}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/object_db/errors.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter, write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content_addresses` [INFO] [stdout] --> src/object_db/object_db.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | content_addresses: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content_addresses` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_info` [INFO] [stdout] --> src/object_db/object_db.rs:79:63 [INFO] [stdout] | [INFO] [stdout] 79 | Error::DatabaseError(database_error_kind, error_info) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tree` [INFO] [stdout] --> src/tarrow.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | tree: StorableTarrowTree [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjectDb` is never constructed [INFO] [stdout] --> src/object_db/object_db.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ObjectDb { [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 `sha_256` is never used [INFO] [stdout] --> src/object_db/object_db.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn sha_256(content: &Vec) -> Result, anyhow::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_blobs`, and `store_object` are never used [INFO] [stdout] --> src/object_db/object_db.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl ObjectDb { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 34 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_blobs( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn store_object( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StoreObjectRequest` is never constructed [INFO] [stdout] --> src/object_db/models.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct StoreObjectRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StoredObject` is never constructed [INFO] [stdout] --> src/object_db/models.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct StoredObject { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ObjectStorageError` is never used [INFO] [stdout] --> src/object_db/errors.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ObjectStorageError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataBlob` is never constructed [INFO] [stdout] --> src/models.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct DataBlob<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TreeEntry` is never used [INFO] [stdout] --> src/models.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum TreeEntry<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StorableTarrowTree` is never constructed [INFO] [stdout] --> src/models.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct StorableTarrowTree<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TarrowTree` is never constructed [INFO] [stdout] --> src/models.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct TarrowTree<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TarrowRef` is never constructed [INFO] [stdout] --> src/models.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct TarrowRef { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/models.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl TarrowRef { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 27 | fn from(ref_name: String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tarrow` is never constructed [INFO] [stdout] --> src/tarrow.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Tarrow { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `store` is never used [INFO] [stdout] --> src/tarrow.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Tarrow { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 11 | fn store( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TreeDb` is never constructed [INFO] [stdout] --> src/tree_db/tree_db.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct TreeDb { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ContentAddress` is never used [INFO] [stdout] --> src/core/types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub type ContentAddress = [u8; 32]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: #[sql_type] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(sql_type = Integer)]` instead [INFO] [stderr] [INFO] [stdout] warning: unused import: `TestingContext` [INFO] [stdout] --> src/tests/example_db_test.rs:11:85 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::tests::common_setup::common::{get_common_testing_context, init_test, TestingContext}; [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: `max` [INFO] [stdout] --> src/object_db/object_db.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryResult` [INFO] [stdout] --> src/object_db/object_db.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::{insert_into, PgConnection, QueryResult, RunQueryDsl}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/object_db/errors.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter, write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/tests/example_db_test.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let result = object_db.store_object( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content_addresses` [INFO] [stdout] --> src/object_db/object_db.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | content_addresses: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content_addresses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_info` [INFO] [stdout] --> src/object_db/object_db.rs:79:63 [INFO] [stdout] | [INFO] [stdout] 79 | Error::DatabaseError(database_error_kind, error_info) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tree` [INFO] [stdout] --> src/tarrow.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | tree: StorableTarrowTree [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `result` is never read [INFO] [stdout] --> src/tests/example_db_test.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 16 | struct ExampleDbTestData { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 17 | #[sql_type = "Integer"] [INFO] [stdout] 18 | pub result: i32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExampleDbTestData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIGRATIONS` is never used [INFO] [stdout] --> src/tests/common_setup.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub const MIGRATIONS: EmbeddedMigrations = embed_migrations!("./migrations"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_blobs` is never used [INFO] [stdout] --> src/object_db/object_db.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl ObjectDb { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_blobs( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metadata` is never read [INFO] [stdout] --> src/object_db/models.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct StoreObjectRequest { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 4 | pub object_data: Vec, [INFO] [stdout] 5 | pub metadata: serde_json::Value [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataBlob` is never constructed [INFO] [stdout] --> src/models.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct DataBlob<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TreeEntry` is never used [INFO] [stdout] --> src/models.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum TreeEntry<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StorableTarrowTree` is never constructed [INFO] [stdout] --> src/models.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct StorableTarrowTree<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TarrowTree` is never constructed [INFO] [stdout] --> src/models.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct TarrowTree<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TarrowRef` is never constructed [INFO] [stdout] --> src/models.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct TarrowRef { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/models.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl TarrowRef { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 27 | fn from(ref_name: String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tarrow` is never constructed [INFO] [stdout] --> src/tarrow.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Tarrow { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `store` is never used [INFO] [stdout] --> src/tarrow.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Tarrow { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 11 | fn store( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TreeDb` is never constructed [INFO] [stdout] --> src/tree_db/tree_db.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct TreeDb { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 34.95s [INFO] running `Command { std: "docker" "inspect" "6eb6b5401f05793f30927347f54e0c408ff510d87f6216121f6d5bbacf200ba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6eb6b5401f05793f30927347f54e0c408ff510d87f6216121f6d5bbacf200ba8", kill_on_drop: false }` [INFO] [stdout] 6eb6b5401f05793f30927347f54e0c408ff510d87f6216121f6d5bbacf200ba8