[INFO] fetching crate tower-balance 0.3.0... [INFO] testing tower-balance-0.3.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate tower-balance 0.3.0 into /workspace/builds/worker-6-tc2/source [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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tower-balance 0.3.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9f5cc97a2d07fa5524f34353d6d31cdbcbb4d56a554711b16396a962b4d6386 [INFO] running `Command { std: "docker" "start" "-a" "a9f5cc97a2d07fa5524f34353d6d31cdbcbb4d56a554711b16396a962b4d6386", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9f5cc97a2d07fa5524f34353d6d31cdbcbb4d56a554711b16396a962b4d6386", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9f5cc97a2d07fa5524f34353d6d31cdbcbb4d56a554711b16396a962b4d6386", kill_on_drop: false }` [INFO] [stdout] a9f5cc97a2d07fa5524f34353d6d31cdbcbb4d56a554711b16396a962b4d6386 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08ced37ac56a2be07bdd01a56ac8ade03b0b6dbd7b5f0dca158ee07ebe8992be [INFO] running `Command { std: "docker" "start" "-a" "08ced37ac56a2be07bdd01a56ac8ade03b0b6dbd7b5f0dca158ee07ebe8992be", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [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] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling pin-project-lite v0.1.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling bytes v0.5.3 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling tracing-core v0.1.7 [INFO] [stderr] Compiling tokio v0.2.6 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling tower-make v0.3.0 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling tower-layer v0.3.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling 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] Compiling tracing v0.1.10 [INFO] [stderr] Compiling pin-project v0.4.6 [INFO] [stderr] Compiling tower-discover v0.3.0 [INFO] [stderr] Compiling tower-load v0.3.0 [INFO] [stderr] Compiling tower-balance v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `UnreadyService` is never constructed [INFO] [stdout] --> src/p2c/service.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | struct UnreadyService { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/p2c/service.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 80 | enum Error { [INFO] [stdout] | ^^^^^ [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)]` (part of `#[warn(unused)]`) 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/p2c/make.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[pin_project] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `Unpin` is not local [INFO] [stdout] | move the `impl` block outside of this function `__unpin_scope_MakeFuture` [INFO] [stdout] 25 | #[derive(Debug)] [INFO] [stdout] 26 | pub struct MakeFuture { [INFO] [stdout] | ---------- `MakeFuture` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` may come from an old version of the `pin_project_internal` crate, try updating your dependency with `cargo update -p pin_project_internal` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` which comes from the expansion of the attribute macro `pin_project` (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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/p2c/service.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | #[pin_project] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `Unpin` is not local [INFO] [stdout] | move the `impl` block outside of this function `__unpin_scope_UnreadyService` [INFO] [stdout] ... [INFO] [stdout] 71 | struct UnreadyService { [INFO] [stdout] | -------------- `UnreadyService` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` may come from an old version of the `pin_project_internal` crate, try updating your dependency with `cargo update -p pin_project_internal` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` which comes from the expansion of the attribute macro `pin_project` (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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pool/mod.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | #[pin_project] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `Unpin` is not local [INFO] [stdout] | move the `impl` block outside of this function `__unpin_scope_PoolDiscoverer` [INFO] [stdout] 49 | pub struct PoolDiscoverer [INFO] [stdout] | -------------- `PoolDiscoverer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` may come from an old version of the `pin_project_internal` crate, try updating your dependency with `cargo update -p pin_project_internal` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` which comes from the expansion of the attribute macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.06s [INFO] running `Command { std: "docker" "inspect" "08ced37ac56a2be07bdd01a56ac8ade03b0b6dbd7b5f0dca158ee07ebe8992be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08ced37ac56a2be07bdd01a56ac8ade03b0b6dbd7b5f0dca158ee07ebe8992be", kill_on_drop: false }` [INFO] [stdout] 08ced37ac56a2be07bdd01a56ac8ade03b0b6dbd7b5f0dca158ee07ebe8992be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 712aa6bf25581e0d17e6c790de759c377cab60e4c4ab937acf572ac673c3328d [INFO] running `Command { std: "docker" "start" "-a" "712aa6bf25581e0d17e6c790de759c377cab60e4c4ab937acf572ac673c3328d", kill_on_drop: false }` [INFO] [stdout] warning: struct `UnreadyService` is never constructed [INFO] [stdout] --> src/p2c/service.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | struct UnreadyService { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/p2c/service.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 80 | enum Error { [INFO] [stdout] | ^^^^^ [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)]` (part of `#[warn(unused)]`) 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/p2c/make.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[pin_project] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `Unpin` is not local [INFO] [stdout] | move the `impl` block outside of this function `__unpin_scope_MakeFuture` [INFO] [stdout] 25 | #[derive(Debug)] [INFO] [stdout] 26 | pub struct MakeFuture { [INFO] [stdout] | ---------- `MakeFuture` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` may come from an old version of the `pin_project_internal` crate, try updating your dependency with `cargo update -p pin_project_internal` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` which comes from the expansion of the attribute macro `pin_project` (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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/p2c/service.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | #[pin_project] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `Unpin` is not local [INFO] [stdout] | move the `impl` block outside of this function `__unpin_scope_UnreadyService` [INFO] [stdout] ... [INFO] [stdout] 71 | struct UnreadyService { [INFO] [stdout] | -------------- `UnreadyService` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` may come from an old version of the `pin_project_internal` crate, try updating your dependency with `cargo update -p pin_project_internal` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` which comes from the expansion of the attribute macro `pin_project` (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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pool/mod.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | #[pin_project] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `Unpin` is not local [INFO] [stdout] | move the `impl` block outside of this function `__unpin_scope_PoolDiscoverer` [INFO] [stdout] 49 | pub struct PoolDiscoverer [INFO] [stdout] | -------------- `PoolDiscoverer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` may come from an old version of the `pin_project_internal` crate, try updating your dependency with `cargo update -p pin_project_internal` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` which comes from the expansion of the attribute macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tower-balance v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower` [INFO] [stdout] --> examples/demo.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tower::util::ServiceExt; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tower` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower`, use `cargo add tower` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_limit` [INFO] [stdout] --> examples/demo.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tower_limit::concurrency::ConcurrencyLimit; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_limit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_limit`, use `cargo add tower_limit` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `hdrhistogram` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hdrhistogram`, use `cargo add hdrhistogram` to add it to your `Cargo.toml` [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-1949cf8c6b5b557f/tokio-0.2.6/src/lib.rs:268:27 [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] | | ^^^^ [INFO] [stdout] 269 | | pub use tokio_macros::test; [INFO] [stdout] 270 | | } [INFO] [stdout] | |_- the item is gated behind the `macros` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower` [INFO] [stdout] --> examples/demo.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | let svc = tower::service_fn(move |_| { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tower` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower`, use `cargo add tower` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [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] [stderr] error: could not compile `tower-balance` (example "demo") due to 7 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [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 unresolved module or unlinked crate `tokio_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_test`, use `cargo add tokio_test` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `tower_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_test`, use `cargo add tower_test` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `tokio_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_test`, use `cargo add tokio_test` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `tower_test` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_test`, use `cargo add tower_test` to add it to your `Cargo.toml` [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-1949cf8c6b5b557f/tokio-0.2.6/src/lib.rs:269:27 [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] | | ^^^^ [INFO] [stdout] 270 | | } [INFO] [stdout] | |_- the item is gated behind the `macros` feature [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-1949cf8c6b5b557f/tokio-0.2.6/src/lib.rs:269:27 [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] | | ^^^^ [INFO] [stdout] 270 | | } [INFO] [stdout] | |_- the item is gated behind the `macros` feature [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-1949cf8c6b5b557f/tokio-0.2.6/src/lib.rs:269:27 [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] | | ^^^^ [INFO] [stdout] 270 | | } [INFO] [stdout] | |_- the item is gated behind the `macros` feature [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-1949cf8c6b5b557f/tokio-0.2.6/src/lib.rs:269:27 [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] | | ^^^^ [INFO] [stdout] 270 | | } [INFO] [stdout] | |_- the item is gated behind the `macros` feature [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-1949cf8c6b5b557f/tokio-0.2.6/src/lib.rs:269:27 [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] | | ^^^^ [INFO] [stdout] 270 | | } [INFO] [stdout] | |_- the item is gated behind the `macros` feature [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-1949cf8c6b5b557f/tokio-0.2.6/src/lib.rs:269:27 [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] | | ^^^^ [INFO] [stdout] 270 | | } [INFO] [stdout] | |_- the item is gated behind the `macros` feature [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-1949cf8c6b5b557f/tokio-0.2.6/src/lib.rs:269:27 [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] | | ^^^^ [INFO] [stdout] 270 | | } [INFO] [stdout] | |_- the item is gated behind the `macros` feature [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] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `tower-balance` (lib test) due to 20 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "712aa6bf25581e0d17e6c790de759c377cab60e4c4ab937acf572ac673c3328d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "712aa6bf25581e0d17e6c790de759c377cab60e4c4ab937acf572ac673c3328d", kill_on_drop: false }` [INFO] [stdout] 712aa6bf25581e0d17e6c790de759c377cab60e4c4ab937acf572ac673c3328d