[INFO] cloning repository https://github.com/lxndio/paperless-asn-index [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lxndio/paperless-asn-index" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flxndio%2Fpaperless-asn-index", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flxndio%2Fpaperless-asn-index'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5719fd05579bf9844627f82990bdc5b4412dc2b3 [INFO] checking lxndio/paperless-asn-index against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flxndio%2Fpaperless-asn-index" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lxndio/paperless-asn-index on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lxndio/paperless-asn-index [INFO] finished tweaking git repo https://github.com/lxndio/paperless-asn-index [INFO] tweaked toml for git repo https://github.com/lxndio/paperless-asn-index written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lxndio/paperless-asn-index 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded maud v0.26.0 [INFO] [stderr] Downloaded maud_macros v0.26.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26fd3e68f7f2ca7914ed85f2b85d77b161a7ce8f1ac07214aa7b0d124b772df3 [INFO] running `Command { std: "docker" "start" "-a" "26fd3e68f7f2ca7914ed85f2b85d77b161a7ce8f1ac07214aa7b0d124b772df3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26fd3e68f7f2ca7914ed85f2b85d77b161a7ce8f1ac07214aa7b0d124b772df3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26fd3e68f7f2ca7914ed85f2b85d77b161a7ce8f1ac07214aa7b0d124b772df3", kill_on_drop: false }` [INFO] [stdout] 26fd3e68f7f2ca7914ed85f2b85d77b161a7ce8f1ac07214aa7b0d124b772df3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfdd333d7bf8b769444a7b739f01e5d99b7a48dbecf441026a3baceef53828d5 [INFO] running `Command { std: "docker" "start" "-a" "cfdd333d7bf8b769444a7b739f01e5d99b7a48dbecf441026a3baceef53828d5", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling zstd-safe v7.0.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Compiling ahash v0.8.8 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking deranged v0.3.9 [INFO] [stderr] Compiling cc v1.0.89 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling openssl-src v300.2.3+3.2.1 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking brotli v3.4.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking time v0.3.30 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Checking actix-server v2.3.0 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking env_logger v0.11.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-router v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling maud_macros v0.26.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking zstd v0.13.0 [INFO] [stderr] Checking actix-http v3.6.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-web v4.5.1 [INFO] [stderr] Checking actix-files v0.6.5 [INFO] [stderr] Checking maud v0.26.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.24 [INFO] [stderr] Checking paperless-asn-index v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/endpoints.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer` [INFO] [stdout] --> src/endpoints.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{get, post, web, App, HttpServer, Result}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/endpoints.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | documents::{self, group_documents}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer`, `get`, `post`, `web` [INFO] [stdout] --> src/paperless/mod.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::{get, post, web, App, HttpServer, Result}; [INFO] [stdout] | ^^^ ^^^^ ^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Markup`, `html` [INFO] [stdout] --> src/paperless/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use maud::{html, Markup}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/paperless/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result`, `get`, `post`, `web` [INFO] [stdout] --> src/main.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::{get, post, web, App, HttpServer, Result}; [INFO] [stdout] | ^^^ ^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Markup`, `html` [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use maud::{html, Markup}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/endpoints.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer` [INFO] [stdout] --> src/endpoints.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{get, post, web, App, HttpServer, Result}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/endpoints.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | documents::{self, group_documents}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer`, `get`, `post`, `web` [INFO] [stdout] --> src/paperless/mod.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::{get, post, web, App, HttpServer, Result}; [INFO] [stdout] | ^^^ ^^^^ ^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Markup`, `html` [INFO] [stdout] --> src/paperless/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use maud::{html, Markup}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/paperless/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result`, `get`, `post`, `web` [INFO] [stdout] --> src/main.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::{get, post, web, App, HttpServer, Result}; [INFO] [stdout] | ^^^ ^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Markup`, `html` [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use maud::{html, Markup}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PaperlessType` is never used [INFO] [stdout] --> src/paperless/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum PaperlessType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `count`, `previous`, and `all` are never read [INFO] [stdout] --> src/paperless/correspondents.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Correspondents { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 5 | pub count: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | pub next: Option, [INFO] [stdout] 7 | pub previous: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub all: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Correspondents` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `slug` is never read [INFO] [stdout] --> src/paperless/correspondents.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Correspondent { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 14 | pub id: u64, [INFO] [stdout] 15 | pub slug: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Correspondent` 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: fields `count`, `previous`, and `all` are never read [INFO] [stdout] --> src/paperless/documents.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Documents { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | pub count: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub next: Option, [INFO] [stdout] 9 | pub previous: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub all: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Documents` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `document_type`, `storage_path`, `content`, `created`, `modified`, and `added` are never read [INFO] [stdout] --> src/paperless/documents.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Document { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub document_type: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub storage_path: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | pub title: String, [INFO] [stdout] 21 | pub content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | pub tags: Vec, [INFO] [stdout] 23 | pub created: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | pub created_date: String, [INFO] [stdout] 25 | pub modified: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | pub added: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Document` 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: fields `score`, `highlights`, `note_highlights`, and `rank` are never read [INFO] [stdout] --> src/paperless/documents.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct SearchHit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 40 | pub score: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | pub highlights: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 42 | pub note_highlights: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub rank: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchHit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PaperlessType` is never used [INFO] [stdout] --> src/paperless/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum PaperlessType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `count`, `previous`, and `all` are never read [INFO] [stdout] --> src/paperless/correspondents.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Correspondents { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 5 | pub count: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | pub next: Option, [INFO] [stdout] 7 | pub previous: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub all: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Correspondents` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `slug` is never read [INFO] [stdout] --> src/paperless/correspondents.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Correspondent { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 14 | pub id: u64, [INFO] [stdout] 15 | pub slug: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Correspondent` 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: fields `count`, `previous`, and `all` are never read [INFO] [stdout] --> src/paperless/documents.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Documents { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | pub count: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub next: Option, [INFO] [stdout] 9 | pub previous: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub all: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Documents` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `document_type`, `storage_path`, `content`, `created`, `modified`, and `added` are never read [INFO] [stdout] --> src/paperless/documents.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Document { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub document_type: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub storage_path: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | pub title: String, [INFO] [stdout] 21 | pub content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | pub tags: Vec, [INFO] [stdout] 23 | pub created: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | pub created_date: String, [INFO] [stdout] 25 | pub modified: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | pub added: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Document` 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: fields `score`, `highlights`, `note_highlights`, and `rank` are never read [INFO] [stdout] --> src/paperless/documents.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct SearchHit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 40 | pub score: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | pub highlights: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 42 | pub note_highlights: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub rank: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchHit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 09s [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cfdd333d7bf8b769444a7b739f01e5d99b7a48dbecf441026a3baceef53828d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfdd333d7bf8b769444a7b739f01e5d99b7a48dbecf441026a3baceef53828d5", kill_on_drop: false }` [INFO] [stdout] cfdd333d7bf8b769444a7b739f01e5d99b7a48dbecf441026a3baceef53828d5 [INFO] checking lxndio/paperless-asn-index against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flxndio%2Fpaperless-asn-index" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lxndio/paperless-asn-index on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lxndio/paperless-asn-index [INFO] finished tweaking git repo https://github.com/lxndio/paperless-asn-index [INFO] tweaked toml for git repo https://github.com/lxndio/paperless-asn-index written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lxndio/paperless-asn-index 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 452d799e3be5b86bfb019c70d9e711b9ebb14ebba645097426885fe6091af380 [INFO] running `Command { std: "docker" "start" "-a" "452d799e3be5b86bfb019c70d9e711b9ebb14ebba645097426885fe6091af380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "452d799e3be5b86bfb019c70d9e711b9ebb14ebba645097426885fe6091af380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "452d799e3be5b86bfb019c70d9e711b9ebb14ebba645097426885fe6091af380", kill_on_drop: false }` [INFO] [stdout] 452d799e3be5b86bfb019c70d9e711b9ebb14ebba645097426885fe6091af380 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc19b8f3cafffea84900a5b2025cab9e45534d0e38550291170d252e54d1e39e [INFO] running `Command { std: "docker" "start" "-a" "dc19b8f3cafffea84900a5b2025cab9e45534d0e38550291170d252e54d1e39e", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling zstd-safe v7.0.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Compiling ahash v0.8.8 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Checking deranged v0.3.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Compiling cc v1.0.89 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking brotli v3.4.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling openssl-src v300.2.3+3.2.1 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking time v0.3.30 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Checking actix-server v2.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling maud_macros v0.26.0 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Compiling actix-router v0.5.2 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Checking zstd v0.13.0 [INFO] [stderr] Checking actix-http v3.6.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-web v4.5.1 [INFO] [stderr] Checking maud v0.26.0 [INFO] [stderr] Checking actix-files v0.6.5 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.24 [INFO] [stderr] Checking paperless-asn-index v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/endpoints.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer` [INFO] [stdout] --> src/endpoints.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{get, post, web, App, HttpServer, Result}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/endpoints.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | documents::{self, group_documents}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer`, `get`, `post`, `web` [INFO] [stdout] --> src/paperless/mod.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::{get, post, web, App, HttpServer, Result}; [INFO] [stdout] | ^^^ ^^^^ ^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Markup`, `html` [INFO] [stdout] --> src/paperless/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use maud::{html, Markup}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/paperless/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result`, `get`, `post`, `web` [INFO] [stdout] --> src/main.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::{get, post, web, App, HttpServer, Result}; [INFO] [stdout] | ^^^ ^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Markup`, `html` [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use maud::{html, Markup}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/endpoints.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer` [INFO] [stdout] --> src/endpoints.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{get, post, web, App, HttpServer, Result}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/endpoints.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | documents::{self, group_documents}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer`, `get`, `post`, `web` [INFO] [stdout] --> src/paperless/mod.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::{get, post, web, App, HttpServer, Result}; [INFO] [stdout] | ^^^ ^^^^ ^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Markup`, `html` [INFO] [stdout] --> src/paperless/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use maud::{html, Markup}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/paperless/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result`, `get`, `post`, `web` [INFO] [stdout] --> src/main.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::{get, post, web, App, HttpServer, Result}; [INFO] [stdout] | ^^^ ^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Markup`, `html` [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use maud::{html, Markup}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PaperlessType` is never used [INFO] [stdout] --> src/paperless/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum PaperlessType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `count`, `previous`, and `all` are never read [INFO] [stdout] --> src/paperless/correspondents.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Correspondents { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 5 | pub count: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | pub next: Option, [INFO] [stdout] 7 | pub previous: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub all: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Correspondents` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `slug` is never read [INFO] [stdout] --> src/paperless/correspondents.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Correspondent { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 14 | pub id: u64, [INFO] [stdout] 15 | pub slug: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Correspondent` 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: fields `count`, `previous`, and `all` are never read [INFO] [stdout] --> src/paperless/documents.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Documents { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | pub count: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub next: Option, [INFO] [stdout] 9 | pub previous: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub all: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Documents` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `document_type`, `storage_path`, `content`, `created`, `modified`, and `added` are never read [INFO] [stdout] --> src/paperless/documents.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Document { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub document_type: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub storage_path: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | pub title: String, [INFO] [stdout] 21 | pub content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | pub tags: Vec, [INFO] [stdout] 23 | pub created: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | pub created_date: String, [INFO] [stdout] 25 | pub modified: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | pub added: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Document` 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: fields `score`, `highlights`, `note_highlights`, and `rank` are never read [INFO] [stdout] --> src/paperless/documents.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct SearchHit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 40 | pub score: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | pub highlights: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 42 | pub note_highlights: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub rank: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchHit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PaperlessType` is never used [INFO] [stdout] --> src/paperless/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum PaperlessType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `count`, `previous`, and `all` are never read [INFO] [stdout] --> src/paperless/correspondents.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Correspondents { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 5 | pub count: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | pub next: Option, [INFO] [stdout] 7 | pub previous: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub all: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Correspondents` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `slug` is never read [INFO] [stdout] --> src/paperless/correspondents.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Correspondent { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 14 | pub id: u64, [INFO] [stdout] 15 | pub slug: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Correspondent` 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: fields `count`, `previous`, and `all` are never read [INFO] [stdout] --> src/paperless/documents.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Documents { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | pub count: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub next: Option, [INFO] [stdout] 9 | pub previous: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub all: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Documents` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `document_type`, `storage_path`, `content`, `created`, `modified`, and `added` are never read [INFO] [stdout] --> src/paperless/documents.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Document { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub document_type: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub storage_path: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | pub title: String, [INFO] [stdout] 21 | pub content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | pub tags: Vec, [INFO] [stdout] 23 | pub created: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | pub created_date: String, [INFO] [stdout] 25 | pub modified: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | pub added: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Document` 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: fields `score`, `highlights`, `note_highlights`, and `rank` are never read [INFO] [stdout] --> src/paperless/documents.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct SearchHit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 40 | pub score: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | pub highlights: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 42 | pub note_highlights: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub rank: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchHit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 20s [INFO] running `Command { std: "docker" "inspect" "dc19b8f3cafffea84900a5b2025cab9e45534d0e38550291170d252e54d1e39e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc19b8f3cafffea84900a5b2025cab9e45534d0e38550291170d252e54d1e39e", kill_on_drop: false }` [INFO] [stdout] dc19b8f3cafffea84900a5b2025cab9e45534d0e38550291170d252e54d1e39e