error[E0034]: multiple applicable items in scope --> /home/sherlock/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/tower-balance-0.3.0/src/pool/mod.rs:373:47 | 373 | if let Poll::Ready(()) = self.balance.poll_ready(cx)? { | ^^^^^^^^^^ multiple `poll_ready` found | note: candidate #1 is defined in an impl of the trait `tower_service::Service` for the type `p2c::service::Balance<_, _>` --> /home/sherlock/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/tower-balance-0.3.0/src/p2c/service.rs:234:5 | 234 | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: candidate #2 is defined in an impl of the trait `tower_make::make_service::MakeService` for the type `_` help: disambiguate the method call for candidate #1 | 373 | if let Poll::Ready(()) = tower_service::Service::poll_ready(&mut self.balance, cx)? { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: disambiguate the method call for candidate #2 | 373 | if let Poll::Ready(()) = tower_make::make_service::MakeService::poll_ready(&mut self.balance, cx)? { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0034]: multiple applicable items in scope --> /home/sherlock/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/tower-balance-0.3.0/src/pool/mod.rs:418:37 | 418 | return self.balance.poll_ready(cx); | ^^^^^^^^^^ multiple `poll_ready` found | note: candidate #1 is defined in an impl of the trait `tower_service::Service` for the type `p2c::service::Balance<_, _>` --> /home/sherlock/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/tower-balance-0.3.0/src/p2c/service.rs:234:5 | 234 | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: candidate #2 is defined in an impl of the trait `tower_make::make_service::MakeService` for the type `_` help: disambiguate the method call for candidate #1 | 418 | return tower_service::Service::poll_ready(&mut self.balance, cx); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: disambiguate the method call for candidate #2 | 418 | return tower_make::make_service::MakeService::poll_ready(&mut self.balance, cx); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to 2 previous errors For more information about this error, try `rustc --explain E0034`. error: could not compile `tower-balance`. To learn more, run the command again with --verbose. warning: build failed, waiting for other jobs to finish... error: build failed