[INFO] fetching crate tower-balance 0.3.0... [INFO] checking tower-balance-0.3.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate tower-balance 0.3.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate tower-balance 0.3.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tower-balance 0.3.0 [INFO] finished tweaking crates.io crate tower-balance 0.3.0 [INFO] tweaked toml for crates.io crate tower-balance 0.3.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate crates.io crate tower-balance 0.3.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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project-internal v0.4.6 [INFO] [stderr] Downloaded tower-ready-cache v0.3.0 [INFO] [stderr] Downloaded pin-project v0.4.6 [INFO] [stderr] Downloaded tracing v0.1.10 [INFO] [stderr] Downloaded tracing-attributes v0.1.5 [INFO] [stderr] Downloaded tracing-core v0.1.7 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7e0d9cf7d9322e07b695fa36160591bc0b910f92dc1335bba2818c59cd28820 [INFO] running `Command { std: "docker" "start" "-a" "b7e0d9cf7d9322e07b695fa36160591bc0b910f92dc1335bba2818c59cd28820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7e0d9cf7d9322e07b695fa36160591bc0b910f92dc1335bba2818c59cd28820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7e0d9cf7d9322e07b695fa36160591bc0b910f92dc1335bba2818c59cd28820", kill_on_drop: false }` [INFO] [stdout] b7e0d9cf7d9322e07b695fa36160591bc0b910f92dc1335bba2818c59cd28820 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a941dff778e7d999e1969ecd28ba3cfc338b897bd22b5c89a8e5c92c3f8b691 [INFO] running `Command { std: "docker" "start" "-a" "9a941dff778e7d999e1969ecd28ba3cfc338b897bd22b5c89a8e5c92c3f8b691", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking bytes v0.5.3 [INFO] [stderr] Checking pin-project-lite v0.1.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Checking tracing-core v0.1.7 [INFO] [stderr] Checking tower-make v0.3.0 [INFO] [stderr] Checking tower-layer v0.3.0 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Checking tokio v0.2.6 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking tower-ready-cache v0.3.0 [INFO] [stderr] Compiling pin-project-internal v0.4.6 [INFO] [stderr] Compiling tracing-attributes v0.1.5 [INFO] [stderr] Checking tracing v0.1.10 [INFO] [stderr] Checking pin-project v0.4.6 [INFO] [stderr] Checking tower-discover v0.3.0 [INFO] [stderr] Checking tower-load v0.3.0 [INFO] [stderr] Checking tower-balance v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `tokio_test` [INFO] [stdout] --> src/p2c/test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio_test::{assert_pending, assert_ready, assert_ready_ok, task}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower_test` [INFO] [stdout] --> src/p2c/test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_test::{assert_request_eq, mock}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tower_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_test` [INFO] [stdout] --> src/pool/test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_test::{assert_pending, assert_ready, assert_ready_ok, task}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tokio_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower_test` [INFO] [stdout] --> src/pool/test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tower_test::{assert_request_eq, mock}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `tower_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/p2c/test.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.6/src/lib.rs:269:27 [INFO] [stdout] | [INFO] [stdout] 269 | pub use tokio_macros::test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `macros` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.6/src/lib.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | / cfg_macros! { [INFO] [stdout] 267 | | #[cfg(not(test))] // Work around for rust-lang/rust#62127 [INFO] [stdout] 268 | | pub use tokio_macros::main; [INFO] [stdout] 269 | | pub use tokio_macros::test; [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `cfg_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/p2c/test.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.6/src/lib.rs:269:27 [INFO] [stdout] | [INFO] [stdout] 269 | pub use tokio_macros::test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `macros` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.6/src/lib.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | / cfg_macros! { [INFO] [stdout] 267 | | #[cfg(not(test))] // Work around for rust-lang/rust#62127 [INFO] [stdout] 268 | | pub use tokio_macros::main; [INFO] [stdout] 269 | | pub use tokio_macros::test; [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `cfg_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/p2c/test.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.6/src/lib.rs:269:27 [INFO] [stdout] | [INFO] [stdout] 269 | pub use tokio_macros::test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `macros` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.6/src/lib.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | / cfg_macros! { [INFO] [stdout] 267 | | #[cfg(not(test))] // Work around for rust-lang/rust#62127 [INFO] [stdout] 268 | | pub use tokio_macros::main; [INFO] [stdout] 269 | | pub use tokio_macros::test; [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `cfg_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/pool/test.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.6/src/lib.rs:269:27 [INFO] [stdout] | [INFO] [stdout] 269 | pub use tokio_macros::test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `macros` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.6/src/lib.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | / cfg_macros! { [INFO] [stdout] 267 | | #[cfg(not(test))] // Work around for rust-lang/rust#62127 [INFO] [stdout] 268 | | pub use tokio_macros::main; [INFO] [stdout] 269 | | pub use tokio_macros::test; [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `cfg_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/pool/test.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.6/src/lib.rs:269:27 [INFO] [stdout] | [INFO] [stdout] 269 | pub use tokio_macros::test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `macros` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.6/src/lib.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | / cfg_macros! { [INFO] [stdout] 267 | | #[cfg(not(test))] // Work around for rust-lang/rust#62127 [INFO] [stdout] 268 | | pub use tokio_macros::main; [INFO] [stdout] 269 | | pub use tokio_macros::test; [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `cfg_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/pool/test.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.6/src/lib.rs:269:27 [INFO] [stdout] | [INFO] [stdout] 269 | pub use tokio_macros::test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `macros` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.6/src/lib.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | / cfg_macros! { [INFO] [stdout] 267 | | #[cfg(not(test))] // Work around for rust-lang/rust#62127 [INFO] [stdout] 268 | | pub use tokio_macros::main; [INFO] [stdout] 269 | | pub use tokio_macros::test; [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `cfg_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/pool/test.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.6/src/lib.rs:269:27 [INFO] [stdout] | [INFO] [stdout] 269 | pub use tokio_macros::test; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `macros` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.6/src/lib.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | / cfg_macros! { [INFO] [stdout] 267 | | #[cfg(not(test))] // Work around for rust-lang/rust#62127 [INFO] [stdout] 268 | | pub use tokio_macros::main; [INFO] [stdout] 269 | | pub use tokio_macros::test; [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `cfg_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/p2c/test.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | handle_a.allow(0); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/p2c/test.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | handle_b.allow(0); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/p2c/test.rs:109:51 [INFO] [stdout] | [INFO] [stdout] 109 | if let Poll::Ready(Some((_, tx))) = h.as_mut().poll_request() { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/pool/test.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | svc1.allow(1); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/pool/test.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | svc2.allow(1); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/pool/test.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | svc1.allow(1); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/pool/test.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | svc2.allow(1); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/pool/test.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | svc1.allow(1); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/pool/test.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | svc2.allow(1); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/p2c/make.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[pin_project] [INFO] [stdout] | ^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/p2c/service.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | #[pin_project] [INFO] [stdout] | ^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pool/mod.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | #[pin_project] [INFO] [stdout] | ^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tower` [INFO] [stdout] --> examples/demo.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tower::util::ServiceExt; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tower_limit` [INFO] [stdout] --> examples/demo.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tower_limit::concurrency::ConcurrencyLimit; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tower_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hdrhistogram` [INFO] [stdout] --> examples/demo.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use hdrhistogram::Histogram; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `hdrhistogram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> examples/demo.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.6/src/lib.rs:268:27 [INFO] [stdout] | [INFO] [stdout] 268 | pub use tokio_macros::main; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `macros` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.2.6/src/lib.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | / cfg_macros! { [INFO] [stdout] 267 | | #[cfg(not(test))] // Work around for rust-lang/rust#62127 [INFO] [stdout] 268 | | pub use tokio_macros::main; [INFO] [stdout] 269 | | pub use tokio_macros::test; [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `cfg_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tracing_subscriber` [INFO] [stdout] --> examples/demo.rs:46:45 [INFO] [stdout] | [INFO] [stdout] 46 | tracing::subscriber::set_global_default(tracing_subscriber::FmtSubscriber::default()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tracing_subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tower` [INFO] [stdout] --> examples/demo.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | let svc = tower::service_fn(move |_| { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tower` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tower-balance` (lib test) due to 21 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/demo.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tower-balance` (example "demo") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "9a941dff778e7d999e1969ecd28ba3cfc338b897bd22b5c89a8e5c92c3f8b691", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a941dff778e7d999e1969ecd28ba3cfc338b897bd22b5c89a8e5c92c3f8b691", kill_on_drop: false }` [INFO] [stdout] 9a941dff778e7d999e1969ecd28ba3cfc338b897bd22b5c89a8e5c92c3f8b691