[INFO] fetching crate rcrypto 0.2.0... [INFO] testing rcrypto-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rcrypto 0.2.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate rcrypto 0.2.0 [INFO] finished tweaking crates.io crate rcrypto 0.2.0 [INFO] tweaked toml for crates.io crate rcrypto 0.2.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rcrypto 0.2.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rmath v0.1.5 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb5ab3e2565b3bbc342a0cb13944eb6592b6272cb9e88489900106e848d3bf89 [INFO] running `Command { std: "docker" "start" "-a" "cb5ab3e2565b3bbc342a0cb13944eb6592b6272cb9e88489900106e848d3bf89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb5ab3e2565b3bbc342a0cb13944eb6592b6272cb9e88489900106e848d3bf89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb5ab3e2565b3bbc342a0cb13944eb6592b6272cb9e88489900106e848d3bf89", kill_on_drop: false }` [INFO] [stdout] cb5ab3e2565b3bbc342a0cb13944eb6592b6272cb9e88489900106e848d3bf89 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] adf1806d60ac4f05f055e605e13ccdadf30d26229403fb5163044ba57ef5ff41 [INFO] running `Command { std: "docker" "start" "-a" "adf1806d60ac4f05f055e605e13ccdadf30d26229403fb5163044ba57ef5ff41", kill_on_drop: false }` [INFO] [stderr] Compiling rmath v0.1.5 [INFO] [stderr] Compiling rcrypto v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `rcrypto_aes` [INFO] [stdout] --> src/aes/mod.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(not(all(rcrypto_aes = "support", any(target_arch = "x86", target_arch = "x86_64"))))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rcrypto_aes, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rcrypto_aes, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rcrypto_aes` [INFO] [stdout] --> src/aes/mod.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(not(all(rcrypto_aes = "support", any(target_arch = "x86", target_arch = "x86_64"))))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rcrypto_aes, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rcrypto_aes, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rcrypto_aes` [INFO] [stdout] --> src/aes/mod.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(not(all(rcrypto_aes = "support", any(target_arch = "x86", target_arch = "x86_64"))))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rcrypto_aes, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rcrypto_aes, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rcrypto_aes` [INFO] [stdout] --> src/aes/mod.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(all(rcrypto_aes = "support", any(target_arch = "x86", target_arch = "x86_64")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rcrypto_aes, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rcrypto_aes, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rcrypto_aes` [INFO] [stdout] --> src/aes/mod.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(all(rcrypto_aes = "support", any(target_arch = "x86", target_arch = "x86_64")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rcrypto_aes, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rcrypto_aes, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/aes/aes_amd64.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use std::intrinsics::transmute; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/pond.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | fn write(&mut self, data: &[u8]) -> Result; [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 40 | fn write(&mut self, data: &[u8]) -> Result, CryptoError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/pond.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | fn finish(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 43 | fn finish(&mut self) -> Result, CryptoError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/pond.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | fn write(&mut self, data: &[u8]) -> Result; [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 47 | fn write(&mut self, data: &[u8]) -> Result, CryptoError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/pond.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | fn finish(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | fn finish(&mut self) -> Result, CryptoError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ecb.rs:195:14 [INFO] [stdout] | [INFO] [stdout] 195 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 195 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ecb.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 240 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 240 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ecb.rs:276:14 [INFO] [stdout] | [INFO] [stdout] 276 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 276 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ecb.rs:306:15 [INFO] [stdout] | [INFO] [stdout] 306 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 306 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/cbc.rs:250:14 [INFO] [stdout] | [INFO] [stdout] 250 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 250 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/cbc.rs:295:15 [INFO] [stdout] | [INFO] [stdout] 295 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 295 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/cbc.rs:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 325 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/cbc.rs:360:15 [INFO] [stdout] | [INFO] [stdout] 360 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 360 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/cfb.rs:257:14 [INFO] [stdout] | [INFO] [stdout] 257 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 257 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/cfb.rs:285:15 [INFO] [stdout] | [INFO] [stdout] 285 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 285 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/cfb.rs:301:14 [INFO] [stdout] | [INFO] [stdout] 301 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 301 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/cfb.rs:323:15 [INFO] [stdout] | [INFO] [stdout] 323 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 323 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ofb.rs:191:14 [INFO] [stdout] | [INFO] [stdout] 191 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 191 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ofb.rs:215:15 [INFO] [stdout] | [INFO] [stdout] 215 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 215 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ofb.rs:240:14 [INFO] [stdout] | [INFO] [stdout] 240 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 240 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ofb.rs:264:15 [INFO] [stdout] | [INFO] [stdout] 264 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 264 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ctr.rs:199:14 [INFO] [stdout] | [INFO] [stdout] 199 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 199 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ctr.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 220 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 220 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ctr.rs:235:14 [INFO] [stdout] | [INFO] [stdout] 235 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 235 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ctr.rs:239:15 [INFO] [stdout] | [INFO] [stdout] 239 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 239 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/rsa/pkcs1.rs:239:26 [INFO] [stdout] | [INFO] [stdout] 239 | unreachable!(format!("not suuport {}", std::any::type_name::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 239 - unreachable!(format!("not suuport {}", std::any::type_name::())); [INFO] [stdout] 239 + unreachable!("not suuport {}", std::any::type_name::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.53s [INFO] running `Command { std: "docker" "inspect" "adf1806d60ac4f05f055e605e13ccdadf30d26229403fb5163044ba57ef5ff41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adf1806d60ac4f05f055e605e13ccdadf30d26229403fb5163044ba57ef5ff41", kill_on_drop: false }` [INFO] [stdout] adf1806d60ac4f05f055e605e13ccdadf30d26229403fb5163044ba57ef5ff41 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d1d0bf1f7d573c01ddae113ecd3742e4360c718e30f1b6b4f6364162867ef146 [INFO] running `Command { std: "docker" "start" "-a" "d1d0bf1f7d573c01ddae113ecd3742e4360c718e30f1b6b4f6364162867ef146", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition name: `rcrypto_aes` [INFO] [stdout] --> src/aes/mod.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(not(all(rcrypto_aes = "support", any(target_arch = "x86", target_arch = "x86_64"))))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rcrypto_aes, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rcrypto_aes, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rcrypto_aes` [INFO] [stdout] --> src/aes/mod.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(not(all(rcrypto_aes = "support", any(target_arch = "x86", target_arch = "x86_64"))))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rcrypto_aes, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rcrypto_aes, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rcrypto_aes` [INFO] [stdout] --> src/aes/mod.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(not(all(rcrypto_aes = "support", any(target_arch = "x86", target_arch = "x86_64"))))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rcrypto_aes, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rcrypto_aes, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rcrypto_aes` [INFO] [stdout] --> src/aes/mod.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(all(rcrypto_aes = "support", any(target_arch = "x86", target_arch = "x86_64")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rcrypto_aes, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rcrypto_aes, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rcrypto_aes` [INFO] [stdout] --> src/aes/mod.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(all(rcrypto_aes = "support", any(target_arch = "x86", target_arch = "x86_64")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rcrypto_aes, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rcrypto_aes, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/aes/aes_amd64.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use std::intrinsics::transmute; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/pond.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | fn write(&mut self, data: &[u8]) -> Result; [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 40 | fn write(&mut self, data: &[u8]) -> Result, CryptoError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/pond.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | fn finish(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 43 | fn finish(&mut self) -> Result, CryptoError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/pond.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | fn write(&mut self, data: &[u8]) -> Result; [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 47 | fn write(&mut self, data: &[u8]) -> Result, CryptoError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/pond.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | fn finish(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | fn finish(&mut self) -> Result, CryptoError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ecb.rs:195:14 [INFO] [stdout] | [INFO] [stdout] 195 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 195 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ecb.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 240 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 240 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ecb.rs:276:14 [INFO] [stdout] | [INFO] [stdout] 276 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 276 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ecb.rs:306:15 [INFO] [stdout] | [INFO] [stdout] 306 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 306 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/cbc.rs:250:14 [INFO] [stdout] | [INFO] [stdout] 250 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 250 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rcrypto v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/cbc.rs:295:15 [INFO] [stdout] | [INFO] [stdout] 295 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 295 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/cbc.rs:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 325 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/cbc.rs:360:15 [INFO] [stdout] | [INFO] [stdout] 360 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 360 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/cfb.rs:257:14 [INFO] [stdout] | [INFO] [stdout] 257 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 257 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/cfb.rs:285:15 [INFO] [stdout] | [INFO] [stdout] 285 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 285 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/cfb.rs:301:14 [INFO] [stdout] | [INFO] [stdout] 301 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 301 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/cfb.rs:323:15 [INFO] [stdout] | [INFO] [stdout] 323 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 323 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ofb.rs:191:14 [INFO] [stdout] | [INFO] [stdout] 191 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 191 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ofb.rs:215:15 [INFO] [stdout] | [INFO] [stdout] 215 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 215 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ofb.rs:240:14 [INFO] [stdout] | [INFO] [stdout] 240 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 240 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ofb.rs:264:15 [INFO] [stdout] | [INFO] [stdout] 264 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 264 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ctr.rs:199:14 [INFO] [stdout] | [INFO] [stdout] 199 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 199 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ctr.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 220 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 220 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ctr.rs:235:14 [INFO] [stdout] | [INFO] [stdout] 235 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 235 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ctr.rs:239:15 [INFO] [stdout] | [INFO] [stdout] 239 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 239 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/rsa/pkcs1.rs:239:26 [INFO] [stdout] | [INFO] [stdout] 239 | unreachable!(format!("not suuport {}", std::any::type_name::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 239 - unreachable!(format!("not suuport {}", std::any::type_name::())); [INFO] [stdout] 239 + unreachable!("not suuport {}", std::any::type_name::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rcrypto_aes` [INFO] [stdout] --> src/aes/mod.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(not(all(rcrypto_aes = "support", any(target_arch = "x86", target_arch = "x86_64"))))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rcrypto_aes, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rcrypto_aes, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rcrypto_aes` [INFO] [stdout] --> src/aes/mod.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(not(all(rcrypto_aes = "support", any(target_arch = "x86", target_arch = "x86_64"))))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rcrypto_aes, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rcrypto_aes, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rcrypto_aes` [INFO] [stdout] --> src/aes/mod.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(not(all(rcrypto_aes = "support", any(target_arch = "x86", target_arch = "x86_64"))))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rcrypto_aes, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rcrypto_aes, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rcrypto_aes` [INFO] [stdout] --> src/aes/mod.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(all(rcrypto_aes = "support", any(target_arch = "x86", target_arch = "x86_64")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rcrypto_aes, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rcrypto_aes, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rcrypto_aes` [INFO] [stdout] --> src/aes/mod.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(all(rcrypto_aes = "support", any(target_arch = "x86", target_arch = "x86_64")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rcrypto_aes, values("support"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rcrypto_aes, values(\"support\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/zuc/zuc_test.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 43 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/zuc/zuc_test.rs:191:6 [INFO] [stdout] | [INFO] [stdout] 191 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/aes/aes_amd64.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use std::intrinsics::transmute; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/pond.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | fn write(&mut self, data: &[u8]) -> Result; [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 40 | fn write(&mut self, data: &[u8]) -> Result, CryptoError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/pond.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | fn finish(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 43 | fn finish(&mut self) -> Result, CryptoError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/pond.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | fn write(&mut self, data: &[u8]) -> Result; [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 47 | fn write(&mut self, data: &[u8]) -> Result, CryptoError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/pond.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | fn finish(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | fn finish(&mut self) -> Result, CryptoError>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ecb.rs:195:14 [INFO] [stdout] | [INFO] [stdout] 195 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 195 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ecb.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 240 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 240 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ecb.rs:276:14 [INFO] [stdout] | [INFO] [stdout] 276 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 276 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ecb.rs:306:15 [INFO] [stdout] | [INFO] [stdout] 306 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 306 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/cbc.rs:250:14 [INFO] [stdout] | [INFO] [stdout] 250 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 250 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/cbc.rs:295:15 [INFO] [stdout] | [INFO] [stdout] 295 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 295 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/cbc.rs:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 325 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/cbc.rs:360:15 [INFO] [stdout] | [INFO] [stdout] 360 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 360 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/cfb.rs:257:14 [INFO] [stdout] | [INFO] [stdout] 257 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 257 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/cfb.rs:285:15 [INFO] [stdout] | [INFO] [stdout] 285 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 285 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/cfb.rs:301:14 [INFO] [stdout] | [INFO] [stdout] 301 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 301 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/cfb.rs:323:15 [INFO] [stdout] | [INFO] [stdout] 323 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 323 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ofb.rs:191:14 [INFO] [stdout] | [INFO] [stdout] 191 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 191 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ofb.rs:215:15 [INFO] [stdout] | [INFO] [stdout] 215 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 215 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ofb.rs:240:14 [INFO] [stdout] | [INFO] [stdout] 240 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 240 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ofb.rs:264:15 [INFO] [stdout] | [INFO] [stdout] 264 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 264 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ctr.rs:199:14 [INFO] [stdout] | [INFO] [stdout] 199 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 199 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ctr.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 220 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 220 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ctr.rs:235:14 [INFO] [stdout] | [INFO] [stdout] 235 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 235 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cipher_mode/ctr.rs:239:15 [INFO] [stdout] | [INFO] [stdout] 239 | fn finish(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 239 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/rsa/pkcs1.rs:239:26 [INFO] [stdout] | [INFO] [stdout] 239 | unreachable!(format!("not suuport {}", std::any::type_name::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 239 - unreachable!(format!("not suuport {}", std::any::type_name::())); [INFO] [stdout] 239 + unreachable!("not suuport {}", std::any::type_name::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.70s [INFO] running `Command { std: "docker" "inspect" "d1d0bf1f7d573c01ddae113ecd3742e4360c718e30f1b6b4f6364162867ef146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1d0bf1f7d573c01ddae113ecd3742e4360c718e30f1b6b4f6364162867ef146", kill_on_drop: false }` [INFO] [stdout] d1d0bf1f7d573c01ddae113ecd3742e4360c718e30f1b6b4f6364162867ef146 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4bf067029c832cf50cceed4d5a0dd0bcd7b41714f7626168995b797aac079a2f [INFO] running `Command { std: "docker" "start" "-a" "4bf067029c832cf50cceed4d5a0dd0bcd7b41714f7626168995b797aac079a2f", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `rcrypto_aes` [INFO] [stderr] --> src/aes/mod.rs:17:15 [INFO] [stderr] | [INFO] [stderr] 17 | #[cfg(not(all(rcrypto_aes = "support", any(target_arch = "x86", target_arch = "x86_64"))))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rcrypto_aes, values("support"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rcrypto_aes, values(\"support\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rcrypto_aes` [INFO] [stderr] --> src/aes/mod.rs:20:15 [INFO] [stderr] | [INFO] [stderr] 20 | #[cfg(not(all(rcrypto_aes = "support", any(target_arch = "x86", target_arch = "x86_64"))))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rcrypto_aes, values("support"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rcrypto_aes, values(\"support\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rcrypto_aes` [INFO] [stderr] --> src/aes/mod.rs:22:15 [INFO] [stderr] | [INFO] [stderr] 22 | #[cfg(not(all(rcrypto_aes = "support", any(target_arch = "x86", target_arch = "x86_64"))))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rcrypto_aes, values("support"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rcrypto_aes, values(\"support\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rcrypto_aes` [INFO] [stderr] --> src/aes/mod.rs:26:11 [INFO] [stderr] | [INFO] [stderr] 26 | #[cfg(all(rcrypto_aes = "support", any(target_arch = "x86", target_arch = "x86_64")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rcrypto_aes, values("support"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rcrypto_aes, values(\"support\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rcrypto_aes` [INFO] [stderr] --> src/aes/mod.rs:28:11 [INFO] [stderr] | [INFO] [stderr] 28 | #[cfg(all(rcrypto_aes = "support", any(target_arch = "x86", target_arch = "x86_64")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rcrypto_aes, values("support"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rcrypto_aes, values(\"support\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stderr] --> src/aes/aes_amd64.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | use std::intrinsics::transmute; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cipher_mode/pond.rs:40:14 [INFO] [stderr] | [INFO] [stderr] 40 | fn write(&mut self, data: &[u8]) -> Result; [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 40 | fn write(&mut self, data: &[u8]) -> Result, CryptoError>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cipher_mode/pond.rs:43:15 [INFO] [stderr] | [INFO] [stderr] 43 | fn finish(&mut self) -> Result; [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 43 | fn finish(&mut self) -> Result, CryptoError>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cipher_mode/pond.rs:47:14 [INFO] [stderr] | [INFO] [stderr] 47 | fn write(&mut self, data: &[u8]) -> Result; [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 47 | fn write(&mut self, data: &[u8]) -> Result, CryptoError>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cipher_mode/pond.rs:50:15 [INFO] [stderr] | [INFO] [stderr] 50 | fn finish(&mut self) -> Result; [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 50 | fn finish(&mut self) -> Result, CryptoError>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cipher_mode/ecb.rs:195:14 [INFO] [stderr] | [INFO] [stderr] 195 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 195 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cipher_mode/ecb.rs:240:15 [INFO] [stderr] | [INFO] [stderr] 240 | fn finish(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 240 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cipher_mode/ecb.rs:276:14 [INFO] [stderr] | [INFO] [stderr] 276 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 276 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cipher_mode/ecb.rs:306:15 [INFO] [stderr] | [INFO] [stderr] 306 | fn finish(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 306 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cipher_mode/cbc.rs:250:14 [INFO] [stderr] | [INFO] [stderr] 250 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 250 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cipher_mode/cbc.rs:295:15 [INFO] [stderr] | [INFO] [stderr] 295 | fn finish(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 295 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cipher_mode/cbc.rs:325:14 [INFO] [stderr] | [INFO] [stderr] 325 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 325 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cipher_mode/cbc.rs:360:15 [INFO] [stderr] | [INFO] [stderr] 360 | fn finish(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 360 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cipher_mode/cfb.rs:257:14 [INFO] [stderr] | [INFO] [stderr] 257 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 257 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cipher_mode/cfb.rs:285:15 [INFO] [stderr] | [INFO] [stderr] 285 | fn finish(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 285 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cipher_mode/cfb.rs:301:14 [INFO] [stderr] | [INFO] [stderr] 301 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 301 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cipher_mode/cfb.rs:323:15 [INFO] [stderr] | [INFO] [stderr] 323 | fn finish(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 323 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cipher_mode/ofb.rs:191:14 [INFO] [stderr] | [INFO] [stderr] 191 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 191 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cipher_mode/ofb.rs:215:15 [INFO] [stderr] | [INFO] [stderr] 215 | fn finish(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 215 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cipher_mode/ofb.rs:240:14 [INFO] [stderr] | [INFO] [stderr] 240 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 240 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cipher_mode/ofb.rs:264:15 [INFO] [stderr] | [INFO] [stderr] 264 | fn finish(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 264 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cipher_mode/ctr.rs:199:14 [INFO] [stderr] | [INFO] [stderr] 199 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 199 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cipher_mode/ctr.rs:220:15 [INFO] [stderr] | [INFO] [stderr] 220 | fn finish(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 220 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cipher_mode/ctr.rs:235:14 [INFO] [stderr] | [INFO] [stderr] 235 | fn write(&mut self, data: &[u8]) -> Result { [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 235 | fn write(&mut self, data: &[u8]) -> Result, CryptoError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cipher_mode/ctr.rs:239:15 [INFO] [stderr] | [INFO] [stderr] 239 | fn finish(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 239 | fn finish(&mut self) -> Result, CryptoError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stdout] [INFO] [stderr] --> src/rsa/pkcs1.rs:239:26 [INFO] [stdout] running 63 tests [INFO] [stderr] | [INFO] [stderr] 239 | unreachable!(format!("not suuport {}", std::any::type_name::())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 239 - unreachable!(format!("not suuport {}", std::any::type_name::())); [INFO] [stderr] 239 + unreachable!("not suuport {}", std::any::type_name::()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rcrypto` (lib) generated 31 warnings (run `cargo fix --lib -p rcrypto` to apply 25 suggestions) [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/zuc/zuc_test.rs:43:6 [INFO] [stderr] | [INFO] [stderr] 43 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/zuc/zuc_test.rs:191:6 [INFO] [stderr] | [INFO] [stderr] 191 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: `rcrypto` (lib test) generated 33 warnings (31 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rcrypto-5a54a70ffa36ae2d) [INFO] [stdout] test aes::aes::tests::aes128 ... ok [INFO] [stdout] test aes::aes::tests::aes192 ... ok [INFO] [stdout] test aes::aes::tests::aes ... ok [INFO] [stdout] test cipher_mode::cipher_mode_test::cbc_test ... ok [INFO] [stdout] test cipher_mode::cipher_mode_test::ctr_test ... ok [INFO] [stdout] test cipher_mode::cipher_mode_test::ecb_aes ... ok [INFO] [stdout] test aes::aes::tests::aes256 ... ok [INFO] [stdout] test cipher_mode::ecb::tests::ecb_stream ... ok [INFO] [stdout] test cmac::cmac_test::cmac_aes ... ok [INFO] [stdout] test cipher_mode::cipher_mode_test::ecb_tdes ... ok [INFO] [stdout] test cipher_mode::ecb::tests::ecb_cipher ... ok [INFO] [stdout] test des::des::tests::des ... ok [INFO] [stdout] test des::tdes::tests::tdes ... ok [INFO] [stdout] test cipher_mode::cipher_mode_test::cfb_test ... ok [INFO] [stdout] test cmac::cmac_test::cmac_tdes ... ok [INFO] [stdout] test cipher_mode::cipher_mode_test::ofb_test ... ok [INFO] [stdout] test elliptic::elliptic_test::elliptic_on_curve ... ok [INFO] [stdout] test elliptic::elliptic_test::elliptic_off_curve ... ok [INFO] [stdout] test elliptic::elliptic_test::elliptic_combined_mult ... FAILED [INFO] [stdout] test hmac::hmac::tests::hmac_md5 ... ok [INFO] [stdout] test hmac::hmac::tests::hmac_sha1 ... ok [INFO] [stdout] test hmac::hmac::tests::hmac_sha224 ... ok [INFO] [stdout] test elliptic::elliptic_test::elliptic_infinity ... FAILED [INFO] [stdout] test hmac::hmac::tests::hmac_sha384 ... ok [INFO] [stdout] test hmac::hmac::tests::hmac_sha256 ... ok [INFO] [stdout] test hmac::hmac::tests::hmac_sha512 ... ok [INFO] [stdout] test elliptic::elliptic_test::elliptic_p256_mult ... FAILED [INFO] [stdout] test elliptic::elliptic_test::elliptic_p256_base_mult ... FAILED [INFO] [stdout] test ecdsa::ecdsa_test::ecdsa ... FAILED [INFO] [stdout] test md5::md5::tests::md5 ... ok [INFO] [stdout] test keccak::keccak::tests::keccak ... ok [INFO] [stdout] test rsa::pkcs1_test::pkcs1_sign ... ok [INFO] [stdout] test rsa::pkcs1_test::pcks1_encrypt_decrypt ... ok [INFO] [stdout] test rsa::rsa_test::rsa_gnu_tls_key ... ok [INFO] [stdout] test rsa::pss_test::emsa_pss_openssl ... FAILED [INFO] [stdout] test dsa::dsa_test::dsa_sign_verify ... ok [INFO] [stdout] test rsa::oaep_test::oaep_encrypt ... ok [INFO] [stdout] test rsa::rsa_test::rsa_multi3_prime_keygen ... ok [INFO] [stdout] test rsa::rsa_test::rsa_multi4_prime_keygen ... ok [INFO] [stdout] test sha3::sha3::tests::sha224 ... ok [INFO] [stdout] test sha3::sha3::tests::sha256 ... ok [INFO] [stdout] test sha3::sha3::tests::sha384 ... ok [INFO] [stdout] test sha3::sha3::tests::sha512 ... ok [INFO] [stdout] test sha3::sha3::tests::shake128 ... ok [INFO] [stdout] test sha::sha::tests::sha1 ... ok [INFO] [stdout] test sha::sha::tests::sha224 ... ok [INFO] [stdout] test sha::sha::tests::sha256 ... ok [INFO] [stdout] test sha::sha::tests::sha512 ... ok [INFO] [stdout] test sha::sha::tests::sha512t224 ... ok [INFO] [stdout] test sha::sha::tests::sha512t256 ... ok [INFO] [stdout] test sha::sha::tests::sha512t384 ... ok [INFO] [stdout] test sm3::sm3::tests::sm3 ... ok [INFO] [stdout] test rsa::oaep_test::oaep_decrypt ... ok [INFO] [stdout] test zuc::zuc_test::zuc_cipher ... ok [INFO] [stdout] test zuc::zuc_test::zuc_core ... ok [INFO] [stdout] test zuc::zuc_test::zuc_mac ... ok [INFO] [stdout] test rsa::rsa_test::rsa_keygen_1024 ... ok [INFO] [stdout] test rsa::pss_test::emsa_pss ... FAILED [INFO] [stdout] test dsa::dsa_test::dsa_parameter_generation has been running for over 60 seconds [INFO] [stdout] test elliptic::elliptic_test::elliptic_p224_base_mult has been running for over 60 seconds [INFO] [stdout] test rsa::rsa_test::rsa_keygen_2048 has been running for over 60 seconds [INFO] [stdout] test sm4::sm4_test::sm4 ... ok [INFO] [stdout] test rsa::rsa_test::rsa_multin_prime_keygen ... ok [INFO] [stdout] test rsa::rsa_test::rsa_keygen_2048 ... ok [INFO] [stdout] test elliptic::elliptic_test::elliptic_p224_base_mult ... ok [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "4bf067029c832cf50cceed4d5a0dd0bcd7b41714f7626168995b797aac079a2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bf067029c832cf50cceed4d5a0dd0bcd7b41714f7626168995b797aac079a2f", kill_on_drop: false }` [INFO] [stdout] 4bf067029c832cf50cceed4d5a0dd0bcd7b41714f7626168995b797aac079a2f