[INFO] fetching crate rustls-fork-shadow-tls 0.20.9-mod.2... [INFO] testing rustls-fork-shadow-tls-0.20.9-mod.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rustls-fork-shadow-tls 0.20.9-mod.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate rustls-fork-shadow-tls 0.20.9-mod.2 [INFO] removed 3 missing examples [INFO] finished tweaking crates.io crate rustls-fork-shadow-tls 0.20.9-mod.2 [INFO] tweaked toml for crates.io crate rustls-fork-shadow-tls 0.20.9-mod.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rustls-fork-shadow-tls 0.20.9-mod.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rustls-fork-shadow-tls 0.20.9-mod.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3fd004219c14ff07603910ca1631a4846777b90b76e34a70784eea50f760887 [INFO] running `Command { std: "docker" "start" "-a" "c3fd004219c14ff07603910ca1631a4846777b90b76e34a70784eea50f760887", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3fd004219c14ff07603910ca1631a4846777b90b76e34a70784eea50f760887", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3fd004219c14ff07603910ca1631a4846777b90b76e34a70784eea50f760887", kill_on_drop: false }` [INFO] [stdout] c3fd004219c14ff07603910ca1631a4846777b90b76e34a70784eea50f760887 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 211993ce04adaffe931167c0ecfeeaebd49019215970d7dff4f76dbd4bcc2fd7 [INFO] running `Command { std: "docker" "start" "-a" "211993ce04adaffe931167c0ecfeeaebd49019215970d7dff4f76dbd4bcc2fd7", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling libc v0.2.135 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling rustls-fork-shadow-tls v0.20.9-mod.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `read_buf` [INFO] [stdout] --> src/lib.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 263 | #![cfg_attr(not(read_buf), forbid(unstable_features))] [INFO] [stdout] | ^^^^^^^^ help: found config with similar value: `feature = "read_buf"` [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(read_buf)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(read_buf)");` 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: `read_buf` [INFO] [stdout] --> src/lib.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | #![cfg_attr(read_buf, feature(read_buf))] [INFO] [stdout] | ^^^^^^^^ help: found config with similar value: `feature = "read_buf"` [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(read_buf)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(read_buf)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/cipher.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) struct Iv(pub(crate) [u8; ring::aead::NONCE_LEN]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | unused_qualifications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 33 - pub(crate) struct Iv(pub(crate) [u8; ring::aead::NONCE_LEN]); [INFO] [stdout] 33 + pub(crate) struct Iv(pub(crate) [u8; aead::NONCE_LEN]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/cipher.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(value: [u8; ring::aead::NONCE_LEN]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 37 - fn new(value: [u8; ring::aead::NONCE_LEN]) -> Self { [INFO] [stdout] 37 + fn new(value: [u8; aead::NONCE_LEN]) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/cipher.rs:43:39 [INFO] [stdout] | [INFO] [stdout] 43 | debug_assert_eq!(value.len(), ring::aead::NONCE_LEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 43 - debug_assert_eq!(value.len(), ring::aead::NONCE_LEN); [INFO] [stdout] 43 + debug_assert_eq!(value.len(), aead::NONCE_LEN); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/cipher.rs:71:48 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) fn make_nonce(iv: &Iv, seq: u64) -> ring::aead::Nonce { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 71 - pub(crate) fn make_nonce(iv: &Iv, seq: u64) -> ring::aead::Nonce { [INFO] [stdout] 71 + pub(crate) fn make_nonce(iv: &Iv, seq: u64) -> aead::Nonce { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/cipher.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | let mut nonce = [0u8; ring::aead::NONCE_LEN]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 72 - let mut nonce = [0u8; ring::aead::NONCE_LEN]; [INFO] [stdout] 72 + let mut nonce = [0u8; aead::NONCE_LEN]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `read_buf` [INFO] [stdout] --> src/conn.rs:281:11 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg(read_buf)] [INFO] [stdout] | ^^^^^^^^ help: found config with similar value: `feature = "read_buf"` [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(read_buf)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(read_buf)");` 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: unused doc comment [INFO] [stdout] --> src/conn.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | / /// Are we done? i.e., have we processed all received messages, and received a [INFO] [stdout] 435 | | /// close_notify to indicate that no new messages will arrive? [INFO] [stdout] | |__________________________________________________________________________^ [INFO] [stdout] 436 | / peer_cleanly_closed: self [INFO] [stdout] 437 | | .common_state [INFO] [stdout] 438 | | .has_received_close_notify [INFO] [stdout] 439 | | && !self.message_deframer.has_pending(), [INFO] [stdout] | |_______________________________________________________- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `read_buf` [INFO] [stdout] --> src/stream.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg(read_buf)] [INFO] [stdout] | ^^^^^^^^ help: found config with similar value: `feature = "read_buf"` [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(read_buf)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(read_buf)");` 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: `read_buf` [INFO] [stdout] --> src/stream.rs:212:11 [INFO] [stdout] | [INFO] [stdout] 212 | #[cfg(read_buf)] [INFO] [stdout] | ^^^^^^^^ help: found config with similar value: `feature = "read_buf"` [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(read_buf)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(read_buf)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/tls12/cipher.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | ) -> ring::aead::Aad<[u8; TLS12_AAD_SIZE]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 19 - ) -> ring::aead::Aad<[u8; TLS12_AAD_SIZE]> { [INFO] [stdout] 19 + ) -> aead::Aad<[u8; TLS12_AAD_SIZE]> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/tls12/cipher.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | ring::aead::Aad::from(out) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 25 - ring::aead::Aad::from(out) [INFO] [stdout] 25 + aead::Aad::from(out) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/tls12/mod.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | aead_algorithm: &ring::aead::CHACHA20_POLY1305, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 29 - aead_algorithm: &ring::aead::CHACHA20_POLY1305, [INFO] [stdout] 29 + aead_algorithm: &aead::CHACHA20_POLY1305, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/tls12/mod.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | aead_algorithm: &ring::aead::CHACHA20_POLY1305, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 45 - aead_algorithm: &ring::aead::CHACHA20_POLY1305, [INFO] [stdout] 45 + aead_algorithm: &aead::CHACHA20_POLY1305, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/tls12/mod.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | aead_algorithm: &ring::aead::AES_128_GCM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 61 - aead_algorithm: &ring::aead::AES_128_GCM, [INFO] [stdout] 61 + aead_algorithm: &aead::AES_128_GCM, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/tls12/mod.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | aead_algorithm: &ring::aead::AES_256_GCM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 77 - aead_algorithm: &ring::aead::AES_256_GCM, [INFO] [stdout] 77 + aead_algorithm: &aead::AES_256_GCM, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/tls12/mod.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | aead_algorithm: &ring::aead::AES_128_GCM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 93 - aead_algorithm: &ring::aead::AES_128_GCM, [INFO] [stdout] 93 + aead_algorithm: &aead::AES_128_GCM, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/tls12/mod.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | aead_algorithm: &ring::aead::AES_256_GCM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 109 - aead_algorithm: &ring::aead::AES_256_GCM, [INFO] [stdout] 109 + aead_algorithm: &aead::AES_256_GCM, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/tls13/key_schedule.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | algorithm: ring::hkdf::Algorithm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 70 - algorithm: ring::hkdf::Algorithm, [INFO] [stdout] 70 + algorithm: hkdf::Algorithm, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/tls13/mod.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | aead_algorithm: &ring::aead::CHACHA20_POLY1305, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 26 - aead_algorithm: &ring::aead::CHACHA20_POLY1305, [INFO] [stdout] 26 + aead_algorithm: &aead::CHACHA20_POLY1305, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/tls13/mod.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | hkdf_algorithm: ring::hkdf::HKDF_SHA256, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 28 - hkdf_algorithm: ring::hkdf::HKDF_SHA256, [INFO] [stdout] 28 + hkdf_algorithm: hkdf::HKDF_SHA256, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/tls13/mod.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | aead_algorithm: &ring::aead::AES_256_GCM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 41 - aead_algorithm: &ring::aead::AES_256_GCM, [INFO] [stdout] 41 + aead_algorithm: &aead::AES_256_GCM, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/tls13/mod.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | hkdf_algorithm: ring::hkdf::HKDF_SHA384, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 43 - hkdf_algorithm: ring::hkdf::HKDF_SHA384, [INFO] [stdout] 43 + hkdf_algorithm: hkdf::HKDF_SHA384, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/tls13/mod.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | aead_algorithm: &ring::aead::AES_128_GCM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 58 - aead_algorithm: &ring::aead::AES_128_GCM, [INFO] [stdout] 58 + aead_algorithm: &aead::AES_128_GCM, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/tls13/mod.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | hkdf_algorithm: ring::hkdf::HKDF_SHA256, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 60 - hkdf_algorithm: ring::hkdf::HKDF_SHA256, [INFO] [stdout] 60 + hkdf_algorithm: hkdf::HKDF_SHA256, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/tls13/mod.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) hkdf_algorithm: ring::hkdf::Algorithm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 71 - pub(crate) hkdf_algorithm: ring::hkdf::Algorithm, [INFO] [stdout] 71 + pub(crate) hkdf_algorithm: hkdf::Algorithm, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/tls13/mod.rs:155:34 [INFO] [stdout] | [INFO] [stdout] 155 | fn make_tls13_aad(len: usize) -> ring::aead::Aad<[u8; TLS13_AAD_SIZE]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 155 - fn make_tls13_aad(len: usize) -> ring::aead::Aad<[u8; TLS13_AAD_SIZE]> { [INFO] [stdout] 155 + fn make_tls13_aad(len: usize) -> aead::Aad<[u8; TLS13_AAD_SIZE]> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/tls13/mod.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | ring::aead::Aad::from([ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 156 - ring::aead::Aad::from([ [INFO] [stdout] 156 + aead::Aad::from([ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `read_buf` [INFO] [stdout] --> src/vecbuf.rs:108:11 [INFO] [stdout] | [INFO] [stdout] 108 | #[cfg(read_buf)] [INFO] [stdout] | ^^^^^^^^ help: found config with similar value: `feature = "read_buf"` [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(read_buf)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(read_buf)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/ticketer.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let nonce = ring::aead::Nonce::assume_unique_for_key(nonce_buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 71 - let nonce = ring::aead::Nonce::assume_unique_for_key(nonce_buf); [INFO] [stdout] 71 + let nonce = aead::Nonce::assume_unique_for_key(nonce_buf); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/ticketer.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | let aad = ring::aead::Aad::empty(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 72 - let aad = ring::aead::Aad::empty(); [INFO] [stdout] 72 + let aad = aead::Aad::empty(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/ticketer.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | let nonce = ring::aead::Nonce::try_assume_unique_for_key(nonce).ok()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 94 - let nonce = ring::aead::Nonce::try_assume_unique_for_key(nonce).ok()?; [INFO] [stdout] 94 + let nonce = aead::Nonce::try_assume_unique_for_key(nonce).ok()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `read_buf` [INFO] [stdout] --> src/server/server_conn.rs:746:7 [INFO] [stdout] | [INFO] [stdout] 746 | #[cfg(read_buf)] [INFO] [stdout] | ^^^^^^^^ help: found config with similar value: `feature = "read_buf"` [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(read_buf)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(read_buf)");` 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: `read_buf` [INFO] [stdout] --> src/server/server_conn.rs:345:11 [INFO] [stdout] | [INFO] [stdout] 345 | #[cfg(read_buf)] [INFO] [stdout] | ^^^^^^^^ help: found config with similar value: `feature = "read_buf"` [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(read_buf)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(read_buf)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/server/server_conn.rs:340:10 [INFO] [stdout] | [INFO] [stdout] 340 | impl<'a> std::io::Read for ReadEarlyData<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 340 - impl<'a> std::io::Read for ReadEarlyData<'a> { [INFO] [stdout] 340 + impl<'a> io::Read for ReadEarlyData<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `read_buf` [INFO] [stdout] --> src/server/server_conn.rs:717:11 [INFO] [stdout] | [INFO] [stdout] 717 | #[cfg(read_buf)] [INFO] [stdout] | ^^^^^^^^ help: found config with similar value: `feature = "read_buf"` [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(read_buf)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(read_buf)");` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/msgs/codec.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn init(bytes: &[u8]) -> Reader { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn init(bytes: &[u8]) -> Reader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/msgs/codec.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn sub(&mut self, length: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn sub(&mut self, length: usize) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/msgs/handshake.rs:324:28 [INFO] [stdout] | [INFO] [stdout] 324 | fn get_single_hostname(&self) -> Option; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 324 | fn get_single_hostname(&self) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/msgs/handshake.rs:341:28 [INFO] [stdout] | [INFO] [stdout] 341 | fn get_single_hostname(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 341 | fn get_single_hostname(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/msgs/handshake.rs:342:37 [INFO] [stdout] | [INFO] [stdout] 342 | fn only_dns_hostnames(name: &ServerName) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 342 | fn only_dns_hostnames(name: &ServerName) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/anchors.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) fn to_trust_anchor(&self) -> webpki::TrustAnchor { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) fn to_trust_anchor(&self) -> webpki::TrustAnchor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/conn.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn reader(&mut self) -> Reader { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | pub fn reader(&mut self) -> Reader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/conn.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn writer(&mut self) -> Writer { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 64 | pub fn writer(&mut self) -> Writer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/conn.rs:431:19 [INFO] [stdout] | [INFO] [stdout] 431 | pub fn reader(&mut self) -> Reader { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 431 | pub fn reader(&mut self) -> Reader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/conn.rs:445:19 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn writer(&mut self) -> Writer { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 445 | pub fn writer(&mut self) -> Writer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ticketer.rs:158:19 [INFO] [stdout] | [INFO] [stdout] 158 | fn maybe_roll(&self, now: TimeBase) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 158 | fn maybe_roll(&self, now: TimeBase) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/client/client_conn.rs:245:27 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) fn for_sni(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) fn for_sni(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/client/client_conn.rs:542:23 [INFO] [stdout] | [INFO] [stdout] 542 | pub fn early_data(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 542 | pub fn early_data(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/server/common.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | pub(super) fn from_certified_key(key: &sign::CertifiedKey) -> ActiveCertifiedKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 12 | pub(super) fn from_certified_key(key: &sign::CertifiedKey) -> ActiveCertifiedKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/server/server_conn.rs:454:23 [INFO] [stdout] | [INFO] [stdout] 454 | pub fn early_data(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 454 | pub fn early_data(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustls-fork-shadow-tls` (lib) due to 27 previous errors; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "211993ce04adaffe931167c0ecfeeaebd49019215970d7dff4f76dbd4bcc2fd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "211993ce04adaffe931167c0ecfeeaebd49019215970d7dff4f76dbd4bcc2fd7", kill_on_drop: false }` [INFO] [stdout] 211993ce04adaffe931167c0ecfeeaebd49019215970d7dff4f76dbd4bcc2fd7