[INFO] fetching crate tower-balance 0.3.0... [INFO] checking tower-balance-0.3.0 against beta for pr-78714 [INFO] extracting crate tower-balance 0.3.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate tower-balance 0.3.0 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-5/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: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9955bbdac6ad00212fa27d456ad62f6c6ab77f4ac83203914eacc5b1188f0d5a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9955bbdac6ad00212fa27d456ad62f6c6ab77f4ac83203914eacc5b1188f0d5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9955bbdac6ad00212fa27d456ad62f6c6ab77f4ac83203914eacc5b1188f0d5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9955bbdac6ad00212fa27d456ad62f6c6ab77f4ac83203914eacc5b1188f0d5a", kill_on_drop: false }` [INFO] [stdout] 9955bbdac6ad00212fa27d456ad62f6c6ab77f4ac83203914eacc5b1188f0d5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ff9380836f4a09cc2806c6b8d6fd694a4e85f6e354f717f6ffbe1100841844d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8ff9380836f4a09cc2806c6b8d6fd694a4e85f6e354f717f6ffbe1100841844d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Checking tower-make v0.3.0 [INFO] [stderr] Checking getrandom v0.1.13 [INFO] [stderr] Checking tokio v0.2.6 [INFO] [stderr] Checking tracing-core v0.1.7 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand_pcg 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] [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] [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] [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] [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] [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] [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] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/pool/test.rs:189:16 [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(assert_ready_ok!(fut.poll()), "bar"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_request_eq` [INFO] [stdout] --> src/pool/test.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | assert_request_eq!(svc2, ()).send_response("bar"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/pool/test.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | assert_ready_ok!(pool.poll_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_request_eq` [INFO] [stdout] --> src/pool/test.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | assert_request_eq!(handle, ()).send_response(load::Constant::new(svc2_m, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_pending` [INFO] [stdout] --> src/pool/test.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | assert_pending!(pool.poll_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/pool/test.rs:169:16 [INFO] [stdout] | [INFO] [stdout] 169 | assert_eq!(assert_ready_ok!(fut.poll()), "foo"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_request_eq` [INFO] [stdout] --> src/pool/test.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | assert_request_eq!(svc1, ()).send_response("foo"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/pool/test.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | assert_ready_ok!(pool.poll_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_request_eq` [INFO] [stdout] --> src/pool/test.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | assert_request_eq!(handle, ()).send_response(load::Constant::new(svc1_m, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_pending` [INFO] [stdout] --> src/pool/test.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | assert_pending!(pool.poll_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/pool/test.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | assert_eq!(assert_ready_ok!(fut.poll()), "foo"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_request_eq` [INFO] [stdout] --> src/pool/test.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | assert_request_eq!(svc2, ()).send_response("foo"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/pool/test.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | assert_ready_ok!(pool.poll_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/pool/test.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | assert_eq!(assert_ready_ok!(fut.poll()), "foo"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_request_eq` [INFO] [stdout] --> src/pool/test.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | assert_request_eq!(svc2, ()).send_response("foo"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/pool/test.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | assert_ready_ok!(pool.poll_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/pool/test.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | assert_ready_ok!(pool.poll_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_request_eq` [INFO] [stdout] --> src/pool/test.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | assert_request_eq!(handle, ()).send_response(load::Constant::new(svc2_m, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_pending` [INFO] [stdout] --> src/pool/test.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | assert_pending!(pool.poll_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/pool/test.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | assert_eq!(assert_ready_ok!(fut.poll()), "foo"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_request_eq` [INFO] [stdout] --> src/pool/test.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | assert_request_eq!(svc1, ()).send_response("foo"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/pool/test.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | assert_ready_ok!(pool.poll_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_request_eq` [INFO] [stdout] --> src/pool/test.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | assert_request_eq!(handle, ()).send_response(load::Constant::new(svc1_m, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_pending` [INFO] [stdout] --> src/pool/test.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | assert_pending!(pool.poll_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/pool/test.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | assert_eq!(assert_ready_ok!(fut2.poll()), "bar"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/pool/test.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | assert_eq!(assert_ready_ok!(fut1.poll()), "foo"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_request_eq` [INFO] [stdout] --> src/pool/test.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | assert_request_eq!(svc2, ()).send_response("bar"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_request_eq` [INFO] [stdout] --> src/pool/test.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | assert_request_eq!(svc1, ()).send_response("foo"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_pending` [INFO] [stdout] --> src/pool/test.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | assert_pending!(handle.as_mut().poll_request()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_pending` [INFO] [stdout] --> src/pool/test.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | assert_pending!(pool.poll_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/pool/test.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | assert_ready_ok!(pool.poll_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_request_eq` [INFO] [stdout] --> src/pool/test.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | assert_request_eq!(handle, ()).send_response(load::Constant::new(svc2_m, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_pending` [INFO] [stdout] --> src/pool/test.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | assert_pending!(pool.poll_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/pool/test.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | assert_ready_ok!(pool.poll_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_request_eq` [INFO] [stdout] --> src/pool/test.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | assert_request_eq!(handle, ()).send_response(load::Constant::new(svc1_m, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_pending` [INFO] [stdout] --> src/pool/test.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | assert_pending!(pool.poll_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/pool/test.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | assert_eq!(assert_ready_ok!(fut.poll()), "foobar"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_request_eq` [INFO] [stdout] --> src/pool/test.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | assert_request_eq!(svc1, ()).send_response("foobar"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_pending` [INFO] [stdout] --> src/pool/test.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/pool/test.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | assert_ready_ok!(pool.poll_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_request_eq` [INFO] [stdout] --> src/pool/test.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | assert_request_eq!(handle, ()).send_response(load::Constant::new(svc1_m, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_pending` [INFO] [stdout] --> src/pool/test.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | assert_pending!(pool.poll_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_pending` [INFO] [stdout] --> src/p2c/test.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | assert_pending!(svc.poll_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/p2c/test.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | assert_ready_ok!(fut.poll()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/p2c/test.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | assert_ready_ok!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/p2c/test.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | assert_eq!(assert_ready_ok!(fut.poll()), "b"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_request_eq` [INFO] [stdout] --> src/p2c/test.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | assert_request_eq!(handle_b, ()).send_response("b"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/p2c/test.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | assert_ready_ok!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/p2c/test.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | assert_eq!(assert_ready_ok!(fut.poll()), "a"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_request_eq` [INFO] [stdout] --> src/p2c/test.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | assert_request_eq!(handle_a, ()).send_response("a"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/p2c/test.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | assert_ready_ok!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_pending` [INFO] [stdout] --> src/p2c/test.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | assert_pending!(svc.poll_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_pending` [INFO] [stdout] --> src/p2c/test.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | assert_pending!(svc.poll_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/p2c/test.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | assert_ready_ok!(svc.poll_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/p2c/test.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | assert_eq!(assert_ready_ok!(fut.poll()), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_request_eq` [INFO] [stdout] --> src/p2c/test.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | assert_request_eq!(handle, ()).send_response(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_ready_ok` [INFO] [stdout] --> src/p2c/test.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | assert_ready_ok!(svc.poll_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_pending` [INFO] [stdout] --> src/p2c/test.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | assert_pending!(svc.poll_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_pending` [INFO] [stdout] --> src/p2c/test.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | assert_pending!(svc.poll_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allow` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> src/p2c/test.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | handle_a.allow(0); [INFO] [stdout] | ^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `handle_a` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allow` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> src/p2c/test.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | handle_b.allow(0); [INFO] [stdout] | ^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `handle_b` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allow` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> src/p2c/test.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | handle_a.allow(1); [INFO] [stdout] | ^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `handle_a` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allow` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> src/p2c/test.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | handle_b.allow(0); [INFO] [stdout] | ^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `handle_b` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allow` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> src/p2c/test.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | handle_a.allow(0); [INFO] [stdout] | ^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `handle_a` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allow` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> src/p2c/test.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | handle_b.allow(1); [INFO] [stdout] | ^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `handle_b` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allow` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> src/p2c/test.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 99 | handle_a.allow(1); [INFO] [stdout] | ^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `handle_a` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allow` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> src/p2c/test.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | handle_b.allow(1); [INFO] [stdout] | ^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `handle_b` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut` found for mutable reference `&mut &mut Pin<&mut _>` in the current scope [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] | ^^^^^^ method not found in `&mut &mut Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `h` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allow` found for mutable reference `&mut &mut Pin<&mut _>` in the current scope [INFO] [stdout] --> src/p2c/test.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | h.allow(0); [INFO] [stdout] | ^^^^^ method not found in `&mut &mut Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `h` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send_error` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> src/p2c/test.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | handle_a.send_error("endpoint lost"); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `handle_a` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allow` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> src/pool/test.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | svc1.allow(1); [INFO] [stdout] | ^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `svc1` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allow` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> src/pool/test.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | svc2.allow(1); [INFO] [stdout] | ^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `svc2` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allow` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> src/pool/test.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | svc1.allow(1); [INFO] [stdout] | ^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `svc1` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allow` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> src/pool/test.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | svc2.allow(1); [INFO] [stdout] | ^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `svc2` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allow` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> src/pool/test.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | svc2.allow(1); [INFO] [stdout] | ^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `svc2` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allow` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> src/pool/test.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | svc1.allow(1); [INFO] [stdout] | ^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `svc1` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send_error` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> src/pool/test.rs:172:10 [INFO] [stdout] | [INFO] [stdout] 172 | svc1.send_error("ouch"); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `svc1` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `allow` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> src/pool/test.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | svc2.allow(1); [INFO] [stdout] | ^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `svc2` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 89 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tower-balance` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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[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] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConcurrencyLimit` [INFO] [stdout] --> examples/demo.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | (instance, ConcurrencyLimit::new(svc, ENDPOINT_CAPACITY)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ConcurrencyLimit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConcurrencyLimit` [INFO] [stdout] --> examples/demo.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | let service = ConcurrencyLimit::new(lb, CONCURRENCY); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ConcurrencyLimit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConcurrencyLimit` in this scope [INFO] [stdout] --> examples/demo.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | Service = ConcurrencyLimit< [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl futures_core::Future` [INFO] [stdout] --> examples/demo.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | async fn main() { [INFO] [stdout] | ^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [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] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8ff9380836f4a09cc2806c6b8d6fd694a4e85f6e354f717f6ffbe1100841844d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ff9380836f4a09cc2806c6b8d6fd694a4e85f6e354f717f6ffbe1100841844d", kill_on_drop: false }` [INFO] [stdout] 8ff9380836f4a09cc2806c6b8d6fd694a4e85f6e354f717f6ffbe1100841844d