[INFO] fetching crate mio_surf 2.1.0... [INFO] testing mio_surf-2.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate mio_surf 2.1.0 into /workspace/builds/worker-19/source [INFO] validating manifest of crates.io crate mio_surf 2.1.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mio_surf 2.1.0 [INFO] finished tweaking crates.io crate mio_surf 2.1.0 [INFO] tweaked toml for crates.io crate mio_surf 2.1.0 written to /workspace/builds/worker-19/source/Cargo.toml [INFO] crate crates.io crate mio_surf 2.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing v0.1.23 [INFO] [stderr] Downloaded tracing-attributes v0.1.12 [INFO] [stderr] Downloaded deadpool v0.7.0 [INFO] [stderr] Downloaded spinning_top v0.2.2 [INFO] [stderr] Downloaded curl v0.4.34 [INFO] [stderr] Downloaded clicolors-control v1.0.1 [INFO] [stderr] Downloaded async-log-attributes v1.0.1 [INFO] [stderr] Downloaded config v0.10.1 [INFO] [stderr] Downloaded mockito v0.23.3 [INFO] [stderr] Downloaded http-client v6.3.0 [INFO] [stderr] Downloaded femme v1.3.0 [INFO] [stderr] Downloaded curl-sys v0.4.40+curl-7.75.0 [INFO] [stderr] Downloaded async-log v1.1.0 [INFO] [stderr] Downloaded console v0.7.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9df2731c2b5a1805bc7f1495afb30af8618add7b514f3417175061dd0ef2b930 [INFO] running `Command { std: "docker" "start" "-a" "9df2731c2b5a1805bc7f1495afb30af8618add7b514f3417175061dd0ef2b930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9df2731c2b5a1805bc7f1495afb30af8618add7b514f3417175061dd0ef2b930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9df2731c2b5a1805bc7f1495afb30af8618add7b514f3417175061dd0ef2b930", kill_on_drop: false }` [INFO] [stdout] 9df2731c2b5a1805bc7f1495afb30af8618add7b514f3417175061dd0ef2b930 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09f5a3bfbaa873779e8ee6929349f6033466f79b7b588244cd8b3486bf1e50a0 [INFO] running `Command { std: "docker" "start" "-a" "09f5a3bfbaa873779e8ee6929349f6033466f79b7b588244cd8b3486bf1e50a0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling futures-core v0.3.12 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-io v0.3.12 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling curl v0.4.34 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling http-types v2.10.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling futures-sink v0.3.12 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.15 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.3.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling futures-task v0.3.12 [INFO] [stderr] Compiling spinning_top v0.2.2 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling futures-channel v0.3.12 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling flume v0.9.2 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling sluice v0.5.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling libnghttp2-sys v0.1.6+1.43.0 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling curl-sys v0.4.40+curl-7.75.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling idna v0.2.1 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling ctor v0.1.19 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.12 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.12 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling tracing v0.1.23 [INFO] [stderr] Compiling async-io v1.3.1 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_qs v0.7.2 [INFO] [stderr] Compiling http-client v6.3.0 [INFO] [stderr] Compiling mio_surf v2.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.68s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "09f5a3bfbaa873779e8ee6929349f6033466f79b7b588244cd8b3486bf1e50a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09f5a3bfbaa873779e8ee6929349f6033466f79b7b588244cd8b3486bf1e50a0", kill_on_drop: false }` [INFO] [stdout] 09f5a3bfbaa873779e8ee6929349f6033466f79b7b588244cd8b3486bf1e50a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a91957271b3277ee7f6db97251af074540a56fd10c27be53f1909be54205ed9 [INFO] running `Command { std: "docker" "start" "-a" "7a91957271b3277ee7f6db97251af074540a56fd10c27be53f1909be54205ed9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling extend v0.1.2 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling assert-json-diff v1.1.0 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling console v0.7.7 [INFO] [stderr] Compiling mockito v0.23.3 [INFO] [stderr] Compiling async-log-attributes v1.0.1 [INFO] [stderr] Compiling async-log v1.1.0 [INFO] [stderr] Compiling femme v1.3.0 [INFO] [stderr] Compiling mio_surf v2.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> examples/middleware.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | async fn handle( [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _____`async` because of this [INFO] [stdout] | | [INFO] [stdout] 9 | | &self, [INFO] [stdout] 10 | | req: Request, [INFO] [stdout] 11 | | client: Client, [INFO] [stdout] ... | [INFO] [stdout] 17 | | Ok(res) [INFO] [stdout] 18 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `surf` [INFO] [stdout] --> examples/middleware.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use surf::middleware::{Middleware, Next}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> examples/next_reuse.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | async fn handle( [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _____`async` because of this [INFO] [stdout] | | [INFO] [stdout] 10 | | &self, [INFO] [stdout] 11 | | req: Request, [INFO] [stdout] 12 | | client: Client, [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `surf` [INFO] [stdout] --> examples/next_reuse.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use surf::middleware::{Middleware, Next}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `surf` [INFO] [stdout] --> tests/test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use surf::{middleware::Next, Client, Request, Response}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `surf` [INFO] [stdout] --> examples/middleware.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use surf::{Client, Request, Response}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `surf` [INFO] [stdout] --> examples/middleware.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[surf::utils::async_trait] [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `surf` [INFO] [stdout] --> examples/next_reuse.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use surf::{Body, Client, Request, Response}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `surf` [INFO] [stdout] --> tests/test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use surf::{middleware::Next, Client, Request, Response}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `surf` [INFO] [stdout] --> examples/next_reuse.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[surf::utils::async_trait] [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `surf` [INFO] [stdout] --> examples/persistent.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | let res1 = client.recv_string(surf::get("https://httpbin.org/get")); [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `surf` [INFO] [stdout] --> examples/persistent.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | let res2 = client.recv_string(surf::get("https://httpbin.org/get")); [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `surf` [INFO] [stdout] --> examples/persistent.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | let client = surf::Client::new(); [INFO] [stdout] | ^^^^^^ not found in `surf` [INFO] [stdout] | [INFO] [stdout] = note: consider importing this struct: [INFO] [stdout] mio_surf::Client [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `surf` [INFO] [stdout] --> examples/middleware.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | let req = surf::get("https://httpbin.org/get"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `surf` [INFO] [stdout] --> examples/middleware.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | surf::client().with(Printer {}).send(req).await?; [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Middleware` in this scope [INFO] [stdout] --> examples/middleware.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | impl Middleware for Printer { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use mio_surf::middleware::Middleware; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `surf` [INFO] [stdout] --> examples/hello_world.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | let string: String = surf::get(uri).recv_string().await?; [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Next` in this scope [INFO] [stdout] --> examples/middleware.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | next: Next<'_>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use futures_util::stream::Next; [INFO] [stdout] | [INFO] [stdout] 1 | use mio_surf::middleware::Next; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `surf` [INFO] [stdout] --> examples/next_reuse.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | let req = surf::get("https://httpbin.org/get"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `surf` [INFO] [stdout] --> tests/test.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | let res = surf::post(mockito::server_url()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `surf` [INFO] [stdout] --> examples/next_reuse.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | let mut res = surf::client().with(Doubler {}).send(req).await?; [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Middleware` in this scope [INFO] [stdout] --> examples/next_reuse.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl Middleware for Doubler { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use mio_surf::middleware::Middleware; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Next` in this scope [INFO] [stdout] --> examples/next_reuse.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | next: Next<'_>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use futures_util::stream::Next; [INFO] [stdout] | [INFO] [stdout] 1 | use mio_surf::middleware::Next; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `surf` [INFO] [stdout] --> tests/test.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | let msg: Message = surf::get(uri).recv_json().await?; [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `surf` [INFO] [stdout] --> tests/test.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | let mut res = surf::get(url).await?; [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `surf` [INFO] [stdout] --> tests/test.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | let mut res = surf::get(url).await?; [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `surf` [INFO] [stdout] --> tests/test.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | let original_client = surf::client().with(mw_1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `surf` [INFO] [stdout] --> tests/test.rs:135:15 [INFO] [stdout] | [INFO] [stdout] 135 | let req = surf::get("https://httpbin.org/get"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `surf` [INFO] [stdout] --> tests/test.rs:140:15 [INFO] [stdout] | [INFO] [stdout] 140 | let req = surf::get("https://httpbin.org/get"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Next` in this scope [INFO] [stdout] --> tests/test.rs:152:11 [INFO] [stdout] | [INFO] [stdout] 152 | next: Next<'_>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use futures_util::stream::Next; [INFO] [stdout] | [INFO] [stdout] 1 | use mio_surf::middleware::Next; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `surf` [INFO] [stdout] --> examples/post.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | let res = surf::post(uri) [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Next` in this scope [INFO] [stdout] --> tests/test.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 164 | next: Next<'_>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use futures_util::stream::Next; [INFO] [stdout] | [INFO] [stdout] 1 | use mio_surf::middleware::Next; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> tests/test.rs:153:6 [INFO] [stdout] | [INFO] [stdout] 153 | ) -> BoxFuture> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> tests/test.rs:165:6 [INFO] [stdout] | [INFO] [stdout] 165 | ) -> BoxFuture> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433, E0706. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433, E0706. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0581. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mio_surf` due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7a91957271b3277ee7f6db97251af074540a56fd10c27be53f1909be54205ed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a91957271b3277ee7f6db97251af074540a56fd10c27be53f1909be54205ed9", kill_on_drop: false }` [INFO] [stdout] 7a91957271b3277ee7f6db97251af074540a56fd10c27be53f1909be54205ed9