[INFO] cloning repository https://github.com/AzraAnimating/Stenograph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AzraAnimating/Stenograph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAzraAnimating%2FStenograph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAzraAnimating%2FStenograph'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2e411ce194950be819a339b8e70368679d5cd55 [INFO] testing AzraAnimating/Stenograph against beta-2025-04-13 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAzraAnimating%2FStenograph" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AzraAnimating/Stenograph on toolchain beta-2025-04-13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AzraAnimating/Stenograph [INFO] finished tweaking git repo https://github.com/AzraAnimating/Stenograph [INFO] tweaked toml for git repo https://github.com/AzraAnimating/Stenograph written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AzraAnimating/Stenograph 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" "+beta-2025-04-13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98f64362fef48639d9343e13829f0756f7a3b5ef8a64de9ea64a843c9fbda340 [INFO] running `Command { std: "docker" "start" "-a" "98f64362fef48639d9343e13829f0756f7a3b5ef8a64de9ea64a843c9fbda340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98f64362fef48639d9343e13829f0756f7a3b5ef8a64de9ea64a843c9fbda340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98f64362fef48639d9343e13829f0756f7a3b5ef8a64de9ea64a843c9fbda340", kill_on_drop: false }` [INFO] [stdout] 98f64362fef48639d9343e13829f0756f7a3b5ef8a64de9ea64a843c9fbda340 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4432e6d5cc32f3ef0965b0496f4153ecdc730e1e9adff4f322d1544223e1c020 [INFO] running `Command { std: "docker" "start" "-a" "4432e6d5cc32f3ef0965b0496f4153ecdc730e1e9adff4f322d1544223e1c020", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling bitflags v2.7.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling openssl-src v300.4.1+3.4.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling webpki-roots v0.26.7 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serenity v0.12.4 [INFO] [stderr] Compiling winnow v0.6.24 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling command_attr v0.5.3 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling uuid-macro-internal v1.11.1 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling postgres-protocol v0.6.7 [INFO] [stderr] Compiling uuid v1.11.1 [INFO] [stderr] Compiling postgres-types v0.2.8 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling serde_cow v0.1.2 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling deadpool v0.12.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-postgres v0.7.12 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling jwt v0.16.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling deadpool-postgres v0.14.1 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling stenograph_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Request` [INFO] [stdout] --> src/controller/tag.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{body::Body, extract::State, http::{Request, StatusCode}, response::IntoResponse, Json}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NamedValueTag` [INFO] [stdout] --> src/controller/tag.rs:3:121 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{generate_response, storage::database, structs::{state::AppState, tag::{CreateTag, CreateTagValue, NamedTag, NamedValueTag}}}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `usize` [INFO] [stdout] --> src/storage/database.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, usize, vec}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Manager` and `Object` [INFO] [stdout] --> src/storage/database.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use deadpool_postgres::{GenericClient, Manager, Object, Pool}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NamedValueTag` [INFO] [stdout] --> src/storage/database.rs:5:65 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{get_client, structs::tag::{NamedTag, NamedTagValue, NamedValueTag}}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/controller/file.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/controller/search.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn search(State(state): State, Json(search): Json) -> impl IntoResponse { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `search` [INFO] [stdout] --> src/controller/search.rs:5:57 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn search(State(state): State, Json(search): Json) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/storage/database.rs:193:33 [INFO] [stdout] | [INFO] [stdout] 193 | pub async fn get_files_with_tag(pool: &Pool, tags: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tags` [INFO] [stdout] --> src/storage/database.rs:193:46 [INFO] [stdout] | [INFO] [stdout] 193 | pub async fn get_files_with_tag(pool: &Pool, tags: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/storage/filebase.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn store_file(file: File, storage_path: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage_path` [INFO] [stdout] --> src/storage/filebase.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn store_file(file: File, storage_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | Err(err) => { //This way, we can easily check if it is there [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TagValue` is never constructed [INFO] [stdout] --> src/structs/tag.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TagValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_database` is never used [INFO] [stdout] --> src/structs/state.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 8 | impl AppState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 9 | pub async fn get_database(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search` is never used [INFO] [stdout] --> src/controller/search.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn search(State(state): State, Json(search): Json) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_files_with_tag` is never used [INFO] [stdout] --> src/storage/database.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | pub async fn get_files_with_tag(pool: &Pool, tags: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `store_file` is never used [INFO] [stdout] --> src/storage/filebase.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn store_file(file: File, storage_path: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "4432e6d5cc32f3ef0965b0496f4153ecdc730e1e9adff4f322d1544223e1c020", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4432e6d5cc32f3ef0965b0496f4153ecdc730e1e9adff4f322d1544223e1c020", kill_on_drop: false }` [INFO] [stdout] 4432e6d5cc32f3ef0965b0496f4153ecdc730e1e9adff4f322d1544223e1c020 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c40c9f7a974e8f2fea60fba1ebca75fe4f7ee80fba56e794e8981b8af44ef33 [INFO] running `Command { std: "docker" "start" "-a" "8c40c9f7a974e8f2fea60fba1ebca75fe4f7ee80fba56e794e8981b8af44ef33", kill_on_drop: false }` [INFO] [stderr] Compiling stenograph_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Request` [INFO] [stdout] --> src/controller/tag.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{body::Body, extract::State, http::{Request, StatusCode}, response::IntoResponse, Json}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NamedValueTag` [INFO] [stdout] --> src/controller/tag.rs:3:121 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{generate_response, storage::database, structs::{state::AppState, tag::{CreateTag, CreateTagValue, NamedTag, NamedValueTag}}}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `usize` [INFO] [stdout] --> src/storage/database.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, usize, vec}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Manager` and `Object` [INFO] [stdout] --> src/storage/database.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use deadpool_postgres::{GenericClient, Manager, Object, Pool}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NamedValueTag` [INFO] [stdout] --> src/storage/database.rs:5:65 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{get_client, structs::tag::{NamedTag, NamedTagValue, NamedValueTag}}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/controller/file.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/controller/search.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn search(State(state): State, Json(search): Json) -> impl IntoResponse { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `search` [INFO] [stdout] --> src/controller/search.rs:5:57 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn search(State(state): State, Json(search): Json) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/storage/database.rs:193:33 [INFO] [stdout] | [INFO] [stdout] 193 | pub async fn get_files_with_tag(pool: &Pool, tags: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tags` [INFO] [stdout] --> src/storage/database.rs:193:46 [INFO] [stdout] | [INFO] [stdout] 193 | pub async fn get_files_with_tag(pool: &Pool, tags: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/storage/filebase.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn store_file(file: File, storage_path: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage_path` [INFO] [stdout] --> src/storage/filebase.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn store_file(file: File, storage_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | Err(err) => { //This way, we can easily check if it is there [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TagValue` is never constructed [INFO] [stdout] --> src/structs/tag.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TagValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_database` is never used [INFO] [stdout] --> src/structs/state.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 8 | impl AppState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 9 | pub async fn get_database(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search` is never used [INFO] [stdout] --> src/controller/search.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn search(State(state): State, Json(search): Json) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_files_with_tag` is never used [INFO] [stdout] --> src/storage/database.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | pub async fn get_files_with_tag(pool: &Pool, tags: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `store_file` is never used [INFO] [stdout] --> src/storage/filebase.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn store_file(file: File, storage_path: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.18s [INFO] running `Command { std: "docker" "inspect" "8c40c9f7a974e8f2fea60fba1ebca75fe4f7ee80fba56e794e8981b8af44ef33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c40c9f7a974e8f2fea60fba1ebca75fe4f7ee80fba56e794e8981b8af44ef33", kill_on_drop: false }` [INFO] [stdout] 8c40c9f7a974e8f2fea60fba1ebca75fe4f7ee80fba56e794e8981b8af44ef33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 121d47ee308c984830d13ed4dba07706ce5b38117492b1b7ef6465b9aaac6d2b [INFO] running `Command { std: "docker" "start" "-a" "121d47ee308c984830d13ed4dba07706ce5b38117492b1b7ef6465b9aaac6d2b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Request` [INFO] [stderr] --> src/controller/tag.rs:1:47 [INFO] [stderr] | [INFO] [stderr] 1 | use axum::{body::Body, extract::State, http::{Request, StatusCode}, response::IntoResponse, Json}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `NamedValueTag` [INFO] [stderr] --> src/controller/tag.rs:3:121 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::{generate_response, storage::database, structs::{state::AppState, tag::{CreateTag, CreateTagValue, NamedTag, NamedValueTag}}}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `usize` [INFO] [stderr] --> src/storage/database.rs:1:33 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{collections::HashMap, usize, vec}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Manager` and `Object` [INFO] [stderr] --> src/storage/database.rs:3:40 [INFO] [stderr] | [INFO] [stderr] 3 | use deadpool_postgres::{GenericClient, Manager, Object, Pool}; [INFO] [stderr] | ^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `NamedValueTag` [INFO] [stderr] --> src/storage/database.rs:5:65 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::{get_client, structs::tag::{NamedTag, NamedTagValue, NamedValueTag}}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/controller/file.rs:141:13 [INFO] [stderr] | [INFO] [stderr] 141 | Err(err) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/controller/search.rs:5:27 [INFO] [stderr] | [INFO] [stderr] 5 | pub async fn search(State(state): State, Json(search): Json) -> impl IntoResponse { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `search` [INFO] [stderr] --> src/controller/search.rs:5:57 [INFO] [stderr] | [INFO] [stderr] 5 | pub async fn search(State(state): State, Json(search): Json) -> impl IntoResponse { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_search` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pool` [INFO] [stderr] --> src/storage/database.rs:193:33 [INFO] [stderr] | [INFO] [stderr] 193 | pub async fn get_files_with_tag(pool: &Pool, tags: Vec) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tags` [INFO] [stderr] --> src/storage/database.rs:193:46 [INFO] [stderr] | [INFO] [stderr] 193 | pub async fn get_files_with_tag(pool: &Pool, tags: Vec) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tags` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file` [INFO] [stderr] --> src/storage/filebase.rs:3:19 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn store_file(file: File, storage_path: &str) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `storage_path` [INFO] [stderr] --> src/storage/filebase.rs:3:31 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn store_file(file: File, storage_path: &str) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/main.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | Err(err) => { //This way, we can easily check if it is there [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: struct `TagValue` is never constructed [INFO] [stderr] --> src/structs/tag.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct TagValue { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `get_database` is never used [INFO] [stderr] --> src/structs/state.rs:9:18 [INFO] [stderr] | [INFO] [stderr] 8 | impl AppState { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] 9 | pub async fn get_database(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `search` is never used [INFO] [stderr] --> src/controller/search.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | pub async fn search(State(state): State, Json(search): Json) -> impl IntoResponse { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_files_with_tag` is never used [INFO] [stderr] --> src/storage/database.rs:193:14 [INFO] [stderr] | [INFO] [stderr] 193 | pub async fn get_files_with_tag(pool: &Pool, tags: Vec) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `store_file` is never used [INFO] [stderr] --> src/storage/filebase.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn store_file(file: File, storage_path: &str) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `stenograph_api` (bin "stenograph_api" test) generated 18 warnings (run `cargo fix --bin "stenograph_api" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/stenograph_api-2f4e7e833ea63185) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "121d47ee308c984830d13ed4dba07706ce5b38117492b1b7ef6465b9aaac6d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "121d47ee308c984830d13ed4dba07706ce5b38117492b1b7ef6465b9aaac6d2b", kill_on_drop: false }` [INFO] [stdout] 121d47ee308c984830d13ed4dba07706ce5b38117492b1b7ef6465b9aaac6d2b