[INFO] fetching crate hreq 0.4.0... [INFO] checking hreq-0.4.0 against master#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] extracting crate hreq 0.4.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate hreq 0.4.0 on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate hreq 0.4.0 [INFO] finished tweaking crates.io crate hreq 0.4.0 [INFO] tweaked toml for crates.io crate hreq 0.4.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate hreq 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9743185a7bbeb70194eab4863408f984c5e75f6a0aeeea725e994e300710e840 [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" "9743185a7bbeb70194eab4863408f984c5e75f6a0aeeea725e994e300710e840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9743185a7bbeb70194eab4863408f984c5e75f6a0aeeea725e994e300710e840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9743185a7bbeb70194eab4863408f984c5e75f6a0aeeea725e994e300710e840", kill_on_drop: false }` [INFO] [stdout] 9743185a7bbeb70194eab4863408f984c5e75f6a0aeeea725e994e300710e840 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8a55b1f8e27de28b42085e8c0f5f86ba859da47c9ea265cf72e9a975ed5485bb [INFO] running `Command { std: "docker" "start" "-a" "8a55b1f8e27de28b42085e8c0f5f86ba859da47c9ea265cf72e9a975ed5485bb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Checking adler v0.2.2 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Checking tracing-core v0.1.13 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Checking sharded-slab v0.0.9 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Checking memchr v2.3.3 [INFO] [stderr] Checking proc-macro-nested v0.1.6 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking ryu v1.0.5 [INFO] [stderr] Checking encoding_rs v0.8.23 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking ring v0.16.15 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking tracing-log v0.1.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking async-compression v0.3.5 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Checking rustls v0.18.0 [INFO] [stderr] Checking publicsuffix v1.5.4 [INFO] [stderr] Checking tracing-serde v0.1.1 [INFO] [stderr] Checking tracing-subscriber v0.2.10 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling tracing-attributes v0.1.9 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking tracing v0.1.18 [INFO] [stderr] Checking cookie v0.14.1 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking hreq-h1 v0.2.0 [INFO] [stderr] Checking hreq-h2 v0.2.6 [INFO] [stderr] Checking hreq v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/basic.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/charset.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/gzip.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/basic.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/charset.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/gzip.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/basic.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/gzip.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/gzip.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/charset.rs:161:22 [INFO] [stdout] | [INFO] [stdout] 161 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/charset.rs:190:22 [INFO] [stdout] | [INFO] [stdout] 190 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/json.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/redir.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/json.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/charset.rs:220:22 [INFO] [stdout] | [INFO] [stdout] 220 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/charset.rs:237:22 [INFO] [stdout] | [INFO] [stdout] 237 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> examples/server_hello.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Server` in this scope [INFO] [stdout] --> tests/charset.rs:217:24 [INFO] [stdout] | [INFO] [stdout] 217 | fn iso8859_server() -> Server<()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Server` in this scope [INFO] [stdout] --> tests/charset.rs:234:25 [INFO] [stdout] | [INFO] [stdout] 234 | fn shiftjis_server() -> Server<()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hreq::prelude` [INFO] [stdout] --> examples/server_hello.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hreq::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hreq`. [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> examples/server_path_arg.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/cookie.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/get.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/cookie.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/gzip.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let v = res.into_body().read_to_vec().block()?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/cookie.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/gzip.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let v = res.into_body().read_to_vec().block()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [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[E0433]: failed to resolve: use of undeclared type or module `regex` [INFO] [stdout] --> tests/get.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | let re = regex::Regex::new("127.0.0.1:\\d+").unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/timeout.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/gzip.rs:33:50 [INFO] [stdout] | [INFO] [stdout] 33 | let v = res.into_body().read_to_vec().block()?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required by `std::prelude::v1::Err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/post.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/cookie.rs:164:22 [INFO] [stdout] | [INFO] [stdout] 164 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/post.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/cookie.rs:213:22 [INFO] [stdout] | [INFO] [stdout] 213 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/timeout.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/post.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/get.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/post.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/post.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/get.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/post.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Server` [INFO] [stdout] --> tests/post.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | let mut server = Server::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `content_decode` found for struct `http::Request` in the current scope [INFO] [stdout] --> tests/gzip.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | let req = req.content_decode(false); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `http::Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `path_param` found for struct `http::Request` in the current scope [INFO] [stdout] --> examples/server_path_arg.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | let name = req.path_param("name").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `http::Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `charset_decode_target` found for struct `http::Request` in the current scope [INFO] [stdout] --> tests/charset.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | let req = req.charset_decode_target("iso8859-1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `http::Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `charset_decode` found for struct `http::Request` in the current scope [INFO] [stdout] --> tests/charset.rs:131:27 [INFO] [stdout] | [INFO] [stdout] 131 | let req = req.charset_decode(false); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `http::Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `charset_decode` found for struct `http::Request` in the current scope [INFO] [stdout] --> tests/charset.rs:165:27 [INFO] [stdout] | [INFO] [stdout] 165 | let req = req.charset_decode(false); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `http::Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `charset_decode` found for struct `http::Request` in the current scope [INFO] [stdout] --> tests/charset.rs:194:27 [INFO] [stdout] | [INFO] [stdout] 194 | let req = req.charset_decode(false); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `http::Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `charset_encode_source` found for struct `http::response::Builder` in the current scope [INFO] [stdout] --> tests/charset.rs:225:14 [INFO] [stdout] | [INFO] [stdout] 225 | .charset_encode_source("iso8859-1") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `http::response::Builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `charset_encode_source` found for struct `http::response::Builder` in the current scope [INFO] [stdout] --> tests/charset.rs:242:14 [INFO] [stdout] | [INFO] [stdout] 242 | .charset_encode_source("Shift_JIS") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `http::response::Builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [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" "8a55b1f8e27de28b42085e8c0f5f86ba859da47c9ea265cf72e9a975ed5485bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a55b1f8e27de28b42085e8c0f5f86ba859da47c9ea265cf72e9a975ed5485bb", kill_on_drop: false }` [INFO] [stdout] 8a55b1f8e27de28b42085e8c0f5f86ba859da47c9ea265cf72e9a975ed5485bb