[INFO] fetching crate tower-balance 0.3.0... [INFO] testing tower-balance-0.3.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate tower-balance 0.3.0 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tower-balance 0.3.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f97bdc627316a65b7f2b71714e421d1e78959408ada93ca51cdc27fd394b96d8 [INFO] running `Command { std: "docker" "start" "-a" "f97bdc627316a65b7f2b71714e421d1e78959408ada93ca51cdc27fd394b96d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f97bdc627316a65b7f2b71714e421d1e78959408ada93ca51cdc27fd394b96d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f97bdc627316a65b7f2b71714e421d1e78959408ada93ca51cdc27fd394b96d8", kill_on_drop: false }` [INFO] [stdout] f97bdc627316a65b7f2b71714e421d1e78959408ada93ca51cdc27fd394b96d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c81e82d6b57c5f79757c72414e17f5212de69c8f90e316bd2b6eb1b2a7cdd34 [INFO] running `Command { std: "docker" "start" "-a" "5c81e82d6b57c5f79757c72414e17f5212de69c8f90e316bd2b6eb1b2a7cdd34", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling cfg-if v0.1.10 [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 tower-service v0.3.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling pin-project-lite v0.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling bytes v0.5.3 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling tower-make v0.3.0 [INFO] [stderr] Compiling tower-layer v0.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling tracing-core v0.1.7 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling tokio v0.2.6 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand_pcg 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 8.10s [INFO] running `Command { std: "docker" "inspect" "5c81e82d6b57c5f79757c72414e17f5212de69c8f90e316bd2b6eb1b2a7cdd34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c81e82d6b57c5f79757c72414e17f5212de69c8f90e316bd2b6eb1b2a7cdd34", kill_on_drop: false }` [INFO] [stdout] 5c81e82d6b57c5f79757c72414e17f5212de69c8f90e316bd2b6eb1b2a7cdd34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 164ea829bda89789c895c8109056ab57fa15aa271dd0b74526f7bc692e219f58 [INFO] running `Command { std: "docker" "start" "-a" "164ea829bda89789c895c8109056ab57fa15aa271dd0b74526f7bc692e219f58", 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] [stderr] Compiling tower-balance v0.3.0 (/opt/rustwide/workdir) [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] [stdout] error[E0433]: cannot find module or crate `tower` in this scope [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]: cannot find module or crate `tower_limit` in this scope [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]: cannot 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] 268 | pub use tokio_macros::main; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.2.6/src/macros/cfg.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(feature = "macros")] [INFO] [stdout] | ------------------ the item is gated behind the `macros` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tracing_subscriber` in this scope [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[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]: cannot 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] 269 | pub use tokio_macros::test; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.2.6/src/macros/cfg.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(feature = "macros")] [INFO] [stdout] | ------------------ the item is gated behind the `macros` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot 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] 269 | pub use tokio_macros::test; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.2.6/src/macros/cfg.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(feature = "macros")] [INFO] [stdout] | ------------------ the item is gated behind the `macros` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot 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] 269 | pub use tokio_macros::test; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.2.6/src/macros/cfg.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(feature = "macros")] [INFO] [stdout] | ------------------ the item is gated behind the `macros` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot 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] 269 | pub use tokio_macros::test; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.2.6/src/macros/cfg.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(feature = "macros")] [INFO] [stdout] | ------------------ the item is gated behind the `macros` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot 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] 269 | pub use tokio_macros::test; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.2.6/src/macros/cfg.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(feature = "macros")] [INFO] [stdout] | ------------------ the item is gated behind the `macros` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot 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] 269 | pub use tokio_macros::test; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.2.6/src/macros/cfg.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(feature = "macros")] [INFO] [stdout] | ------------------ the item is gated behind the `macros` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot 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] 269 | pub use tokio_macros::test; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.2.6/src/macros/cfg.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(feature = "macros")] [INFO] [stdout] | ------------------ the item is gated behind the `macros` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tower` in this scope [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] [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 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tower-balance` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "164ea829bda89789c895c8109056ab57fa15aa271dd0b74526f7bc692e219f58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "164ea829bda89789c895c8109056ab57fa15aa271dd0b74526f7bc692e219f58", kill_on_drop: false }` [INFO] [stdout] 164ea829bda89789c895c8109056ab57fa15aa271dd0b74526f7bc692e219f58