[INFO] fetching crate tls-api-rustls 0.12.1... [INFO] checking tls-api-rustls-0.12.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate tls-api-rustls 0.12.1 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tls-api-rustls 0.12.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tls-api v0.12.0 [INFO] [stderr] Downloaded test-cert-gen-2 v0.12.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6a122ad1574ef9c61488a6fb50c4f7977605736819fde72b044838e1df05b5d [INFO] running `Command { std: "docker" "start" "-a" "e6a122ad1574ef9c61488a6fb50c4f7977605736819fde72b044838e1df05b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6a122ad1574ef9c61488a6fb50c4f7977605736819fde72b044838e1df05b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6a122ad1574ef9c61488a6fb50c4f7977605736819fde72b044838e1df05b5d", kill_on_drop: false }` [INFO] [stdout] e6a122ad1574ef9c61488a6fb50c4f7977605736819fde72b044838e1df05b5d [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9dda8165e58bef49a360872170a854c9e6fde7ce7215fa4018369acbfd81b5f5 [INFO] running `Command { std: "docker" "start" "-a" "9dda8165e58bef49a360872170a854c9e6fde7ce7215fa4018369acbfd81b5f5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling thiserror v2.0.3 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Checking rustls-pki-types v1.10.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling rustls v0.23.18 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking 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] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Checking test-cert-gen-2 v0.12.0 [INFO] [stderr] Compiling thiserror-impl v2.0.3 [INFO] [stderr] Checking tls-api v0.12.0 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking 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] [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] 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] [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] [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] [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_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] running `Command { std: "docker" "inspect" "9dda8165e58bef49a360872170a854c9e6fde7ce7215fa4018369acbfd81b5f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dda8165e58bef49a360872170a854c9e6fde7ce7215fa4018369acbfd81b5f5", kill_on_drop: false }` [INFO] [stdout] 9dda8165e58bef49a360872170a854c9e6fde7ce7215fa4018369acbfd81b5f5