[INFO] cloning repository https://github.com/DocRAID/fileDRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DocRAID/fileDRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDocRAID%2FfileDRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDocRAID%2FfileDRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2db171912acefecd454516046caa2344a164f30 [INFO] checking DocRAID/fileDRust against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDocRAID%2FfileDRust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DocRAID/fileDRust [INFO] finished tweaking git repo https://github.com/DocRAID/fileDRust [INFO] tweaked toml for git repo https://github.com/DocRAID/fileDRust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DocRAID/fileDRust on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DocRAID/fileDRust 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9419816bdb352d75083cf6d7e28104f4e57e652139fbca5b3b8a1e38351078f4 [INFO] running `Command { std: "docker" "start" "-a" "9419816bdb352d75083cf6d7e28104f4e57e652139fbca5b3b8a1e38351078f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9419816bdb352d75083cf6d7e28104f4e57e652139fbca5b3b8a1e38351078f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9419816bdb352d75083cf6d7e28104f4e57e652139fbca5b3b8a1e38351078f4", kill_on_drop: false }` [INFO] [stdout] 9419816bdb352d75083cf6d7e28104f4e57e652139fbca5b3b8a1e38351078f4 [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=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a6f46a2e4d3401009df457b080b1ac2006b298550c120c0c274d0d88b1e4309 [INFO] running `Command { std: "docker" "start" "-a" "6a6f46a2e4d3401009df457b080b1ac2006b298550c120c0c274d0d88b1e4309", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling cc v1.2.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking winnow v0.6.21 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking nix v0.30.1 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling syn v2.0.93 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking clap_builder v4.5.42 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking thread-id v4.2.2 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Compiling doctest-file v1.0.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Checking ctrlc v3.4.7 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking clap v4.5.42 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ssh2 v0.9.5 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking interprocess v2.2.2 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking log4rs v1.3.0 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking fileDRust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> src/remote_sync.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{info, log, trace, warn}; [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: `ssh2::Session` [INFO] [stdout] --> src/remote_sync.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ssh2::Session; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/util.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/util.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/util.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{fs, io, thread}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config` [INFO] [stdout] --> src/main.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::configure::{get_config, Config}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> src/main.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use log::{info, log, trace, warn}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha256` [INFO] [stdout] --> src/main.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use sha2::{Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RecvError` and `Sender` [INFO] [stdout] --> src/main.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | use std::sync::mpsc::{RecvError, Sender}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/main.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | use std::sync::{mpsc, Arc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs` and `time::SystemTime` [INFO] [stdout] --> src/main.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | use std::{fs, io, path::PathBuf, time::SystemTime}; [INFO] [stdout] | ^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `walkdir::WalkDir` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use walkdir::WalkDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> src/remote_sync.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{info, log, trace, warn}; [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: `ssh2::Session` [INFO] [stdout] --> src/remote_sync.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ssh2::Session; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/util.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/util.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/util.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{fs, io, thread}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config` [INFO] [stdout] --> src/main.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::configure::{get_config, Config}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> src/main.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use log::{info, log, trace, warn}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha256` [INFO] [stdout] --> src/main.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use sha2::{Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RecvError` and `Sender` [INFO] [stdout] --> src/main.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | use std::sync::mpsc::{RecvError, Sender}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/main.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | use std::sync::{mpsc, Arc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs` and `time::SystemTime` [INFO] [stdout] --> src/main.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | use std::{fs, io, path::PathBuf, time::SystemTime}; [INFO] [stdout] | ^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `walkdir::WalkDir` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use walkdir::WalkDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/main.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use sha2::{Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::builder::TypedValueParser` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use clap::builder::TypedValueParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/main.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use sha2::{Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::builder::TypedValueParser` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use clap::builder::TypedValueParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/configure.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/configure.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `working_dir` [INFO] [stdout] --> src/util.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let working_dir = target_config [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_working_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `working_dir` [INFO] [stdout] --> src/util.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let working_dir = target_config [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_working_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action_sender` [INFO] [stdout] --> src/main.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | let (action_sender, action_receiver) = mpsc::channel::(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_action_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action_receiver` [INFO] [stdout] --> src/main.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | let (action_sender, action_receiver) = mpsc::channel::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_action_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action_sender` [INFO] [stdout] --> src/main.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | let (action_sender, action_receiver) = mpsc::channel::(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_action_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action_receiver` [INFO] [stdout] --> src/main.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | let (action_sender, action_receiver) = mpsc::channel::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_action_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target` is never read [INFO] [stdout] --> src/configure.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 8 | pub source: SourceConfig, [INFO] [stdout] 9 | pub target: TargetConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` 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: field `target` is never read [INFO] [stdout] --> src/configure.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 8 | pub source: SourceConfig, [INFO] [stdout] 9 | pub target: TargetConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` 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 `working_dir` and `pending_delete_time` are never read [INFO] [stdout] --> src/configure.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SourceConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 15 | //Local environment to detect change points [INFO] [stdout] 16 | pub working_dir: Option, //Working directory [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub pending_delete_time: Option, // min? hour? todo more explain.. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceConfig` 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 `target_ip`, `target_user`, `target_password`, and `target_working_dir` are never read [INFO] [stdout] --> src/configure.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct TargetConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 24 | //External to apply change points [INFO] [stdout] 25 | pub target_ip: Option, // target connection ip [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | pub target_user: Option, // target connection user [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 27 | pub target_password: Option, //target connection password [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub target_working_dir: Option, // Working directory [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TargetConfig` 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: variants `RenameDir`, `RenameFile`, and `Unknown` are never constructed [INFO] [stdout] --> src/remote_sync.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum ActionDetermine { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | RenameDir, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | RenameFile, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActionDetermine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `controller` is never used [INFO] [stdout] --> src/remote_sync.rs:173:4 [INFO] [stdout] | [INFO] [stdout] 173 | fn controller() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RemoteSync` is never constructed [INFO] [stdout] --> src/util.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct RemoteSync { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `connect` are never used [INFO] [stdout] --> src/util.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl RemoteSync { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 24 | pub fn new(config: Config) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn connect(&mut self) -> std::result::Result<(), Box> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `working_dir` and `pending_delete_time` are never read [INFO] [stdout] --> src/configure.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SourceConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 15 | //Local environment to detect change points [INFO] [stdout] 16 | pub working_dir: Option, //Working directory [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub pending_delete_time: Option, // min? hour? todo more explain.. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceConfig` 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 `target_ip`, `target_user`, `target_password`, and `target_working_dir` are never read [INFO] [stdout] --> src/configure.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct TargetConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 24 | //External to apply change points [INFO] [stdout] 25 | pub target_ip: Option, // target connection ip [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | pub target_user: Option, // target connection user [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 27 | pub target_password: Option, //target connection password [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub target_working_dir: Option, // Working directory [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TargetConfig` 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: variants `RenameDir`, `RenameFile`, and `Unknown` are never constructed [INFO] [stdout] --> src/remote_sync.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum ActionDetermine { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | RenameDir, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | RenameFile, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActionDetermine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `controller` is never used [INFO] [stdout] --> src/remote_sync.rs:173:4 [INFO] [stdout] | [INFO] [stdout] 173 | fn controller() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RemoteSync` is never constructed [INFO] [stdout] --> src/util.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct RemoteSync { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `connect` are never used [INFO] [stdout] --> src/util.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl RemoteSync { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 24 | pub fn new(config: Config) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn connect(&mut self) -> std::result::Result<(), Box> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | let _log_handle = log_init(r"log/fileDRust.log".parse().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | let _log_handle = log_init(r"log/fileDRust.log".parse().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fileDRust` (bin "fileDRust") due to 1 previous error; 26 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `fileDRust` (bin "fileDRust" test) due to 1 previous error; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6a6f46a2e4d3401009df457b080b1ac2006b298550c120c0c274d0d88b1e4309", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a6f46a2e4d3401009df457b080b1ac2006b298550c120c0c274d0d88b1e4309", kill_on_drop: false }` [INFO] [stdout] 6a6f46a2e4d3401009df457b080b1ac2006b298550c120c0c274d0d88b1e4309