[INFO] cloning repository https://github.com/HristoKolev/docker-backup [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HristoKolev/docker-backup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHristoKolev%2Fdocker-backup", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHristoKolev%2Fdocker-backup'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ddeebad5e5e8ec03cc710c4f0edeb878b7ba966 [INFO] testing HristoKolev/docker-backup/2ddeebad5e5e8ec03cc710c4f0edeb878b7ba966 against master#d7bd9cd469ff6871420007f091ef52fc32d2ca99 for pr-121417 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHristoKolev%2Fdocker-backup" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HristoKolev/docker-backup on toolchain d7bd9cd469ff6871420007f091ef52fc32d2ca99 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HristoKolev/docker-backup [INFO] finished tweaking git repo https://github.com/HristoKolev/docker-backup [INFO] tweaked toml for git repo https://github.com/HristoKolev/docker-backup written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HristoKolev/docker-backup 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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded reqwest v0.9.19 [INFO] [stderr] Downloaded safemem v0.3.1 [INFO] [stderr] Downloaded xmlparser v0.9.0 [INFO] [stderr] Downloaded sentry v0.15.5 [INFO] [stderr] Downloaded sized-chunks v0.1.3 [INFO] [stderr] Downloaded sentry-types v0.11.0 [INFO] [stderr] Downloaded openssl-sys v0.9.48 [INFO] [stderr] Downloaded im v12.3.4 [INFO] [stderr] Downloaded miniz_oxide_c_api v0.2.3 [INFO] [stderr] Downloaded debugid v0.4.0 [INFO] [stderr] Downloaded openssl-src v111.5.0+1.1.1c [INFO] [stderr] Downloaded hyper v0.12.33 [INFO] [stderr] Downloaded roxmltree v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0869d4c56f0e89dc674b6d9057683f00c526eadc809ed35a5905ed17578a42dc [INFO] running `Command { std: "docker" "start" "-a" "0869d4c56f0e89dc674b6d9057683f00c526eadc809ed35a5905ed17578a42dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0869d4c56f0e89dc674b6d9057683f00c526eadc809ed35a5905ed17578a42dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0869d4c56f0e89dc674b6d9057683f00c526eadc809ed35a5905ed17578a42dc", kill_on_drop: false }` [INFO] [stdout] 0869d4c56f0e89dc674b6d9057683f00c526eadc809ed35a5905ed17578a42dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83c3e29f57ebbeb66ddfb8c3961e3a9efa51208b86fb1fd6981181498dc390b9 [INFO] running `Command { std: "docker" "start" "-a" "83c3e29f57ebbeb66ddfb8c3961e3a9efa51208b86fb1fd6981181498dc390b9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.61 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling cc v1.0.40 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling futures v0.1.28 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling openssl-src v111.5.0+1.1.1c [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling openssl v0.10.24 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling openssl-sys v0.9.48 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling miniz_oxide_c_api v0.2.3 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling backtrace v0.3.34 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling miniz_oxide v0.3.2 [INFO] [stderr] Compiling pest v2.1.1 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling pest_meta v2.1.1 [INFO] [stderr] Compiling publicsuffix v1.5.2 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling im v12.3.4 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling safemem v0.3.1 [INFO] [stderr] Compiling ascii_utils v0.9.3 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling fast_chemail v0.9.6 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Compiling sized-chunks v0.1.3 [INFO] [stderr] Compiling flate2 v1.0.9 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling sentry v0.15.5 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling uname v0.1.1 [INFO] [stderr] Compiling xmlparser v0.9.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling strum_macros v0.15.0 [INFO] [stderr] Compiling strum v0.15.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling roxmltree v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling url_serde v0.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling debugid v0.4.0 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling sentry-types v0.11.0 [INFO] [stderr] Compiling handlebars v1.1.0 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling lettre v0.9.2 [INFO] [stderr] Compiling reqwest v0.9.19 [INFO] [stderr] Compiling lettre_email v0.9.2 [INFO] [stderr] Compiling xdxd-backup v0.1.21 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/global/errors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d7bd9cd469ff6871420007f091ef52fc32d2ca99/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/global/extensions.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> src/global/extensions.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `PathBuf` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/global/sentry_backtrace.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | {rv} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 45 - {rv} [INFO] [stdout] 45 + rv [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sentry_client` is imported redundantly [INFO] [stdout] --> src/global/error_handler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `sentry_client` is already imported here [INFO] [stdout] 2 | use super::sentry_client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `logger` is imported redundantly [INFO] [stdout] --> src/global/error_handler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `logger` is already imported here [INFO] [stdout] 2 | use super::sentry_client; [INFO] [stdout] 3 | use super::logger; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `email_report` is imported redundantly [INFO] [stdout] --> src/global/error_handler.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `email_report` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use super::email_report; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> src/global/logging.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{PathBuf, Path}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `PathBuf` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/global/logging.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{PathBuf, Path}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Utc` is imported redundantly [INFO] [stdout] --> src/global/logging.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | [INFO] [stdout] 8 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `Utc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ResultExtensionsCrashOnError` is imported redundantly [INFO] [stdout] --> src/global/prelude.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use super::error_handler::ResultExtensionsCrashOnError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | pub use crate::global::*; [INFO] [stdout] | ---------------- the item `ResultExtensionsCrashOnError` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ResultExtensionsReplaceError` is imported redundantly [INFO] [stdout] --> src/global/prelude.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::errors::{Result, CustomError, ResultExtensionsReplaceError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | pub use crate::global::*; [INFO] [stdout] | ---------------- the item `ResultExtensionsReplaceError` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppConfig` [INFO] [stdout] --> src/global/prelude.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | pub use super::app_config::{AppConfig, ArchiveConfig, RemoteConfig}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `email` is imported redundantly [INFO] [stdout] --> src/global/email_report.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::email; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 5 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `email` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `logger` is imported redundantly [INFO] [stdout] --> src/global/email_report.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `logger` is already imported here [INFO] [stdout] 6 | use crate::global::logger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> src/global/mod.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | use std::path::{PathBuf, Path}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | use self::prelude::*; [INFO] [stdout] | ---------------- the item `PathBuf` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/global/mod.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | use std::path::{PathBuf, Path}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | use self::prelude::*; [INFO] [stdout] | ---------------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DateTime` is imported redundantly [INFO] [stdout] --> src/global/mod.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | use self::prelude::*; [INFO] [stdout] | ---------------- the item `DateTime` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Utc` is imported redundantly [INFO] [stdout] --> src/global/mod.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | use self::prelude::*; [INFO] [stdout] | ---------------- the item `Utc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AppConfig` is imported redundantly [INFO] [stdout] --> src/global/mod.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 22 | use self::prelude::*; [INFO] [stdout] | ---------------- the item `AppConfig` is already imported here [INFO] [stdout] 23 | use self::app_config::{AppConfig, read_config}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `read_config` is imported redundantly [INFO] [stdout] --> src/global/mod.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 22 | use self::prelude::*; [INFO] [stdout] | ---------------- the item `read_config` is already imported here [INFO] [stdout] 23 | use self::app_config::{AppConfig, read_config}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CustomSentryClient` is imported redundantly [INFO] [stdout] --> src/global/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | use self::prelude::*; [INFO] [stdout] | ---------------- the item `CustomSentryClient` is already imported here [INFO] [stdout] 23 | use self::app_config::{AppConfig, read_config}; [INFO] [stdout] 24 | use self::custom_sentry_client::CustomSentryClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `handle_error` is imported redundantly [INFO] [stdout] --> src/global/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 22 | use self::prelude::*; [INFO] [stdout] | ---------------- the item `handle_error` is already imported here [INFO] [stdout] ... [INFO] [stdout] 25 | use self::error_handler::handle_error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CliRunner` is imported redundantly [INFO] [stdout] --> src/global/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 22 | use self::prelude::*; [INFO] [stdout] | ---------------- the item `CliRunner` is already imported here [INFO] [stdout] ... [INFO] [stdout] 27 | use self::cli::CliRunner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `do_try` is imported redundantly [INFO] [stdout] --> src/archive_helper.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::global::{do_try}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | use crate::global::prelude::*; [INFO] [stdout] | ------------------------- the item `do_try` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/remote_helper.rs:136:107 [INFO] [stdout] | [INFO] [stdout] 136 | ...g.min_archive_count) < 0 {0} else {((all_archives.len() as i32) - remote_config.min_archive_count)}; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - let take_count = if ((all_archives.len() as i32) - remote_config.min_archive_count) < 0 {0} else {((all_archives.len() as i32) - remote_config.min_archive_count)}; [INFO] [stdout] 136 + let take_count = if ((all_archives.len() as i32) - remote_config.min_archive_count) < 0 {0} else {(all_archives.len() as i32) - remote_config.min_archive_count}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `do_try` is imported redundantly [INFO] [stdout] --> src/docker_volumes.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::global::prelude::*; [INFO] [stdout] | ------------------------- the item `do_try` is already imported here [INFO] [stdout] 2 | use crate::global::{do_try}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block with non-Rust ABI [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[link(name="openssl", kind="static")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | extern crate openssl; [INFO] [stdout] | --------------------- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map` is never used [INFO] [stdout] --> src/global/extensions.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 192 | pub trait OptionExtensions { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] 193 | fn map U>(&self, f: F) -> Option; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map_result` is never used [INFO] [stdout] --> src/global/extensions.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 228 | pub trait ResultExtensions{ [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] 229 | [INFO] [stdout] 230 | fn map_result Result>(self, f: F) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.81s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "83c3e29f57ebbeb66ddfb8c3961e3a9efa51208b86fb1fd6981181498dc390b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83c3e29f57ebbeb66ddfb8c3961e3a9efa51208b86fb1fd6981181498dc390b9", kill_on_drop: false }` [INFO] [stdout] 83c3e29f57ebbeb66ddfb8c3961e3a9efa51208b86fb1fd6981181498dc390b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27e13acf911e6f5af6cc2b86ee8d7218f6a28a264afafc43f983720455c820e2 [INFO] running `Command { std: "docker" "start" "-a" "27e13acf911e6f5af6cc2b86ee8d7218f6a28a264afafc43f983720455c820e2", kill_on_drop: false }` [INFO] [stderr] Compiling xdxd-backup v0.1.21 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/global/errors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d7bd9cd469ff6871420007f091ef52fc32d2ca99/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/global/extensions.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> src/global/extensions.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `PathBuf` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/global/sentry_backtrace.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | {rv} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 45 - {rv} [INFO] [stdout] 45 + rv [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sentry_client` is imported redundantly [INFO] [stdout] --> src/global/error_handler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `sentry_client` is already imported here [INFO] [stdout] 2 | use super::sentry_client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `logger` is imported redundantly [INFO] [stdout] --> src/global/error_handler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `logger` is already imported here [INFO] [stdout] 2 | use super::sentry_client; [INFO] [stdout] 3 | use super::logger; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `email_report` is imported redundantly [INFO] [stdout] --> src/global/error_handler.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `email_report` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use super::email_report; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> src/global/logging.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{PathBuf, Path}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `PathBuf` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/global/logging.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{PathBuf, Path}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Utc` is imported redundantly [INFO] [stdout] --> src/global/logging.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | [INFO] [stdout] 8 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `Utc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ResultExtensionsCrashOnError` is imported redundantly [INFO] [stdout] --> src/global/prelude.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use super::error_handler::ResultExtensionsCrashOnError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | pub use crate::global::*; [INFO] [stdout] | ---------------- the item `ResultExtensionsCrashOnError` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ResultExtensionsReplaceError` is imported redundantly [INFO] [stdout] --> src/global/prelude.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::errors::{Result, CustomError, ResultExtensionsReplaceError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | pub use crate::global::*; [INFO] [stdout] | ---------------- the item `ResultExtensionsReplaceError` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppConfig` [INFO] [stdout] --> src/global/prelude.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | pub use super::app_config::{AppConfig, ArchiveConfig, RemoteConfig}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `email` is imported redundantly [INFO] [stdout] --> src/global/email_report.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::email; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 5 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `email` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `logger` is imported redundantly [INFO] [stdout] --> src/global/email_report.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `logger` is already imported here [INFO] [stdout] 6 | use crate::global::logger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> src/global/mod.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | use std::path::{PathBuf, Path}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | use self::prelude::*; [INFO] [stdout] | ---------------- the item `PathBuf` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/global/mod.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | use std::path::{PathBuf, Path}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | use self::prelude::*; [INFO] [stdout] | ---------------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DateTime` is imported redundantly [INFO] [stdout] --> src/global/mod.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | use self::prelude::*; [INFO] [stdout] | ---------------- the item `DateTime` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Utc` is imported redundantly [INFO] [stdout] --> src/global/mod.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | use self::prelude::*; [INFO] [stdout] | ---------------- the item `Utc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AppConfig` is imported redundantly [INFO] [stdout] --> src/global/mod.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 22 | use self::prelude::*; [INFO] [stdout] | ---------------- the item `AppConfig` is already imported here [INFO] [stdout] 23 | use self::app_config::{AppConfig, read_config}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `read_config` is imported redundantly [INFO] [stdout] --> src/global/mod.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 22 | use self::prelude::*; [INFO] [stdout] | ---------------- the item `read_config` is already imported here [INFO] [stdout] 23 | use self::app_config::{AppConfig, read_config}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CustomSentryClient` is imported redundantly [INFO] [stdout] --> src/global/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | use self::prelude::*; [INFO] [stdout] | ---------------- the item `CustomSentryClient` is already imported here [INFO] [stdout] 23 | use self::app_config::{AppConfig, read_config}; [INFO] [stdout] 24 | use self::custom_sentry_client::CustomSentryClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `handle_error` is imported redundantly [INFO] [stdout] --> src/global/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 22 | use self::prelude::*; [INFO] [stdout] | ---------------- the item `handle_error` is already imported here [INFO] [stdout] ... [INFO] [stdout] 25 | use self::error_handler::handle_error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CliRunner` is imported redundantly [INFO] [stdout] --> src/global/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 22 | use self::prelude::*; [INFO] [stdout] | ---------------- the item `CliRunner` is already imported here [INFO] [stdout] ... [INFO] [stdout] 27 | use self::cli::CliRunner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `do_try` is imported redundantly [INFO] [stdout] --> src/archive_helper.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::global::{do_try}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | use crate::global::prelude::*; [INFO] [stdout] | ------------------------- the item `do_try` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/remote_helper.rs:136:107 [INFO] [stdout] | [INFO] [stdout] 136 | ...g.min_archive_count) < 0 {0} else {((all_archives.len() as i32) - remote_config.min_archive_count)}; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - let take_count = if ((all_archives.len() as i32) - remote_config.min_archive_count) < 0 {0} else {((all_archives.len() as i32) - remote_config.min_archive_count)}; [INFO] [stdout] 136 + let take_count = if ((all_archives.len() as i32) - remote_config.min_archive_count) < 0 {0} else {(all_archives.len() as i32) - remote_config.min_archive_count}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `do_try` is imported redundantly [INFO] [stdout] --> src/docker_volumes.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::global::prelude::*; [INFO] [stdout] | ------------------------- the item `do_try` is already imported here [INFO] [stdout] 2 | use crate::global::{do_try}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block with non-Rust ABI [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[link(name="openssl", kind="static")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | extern crate openssl; [INFO] [stdout] | --------------------- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map` is never used [INFO] [stdout] --> src/global/extensions.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 192 | pub trait OptionExtensions { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] 193 | fn map U>(&self, f: F) -> Option; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map_result` is never used [INFO] [stdout] --> src/global/extensions.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 228 | pub trait ResultExtensions{ [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] 229 | [INFO] [stdout] 230 | fn map_result Result>(self, f: F) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "27e13acf911e6f5af6cc2b86ee8d7218f6a28a264afafc43f983720455c820e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27e13acf911e6f5af6cc2b86ee8d7218f6a28a264afafc43f983720455c820e2", kill_on_drop: false }` [INFO] [stdout] 27e13acf911e6f5af6cc2b86ee8d7218f6a28a264afafc43f983720455c820e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 61a47c94fa82b8c67db431e5b917b863503647b45ca8546a29c36cfd1ec1a012 [INFO] running `Command { std: "docker" "start" "-a" "61a47c94fa82b8c67db431e5b917b863503647b45ca8546a29c36cfd1ec1a012", kill_on_drop: false }` [INFO] [stderr] warning: the item `From` is imported redundantly [INFO] [stderr] --> src/global/errors.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::convert::From; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d7bd9cd469ff6871420007f091ef52fc32d2ca99/library/std/src/prelude/mod.rs:115:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `From` is already defined here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `Path` is imported redundantly [INFO] [stderr] --> src/global/extensions.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 6 | use super::prelude::*; [INFO] [stderr] | ----------------- the item `Path` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `PathBuf` is imported redundantly [INFO] [stderr] --> src/global/extensions.rs:1:23 [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 6 | use super::prelude::*; [INFO] [stderr] | ----------------- the item `PathBuf` is already imported here [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/global/sentry_backtrace.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | {rv} [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 45 - {rv} [INFO] [stderr] 45 + rv [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: the item `sentry_client` is imported redundantly [INFO] [stderr] --> src/global/error_handler.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::prelude::*; [INFO] [stderr] | ----------------- the item `sentry_client` is already imported here [INFO] [stderr] 2 | use super::sentry_client; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `logger` is imported redundantly [INFO] [stderr] --> src/global/error_handler.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::prelude::*; [INFO] [stderr] | ----------------- the item `logger` is already imported here [INFO] [stderr] 2 | use super::sentry_client; [INFO] [stderr] 3 | use super::logger; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `email_report` is imported redundantly [INFO] [stderr] --> src/global/error_handler.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::prelude::*; [INFO] [stderr] | ----------------- the item `email_report` is already imported here [INFO] [stderr] ... [INFO] [stderr] 4 | use super::email_report; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `PathBuf` is imported redundantly [INFO] [stderr] --> src/global/logging.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use std::path::{PathBuf, Path}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 8 | use super::prelude::*; [INFO] [stderr] | ----------------- the item `PathBuf` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `Path` is imported redundantly [INFO] [stderr] --> src/global/logging.rs:2:26 [INFO] [stderr] | [INFO] [stderr] 2 | use std::path::{PathBuf, Path}; [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 8 | use super::prelude::*; [INFO] [stderr] | ----------------- the item `Path` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `Utc` is imported redundantly [INFO] [stderr] --> src/global/logging.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use chrono::Utc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 7 | [INFO] [stderr] 8 | use super::prelude::*; [INFO] [stderr] | ----------------- the item `Utc` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `ResultExtensionsCrashOnError` is imported redundantly [INFO] [stderr] --> src/global/prelude.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | pub use super::error_handler::ResultExtensionsCrashOnError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 7 | pub use crate::global::*; [INFO] [stderr] | ---------------- the item `ResultExtensionsCrashOnError` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `ResultExtensionsReplaceError` is imported redundantly [INFO] [stderr] --> src/global/prelude.rs:3:46 [INFO] [stderr] | [INFO] [stderr] 3 | pub use super::errors::{Result, CustomError, ResultExtensionsReplaceError}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 7 | pub use crate::global::*; [INFO] [stderr] | ---------------- the item `ResultExtensionsReplaceError` is already imported here [INFO] [stderr] [INFO] [stderr] warning: unused import: `AppConfig` [INFO] [stderr] --> src/global/prelude.rs:4:29 [INFO] [stderr] | [INFO] [stderr] 4 | pub use super::app_config::{AppConfig, ArchiveConfig, RemoteConfig}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `email` is imported redundantly [INFO] [stderr] --> src/global/email_report.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use super::email; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 5 | use super::prelude::*; [INFO] [stderr] | ----------------- the item `email` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `logger` is imported redundantly [INFO] [stderr] --> src/global/email_report.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 5 | use super::prelude::*; [INFO] [stderr] | ----------------- the item `logger` is already imported here [INFO] [stderr] 6 | use crate::global::logger; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `PathBuf` is imported redundantly [INFO] [stderr] --> src/global/mod.rs:18:17 [INFO] [stderr] | [INFO] [stderr] 18 | use std::path::{PathBuf, Path}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 22 | use self::prelude::*; [INFO] [stderr] | ---------------- the item `PathBuf` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `Path` is imported redundantly [INFO] [stderr] --> src/global/mod.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | use std::path::{PathBuf, Path}; [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 22 | use self::prelude::*; [INFO] [stderr] | ---------------- the item `Path` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `DateTime` is imported redundantly [INFO] [stderr] --> src/global/mod.rs:19:14 [INFO] [stderr] | [INFO] [stderr] 19 | use chrono::{DateTime, Utc}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 22 | use self::prelude::*; [INFO] [stderr] | ---------------- the item `DateTime` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `Utc` is imported redundantly [INFO] [stderr] --> src/global/mod.rs:19:24 [INFO] [stderr] | [INFO] [stderr] 19 | use chrono::{DateTime, Utc}; [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 22 | use self::prelude::*; [INFO] [stderr] | ---------------- the item `Utc` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `AppConfig` is imported redundantly [INFO] [stderr] --> src/global/mod.rs:23:24 [INFO] [stderr] | [INFO] [stderr] 22 | use self::prelude::*; [INFO] [stderr] | ---------------- the item `AppConfig` is already imported here [INFO] [stderr] 23 | use self::app_config::{AppConfig, read_config}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `read_config` is imported redundantly [INFO] [stderr] --> src/global/mod.rs:23:35 [INFO] [stderr] | [INFO] [stderr] 22 | use self::prelude::*; [INFO] [stderr] | ---------------- the item `read_config` is already imported here [INFO] [stderr] 23 | use self::app_config::{AppConfig, read_config}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `CustomSentryClient` is imported redundantly [INFO] [stderr] --> src/global/mod.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 22 | use self::prelude::*; [INFO] [stderr] | ---------------- the item `CustomSentryClient` is already imported here [INFO] [stderr] 23 | use self::app_config::{AppConfig, read_config}; [INFO] [stderr] 24 | use self::custom_sentry_client::CustomSentryClient; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `handle_error` is imported redundantly [INFO] [stderr] --> src/global/mod.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 22 | use self::prelude::*; [INFO] [stderr] | ---------------- the item `handle_error` is already imported here [INFO] [stderr] ... [INFO] [stderr] 25 | use self::error_handler::handle_error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `CliRunner` is imported redundantly [INFO] [stderr] --> src/global/mod.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 22 | use self::prelude::*; [INFO] [stderr] | ---------------- the item `CliRunner` is already imported here [INFO] [stderr] ... [INFO] [stderr] 27 | use self::cli::CliRunner; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `do_try` is imported redundantly [INFO] [stderr] --> src/archive_helper.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::global::{do_try}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 9 | use crate::global::prelude::*; [INFO] [stderr] | ------------------------- the item `do_try` is already imported here [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/remote_helper.rs:136:107 [INFO] [stderr] | [INFO] [stderr] 136 | ...g.min_archive_count) < 0 {0} else {((all_archives.len() as i32) - remote_config.min_archive_count)}; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 136 - let take_count = if ((all_archives.len() as i32) - remote_config.min_archive_count) < 0 {0} else {((all_archives.len() as i32) - remote_config.min_archive_count)}; [INFO] [stderr] 136 + let take_count = if ((all_archives.len() as i32) - remote_config.min_archive_count) < 0 {0} else {(all_archives.len() as i32) - remote_config.min_archive_count}; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: the item `do_try` is imported redundantly [INFO] [stderr] --> src/docker_volumes.rs:2:21 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::global::prelude::*; [INFO] [stderr] | ------------------------- the item `do_try` is already imported here [INFO] [stderr] 2 | use crate::global::{do_try}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: attribute should be applied to an `extern` block with non-Rust ABI [INFO] [stderr] --> src/main.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[link(name="openssl", kind="static")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 4 | extern crate openssl; [INFO] [stderr] | --------------------- not an `extern` block [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `map` is never used [INFO] [stderr] --> src/global/extensions.rs:193:8 [INFO] [stderr] | [INFO] [stderr] 192 | pub trait OptionExtensions { [INFO] [stderr] | ---------------- method in this trait [INFO] [stderr] 193 | fn map U>(&self, f: F) -> Option; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `map_result` is never used [INFO] [stderr] --> src/global/extensions.rs:230:8 [INFO] [stderr] | [INFO] [stderr] 228 | pub trait ResultExtensions{ [INFO] [stderr] | ---------------- method in this trait [INFO] [stderr] 229 | [INFO] [stderr] 230 | fn map_result Result>(self, f: F) -> Result; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `xdxd-backup` (bin "xdxd-backup" test) generated 30 warnings (run `cargo fix --bin "xdxd-backup" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/xdxd_backup-1aa7f22bff9b0b36) [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" "61a47c94fa82b8c67db431e5b917b863503647b45ca8546a29c36cfd1ec1a012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61a47c94fa82b8c67db431e5b917b863503647b45ca8546a29c36cfd1ec1a012", kill_on_drop: false }` [INFO] [stdout] 61a47c94fa82b8c67db431e5b917b863503647b45ca8546a29c36cfd1ec1a012