[INFO] fetching crate tls-api-rustls 0.12.1... [INFO] testing tls-api-rustls-0.12.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate tls-api-rustls 0.12.1 into /workspace/builds/worker-7-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tls-api-rustls 0.12.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tls-api v0.12.0 [INFO] [stderr] Downloaded webpki v0.22.4 [INFO] [stderr] Downloaded test-cert-gen-2 v0.12.0 [INFO] [stderr] Downloaded event-listener-strategy v0.5.2 [INFO] [stderr] Downloaded async-channel v2.3.1 [INFO] [stderr] Downloaded blocking v1.6.1 [INFO] [stderr] Downloaded async-executor v1.13.1 [INFO] [stderr] Downloaded event-listener v5.3.1 [INFO] [stderr] Downloaded polling v3.7.4 [INFO] [stderr] Downloaded async-io v2.4.0 [INFO] [stderr] Downloaded cc v1.2.1 [INFO] [stderr] Downloaded futures-lite v2.5.0 [INFO] [stderr] Downloaded bytes v1.8.0 [INFO] [stderr] Downloaded value-bag v1.10.0 [INFO] [stderr] Downloaded async-std v1.13.0 [INFO] [stderr] Downloaded syn v2.0.89 [INFO] [stderr] Downloaded rustls v0.23.18 [INFO] [stderr] Downloaded libc v0.2.164 [INFO] [stderr] Downloaded tokio v1.41.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 805395c356cfb028e40d0211201e36e0a5caa66e331fc4051a1e3ec23d55c15e [INFO] running `Command { std: "docker" "start" "-a" "805395c356cfb028e40d0211201e36e0a5caa66e331fc4051a1e3ec23d55c15e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "805395c356cfb028e40d0211201e36e0a5caa66e331fc4051a1e3ec23d55c15e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "805395c356cfb028e40d0211201e36e0a5caa66e331fc4051a1e3ec23d55c15e", kill_on_drop: false }` [INFO] [stdout] 805395c356cfb028e40d0211201e36e0a5caa66e331fc4051a1e3ec23d55c15e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60267af27390d29e58c345488a84b33f2f6c67240e56f28b7def64bb0c5215cd [INFO] running `Command { std: "docker" "start" "-a" "60267af27390d29e58c345488a84b33f2f6c67240e56f28b7def64bb0c5215cd", 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 rustls-pki-types v1.10.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling rustls v0.23.18 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [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 ring v0.17.8 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling tempfile v3.14.0 [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 webpki v0.22.4 [INFO] [stderr] Compiling tls-api v0.12.0 [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 18.66s [INFO] running `Command { std: "docker" "inspect" "60267af27390d29e58c345488a84b33f2f6c67240e56f28b7def64bb0c5215cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60267af27390d29e58c345488a84b33f2f6c67240e56f28b7def64bb0c5215cd", kill_on_drop: false }` [INFO] [stdout] 60267af27390d29e58c345488a84b33f2f6c67240e56f28b7def64bb0c5215cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f6a496fddf7fb3623dcdab1fd485302d6a8379c9fbece9f6a5dc7c3b1657ad1 [INFO] running `Command { std: "docker" "start" "-a" "9f6a496fddf7fb3623dcdab1fd485302d6a8379c9fbece9f6a5dc7c3b1657ad1", 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_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[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[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] 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] [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_client") 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_server") 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" "9f6a496fddf7fb3623dcdab1fd485302d6a8379c9fbece9f6a5dc7c3b1657ad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f6a496fddf7fb3623dcdab1fd485302d6a8379c9fbece9f6a5dc7c3b1657ad1", kill_on_drop: false }` [INFO] [stdout] 9f6a496fddf7fb3623dcdab1fd485302d6a8379c9fbece9f6a5dc7c3b1657ad1