[INFO] fetching crate liboscore-cryptobackend 0.2.4... [INFO] testing liboscore-cryptobackend-0.2.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate liboscore-cryptobackend 0.2.4 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate liboscore-cryptobackend 0.2.4 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate liboscore-cryptobackend 0.2.4 [INFO] tweaked toml for crates.io crate liboscore-cryptobackend 0.2.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate liboscore-cryptobackend 0.2.4 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate liboscore-cryptobackend 0.2.4 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded log v0.4.21 [INFO] [stderr] Downloaded cpufeatures v0.2.12 [INFO] [stderr] Downloaded inout v0.1.3 [INFO] [stderr] Downloaded critical-section v1.1.2 [INFO] [stderr] Downloaded chacha20 v0.9.1 [INFO] [stderr] Downloaded semver v1.0.22 [INFO] [stderr] Downloaded poly1305 v0.8.0 [INFO] [stderr] Downloaded chacha20poly1305 v0.10.1 [INFO] [stderr] Downloaded atomic-polyfill v1.0.3 [INFO] [stderr] Downloaded sha2 v0.10.8 [INFO] [stderr] Downloaded zeroize v1.7.0 [INFO] [stderr] Downloaded rustc_version v0.4.0 [INFO] [stderr] Downloaded ccm v0.5.0 [INFO] [stderr] Downloaded lock_api v0.4.11 [INFO] [stderr] Downloaded heapless v0.7.17 [INFO] [stderr] Downloaded subtle v2.5.0 [INFO] [stderr] Downloaded autocfg v1.2.0 [INFO] [stderr] Downloaded libc v0.2.153 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b88ad75a34ebf47f116b05adafc845ebbe1664176045d0c8c9baf9f8ad606e5 [INFO] running `Command { std: "docker" "start" "-a" "4b88ad75a34ebf47f116b05adafc845ebbe1664176045d0c8c9baf9f8ad606e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b88ad75a34ebf47f116b05adafc845ebbe1664176045d0c8c9baf9f8ad606e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b88ad75a34ebf47f116b05adafc845ebbe1664176045d0c8c9baf9f8ad606e5", kill_on_drop: false }` [INFO] [stdout] 4b88ad75a34ebf47f116b05adafc845ebbe1664176045d0c8c9baf9f8ad606e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2198ef5ef7e817713047b2ee8526fd61c3fdbc630c4655c398cc4c3f81bff6b5 [INFO] running `Command { std: "docker" "start" "-a" "2198ef5ef7e817713047b2ee8526fd61c3fdbc630c4655c398cc4c3f81bff6b5", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling liboscore-cryptobackend v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0084]: unsupported representation for zero-variant enum [INFO] [stdout] --> src/aead.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | #[repr(u8)] [INFO] [stdout] | ^^ [INFO] [stdout] 17 | pub enum Algorithm { [INFO] [stdout] | ------------------ zero-variant enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/aead.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | Some(match self { [INFO] [stdout] | _________^^^^_- [INFO] [stdout] | | | [INFO] [stdout] | | unreachable call [INFO] [stdout] 63 | | #[cfg(feature = "chacha20poly1305")] [INFO] [stdout] 64 | | Algorithm::ChaCha20Poly1305 => 24, [INFO] [stdout] 65 | | #[cfg(feature = "aes-ccm")] [INFO] [stdout] ... | [INFO] [stdout] 72 | | Algorithm::A256GCM => 3, [INFO] [stdout] 73 | | }) [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: type `&aead::Algorithm` is non-empty [INFO] [stdout] --> src/aead.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | Some(match self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `aead::Algorithm` defined here [INFO] [stdout] --> src/aead.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Algorithm { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: the matched value is of type `&aead::Algorithm` [INFO] [stdout] = note: references are always considered inhabited [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown [INFO] [stdout] | [INFO] [stdout] 62 ~ Some(match self { [INFO] [stdout] 63 + _ => todo!(), [INFO] [stdout] 64 ~ }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: type `&aead::Algorithm` is non-empty [INFO] [stdout] --> src/aead.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | match self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `aead::Algorithm` defined here [INFO] [stdout] --> src/aead.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Algorithm { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: the matched value is of type `&aead::Algorithm` [INFO] [stdout] = note: references are always considered inhabited [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown [INFO] [stdout] | [INFO] [stdout] 77 ~ match self { [INFO] [stdout] 78 + _ => todo!(), [INFO] [stdout] 79 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: type `&aead::Algorithm` is non-empty [INFO] [stdout] --> src/aead.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | match self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `aead::Algorithm` defined here [INFO] [stdout] --> src/aead.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Algorithm { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: the matched value is of type `&aead::Algorithm` [INFO] [stdout] = note: references are always considered inhabited [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown [INFO] [stdout] | [INFO] [stdout] 98 ~ match self { [INFO] [stdout] 99 + _ => todo!(), [INFO] [stdout] 100 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: type `&aead::Algorithm` is non-empty [INFO] [stdout] --> src/aead.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | match self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `aead::Algorithm` defined here [INFO] [stdout] --> src/aead.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Algorithm { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: the matched value is of type `&aead::Algorithm` [INFO] [stdout] = note: references are always considered inhabited [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown [INFO] [stdout] | [INFO] [stdout] 119 ~ match self { [INFO] [stdout] 120 + _ => todo!(), [INFO] [stdout] 121 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/aead.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | buffer: *mut u8, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer_len` [INFO] [stdout] --> src/aead.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | buffer_len: usize, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/aead.rs:334:21 [INFO] [stdout] | [INFO] [stdout] 334 | state.write(DecryptState { [INFO] [stdout] | _____________________^ [INFO] [stdout] 335 | | actually_encrypt: unsafe { tempstate.assume_init() }, [INFO] [stdout] | | ----------------------- any code following this expression is unreachable [INFO] [stdout] 336 | | }); [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `EncryptState`, which is uninhabited [INFO] [stdout] --> src/aead.rs:335:40 [INFO] [stdout] | [INFO] [stdout] 335 | actually_encrypt: unsafe { tempstate.assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/aead.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 416 | buffer: *mut u8, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer_len` [INFO] [stdout] --> src/aead.rs:417:5 [INFO] [stdout] | [INFO] [stdout] 417 | buffer_len: usize, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0084. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `liboscore-cryptobackend` (lib) due to 5 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2198ef5ef7e817713047b2ee8526fd61c3fdbc630c4655c398cc4c3f81bff6b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2198ef5ef7e817713047b2ee8526fd61c3fdbc630c4655c398cc4c3f81bff6b5", kill_on_drop: false }` [INFO] [stdout] 2198ef5ef7e817713047b2ee8526fd61c3fdbc630c4655c398cc4c3f81bff6b5