[INFO] cloning repository https://github.com/RuofengX/aisle-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RuofengX/aisle-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRuofengX%2Faisle-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRuofengX%2Faisle-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f48242e573c3b4ec9fdd39d649c585b3c47db811 [INFO] testing RuofengX/aisle-rs against master#160e7623e8cbbf1feab2b6e2a24733a98c7bde9c for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRuofengX%2Faisle-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/RuofengX/aisle-rs [INFO] finished tweaking git repo https://github.com/RuofengX/aisle-rs [INFO] tweaked toml for git repo https://github.com/RuofengX/aisle-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RuofengX/aisle-rs on toolchain 160e7623e8cbbf1feab2b6e2a24733a98c7bde9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/RuofengX/aisle-rs 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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded monoio-macros v0.1.0 [INFO] [stderr] Downloaded soft-aes v0.2.2 [INFO] [stderr] Downloaded auto-const-array v0.2.1 [INFO] [stderr] Downloaded io-uring v0.6.4 [INFO] [stderr] Downloaded monoio v0.2.4 [INFO] [stderr] Downloaded quick-impl v0.1.1 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 840eadc3ab93aeb02c96f91eccce78e0a6150510590fc0d79ec0f87695b53586 [INFO] running `Command { std: "docker" "start" "-a" "840eadc3ab93aeb02c96f91eccce78e0a6150510590fc0d79ec0f87695b53586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "840eadc3ab93aeb02c96f91eccce78e0a6150510590fc0d79ec0f87695b53586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "840eadc3ab93aeb02c96f91eccce78e0a6150510590fc0d79ec0f87695b53586", kill_on_drop: false }` [INFO] [stdout] 840eadc3ab93aeb02c96f91eccce78e0a6150510590fc0d79ec0f87695b53586 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02fe1c52233fb371d57e8e3ba95ee167ff0f530a48f0f259088a46d45c03330e [INFO] running `Command { std: "docker" "start" "-a" "02fe1c52233fb371d57e8e3ba95ee167ff0f530a48f0f259088a46d45c03330e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling io-uring v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling soft-aes v0.2.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling auto-const-array v0.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling monoio-macros v0.1.0 [INFO] [stderr] Compiling quick-impl v0.1.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling monoio v0.2.4 [INFO] [stderr] Compiling aisle-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Error` [INFO] [stdout] --> src/common.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/stream/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockSizeUser` [INFO] [stdout] --> src/stream/mod.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use aes::cipher::{BlockSizeUser, KeyInit}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aes::Aes256` [INFO] [stdout] --> src/stream/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use aes::Aes256; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `monoio::buf::IoBufMut` [INFO] [stdout] --> src/stream/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use monoio::buf::IoBufMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/stream/mod.rs:9:81 [INFO] [stdout] | [INFO] [stdout] 9 | use monoio::io::{AsyncBufRead, AsyncReadRent, AsyncReadRentExt, AsyncWriteRent, BufReader}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `monoio::BufResult` [INFO] [stdout] --> src/stream/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use monoio::BufResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> src/protocol/aes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aes_enc_block` [INFO] [stdout] --> src/protocol/aes.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use soft_aes::aes::{aes_dec_ecb, aes_enc_block, aes_enc_ecb}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Aes256Layer: AsyncReadRent` is not satisfied [INFO] [stdout] --> src/stream/mod.rs:84:40 [INFO] [stdout] | [INFO] [stdout] 84 | impl AsyncBufRead for Aes256Layer { [INFO] [stdout] | ^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `AsyncReadRent` is not implemented for `Aes256Layer` [INFO] [stdout] --> src/stream/mod.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Aes256Layer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `AsyncReadRent`: [INFO] [stdout] &[u8] [INFO] [stdout] &mut A [INFO] [stdout] OwnedReadHalf [INFO] [stdout] PrefixedReadIo [INFO] [stdout] monoio::io::BufReader [INFO] [stdout] monoio::io::BufWriter [INFO] [stdout] monoio::net::TcpStream [INFO] [stdout] monoio::net::UnixStream [INFO] [stdout] note: required by a bound in `AsyncBufRead` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/monoio-0.2.4/src/io/async_buf_read.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait AsyncBufRead: AsyncReadRent { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `AsyncBufRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `&mut GenericArray` [INFO] [stdout] --> src/stream/mod.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | let array = GenericArray::from_mut_slice(&mut data); [INFO] [stdout] | ^^^^^ ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `_: ArrayLength` found in the `generic_array` crate: [INFO] [stdout] - impl ArrayLength for UInt [INFO] [stdout] where N: ArrayLength; [INFO] [stdout] - impl ArrayLength for UInt [INFO] [stdout] where N: ArrayLength; [INFO] [stdout] - impl ArrayLength for UTerm; [INFO] [stdout] note: required by a bound in `GenericArray` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/generic-array-0.14.7/src/lib.rs:179:31 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct GenericArray> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `GenericArray` [INFO] [stdout] help: consider giving `array` an explicit type, where the type for type parameter `U` is specified [INFO] [stdout] | [INFO] [stdout] 100 | let array: &mut GenericArray<_, N> = GenericArray::from_mut_slice(&mut data); [INFO] [stdout] | +++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `&mut GenericArray` [INFO] [stdout] --> src/stream/mod.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | let array = GenericArray::from_mut_slice(&mut data); [INFO] [stdout] | ^^^^^ --------------------------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `_: ArrayLength` found in the `generic_array` crate: [INFO] [stdout] - impl ArrayLength for UInt [INFO] [stdout] where N: ArrayLength; [INFO] [stdout] - impl ArrayLength for UInt [INFO] [stdout] where N: ArrayLength; [INFO] [stdout] - impl ArrayLength for UTerm; [INFO] [stdout] note: required by a bound in `GenericArray::::from_mut_slice` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/generic-array-0.14.7/src/lib.rs:529:8 [INFO] [stdout] | [INFO] [stdout] 529 | N: ArrayLength, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `GenericArray::::from_mut_slice` [INFO] [stdout] ... [INFO] [stdout] 559 | pub fn from_mut_slice(slice: &mut [T]) -> &mut GenericArray { [INFO] [stdout] | -------------- required by a bound in this associated function [INFO] [stdout] help: consider giving `array` an explicit type, where the type for type parameter `N` is specified [INFO] [stdout] | [INFO] [stdout] 100 | let array: &mut GenericArray<_, N> = GenericArray::from_mut_slice(&mut data); [INFO] [stdout] | +++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `&mut GenericArray` [INFO] [stdout] --> src/stream/mod.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | let array = GenericArray::from_mut_slice(&mut data); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 101 | self.cipher.decode(array); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `_: ArrayLength` found in the `generic_array` crate: [INFO] [stdout] - impl ArrayLength for UInt [INFO] [stdout] where N: ArrayLength; [INFO] [stdout] - impl ArrayLength for UInt [INFO] [stdout] where N: ArrayLength; [INFO] [stdout] - impl ArrayLength for UTerm; [INFO] [stdout] = note: required for `GenericArray` to implement `Deref` [INFO] [stdout] help: consider giving `array` an explicit type, where the type for type parameter `N` is specified [INFO] [stdout] | [INFO] [stdout] 100 | let array: &mut GenericArray<_, N> = GenericArray::from_mut_slice(&mut data); [INFO] [stdout] | +++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:17:64 [INFO] [stdout] | [INFO] [stdout] 17 | let mut crypted = stream::Aes256Layer::from_duplex(st, &[0u8;256])?; [INFO] [stdout] | -------------------------------- ^^^^^^^^^^ expected `[u8; 32]`, found `&[u8; 256]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/stream/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn from_duplex(raw: S, key: [u8; 32]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ ------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | / loop { [INFO] [stdout] 16 | | let (st, _addr) = s.accept().await?; [INFO] [stdout] 17 | | let mut crypted = stream::Aes256Layer::from_duplex(st, &[0u8;256])?; [INFO] [stdout] 18 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 19 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyInit` [INFO] [stdout] --> src/stream/mod.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use aes::cipher::{BlockSizeUser, KeyInit}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amt` [INFO] [stdout] --> src/stream/mod.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | fn consume(&mut self, amt: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_amt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aisle-rs` (bin "aisle-rs") due to 5 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "02fe1c52233fb371d57e8e3ba95ee167ff0f530a48f0f259088a46d45c03330e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02fe1c52233fb371d57e8e3ba95ee167ff0f530a48f0f259088a46d45c03330e", kill_on_drop: false }` [INFO] [stdout] 02fe1c52233fb371d57e8e3ba95ee167ff0f530a48f0f259088a46d45c03330e