[INFO] cloning repository https://github.com/n3wtron/encit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/n3wtron/encit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn3wtron%2Fencit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn3wtron%2Fencit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5fa2763511e9f744b3510774299ba6921fab4460 [INFO] checking n3wtron/encit against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn3wtron%2Fencit" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/n3wtron/encit on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/n3wtron/encit [INFO] finished tweaking git repo https://github.com/n3wtron/encit [INFO] tweaked toml for git repo https://github.com/n3wtron/encit written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/n3wtron/encit 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time v0.3.5 [INFO] [stderr] Downloaded josekit v0.7.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12fa2278617534d73b96b158946082ae36f7a16222d3cbd53372f3a424a7b1d8 [INFO] running `Command { std: "docker" "start" "-a" "12fa2278617534d73b96b158946082ae36f7a16222d3cbd53372f3a424a7b1d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12fa2278617534d73b96b158946082ae36f7a16222d3cbd53372f3a424a7b1d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12fa2278617534d73b96b158946082ae36f7a16222d3cbd53372f3a424a7b1d8", kill_on_drop: false }` [INFO] [stdout] 12fa2278617534d73b96b158946082ae36f7a16222d3cbd53372f3a424a7b1d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0907eb2fca68ca96b3aa53c06164eb59a40c6f3b7ca310126a89c8227ca3801a [INFO] running `Command { std: "docker" "start" "-a" "0907eb2fca68ca96b3aa53c06164eb59a40c6f3b7ca310126a89c8227ca3801a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling crc32fast v1.2.2 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling anyhow v1.0.48 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking predicates-core v1.0.2 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking termtree v0.2.3 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Checking predicates-tree v1.0.4 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking downcast v0.10.0 [INFO] [stderr] Checking fragile v1.0.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling indoc v1.0.3 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking time v0.3.5 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling mockall_derive v0.10.2 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking mockall v0.10.2 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking serde_yaml v0.8.21 [INFO] [stderr] Checking josekit v0.7.4 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Checking encit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/enc.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `EncItError` is imported redundantly [INFO] [stdout] --> src/cmd/add_cmd.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 48 | use super::*; [INFO] [stdout] | -------- the item `EncItError` is already imported here [INFO] [stdout] 49 | use crate::cmd::reader::get_file_reader; [INFO] [stdout] 50 | use crate::EncItError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/cmd/add_friend_cmd.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `EncItFileReader` is imported redundantly [INFO] [stdout] --> src/cmd/add_friend_cmd.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | use crate::cmd::reader::EncItFileReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | use super::*; [INFO] [stdout] | -------- the item `EncItFileReader` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `EncItConfig` is imported redundantly [INFO] [stdout] --> src/cmd/add_friend_cmd.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | use crate::{EncItConfig, EncItPEM}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 48 | [INFO] [stdout] 49 | use super::*; [INFO] [stdout] | -------- the item `EncItConfig` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `EncItPEM` is imported redundantly [INFO] [stdout] --> src/cmd/add_friend_cmd.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | use crate::{EncItConfig, EncItPEM}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | [INFO] [stdout] 49 | use super::*; [INFO] [stdout] | -------- the item `EncItPEM` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/cmd/add_identity_cmd.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `EncItConfig` is imported redundantly [INFO] [stdout] --> src/cmd/add_identity_cmd.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | use crate::{EncItConfig, EncItPEM}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 60 | [INFO] [stdout] 61 | use super::*; [INFO] [stdout] | -------- the item `EncItConfig` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `EncItPEM` is imported redundantly [INFO] [stdout] --> src/cmd/add_identity_cmd.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | use crate::{EncItConfig, EncItPEM}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 60 | [INFO] [stdout] 61 | use super::*; [INFO] [stdout] | -------- the item `EncItPEM` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `EncItError` is imported redundantly [INFO] [stdout] --> src/cmd/decrypt_cmd.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 60 | use super::*; [INFO] [stdout] | -------- the item `EncItError` is already imported here [INFO] [stdout] 61 | use crate::enc::{EncItMessage, MockEncIt}; [INFO] [stdout] 62 | use crate::EncItError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `EncItConfig` is imported redundantly [INFO] [stdout] --> src/cmd/get_identity_cmd.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 73 | use super::*; [INFO] [stdout] | -------- the item `EncItConfig` is already imported here [INFO] [stdout] 74 | use crate::config::{EncItIdentity, EncItPrivateKey, MockEncItConfig}; [INFO] [stdout] 75 | use crate::{EncItConfig, EncItError, EncItPEM}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `EncItError` is imported redundantly [INFO] [stdout] --> src/cmd/get_identity_cmd.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 73 | use super::*; [INFO] [stdout] | -------- the item `EncItError` is already imported here [INFO] [stdout] 74 | use crate::config::{EncItIdentity, EncItPrivateKey, MockEncItConfig}; [INFO] [stdout] 75 | use crate::{EncItConfig, EncItError, EncItPEM}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RefCell` is imported redundantly [INFO] [stdout] --> src/cmd/get_identity_cmd.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 73 | use super::*; [INFO] [stdout] | -------- the item `RefCell` is already imported here [INFO] [stdout] ... [INFO] [stdout] 77 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/cmd/get_identity_cmd.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 73 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] ... [INFO] [stdout] 78 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `EncItError` is imported redundantly [INFO] [stdout] --> src/cmd/new_identity_cmd.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | use super::*; [INFO] [stdout] | -------- the item `EncItError` is already imported here [INFO] [stdout] 23 | use crate::config::MockEncItConfig; [INFO] [stdout] 24 | use crate::EncItError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/config.rs:324:31 [INFO] [stdout] | [INFO] [stdout] 324 | use std::io::{Read, Seek, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | use super::*; [INFO] [stdout] | -------- the item `Write` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/config.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `eq` is imported redundantly [INFO] [stdout] --> src/enc.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | use mockall::predicate::eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | use super::*; [INFO] [stdout] | -------- the item `eq` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `EncItFriend` is imported redundantly [INFO] [stdout] --> src/enc.rs:224:25 [INFO] [stdout] | [INFO] [stdout] 224 | use crate::config::{EncItFriend, EncItIdentity, EncItPEM, EncItPrivateKey, MockEncItConfig}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 225 | [INFO] [stdout] 226 | use super::*; [INFO] [stdout] | -------- the item `EncItFriend` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `EncItIdentity` is imported redundantly [INFO] [stdout] --> src/enc.rs:224:38 [INFO] [stdout] | [INFO] [stdout] 224 | use crate::config::{EncItFriend, EncItIdentity, EncItPEM, EncItPrivateKey, MockEncItConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 225 | [INFO] [stdout] 226 | use super::*; [INFO] [stdout] | -------- the item `EncItIdentity` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 59 | use super::*; [INFO] [stdout] | -------- the item `PathBuf` is already imported here [INFO] [stdout] ... [INFO] [stdout] 66 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_any` is never used [INFO] [stdout] --> src/cmd/reader.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait EncItFileReader: Read { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 8 | fn as_any(&self) -> &dyn Any; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.90s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "0907eb2fca68ca96b3aa53c06164eb59a40c6f3b7ca310126a89c8227ca3801a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0907eb2fca68ca96b3aa53c06164eb59a40c6f3b7ca310126a89c8227ca3801a", kill_on_drop: false }` [INFO] [stdout] 0907eb2fca68ca96b3aa53c06164eb59a40c6f3b7ca310126a89c8227ca3801a