[INFO] cloning repository https://github.com/Skurvied/file-organizer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Skurvied/file-organizer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkurvied%2Ffile-organizer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkurvied%2Ffile-organizer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc6780b86993ae36b987ab3958c4a88e4d4afb9d [INFO] testing Skurvied/file-organizer against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkurvied%2Ffile-organizer" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Skurvied/file-organizer [INFO] finished tweaking git repo https://github.com/Skurvied/file-organizer [INFO] tweaked toml for git repo https://github.com/Skurvied/file-organizer written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Skurvied/file-organizer on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Skurvied/file-organizer 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a594811aaf097449d62c74ec2e8f3afa847f8fd1184871ac83f67c9f569f5252 [INFO] running `Command { std: "docker" "start" "-a" "a594811aaf097449d62c74ec2e8f3afa847f8fd1184871ac83f67c9f569f5252", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a594811aaf097449d62c74ec2e8f3afa847f8fd1184871ac83f67c9f569f5252", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a594811aaf097449d62c74ec2e8f3afa847f8fd1184871ac83f67c9f569f5252", kill_on_drop: false }` [INFO] [stdout] a594811aaf097449d62c74ec2e8f3afa847f8fd1184871ac83f67c9f569f5252 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 178d7918cf0ab3d4fbe5a1e3e846c318c16a470f03f153ca5e6cedb553f3e881 [INFO] running `Command { std: "docker" "start" "-a" "178d7918cf0ab3d4fbe5a1e3e846c318c16a470f03f153ca5e6cedb553f3e881", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling webpki-roots v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling yaml-rust2 v0.10.3 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling inotify v0.11.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling http-range-header v0.4.2 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling notify-types v2.0.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling notify v8.0.0 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling config v0.15.11 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling file-organizer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/main.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing::{info, error}; [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: `error` [INFO] [stdout] --> src/cli/mod.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::{info, warn, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/core/mod.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{info, warn, error, debug}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rule` [INFO] [stdout] --> src/core/mod.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::rules::{Rule, RuleEngine, RuleMatch}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Database` and `Rule as StoredRule` [INFO] [stdout] --> src/rules/mod.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::storage::{Database, Rule as StoredRule}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/cli/mod.rs:140:33 [INFO] [stdout] | [INFO] [stdout] 140 | async fn load_config(&self, path: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size`, `modified`, `hash`, `mime_type`, and `metadata` are never read [INFO] [stdout] --> src/core/mod.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct FileInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 49 | pub path: PathBuf, [INFO] [stdout] 50 | pub size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | pub modified: DateTime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 52 | pub hash: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | pub mime_type: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 54 | pub metadata: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `conditions`, `actions`, and `enabled` are never read [INFO] [stdout] --> src/rules/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Rule { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 11 | pub name: String, [INFO] [stdout] 12 | pub conditions: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub actions: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | pub enabled: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rule` 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: field `confidence` is never read [INFO] [stdout] --> src/rules/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct RuleMatch { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub confidence: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuleMatch` 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: methods `evaluate_condition` and `execute_action` are never used [INFO] [stdout] --> src/rules/mod.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl RuleEngine { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | fn evaluate_condition(&self, condition: &Condition, file_info: &FileInfo) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | fn execute_action(&self, action: &Action, file_info: &FileInfo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 28s [INFO] running `Command { std: "docker" "inspect" "178d7918cf0ab3d4fbe5a1e3e846c318c16a470f03f153ca5e6cedb553f3e881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "178d7918cf0ab3d4fbe5a1e3e846c318c16a470f03f153ca5e6cedb553f3e881", kill_on_drop: false }` [INFO] [stdout] 178d7918cf0ab3d4fbe5a1e3e846c318c16a470f03f153ca5e6cedb553f3e881 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03567a4a5f769fa28042e2257a4e8196d170103c70b84066062125fb204fe1fd [INFO] running `Command { std: "docker" "start" "-a" "03567a4a5f769fa28042e2257a4e8196d170103c70b84066062125fb204fe1fd", kill_on_drop: false }` [INFO] [stderr] Compiling file-organizer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/main.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing::{info, error}; [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: `error` [INFO] [stdout] --> src/cli/mod.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::{info, warn, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/core/mod.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{info, warn, error, debug}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rule` [INFO] [stdout] --> src/core/mod.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::rules::{Rule, RuleEngine, RuleMatch}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Database` and `Rule as StoredRule` [INFO] [stdout] --> src/rules/mod.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::storage::{Database, Rule as StoredRule}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/cli/mod.rs:140:33 [INFO] [stdout] | [INFO] [stdout] 140 | async fn load_config(&self, path: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size`, `modified`, `hash`, `mime_type`, and `metadata` are never read [INFO] [stdout] --> src/core/mod.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct FileInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 49 | pub path: PathBuf, [INFO] [stdout] 50 | pub size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | pub modified: DateTime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 52 | pub hash: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | pub mime_type: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 54 | pub metadata: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `conditions`, `actions`, and `enabled` are never read [INFO] [stdout] --> src/rules/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Rule { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 11 | pub name: String, [INFO] [stdout] 12 | pub conditions: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub actions: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | pub enabled: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rule` 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: field `confidence` is never read [INFO] [stdout] --> src/rules/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct RuleMatch { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub confidence: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuleMatch` 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: methods `evaluate_condition` and `execute_action` are never used [INFO] [stdout] --> src/rules/mod.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl RuleEngine { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | fn evaluate_condition(&self, condition: &Condition, file_info: &FileInfo) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | fn execute_action(&self, action: &Action, file_info: &FileInfo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.09s [INFO] running `Command { std: "docker" "inspect" "03567a4a5f769fa28042e2257a4e8196d170103c70b84066062125fb204fe1fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03567a4a5f769fa28042e2257a4e8196d170103c70b84066062125fb204fe1fd", kill_on_drop: false }` [INFO] [stdout] 03567a4a5f769fa28042e2257a4e8196d170103c70b84066062125fb204fe1fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] df1b7fc4a73303435d5d417f19ff203bac2923387c801b1e77dbfc2c25130251 [INFO] running `Command { std: "docker" "start" "-a" "df1b7fc4a73303435d5d417f19ff203bac2923387c801b1e77dbfc2c25130251", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `error` [INFO] [stderr] --> src/main.rs:3:21 [INFO] [stderr] | [INFO] [stderr] 3 | use tracing::{info, error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `error` [INFO] [stderr] --> src/cli/mod.rs:2:27 [INFO] [stderr] | [INFO] [stderr] 2 | use tracing::{info, warn, error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `warn` [INFO] [stderr] --> src/core/mod.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | use tracing::{info, warn, error, debug}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Rule` [INFO] [stderr] --> src/core/mod.rs:11:20 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::rules::{Rule, RuleEngine, RuleMatch}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Database` and `Rule as StoredRule` [INFO] [stderr] --> src/rules/mod.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::storage::{Database, Rule as StoredRule}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/cli/mod.rs:140:33 [INFO] [stderr] | [INFO] [stderr] 140 | async fn load_config(&self, path: &str) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `size`, `modified`, `hash`, `mime_type`, and `metadata` are never read [INFO] [stderr] --> src/core/mod.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 48 | pub struct FileInfo { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 49 | pub path: PathBuf, [INFO] [stderr] 50 | pub size: u64, [INFO] [stderr] | ^^^^ [INFO] [stderr] 51 | pub modified: DateTime, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 52 | pub hash: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 53 | pub mime_type: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 54 | pub metadata: HashMap, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FileInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `conditions`, `actions`, and `enabled` are never read [INFO] [stderr] --> src/rules/mod.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct Rule { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 11 | pub name: String, [INFO] [stderr] 12 | pub conditions: Vec, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 13 | pub actions: Vec, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 14 | pub enabled: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Rule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `confidence` is never read [INFO] [stderr] --> src/rules/mod.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct RuleMatch { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 21 | pub confidence: f32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RuleMatch` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `evaluate_condition` and `execute_action` are never used [INFO] [stderr] --> src/rules/mod.rs:122:8 [INFO] [stderr] | [INFO] [stderr] 50 | impl RuleEngine { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 122 | fn evaluate_condition(&self, condition: &Condition, file_info: &FileInfo) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 173 | fn execute_action(&self, action: &Action, file_info: &FileInfo) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `file-organizer` (bin "file-organizer" test) generated 10 warnings (run `cargo fix --bin "file-organizer" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/file_organizer-b480479d1c719690) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::verify_cli ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "df1b7fc4a73303435d5d417f19ff203bac2923387c801b1e77dbfc2c25130251", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df1b7fc4a73303435d5d417f19ff203bac2923387c801b1e77dbfc2c25130251", kill_on_drop: false }` [INFO] [stdout] df1b7fc4a73303435d5d417f19ff203bac2923387c801b1e77dbfc2c25130251