[INFO] crate tokio 0.2.0-alpha.4 is already in cache [INFO] testing tokio-0.2.0-alpha.4 against beta-2019-09-28 for beta-1.39-1 [INFO] extracting crate tokio 0.2.0-alpha.4 into work/builds/worker-1/source [INFO] validating manifest of crates.io crate tokio 0.2.0-alpha.4 on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate tokio 0.2.0-alpha.4 [INFO] finished tweaking crates.io crate tokio 0.2.0-alpha.4 [INFO] tweaked toml for crates.io crate tokio 0.2.0-alpha.4 written to work/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate tokio 0.2.0-alpha.4 already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] bceff26a9840f5e643a4e2ddd4e341a512da742bb565915ca6f85e8dad8a8627 [INFO] running `"docker" "start" "-a" "bceff26a9840f5e643a4e2ddd4e341a512da742bb565915ca6f85e8dad8a8627"` [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling tracing-core v0.1.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling tokio-io v0.2.0-alpha.4 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling tokio-codec v0.2.0-alpha.4 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-sync v0.2.0-alpha.4 [INFO] [stderr] Compiling tracing-attributes v0.1.2 [INFO] [stderr] Compiling tokio-macros v0.2.0-alpha.4 [INFO] [stderr] Compiling tracing v0.1.6 [INFO] [stderr] Compiling tokio-executor v0.2.0-alpha.4 [INFO] [stderr] Compiling tokio-timer v0.3.0-alpha.4 [INFO] [stderr] Compiling tokio-fs v0.2.0-alpha.4 [INFO] [stderr] Compiling tokio-net v0.2.0-alpha.4 [INFO] [stderr] Compiling tokio v0.2.0-alpha.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.23s [INFO] running `"docker" "inspect" "bceff26a9840f5e643a4e2ddd4e341a512da742bb565915ca6f85e8dad8a8627"` [INFO] running `"docker" "rm" "-f" "bceff26a9840f5e643a4e2ddd4e341a512da742bb565915ca6f85e8dad8a8627"` [INFO] [stdout] bceff26a9840f5e643a4e2ddd4e341a512da742bb565915ca6f85e8dad8a8627 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "test" "--frozen" "--no-run"` [INFO] [stdout] 47f7fbfbd7d066bac228a72444e212f0e5a1d9c10fea04d835455945cae5e963 [INFO] running `"docker" "start" "-a" "47f7fbfbd7d066bac228a72444e212f0e5a1d9c10fea04d835455945cae5e963"` [INFO] [stderr] Compiling tokio v0.2.0-alpha.4 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> examples/udp-codec.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use futures::{FutureExt, SinkExt, StreamExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stderr] --> examples/udp-codec.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | let _ = env_logger::init(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> examples/udp-codec.rs:49:11 [INFO] [stderr] | [INFO] [stderr] 49 | match futures::future::try_join(a, b).await { [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/runtime_threaded.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use tokio_test::{assert_err, assert_ok}; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `env_logger` [INFO] [stderr] --> tests/runtime_threaded.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use env_logger; [INFO] [stderr] | ^^^^^^^^^^ no `env_logger` external crate [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_threaded.rs:18:22 [INFO] [stderr] | [INFO] [stderr] 18 | let mut server = assert_ok!(TcpListener::bind("127.0.0.1:0").await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_threaded.rs:21:16 [INFO] [stderr] | [INFO] [stderr] 21 | let addr = assert_ok!(server.local_addr()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_threaded.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | assert_ok!(rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_threaded.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | assert_ok!(rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `http` [INFO] [stderr] error: cannot determine resolution for the macro `assert_err` [INFO] [stderr] --> tests/runtime_threaded.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | assert_err!(rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] --> examples/tinyhttp.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use http::{header::HeaderValue, Request, Response, StatusCode}; [INFO] [stderr] | ^^^^ use of undeclared type or module `http` [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_threaded.rs:113:5 [INFO] [stderr] | [INFO] [stderr] 113 | assert_ok!(b_rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_err` [INFO] [stderr] --> tests/runtime_threaded.rs:147:9 [INFO] [stderr] | [INFO] [stderr] 147 | assert_err!(tokio_executor::enter()); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_err` [INFO] [stderr] --> tests/runtime_threaded.rs:170:9 [INFO] [stderr] | [INFO] [stderr] 170 | assert_err!(res); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_threaded.rs:203:5 [INFO] [stderr] | [INFO] [stderr] 203 | assert_ok!(rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> examples/connect.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use futures::{SinkExt, Stream}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/runtime_current_thread.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use tokio_test::{assert_err, assert_ok}; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `env_logger` [INFO] [stderr] --> tests/runtime_current_thread.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use env_logger; [INFO] [stderr] | ^^^^^^^^^^ no `env_logger` external crate [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_current_thread.rs:16:22 [INFO] [stderr] | [INFO] [stderr] 16 | let mut server = assert_ok!(TcpListener::bind("127.0.0.1:0").await); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_current_thread.rs:19:16 [INFO] [stderr] | [INFO] [stderr] 19 | let addr = assert_ok!(server.local_addr()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_current_thread.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | assert_ok!(rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_current_thread.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | assert_ok!(rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_current_thread.rs:77:5 [INFO] [stderr] | [INFO] [stderr] 77 | assert_ok!(rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_current_thread.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | assert_ok!(rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ok` [INFO] [stderr] --> tests/runtime_current_thread.rs:96:5 [INFO] [stderr] | [INFO] [stderr] 96 | assert_ok!(rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_err` [INFO] [stderr] --> tests/runtime_current_thread.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | assert_err!(rx.try_recv()); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] warning: unused import: `TcpListener` [INFO] [stderr] --> tests/runtime_current_thread.rs:5:18 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> examples/tinyhttp.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use futures::{SinkExt, StreamExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> examples/tinydb.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | use futures::{SinkExt, StreamExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio_test` [INFO] [stderr] --> tests/drop-core.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use tokio_test::{assert_err, assert_pending, assert_ready, task}; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `tokio_test` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_err` [INFO] [stderr] --> tests/drop-core.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | assert_err!(listener.accept().await); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready` [INFO] [stderr] --> tests/drop-core.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | assert_ready!(task.poll()); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_err` [INFO] [stderr] --> tests/drop-core.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | assert_err!(listener.accept().await); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_pending` [INFO] [stderr] --> tests/drop-core.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | assert_pending!(task.poll()); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_ready` [INFO] [stderr] --> tests/drop-core.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | assert_ready!(task.poll()); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> examples/chat.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | use futures::{Poll, SinkExt, Stream, StreamExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> examples/chat.rs:170:33 [INFO] [stderr] | [INFO] [stderr] 170 | let result: Option<_> = futures::ready!(self.lines.poll_next_unpin(cx)); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `http` [INFO] [stderr] --> examples/tinyhttp.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use http::{header::HeaderValue, Request, Response, StatusCode}; [INFO] [stderr] | ^^^^ use of undeclared type or module `http` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `serde` [INFO] [stderr] --> examples/tinyhttp.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use serde::Serialize; [INFO] [stderr] | ^^^^^ use of undeclared type or module `serde` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `time` [INFO] [stderr] --> examples/tinyhttp.rs:223:16 [INFO] [stderr] | [INFO] [stderr] 223 | use time::{self, Duration}; [INFO] [stderr] | ^^^^ no `time` external crate [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stderr] --> examples/tinyhttp.rs:72:22 [INFO] [stderr] | [INFO] [stderr] 72 | #[derive(Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stderr] --> examples/tinyhttp.rs:76:13 [INFO] [stderr] | [INFO] [stderr] 76 | serde_json::to_string(&Message { [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `httparse` [INFO] [stderr] --> examples/tinyhttp.rs:160:39 [INFO] [stderr] | [INFO] [stderr] 160 | let mut parsed_headers = [httparse::EMPTY_HEADER; 16]; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `httparse` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `httparse` [INFO] [stderr] --> examples/tinyhttp.rs:161:25 [INFO] [stderr] | [INFO] [stderr] 161 | let mut r = httparse::Request::new(&mut parsed_headers); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `httparse` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `httparse` [INFO] [stderr] --> examples/tinyhttp.rs:168:17 [INFO] [stderr] | [INFO] [stderr] 168 | httparse::Status::Complete(amt) => amt, [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `httparse` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `httparse` [INFO] [stderr] --> examples/tinyhttp.rs:169:17 [INFO] [stderr] | [INFO] [stderr] 169 | httparse::Status::Partial => return Ok(None), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `httparse` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `http` [INFO] [stderr] --> examples/tinyhttp.rs:201:21 [INFO] [stderr] | [INFO] [stderr] 201 | ret.version(http::Version::HTTP_11); [INFO] [stderr] | ^^^^ use of undeclared type or module `http` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `HeaderValue` [INFO] [stderr] --> examples/tinyhttp.rs:207:34 [INFO] [stderr] | [INFO] [stderr] 207 | let value = unsafe { HeaderValue::from_shared_unchecked(data.slice(v.0, v.1)) }; [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `HeaderValue` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Duration` [INFO] [stderr] --> examples/tinyhttp.rs:283:38 [INFO] [stderr] | [INFO] [stderr] 283 | self.next_update = now + Duration::seconds(1); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Duration` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> examples/connect.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | use futures::{future, Sink, SinkExt, Stream, StreamExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `send` found for type `&mut tokio_net::udp::frame::UdpFramed` in the current scope [INFO] [stderr] --> examples/udp-codec.rs:58:12 [INFO] [stderr] | [INFO] [stderr] 58 | socket.send((Bytes::from(&b"PING"[..]), b_addr)).await?; [INFO] [stderr] | ^^^^ method not found in `&mut tokio_net::udp::frame::UdpFramed` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 12 | use futures_util::sink::SinkExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `AsyncWriteExt` [INFO] [stderr] --> tests/runtime_current_thread.rs:4:31 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> examples/connect.rs:114:9 [INFO] [stderr] | [INFO] [stderr] 114 | use futures::{future, Sink, SinkExt, Stream, StreamExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error[E0599]: no method named `next` found for type `&mut tokio_net::udp::frame::UdpFramed` in the current scope [INFO] [stderr] --> examples/udp-codec.rs:61:36 [INFO] [stderr] | [INFO] [stderr] 61 | let (bytes, addr) = socket.next().map(|e| e.unwrap()).await?; [INFO] [stderr] | ^^^^ method not found in `&mut tokio_net::udp::frame::UdpFramed` [INFO] [stderr] | [INFO] [stderr] = note: the method `next` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut tokio_net::udp::frame::UdpFramed : std::iter::Iterator` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 12 | use futures_util::stream::StreamExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> examples/udp-codec.rs:63:58 [INFO] [stderr] | [INFO] [stderr] 63 | println!("[a] recv: {}", String::from_utf8_lossy(&bytes)); [INFO] [stderr] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `send` found for type `&mut tokio_net::udp::frame::UdpFramed` in the current scope [INFO] [stderr] --> examples/udp-codec.rs:65:16 [INFO] [stderr] | [INFO] [stderr] 65 | socket.send((Bytes::from(&b"PING"[..]), addr)).await?; [INFO] [stderr] | ^^^^ method not found in `&mut tokio_net::udp::frame::UdpFramed` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 12 | use futures_util::sink::SinkExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `next` found for type `&mut tokio_net::udp::frame::UdpFramed` in the current scope [INFO] [stderr] --> examples/udp-codec.rs:74:52 [INFO] [stderr] | [INFO] [stderr] 74 | while let Ok(Some(Ok((bytes, addr)))) = socket.next().timeout(timeout).await { [INFO] [stderr] | ^^^^ method not found in `&mut tokio_net::udp::frame::UdpFramed` [INFO] [stderr] | [INFO] [stderr] = note: the method `next` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut tokio_net::udp::frame::UdpFramed : std::iter::Iterator` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 12 | use futures_util::stream::StreamExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> examples/udp-codec.rs:75:58 [INFO] [stderr] | [INFO] [stderr] 75 | println!("[b] recv: {}", String::from_utf8_lossy(&bytes)); [INFO] [stderr] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `send` found for type `&mut tokio_net::udp::frame::UdpFramed` in the current scope [INFO] [stderr] --> examples/udp-codec.rs:77:16 [INFO] [stderr] | [INFO] [stderr] 77 | socket.send((Bytes::from(&b"PONG"[..]), addr)).await?; [INFO] [stderr] | ^^^^ method not found in `&mut tokio_net::udp::frame::UdpFramed` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 12 | use futures_util::sink::SinkExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> examples/proxy.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use futures::{future::try_join, FutureExt, StreamExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] warning: unused import: `AsyncWriteExt` [INFO] [stderr] --> tests/runtime_threaded.rs:5:31 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error[E0599]: no method named `next` found for type `tokio_codec::framed::Framed` in the current scope [INFO] [stderr] --> examples/tinydb.rs:125:52 [INFO] [stderr] | [INFO] [stderr] 125 | while let Some(result) = lines.next().await { [INFO] [stderr] | ^^^^ method not found in `tokio_codec::framed::Framed` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 44 | use futures_util::stream::StreamExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> examples/tinydb.rs:128:63 [INFO] [stderr] | [INFO] [stderr] 128 | ... let response = handle_request(&line, &db); [INFO] [stderr] | ^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `send` found for type `tokio_codec::framed::Framed` in the current scope [INFO] [stderr] --> examples/tinydb.rs:132:55 [INFO] [stderr] | [INFO] [stderr] 132 | ... if let Err(e) = lines.send(response).await { [INFO] [stderr] | ^^^^ method not found in `tokio_codec::framed::Framed` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 44 | use futures_util::sink::SinkExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for type `tokio_codec::framed::Framed` in the current scope [INFO] [stderr] --> examples/tinyhttp.rs:49:41 [INFO] [stderr] | [INFO] [stderr] 49 | while let Some(request) = transport.next().await { [INFO] [stderr] | ^^^^ method not found in `tokio_codec::framed::Framed` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 16 | use futures_util::stream::StreamExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error[E0599]: no method named `send` found for type `tokio_codec::framed::Framed` in the current scope [INFO] [stderr] --> examples/tinyhttp.rs:53:27 [INFO] [stderr] | [INFO] [stderr] 53 | transport.send(response).await?; [INFO] [stderr] | ^^^^ method not found in `tokio_codec::framed::Framed` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 16 | use futures_util::sink::SinkExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> examples/proxy.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use futures::{future::try_join, FutureExt, StreamExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `try_join` in this scope [INFO] [stderr] --> examples/proxy.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | try_join(client_to_server, server_to_client).await?; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 25 | use futures_util::try_future::try_join; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for type `tokio_net::tcp::incoming::Incoming` in the current scope [INFO] [stderr] --> examples/tinyhttp.rs:35:43 [INFO] [stderr] | [INFO] [stderr] 35 | while let Some(Ok(stream)) = incoming.next().await { [INFO] [stderr] | ^^^^ method not found in `tokio_net::tcp::incoming::Incoming` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 16 | use futures_util::stream::StreamExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 17 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `next` found for type `tokio_net::tcp::incoming::Incoming` in the current scope [INFO] [stderr] --> examples/proxy.rs:42:44 [INFO] [stderr] | [INFO] [stderr] 42 | while let Some(Ok(inbound)) = incoming.next().await { [INFO] [stderr] | ^^^^ method not found in `tokio_net::tcp::incoming::Incoming` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 25 | use futures_util::stream::StreamExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `impl core::future::future::Future` in the current scope [INFO] [stderr] --> examples/proxy.rs:43:63 [INFO] [stderr] | [INFO] [stderr] 43 | let transfer = transfer(inbound, server_addr.clone()).map(|r| { [INFO] [stderr] | ^^^ method not found in `impl core::future::future::Future` [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut impl core::future::future::Future : std::iter::Iterator` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 25 | use futures_util::future::FutureExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "47f7fbfbd7d066bac228a72444e212f0e5a1d9c10fea04d835455945cae5e963"` [INFO] running `"docker" "rm" "-f" "47f7fbfbd7d066bac228a72444e212f0e5a1d9c10fea04d835455945cae5e963"` [INFO] [stdout] 47f7fbfbd7d066bac228a72444e212f0e5a1d9c10fea04d835455945cae5e963