[INFO] fetching crate tonic-tls 0.6.0... [INFO] testing tonic-tls-0.6.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate tonic-tls 0.6.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate tonic-tls 0.6.0 [INFO] finished tweaking crates.io crate tonic-tls 0.6.0 [INFO] tweaked toml for crates.io crate tonic-tls 0.6.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tonic-tls 0.6.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tonic-tls 0.6.0 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded axum-core v0.5.2 [INFO] [stderr] Downloaded tokio-openssl v0.6.5 [INFO] [stderr] Downloaded matchit v0.8.4 [INFO] [stderr] Downloaded openssl-ktls v0.2.3 [INFO] [stderr] Downloaded tokio-schannel v0.2.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.96 [INFO] [stderr] Downloaded axum v0.8.4 [INFO] [stderr] Downloaded rustls v0.23.31 [INFO] [stderr] Downloaded tonic v0.14.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16785c206b0d64fed5e27f6b22815677eae7f81fc498d181acff52eac04063cb [INFO] running `Command { std: "docker" "start" "-a" "16785c206b0d64fed5e27f6b22815677eae7f81fc498d181acff52eac04063cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16785c206b0d64fed5e27f6b22815677eae7f81fc498d181acff52eac04063cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16785c206b0d64fed5e27f6b22815677eae7f81fc498d181acff52eac04063cb", kill_on_drop: false }` [INFO] [stdout] 16785c206b0d64fed5e27f6b22815677eae7f81fc498d181acff52eac04063cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0af5b87f4b757c4276f7fefc564ceaf7bffa44e6d76b501671a3670d42dc32f [INFO] running `Command { std: "docker" "start" "-a" "e0af5b87f4b757c4276f7fefc564ceaf7bffa44e6d76b501671a3670d42dc32f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.96 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling tonic v0.14.1 [INFO] [stderr] Compiling tonic-tls v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.88s [INFO] running `Command { std: "docker" "inspect" "e0af5b87f4b757c4276f7fefc564ceaf7bffa44e6d76b501671a3670d42dc32f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0af5b87f4b757c4276f7fefc564ceaf7bffa44e6d76b501671a3670d42dc32f", kill_on_drop: false }` [INFO] [stdout] e0af5b87f4b757c4276f7fefc564ceaf7bffa44e6d76b501671a3670d42dc32f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d71c8fdcbf2bfab20f4b2c9b0662cf739de815e975b525a0e7a777e653fefa90 [INFO] running `Command { std: "docker" "start" "-a" "d71c8fdcbf2bfab20f4b2c9b0662cf739de815e975b525a0e7a777e653fefa90", kill_on_drop: false }` [INFO] [stderr] Compiling tonic-tls v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "d71c8fdcbf2bfab20f4b2c9b0662cf739de815e975b525a0e7a777e653fefa90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d71c8fdcbf2bfab20f4b2c9b0662cf739de815e975b525a0e7a777e653fefa90", kill_on_drop: false }` [INFO] [stdout] d71c8fdcbf2bfab20f4b2c9b0662cf739de815e975b525a0e7a777e653fefa90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0b73fd4a7c6c9e967f23cc80265b6c977ab1467940053668abfbd4071403f7aa [INFO] running `Command { std: "docker" "start" "-a" "0b73fd4a7c6c9e967f23cc80265b6c977ab1467940053668abfbd4071403f7aa", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tonic_tls-a3a25b563cefaf56) [INFO] [stderr] Doc-tests tonic_tls [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 13) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 36) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 13) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `openssl` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 9 | use openssl::ssl::SslAcceptor; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `openssl` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/openssl/mod.rs, use `mod openssl` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod openssl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tonic_tls::openssl` [INFO] [stdout] --> src/lib.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 10 | use tonic_tls::openssl::TlsIncoming; [INFO] [stdout] | ^^^^^^^ could not find `openssl` in `tonic_tls` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(feature = "openssl")] [INFO] [stdout] | ------------------- the item is gated behind the `openssl` feature [INFO] [stdout] 63 | pub mod openssl; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 36) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `openssl` [INFO] [stdout] --> src/lib.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 7 | ssl_conn: openssl::ssl::SslConnector [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `openssl` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/openssl/mod.rs, use `mod openssl` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod openssl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `openssl` in `tonic_tls` [INFO] [stdout] --> src/lib.rs:42:48 [INFO] [stdout] | [INFO] [stdout] 9 | endpoint.connect_with_connector(tonic_tls::openssl::TlsConnector::new( [INFO] [stdout] | ^^^^^^^ could not find `openssl` in `tonic_tls` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(feature = "openssl")] [INFO] [stdout] | ------------------- the item is gated behind the `openssl` feature [INFO] [stdout] 63 | pub mod openssl; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use tonic_tls::TlsConnector; [INFO] [stdout] | [INFO] [stdout] help: if you import `TlsConnector`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 9 - endpoint.connect_with_connector(tonic_tls::openssl::TlsConnector::new( [INFO] [stdout] 9 + endpoint.connect_with_connector(TlsConnector::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 13) [INFO] [stdout] src/lib.rs - (line 36) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.41s; merged doctests compilation took 0.17s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0b73fd4a7c6c9e967f23cc80265b6c977ab1467940053668abfbd4071403f7aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b73fd4a7c6c9e967f23cc80265b6c977ab1467940053668abfbd4071403f7aa", kill_on_drop: false }` [INFO] [stdout] 0b73fd4a7c6c9e967f23cc80265b6c977ab1467940053668abfbd4071403f7aa