[INFO] cloning repository https://github.com/OzoNeTT/rust-file-encryptor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OzoNeTT/rust-file-encryptor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOzoNeTT%2Frust-file-encryptor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOzoNeTT%2Frust-file-encryptor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 705aa707ded4fe6f097f9663f21acce15a54a30d [INFO] checking OzoNeTT/rust-file-encryptor 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%2FOzoNeTT%2Frust-file-encryptor" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/OzoNeTT/rust-file-encryptor [INFO] finished tweaking git repo https://github.com/OzoNeTT/rust-file-encryptor [INFO] tweaked toml for git repo https://github.com/OzoNeTT/rust-file-encryptor written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/OzoNeTT/rust-file-encryptor 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/OzoNeTT/rust-file-encryptor 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 25cfce4f2b09e4ff43cdc4dba27d2419cd4e9259f248a721cea1ce27f68868f1 [INFO] running `Command { std: "docker" "start" "-a" "25cfce4f2b09e4ff43cdc4dba27d2419cd4e9259f248a721cea1ce27f68868f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25cfce4f2b09e4ff43cdc4dba27d2419cd4e9259f248a721cea1ce27f68868f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25cfce4f2b09e4ff43cdc4dba27d2419cd4e9259f248a721cea1ce27f68868f1", kill_on_drop: false }` [INFO] [stdout] 25cfce4f2b09e4ff43cdc4dba27d2419cd4e9259f248a721cea1ce27f68868f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 6cddbfae1799e3dd45e8f8018367884b79797be901230c917b2134ad9e4293bb [INFO] running `Command { std: "docker" "start" "-a" "6cddbfae1799e3dd45e8f8018367884b79797be901230c917b2134ad9e4293bb", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.9 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking os_str_bytes v6.0.1 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking nix v0.26.1 [INFO] [stderr] Checking path-dedot v3.0.17 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking path-absolutize v3.0.13 [INFO] [stderr] Checking console v0.15.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking ctrlc v3.2.4 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking polyval v0.5.3 [INFO] [stderr] Checking poly1305 v0.7.2 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking chacha20 v0.8.1 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking aes-gcm-siv v0.10.3 [INFO] [stderr] Checking sha256 v1.0.3 [INFO] [stderr] Checking chacha20poly1305 v0.9.0 [INFO] [stderr] Checking globset v0.4.9 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking globwalk v0.5.0 [INFO] [stderr] Checking assert_fs v0.10.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking rpassword v6.0.1 [INFO] [stderr] Checking file_encryptor v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/meta/raw/tests.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | fn fixtures() -> ([u8; RawMeta::size()]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 15 - fn fixtures() -> ([u8; RawMeta::size()]) { [INFO] [stdout] 15 + fn fixtures() -> [u8; RawMeta::size()] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/args/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / #[clap(help = "Path to the file", required = true)] [INFO] [stdout] 7 | | pub filepath: String, [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: std::result::Result [INFO] [stdout] --> src/cli/args/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / #[clap(short = 'k', long = "key", help = "Key")] [INFO] [stdout] 10 | | pub key: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cli/runtime/vec_limit.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter(&self) -> std::slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/meta/enc/tests.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | filename: FILENAME.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `file_encryptor` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/args/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / #[clap(help = "Path to the file", required = true)] [INFO] [stdout] 7 | | pub filepath: String, [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: std::result::Result [INFO] [stdout] --> src/cli/args/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / #[clap(short = 'k', long = "key", help = "Key")] [INFO] [stdout] 10 | | pub key: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cli/runtime/vec_limit.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter(&self) -> std::slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `file_encryptor` (lib) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6cddbfae1799e3dd45e8f8018367884b79797be901230c917b2134ad9e4293bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cddbfae1799e3dd45e8f8018367884b79797be901230c917b2134ad9e4293bb", kill_on_drop: false }` [INFO] [stdout] 6cddbfae1799e3dd45e8f8018367884b79797be901230c917b2134ad9e4293bb