[INFO] fetching crate tls-api-rustls 0.12.1... [INFO] testing tls-api-rustls-0.12.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate tls-api-rustls 0.12.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate tls-api-rustls 0.12.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate tls-api-rustls 0.12.1 [INFO] tweaked toml for crates.io crate tls-api-rustls 0.12.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tls-api-rustls 0.12.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tls-api-rustls 0.12.1 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 433232c079eaf6c301f3671c3233bae4fa19e83bbc0accfd9c82b445dfa04e15 [INFO] running `Command { std: "docker" "start" "-a" "433232c079eaf6c301f3671c3233bae4fa19e83bbc0accfd9c82b445dfa04e15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "433232c079eaf6c301f3671c3233bae4fa19e83bbc0accfd9c82b445dfa04e15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "433232c079eaf6c301f3671c3233bae4fa19e83bbc0accfd9c82b445dfa04e15", kill_on_drop: false }` [INFO] [stdout] 433232c079eaf6c301f3671c3233bae4fa19e83bbc0accfd9c82b445dfa04e15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 031bcc124cacfbdf854679a4d763284debfa6d1d8e56cf0da1ba55141e142953 [INFO] running `Command { std: "docker" "start" "-a" "031bcc124cacfbdf854679a4d763284debfa6d1d8e56cf0da1ba55141e142953", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling rustls v0.23.18 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling webpki-roots v0.26.7 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling thiserror-impl v2.0.3 [INFO] [stderr] Compiling thiserror v2.0.3 [INFO] [stderr] Compiling tls-api v0.12.0 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling tls-api-rustls v0.12.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rustls_utils.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn session(&self) -> RustlsSessionRef { [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] 24 | pub fn session(&self) -> RustlsSessionRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stream.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn session(&self) -> RustlsSessionRef { [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] 20 | pub fn session(&self) -> RustlsSessionRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.73s [INFO] running `Command { std: "docker" "inspect" "031bcc124cacfbdf854679a4d763284debfa6d1d8e56cf0da1ba55141e142953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "031bcc124cacfbdf854679a4d763284debfa6d1d8e56cf0da1ba55141e142953", kill_on_drop: false }` [INFO] [stdout] 031bcc124cacfbdf854679a4d763284debfa6d1d8e56cf0da1ba55141e142953 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 221d42d41f3287470f2b91926eef037f6897e914f0f0d01c3394fa849ed42dc4 [INFO] running `Command { std: "docker" "start" "-a" "221d42d41f3287470f2b91926eef037f6897e914f0f0d01c3394fa849ed42dc4", kill_on_drop: false }` [INFO] [stderr] Compiling test-cert-gen-2 v0.12.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rustls_utils.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn session(&self) -> RustlsSessionRef { [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] 24 | pub fn session(&self) -> RustlsSessionRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stream.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn session(&self) -> RustlsSessionRef { [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] 20 | pub fn session(&self) -> RustlsSessionRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tls-api-rustls v0.12.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> examples/rustls_client.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> examples/rustls_server.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/rustls_client.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/rustls_server.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tls-api-rustls` (example "rustls_server") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tls-api-rustls` (example "rustls_client") due to 2 previous errors [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rustls_utils.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn session(&self) -> RustlsSessionRef { [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] 24 | pub fn session(&self) -> RustlsSessionRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stream.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn session(&self) -> RustlsSessionRef { [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] 20 | pub fn session(&self) -> RustlsSessionRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "221d42d41f3287470f2b91926eef037f6897e914f0f0d01c3394fa849ed42dc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "221d42d41f3287470f2b91926eef037f6897e914f0f0d01c3394fa849ed42dc4", kill_on_drop: false }` [INFO] [stdout] 221d42d41f3287470f2b91926eef037f6897e914f0f0d01c3394fa849ed42dc4