[INFO] cloning repository https://github.com/BoBoDai/PaperFlow [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BoBoDai/PaperFlow" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBoBoDai%2FPaperFlow", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBoBoDai%2FPaperFlow'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40ac9dc0cd3f4e9a53a2edd36437f760c0df0b76 [INFO] checking BoBoDai/PaperFlow against f10db292a3733b5c67c8da8c7661195ff4b05774 for pr-158914 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBoBoDai%2FPaperFlow" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/BoBoDai/PaperFlow [INFO] finished tweaking git repo https://github.com/BoBoDai/PaperFlow [INFO] tweaked toml for git repo https://github.com/BoBoDai/PaperFlow written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/BoBoDai/PaperFlow on toolchain f10db292a3733b5c67c8da8c7661195ff4b05774 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f10db292a3733b5c67c8da8c7661195ff4b05774" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/BoBoDai/PaperFlow 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" "+f10db292a3733b5c67c8da8c7661195ff4b05774" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] e7df1386c7e6eb933cd37b976e8168871c80efca9ce658ccaa648dbaacee1a70 [INFO] running `Command { std: "docker" "start" "e7df1386c7e6eb933cd37b976e8168871c80efca9ce658ccaa648dbaacee1a70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7df1386c7e6eb933cd37b976e8168871c80efca9ce658ccaa648dbaacee1a70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e7df1386c7e6eb933cd37b976e8168871c80efca9ce658ccaa648dbaacee1a70" "/opt/rustwide/cargo-home/bin/cargo" "+f10db292a3733b5c67c8da8c7661195ff4b05774" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7df1386c7e6eb933cd37b976e8168871c80efca9ce658ccaa648dbaacee1a70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e7df1386c7e6eb933cd37b976e8168871c80efca9ce658ccaa648dbaacee1a70" "/opt/rustwide/cargo-home/bin/cargo" "+f10db292a3733b5c67c8da8c7661195ff4b05774" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Checking tokio v1.52.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling openssl-sys v0.9.114 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling crc-catalog v2.5.0 [INFO] [stderr] Compiling openssl v0.10.78 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking rustls-pki-types v1.14.1 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking directories v6.0.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking predicates v3.1.4 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking mockall v0.13.1 [INFO] [stderr] Checking hyper v1.9.0 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.8.9 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking paperflow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Json`, `Query`, and `State` [INFO] [stdout] --> src/api/mod.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | extract::{Query, State}, [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] 7 | routing::{get, post}, [INFO] [stdout] 8 | Json, Router, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/api/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/api/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/core/config.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/modules/llm/trait_.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::core::{Error, Paper, Summary, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/modules/speech/recognizer.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::core::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/modules/speech/synthesizer.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::core::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Paper` [INFO] [stdout] --> src/modules/scheduler/job.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::core::{Paper, UserPreferences}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json`, `Query`, and `State` [INFO] [stdout] --> src/api/mod.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | extract::{Query, State}, [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] 7 | routing::{get, post}, [INFO] [stdout] 8 | Json, Router, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/api/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/api/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/core/config.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/modules/llm/trait_.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::core::{Error, Paper, Summary, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/modules/speech/recognizer.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::core::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/modules/speech/synthesizer.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::core::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Paper` [INFO] [stdout] --> src/modules/scheduler/job.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::core::{Paper, UserPreferences}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/api/handlers.rs:177:11 [INFO] [stdout] | [INFO] [stdout] 177 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/api/handlers.rs:177:11 [INFO] [stdout] | [INFO] [stdout] 177 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> src/api/handlers.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct PresetConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 27 | categories: Vec<&'static str>, [INFO] [stdout] 28 | label: &'static str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `doi` is never read [INFO] [stdout] --> src/modules/semantic_scholar/client.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 43 | struct ExternalIds { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | doi: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExternalIds` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WhisperRequest` is never constructed [INFO] [stdout] --> src/modules/speech/providers/groq_whisper.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct WhisperRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> src/api/handlers.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct PresetConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 27 | categories: Vec<&'static str>, [INFO] [stdout] 28 | label: &'static str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `doi` is never read [INFO] [stdout] --> src/modules/semantic_scholar/client.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 43 | struct ExternalIds { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | doi: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExternalIds` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WhisperRequest` is never constructed [INFO] [stdout] --> src/modules/speech/providers/groq_whisper.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct WhisperRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.35s [INFO] running `Command { std: "docker" "inspect" "e7df1386c7e6eb933cd37b976e8168871c80efca9ce658ccaa648dbaacee1a70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7df1386c7e6eb933cd37b976e8168871c80efca9ce658ccaa648dbaacee1a70", kill_on_drop: false }` [INFO] [stdout] e7df1386c7e6eb933cd37b976e8168871c80efca9ce658ccaa648dbaacee1a70