[INFO] fetching crate tonic-rustls 0.2.0... [INFO] testing tonic-rustls-0.2.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate tonic-rustls 0.2.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate tonic-rustls 0.2.0 [INFO] finished tweaking crates.io crate tonic-rustls 0.2.0 [INFO] tweaked toml for crates.io crate tonic-rustls 0.2.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tonic-rustls 0.2.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tonic-rustls 0.2.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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tonic v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07f6cdc8edde9726e620ac9dff6c05d3ec254e5d568bf449b4a744ccf4597a25 [INFO] running `Command { std: "docker" "start" "-a" "07f6cdc8edde9726e620ac9dff6c05d3ec254e5d568bf449b4a744ccf4597a25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07f6cdc8edde9726e620ac9dff6c05d3ec254e5d568bf449b4a744ccf4597a25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07f6cdc8edde9726e620ac9dff6c05d3ec254e5d568bf449b4a744ccf4597a25", kill_on_drop: false }` [INFO] [stdout] 07f6cdc8edde9726e620ac9dff6c05d3ec254e5d568bf449b4a744ccf4597a25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6ca0b58b608869ab626378604b7ba02105bc0bd1f780148c2ca939c7a71d38e [INFO] running `Command { std: "docker" "start" "-a" "d6ca0b58b608869ab626378604b7ba02105bc0bd1f780148c2ca939c7a71d38e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling cc v1.1.30 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling rustls v0.23.15 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.6 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling pin-project v1.1.6 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling axum v0.8.3 [INFO] [stderr] Compiling hyper v1.5.0 [INFO] [stderr] Compiling hyper-util v0.1.9 [INFO] [stderr] Compiling hyper-timeout v0.5.1 [INFO] [stderr] Compiling tonic v0.13.0 [INFO] [stderr] Compiling tonic-rustls v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.77s [INFO] running `Command { std: "docker" "inspect" "d6ca0b58b608869ab626378604b7ba02105bc0bd1f780148c2ca939c7a71d38e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6ca0b58b608869ab626378604b7ba02105bc0bd1f780148c2ca939c7a71d38e", kill_on_drop: false }` [INFO] [stdout] d6ca0b58b608869ab626378604b7ba02105bc0bd1f780148c2ca939c7a71d38e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0831b00fd038f7240076dde71edd36cae80610d87c5b9619edb81434eb426c2 [INFO] running `Command { std: "docker" "start" "-a" "a0831b00fd038f7240076dde71edd36cae80610d87c5b9619edb81434eb426c2", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hdrhistogram v7.5.4 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling axum v0.8.3 [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling tonic v0.13.0 [INFO] [stderr] Compiling tonic-rustls v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 19.87s [INFO] running `Command { std: "docker" "inspect" "a0831b00fd038f7240076dde71edd36cae80610d87c5b9619edb81434eb426c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0831b00fd038f7240076dde71edd36cae80610d87c5b9619edb81434eb426c2", kill_on_drop: false }` [INFO] [stdout] a0831b00fd038f7240076dde71edd36cae80610d87c5b9619edb81434eb426c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4237109d441bcc5c0769634b5d224b322a0fac80ed331e2235318178896db236 [INFO] running `Command { std: "docker" "start" "-a" "4237109d441bcc5c0769634b5d224b322a0fac80ed331e2235318178896db236", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tonic_rustls-c3b3ffc2817409f9) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test channel::service::user_agent::tests::prepends_custom_user_agent_to_default ... ok [INFO] [stdout] test channel::service::user_agent::tests::sets_default_if_no_custom_user_agent ... ok [INFO] [stdout] test service::grpc_timeout::tests::test_hours ... ok [INFO] [stdout] test server::incoming::tests::one_tcpincoming_at_a_time ... ok [INFO] [stdout] test service::grpc_timeout::tests::test_minutes ... ok [INFO] [stdout] test service::grpc_timeout::tests::test_milliseconds ... ok [INFO] [stdout] test service::grpc_timeout::tests::test_header_not_present ... ok [INFO] [stdout] test service::grpc_timeout::tests::test_microseconds ... ok [INFO] [stdout] test service::grpc_timeout::tests::test_seconds ... ok [INFO] [stdout] test service::grpc_timeout::tests::fuzz ... ok [INFO] [stdout] test service::grpc_timeout::tests::test_nanoseconds ... ok [INFO] [stdout] test service::grpc_timeout::tests::test_invalid_unit - should panic ... ok [INFO] [stdout] test service::grpc_timeout::tests::test_invalid_digits - should panic ... ok [INFO] [stdout] test service::grpc_timeout::tests::test_too_many_digits - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] Doc-tests tonic_rustls [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test src/server/mod.rs - server::Server::layer (line 462) ... FAILED [INFO] [stdout] test src/channel/endpoint.rs - channel::endpoint::Endpoint::from_static (line 65) ... ok [INFO] [stdout] test src/channel/endpoint.rs - channel::endpoint::Endpoint::concurrency_limit (line 185) ... ok [INFO] [stdout] test src/server/conn.rs - server::conn::Connected (line 21) ... ok [INFO] [stdout] test src/channel/endpoint.rs - channel::endpoint::Endpoint::origin (line 115) ... ok [INFO] [stdout] test src/channel/endpoint.rs - channel::endpoint::Endpoint::rate_limit (line 199) ... ok [INFO] [stdout] test src/server/incoming.rs - server::incoming::TcpIncoming::new (line 176) - compile ... FAILED [INFO] [stdout] test src/server/mod.rs - server::Server::concurrency_limit_per_connection (line 162) ... ok [INFO] [stdout] test src/channel/endpoint.rs - channel::endpoint::Endpoint::connect_timeout (line 155) ... ok [INFO] [stdout] test src/server/mod.rs - server::Server::max_connection_age (line 240) ... ok [INFO] [stdout] test src/server/mod.rs - server::Server::layer (line 446) ... ok [INFO] [stdout] test src/server/mod.rs - server::Server::timeout (line 180) ... ok [INFO] [stdout] test src/channel/endpoint.rs - channel::endpoint::Endpoint::uri (line 407) ... ok [INFO] [stdout] test src/channel/mod.rs - channel::Channel::from_shared (line 92) ... ok [INFO] [stdout] test src/channel/endpoint.rs - channel::endpoint::Endpoint::timeout (line 130) ... ok [INFO] [stdout] test src/channel/endpoint.rs - channel::endpoint::Endpoint::user_agent (line 90) ... ok [INFO] [stdout] test src/channel/endpoint.rs - channel::endpoint::Endpoint::from_shared (line 76) ... ok [INFO] [stdout] test src/channel/mod.rs - channel::Channel::from_static (line 81) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/server/mod.rs - server::Server::layer (line 462) stdout ---- [INFO] [stdout] error[E0423]: expected function, found module `interceptor` [INFO] [stdout] --> src/server/mod.rs:490:12 [INFO] [stdout] | [INFO] [stdout] 31 | .layer(interceptor(auth_interceptor)) [INFO] [stdout] | ^^^^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `interceptor` [INFO] [stdout] --> src/server/mod.rs:491:12 [INFO] [stdout] | [INFO] [stdout] 32 | .layer(interceptor(some_other_interceptor)) [INFO] [stdout] | ^^^^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/server/incoming.rs - server::incoming::TcpIncoming::new (line 176) stdout ---- [INFO] [stdout] error[E0603]: type alias `BoxBody` is private [INFO] [stdout] --> src/server/incoming.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 6 | use tonic::{body::BoxBody, server::NamedService}; [INFO] [stdout] | ^^^^^^^ private type alias [INFO] [stdout] | [INFO] [stdout] note: the type alias `BoxBody` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tonic-0.13.0/src/body.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | type BoxBody = http_body_util::combinators::UnsyncBoxBody; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: `S` cannot be shared between threads safely [INFO] [stdout] --> src/server/incoming.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 26 | .add_service(some_service) [INFO] [stdout] | ----------- ^^^^^^^^^^^^ `S` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Server::::add_service` [INFO] [stdout] --> /opt/rustwide/workdir/src/server/mod.rs:398:15 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn add_service(&mut self, svc: S) -> Router [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 398 | + Sync [INFO] [stdout] | ^^^^ required by this bound in `Server::::add_service` [INFO] [stdout] help: consider further restricting type parameter `S` with trait `Sync` [INFO] [stdout] | [INFO] [stdout] 13 | S: Service, Response = Response, Error = Infallible> + NamedService + Clone + Send + 'static + std::marker::Sync, [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0603. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/server/incoming.rs - server::incoming::TcpIncoming::new (line 176) [INFO] [stdout] src/server/mod.rs - server::Server::layer (line 462) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 16 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.59s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4237109d441bcc5c0769634b5d224b322a0fac80ed331e2235318178896db236", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4237109d441bcc5c0769634b5d224b322a0fac80ed331e2235318178896db236", kill_on_drop: false }` [INFO] [stdout] 4237109d441bcc5c0769634b5d224b322a0fac80ed331e2235318178896db236