[INFO] fetching crate mla 1.0.1... [INFO] checking mla-1.0.1 against beta for pr-78714 [INFO] extracting crate mla 1.0.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate mla 1.0.1 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate mla 1.0.1 [INFO] finished tweaking crates.io crate mla 1.0.1 [INFO] tweaked toml for crates.io crate mla 1.0.1 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc5a60694ff6fc554b212fe8f821652d2f3c4e4fb19ec52e39f7a25956a4d643 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fc5a60694ff6fc554b212fe8f821652d2f3c4e4fb19ec52e39f7a25956a4d643", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc5a60694ff6fc554b212fe8f821652d2f3c4e4fb19ec52e39f7a25956a4d643", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc5a60694ff6fc554b212fe8f821652d2f3c4e4fb19ec52e39f7a25956a4d643", kill_on_drop: false }` [INFO] [stdout] fc5a60694ff6fc554b212fe8f821652d2f3c4e4fb19ec52e39f7a25956a4d643 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8f06d04c5a9abd26122875c276a96d57168cb2e96242841d9cbebf6aa50e18d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c8f06d04c5a9abd26122875c276a96d57168cb2e96242841d9cbebf6aa50e18d", kill_on_drop: false }` [INFO] [stderr] Checking subtle v2.3.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.1 [INFO] [stderr] Compiling hex-literal v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Checking alloc-stdlib v0.2.1 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking brotli-decompressor v2.3.1 [INFO] [stderr] Checking aes-soft v0.6.3 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking polyval v0.4.1 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking ghash v0.3.0 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking aes-ctr v0.6.0 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking csv v1.1.4 [INFO] [stderr] Checking brotli v3.3.0 [INFO] [stderr] Checking zeroize v1.1.1 [INFO] [stderr] Checking curve25519-dalek v3.0.0 [INFO] [stderr] Checking criterion v0.3.3 [INFO] [stderr] Checking x25519-dalek v1.1.0 [INFO] [stderr] Checking mla v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `aes_ctr::stream_cipher` [INFO] [stdout] --> src/errors.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use aes_ctr::stream_cipher::InvalidKeyNonceLength; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `stream_cipher` in `aes_ctr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `aes::block_cipher` [INFO] [stdout] --> src/crypto/aesgcm.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | block_cipher::{BlockCipher, NewBlockCipher}, [INFO] [stdout] | ^^^^^^^^^^^^ could not find `block_cipher` in `aes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `aes_ctr::stream_cipher` [INFO] [stdout] --> src/crypto/aesgcm.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use aes_ctr::stream_cipher::{NewStreamCipher, StreamCipher, SyncStreamCipherSeek}; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `stream_cipher` in `aes_ctr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../../samples/test_x25519_archive_v1_pub.pem: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:1887:38 [INFO] [stdout] | [INFO] [stdout] 1887 | let pem_pub: &'static [u8] = include_bytes!("../../samples/test_x25519_archive_v1_pub.pem"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../../samples/test_x25519_archive_v1.pem: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:1981:39 [INFO] [stdout] | [INFO] [stdout] 1981 | let pem_priv: &'static [u8] = include_bytes!("../../samples/test_x25519_archive_v1.pem"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../../samples/archive_v1.mla: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:1983:39 [INFO] [stdout] | [INFO] [stdout] 1983 | let mla_data: &'static [u8] = include_bytes!("../../samples/archive_v1.mla"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `aes_ctr::stream_cipher` [INFO] [stdout] --> src/errors.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use aes_ctr::stream_cipher::InvalidKeyNonceLength; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `stream_cipher` in `aes_ctr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `aes::block_cipher` [INFO] [stdout] --> src/crypto/aesgcm.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | block_cipher::{BlockCipher, NewBlockCipher}, [INFO] [stdout] | ^^^^^^^^^^^^ could not find `block_cipher` in `aes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `aes_ctr::stream_cipher` [INFO] [stdout] --> src/crypto/aesgcm.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use aes_ctr::stream_cipher::{NewStreamCipher, StreamCipher, SyncStreamCipherSeek}; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `stream_cipher` in `aes_ctr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `curve25519_parser` [INFO] [stdout] --> src/lib.rs:1230:9 [INFO] [stdout] | [INFO] [stdout] 1230 | use curve25519_parser::{parse_openssl_25519_privkey, parse_openssl_25519_pubkey}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `curve25519_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Aes256` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | let cipher = Aes256::new(GenericArray::from_slice(key)); [INFO] [stdout] | ^^^ function or associated item not found in `Aes256` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes::NewBlockCipher;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_var` found for struct `ctr::ctr128::Ctr128` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:61:46 [INFO] [stdout] | [INFO] [stdout] 61 | let mut cipher = aes_ctr::Aes256Ctr::new_var(key, &counter_block)?; [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ctr::ctr128::Ctr128` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes_ctr::cipher::NewStreamCipher;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encrypt` found for struct `ctr::ctr128::Ctr128` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | self.cipher.encrypt(buffer); [INFO] [stdout] | ^^^^^^^ method not found in `ctr::ctr128::Ctr128` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes_ctr::cipher::StreamCipher;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encrypt` found for struct `ctr::ctr128::Ctr128` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | self.cipher.encrypt(in_block); [INFO] [stdout] | ^^^^^^^ method not found in `ctr::ctr128::Ctr128` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes_ctr::cipher::StreamCipher;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encrypt` found for struct `ctr::ctr128::Ctr128` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | self.cipher.encrypt(chunk); [INFO] [stdout] | ^^^^^^^ method not found in `ctr::ctr128::Ctr128` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes_ctr::cipher::StreamCipher;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encrypt` found for struct `ctr::ctr128::Ctr128` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | self.cipher.encrypt(rem); [INFO] [stdout] | ^^^^^^^ method not found in `ctr::ctr128::Ctr128` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes_ctr::cipher::StreamCipher;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `ctr::ctr128::Ctr128` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | self.cipher.seek(0); [INFO] [stdout] | ^^^^ method not found in `ctr::ctr128::Ctr128` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes_ctr::cipher::SyncStreamCipherSeek;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encrypt` found for struct `ctr::ctr128::Ctr128` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | self.cipher.encrypt(tag.as_mut_slice()); [INFO] [stdout] | ^^^^^^^ method not found in `ctr::ctr128::Ctr128` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes_ctr::cipher::StreamCipher;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decrypt` found for struct `ctr::ctr128::Ctr128` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | self.cipher.decrypt(buffer); [INFO] [stdout] | ^^^^^^^ method not found in `ctr::ctr128::Ctr128` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes_ctr::cipher::StreamCipher;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decrypt` found for struct `ctr::ctr128::Ctr128` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | self.cipher.decrypt(chunk); [INFO] [stdout] | ^^^^^^^ method not found in `ctr::ctr128::Ctr128` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes_ctr::cipher::StreamCipher;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decrypt` found for struct `ctr::ctr128::Ctr128` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | self.cipher.decrypt(rem); [INFO] [stdout] | ^^^^^^^ method not found in `ctr::ctr128::Ctr128` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes_ctr::cipher::StreamCipher;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `ctr::ctr128::Ctr128` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | self.cipher.seek(0); [INFO] [stdout] | ^^^^ method not found in `ctr::ctr128::Ctr128` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes_ctr::cipher::SyncStreamCipherSeek;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encrypt` found for struct `ctr::ctr128::Ctr128` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | self.cipher.encrypt(tag.as_mut_slice()); [INFO] [stdout] | ^^^^^^^ method not found in `ctr::ctr128::Ctr128` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes_ctr::cipher::StreamCipher;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mla` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/layers/compress.rs:1035:58 [INFO] [stdout] | [INFO] [stdout] 1035 | assert_eq!(pos, (UNCOMPRESSED_DATA_SIZE + 4).into()); [INFO] [stdout] | -----------------------------^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `U` [INFO] [stdout] | this method call resolves to `T` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: From` [INFO] [stdout] = note: required because of the requirements on the impl of `Into<_>` for `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Aes256` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | let cipher = Aes256::new(GenericArray::from_slice(key)); [INFO] [stdout] | ^^^ function or associated item not found in `Aes256` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes::NewBlockCipher;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_var` found for struct `ctr::ctr128::Ctr128` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:61:46 [INFO] [stdout] | [INFO] [stdout] 61 | let mut cipher = aes_ctr::Aes256Ctr::new_var(key, &counter_block)?; [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ctr::ctr128::Ctr128` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes_ctr::cipher::NewStreamCipher;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encrypt` found for struct `ctr::ctr128::Ctr128` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | self.cipher.encrypt(buffer); [INFO] [stdout] | ^^^^^^^ method not found in `ctr::ctr128::Ctr128` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes_ctr::cipher::StreamCipher;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encrypt` found for struct `ctr::ctr128::Ctr128` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | self.cipher.encrypt(in_block); [INFO] [stdout] | ^^^^^^^ method not found in `ctr::ctr128::Ctr128` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes_ctr::cipher::StreamCipher;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encrypt` found for struct `ctr::ctr128::Ctr128` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | self.cipher.encrypt(chunk); [INFO] [stdout] | ^^^^^^^ method not found in `ctr::ctr128::Ctr128` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes_ctr::cipher::StreamCipher;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encrypt` found for struct `ctr::ctr128::Ctr128` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | self.cipher.encrypt(rem); [INFO] [stdout] | ^^^^^^^ method not found in `ctr::ctr128::Ctr128` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes_ctr::cipher::StreamCipher;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `ctr::ctr128::Ctr128` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | self.cipher.seek(0); [INFO] [stdout] | ^^^^ method not found in `ctr::ctr128::Ctr128` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes_ctr::cipher::SyncStreamCipherSeek;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encrypt` found for struct `ctr::ctr128::Ctr128` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | self.cipher.encrypt(tag.as_mut_slice()); [INFO] [stdout] | ^^^^^^^ method not found in `ctr::ctr128::Ctr128` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes_ctr::cipher::StreamCipher;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decrypt` found for struct `ctr::ctr128::Ctr128` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | self.cipher.decrypt(buffer); [INFO] [stdout] | ^^^^^^^ method not found in `ctr::ctr128::Ctr128` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes_ctr::cipher::StreamCipher;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decrypt` found for struct `ctr::ctr128::Ctr128` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | self.cipher.decrypt(chunk); [INFO] [stdout] | ^^^^^^^ method not found in `ctr::ctr128::Ctr128` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes_ctr::cipher::StreamCipher;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decrypt` found for struct `ctr::ctr128::Ctr128` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | self.cipher.decrypt(rem); [INFO] [stdout] | ^^^^^^^ method not found in `ctr::ctr128::Ctr128` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes_ctr::cipher::StreamCipher;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `ctr::ctr128::Ctr128` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | self.cipher.seek(0); [INFO] [stdout] | ^^^^ method not found in `ctr::ctr128::Ctr128` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes_ctr::cipher::SyncStreamCipherSeek;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encrypt` found for struct `ctr::ctr128::Ctr128` in the current scope [INFO] [stdout] --> src/crypto/aesgcm.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | self.cipher.encrypt(tag.as_mut_slice()); [INFO] [stdout] | ^^^^^^^ method not found in `ctr::ctr128::Ctr128` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use aes_ctr::cipher::StreamCipher;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c8f06d04c5a9abd26122875c276a96d57168cb2e96242841d9cbebf6aa50e18d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8f06d04c5a9abd26122875c276a96d57168cb2e96242841d9cbebf6aa50e18d", kill_on_drop: false }` [INFO] [stdout] c8f06d04c5a9abd26122875c276a96d57168cb2e96242841d9cbebf6aa50e18d