[INFO] cloning repository https://github.com/SpizzyCoder/ncrypt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SpizzyCoder/ncrypt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpizzyCoder%2Fncrypt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpizzyCoder%2Fncrypt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 346411686a4524524f95964d2ba3362dd5890567 [INFO] checking SpizzyCoder/ncrypt 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%2FSpizzyCoder%2Fncrypt" "/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/SpizzyCoder/ncrypt [INFO] finished tweaking git repo https://github.com/SpizzyCoder/ncrypt [INFO] tweaked toml for git repo https://github.com/SpizzyCoder/ncrypt written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SpizzyCoder/ncrypt 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/SpizzyCoder/ncrypt 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] 01e681a22b3e8cb1a82600890d21743e7c44d6a638d2553fab79ef8c0d14304a [INFO] running `Command { std: "docker" "start" "-a" "01e681a22b3e8cb1a82600890d21743e7c44d6a638d2553fab79ef8c0d14304a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01e681a22b3e8cb1a82600890d21743e7c44d6a638d2553fab79ef8c0d14304a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01e681a22b3e8cb1a82600890d21743e7c44d6a638d2553fab79ef8c0d14304a", kill_on_drop: false }` [INFO] [stdout] 01e681a22b3e8cb1a82600890d21743e7c44d6a638d2553fab79ef8c0d14304a [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] 0563fcbf7545a0d1cb6772c3ed63188dcdba9f8d3a44ae71f34b4ac16fcb6f0a [INFO] running `Command { std: "docker" "start" "-a" "0563fcbf7545a0d1cb6772c3ed63188dcdba9f8d3a44ae71f34b4ac16fcb6f0a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking cpufeatures v0.2.15 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling portable-atomic v1.9.0 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking clap_lex v0.7.3 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking clap_builder v4.5.21 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rtoolbox v0.0.2 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking rpassword v7.3.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking indicatif v0.17.9 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling blake3 v1.5.4 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking clap v4.5.21 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ncrypt v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 16], Infallible> [INFO] [stdout] --> src/functions.rs:108:40 [INFO] [stdout] | [INFO] [stdout] 108 | let tag: [u8; XCHACHA20_TAG_LEN] = poly1305 [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 109 | | .compute_unpadded(&header.to_bytes()) [INFO] [stdout] 110 | | .try_into() [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<[u8; 16], Infallible> [INFO] [stdout] --> src/functions.rs:241:51 [INFO] [stdout] | [INFO] [stdout] 241 | let calculated_tag: [u8; XCHACHA20_TAG_LEN] = poly1305 [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 242 | | .compute_unpadded(&crypt_header.to_bytes()) [INFO] [stdout] 243 | | .try_into() [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 64], Infallible> [INFO] [stdout] --> src/functions.rs:384:59 [INFO] [stdout] | [INFO] [stdout] 384 | let signature_as_bytes: [u8; ED25519_SIGNATURE_LEN] = signature.to_bytes().try_into().unwrap(); // Unwrap is pretty much safe [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 16], Infallible> [INFO] [stdout] --> src/functions.rs:108:40 [INFO] [stdout] | [INFO] [stdout] 108 | let tag: [u8; XCHACHA20_TAG_LEN] = poly1305 [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 109 | | .compute_unpadded(&header.to_bytes()) [INFO] [stdout] 110 | | .try_into() [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<[u8; 16], Infallible> [INFO] [stdout] --> src/functions.rs:241:51 [INFO] [stdout] | [INFO] [stdout] 241 | let calculated_tag: [u8; XCHACHA20_TAG_LEN] = poly1305 [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 242 | | .compute_unpadded(&crypt_header.to_bytes()) [INFO] [stdout] 243 | | .try_into() [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 64], Infallible> [INFO] [stdout] --> src/functions.rs:384:59 [INFO] [stdout] | [INFO] [stdout] 384 | let signature_as_bytes: [u8; ED25519_SIGNATURE_LEN] = signature.to_bytes().try_into().unwrap(); // Unwrap is pretty much safe [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ncrypt` (bin "ncrypt" test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ncrypt` (bin "ncrypt") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "0563fcbf7545a0d1cb6772c3ed63188dcdba9f8d3a44ae71f34b4ac16fcb6f0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0563fcbf7545a0d1cb6772c3ed63188dcdba9f8d3a44ae71f34b4ac16fcb6f0a", kill_on_drop: false }` [INFO] [stdout] 0563fcbf7545a0d1cb6772c3ed63188dcdba9f8d3a44ae71f34b4ac16fcb6f0a