[INFO] cloning repository https://github.com/hallu-boss/tager [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hallu-boss/tager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhallu-boss%2Ftager", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhallu-boss%2Ftager'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a651d3ed265faa054160f7a8710fe3bca45e95de [INFO] building hallu-boss/tager against master#eb171a227f9e5de5d376b6edb56b174bc8235fb3 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhallu-boss%2Ftager" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hallu-boss/tager [INFO] finished tweaking git repo https://github.com/hallu-boss/tager [INFO] tweaked toml for git repo https://github.com/hallu-boss/tager written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hallu-boss/tager on toolchain eb171a227f9e5de5d376b6edb56b174bc8235fb3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hallu-boss/tager 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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "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 potential_utf v0.1.3 [INFO] [stderr] Downloaded stable_deref_trait v1.2.1 [INFO] [stderr] Downloaded form_urlencoded v1.2.2 [INFO] [stderr] Downloaded sqlx-macros v0.7.4 [INFO] [stderr] Downloaded libredox v0.1.10 [INFO] [stderr] Downloaded crc v3.3.0 [INFO] [stderr] Downloaded fs v0.0.5 [INFO] [stderr] Downloaded security-framework-sys v2.15.0 [INFO] [stderr] Downloaded sqlx-macros-core v0.7.4 [INFO] [stderr] Downloaded clap v4.5.50 [INFO] [stderr] Downloaded schannel v0.1.28 [INFO] [stderr] Downloaded url v2.5.7 [INFO] [stderr] Downloaded indexmap v2.12.0 [INFO] [stderr] Downloaded sqlx-postgres v0.7.4 [INFO] [stderr] Downloaded idna v1.1.0 [INFO] [stderr] Downloaded sqlx v0.7.4 [INFO] [stderr] Downloaded clap_builder v4.5.50 [INFO] [stderr] Downloaded futures v0.1.31 [INFO] [stderr] Downloaded openssl-sys v0.9.110 [INFO] [stderr] Downloaded sqlx-core v0.7.4 [INFO] [stderr] Downloaded tempfile v3.23.0 [INFO] [stderr] Downloaded sqlx-mysql v0.7.4 [INFO] [stderr] Downloaded openssl v0.10.74 [INFO] [stderr] Downloaded syn v2.0.107 [INFO] [stderr] Downloaded sqlx-sqlite v0.7.4 [INFO] [stderr] Downloaded whoami v1.6.1 [INFO] [stderr] Downloaded sqlformat v0.2.6 [INFO] [stderr] Downloaded libsqlite3-sys v0.27.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffaaa71eef713ad880fe9c6b8cc4c64ba26062947539243e5b50b56aebf51f69 [INFO] running `Command { std: "docker" "start" "-a" "ffaaa71eef713ad880fe9c6b8cc4c64ba26062947539243e5b50b56aebf51f69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffaaa71eef713ad880fe9c6b8cc4c64ba26062947539243e5b50b56aebf51f69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffaaa71eef713ad880fe9c6b8cc4c64ba26062947539243e5b50b56aebf51f69", kill_on_drop: false }` [INFO] [stdout] ffaaa71eef713ad880fe9c6b8cc4c64ba26062947539243e5b50b56aebf51f69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c160ed5a00c53b897b7f0860f66d672b1b03cfd4bbdbb2f93292ce3ad2bb681e [INFO] running `Command { std: "docker" "start" "-a" "c160ed5a00c53b897b7f0860f66d672b1b03cfd4bbdbb2f93292ce3ad2bb681e", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling clap_builder v4.5.50 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling fs v0.0.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [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 openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.50 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling tager v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `DbError` is never used [INFO] [stdout] --> src/db/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum DbError { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FilesOrderBy` is never used [INFO] [stdout] --> src/db/error.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum FilesOrderBy { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_sql_clause` is never used [INFO] [stdout] --> src/db/error.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl FilesOrderBy { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 15 | pub fn to_sql_clause(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileWithTags` is never constructed [INFO] [stdout] --> src/db/error.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FileWithTags { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FilesOrderBy` is never used [INFO] [stdout] --> src/db/types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum FilesOrderBy { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_sql_clause` is never used [INFO] [stdout] --> src/db/types.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl FilesOrderBy { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 7 | pub fn to_sql_clause(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileWithTags` is never constructed [INFO] [stdout] --> src/db/types.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FileWithTags { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Database` is never constructed [INFO] [stdout] --> src/db/database.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Database { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/db/database.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl Database { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 11 | /// Create a new in-memory database instance. [INFO] [stdout] 12 | pub async fn new_in_memory() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub async fn new_file(db_path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn ensure_parent_dir_exists(db_path: &Path) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | const SHEMA: &'static str = r#" [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | async fn init_schema(&self) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub async fn add_file(&self, relative_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub async fn add_file_if_not_exists(&self, relative_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub async fn file_exists(&self, file_id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | async fn get_or_create_tag(&self, tag_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub async fn assign_tag_to_file_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub async fn get_tags_for_file>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub async fn get_untagged_files( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub async fn get_files_for_tag( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub async fn rename_tag( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub async fn remove_tag_from_file_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | pub async fn get_file_id_by_path(&self, file_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn pool(&self) -> &SqlitePool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_db` is never used [INFO] [stdout] --> src/db/tests.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | async fn setup_db() -> Database { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FilesOrderBy` is never used [INFO] [stdout] --> src/db/error.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum FilesOrderBy { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_sql_clause` is never used [INFO] [stdout] --> src/db/error.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl FilesOrderBy { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 15 | pub fn to_sql_clause(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileWithTags` is never constructed [INFO] [stdout] --> src/db/error.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FileWithTags { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Id` is never constructed [INFO] [stdout] --> src/db/types.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum FilesOrderBy { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 2 | Id, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_sql_clause` is never used [INFO] [stdout] --> src/db/types.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl FilesOrderBy { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 7 | pub fn to_sql_clause(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/db/types.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FileWithTags { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 17 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileWithTags` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_in_memory` and `add_file` are never used [INFO] [stdout] --> src/db/database.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl Database { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 11 | /// Create a new in-memory database instance. [INFO] [stdout] 12 | pub async fn new_in_memory() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub async fn add_file(&self, relative_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_db` is never used [INFO] [stdout] --> src/db/tests.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | async fn setup_db() -> Database { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_all_files`, `root_dir`, and `config_dir_name` are never used [INFO] [stdout] --> src/tager_manager/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl TagerManager { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn get_all_files(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn root_dir(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn config_dir_name() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "c160ed5a00c53b897b7f0860f66d672b1b03cfd4bbdbb2f93292ce3ad2bb681e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c160ed5a00c53b897b7f0860f66d672b1b03cfd4bbdbb2f93292ce3ad2bb681e", kill_on_drop: false }` [INFO] [stdout] c160ed5a00c53b897b7f0860f66d672b1b03cfd4bbdbb2f93292ce3ad2bb681e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce47e77af90259a6230fe37211e63c7e76e0139cede68e158ada7991739aafd4 [INFO] running `Command { std: "docker" "start" "-a" "ce47e77af90259a6230fe37211e63c7e76e0139cede68e158ada7991739aafd4", kill_on_drop: false }` [INFO] [stdout] warning: enum `DbError` is never used [INFO] [stdout] --> src/db/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum DbError { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FilesOrderBy` is never used [INFO] [stdout] --> src/db/error.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum FilesOrderBy { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tager v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `to_sql_clause` is never used [INFO] [stdout] --> src/db/error.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl FilesOrderBy { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 15 | pub fn to_sql_clause(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileWithTags` is never constructed [INFO] [stdout] --> src/db/error.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FileWithTags { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FilesOrderBy` is never used [INFO] [stdout] --> src/db/types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum FilesOrderBy { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_sql_clause` is never used [INFO] [stdout] --> src/db/types.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl FilesOrderBy { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 7 | pub fn to_sql_clause(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileWithTags` is never constructed [INFO] [stdout] --> src/db/types.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FileWithTags { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Database` is never constructed [INFO] [stdout] --> src/db/database.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Database { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/db/database.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl Database { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 11 | /// Create a new in-memory database instance. [INFO] [stdout] 12 | pub async fn new_in_memory() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub async fn new_file(db_path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn ensure_parent_dir_exists(db_path: &Path) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | const SHEMA: &'static str = r#" [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | async fn init_schema(&self) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub async fn add_file(&self, relative_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub async fn add_file_if_not_exists(&self, relative_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub async fn file_exists(&self, file_id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | async fn get_or_create_tag(&self, tag_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub async fn assign_tag_to_file_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub async fn get_tags_for_file>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub async fn get_untagged_files( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub async fn get_files_for_tag( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub async fn rename_tag( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub async fn remove_tag_from_file_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | pub async fn get_file_id_by_path(&self, file_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn pool(&self) -> &SqlitePool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_db` is never used [INFO] [stdout] --> src/db/tests.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | async fn setup_db() -> Database { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FilesOrderBy` is never used [INFO] [stdout] --> src/db/error.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum FilesOrderBy { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_sql_clause` is never used [INFO] [stdout] --> src/db/error.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl FilesOrderBy { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 15 | pub fn to_sql_clause(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileWithTags` is never constructed [INFO] [stdout] --> src/db/error.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FileWithTags { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_sql_clause` is never used [INFO] [stdout] --> src/db/types.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl FilesOrderBy { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 7 | pub fn to_sql_clause(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_file`, `ensure_parent_dir_exists`, `rename_tag`, `remove_tag_from_file_by_id`, and `get_file_id_by_path` are never used [INFO] [stdout] --> src/db/database.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl Database { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub async fn new_file(db_path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn ensure_parent_dir_exists(db_path: &Path) -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub async fn rename_tag( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub async fn remove_tag_from_file_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | pub async fn get_file_id_by_path(&self, file_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FilesOrderBy` is never used [INFO] [stdout] --> src/db/error.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum FilesOrderBy { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_sql_clause` is never used [INFO] [stdout] --> src/db/error.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl FilesOrderBy { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 15 | pub fn to_sql_clause(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileWithTags` is never constructed [INFO] [stdout] --> src/db/error.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct FileWithTags { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_sql_clause` is never used [INFO] [stdout] --> src/db/types.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl FilesOrderBy { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 7 | pub fn to_sql_clause(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_all_files`, `root_dir`, and `config_dir_name` are never used [INFO] [stdout] --> src/tager_manager/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl TagerManager { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn get_all_files(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn root_dir(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn config_dir_name() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.30s [INFO] running `Command { std: "docker" "inspect" "ce47e77af90259a6230fe37211e63c7e76e0139cede68e158ada7991739aafd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce47e77af90259a6230fe37211e63c7e76e0139cede68e158ada7991739aafd4", kill_on_drop: false }` [INFO] [stdout] ce47e77af90259a6230fe37211e63c7e76e0139cede68e158ada7991739aafd4