[INFO] cloning repository https://github.com/gerust/gerust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gerust/gerust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgerust%2Fgerust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgerust%2Fgerust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 26d7c26ab85b556f3dfd29e57c6437120de1f692 [INFO] checking gerust/gerust/26d7c26ab85b556f3dfd29e57c6437120de1f692 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgerust%2Fgerust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gerust/gerust on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gerust/gerust [INFO] finished tweaking git repo https://github.com/gerust/gerust [INFO] tweaked toml for git repo https://github.com/gerust/gerust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gerust/gerust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyper v0.11.9 [INFO] [stderr] Downloaded serde_derive_internals v0.18.0 [INFO] [stderr] Downloaded serde_derive v1.0.24 [INFO] [stderr] Downloaded http v0.1.3 [INFO] [stderr] Downloaded serde_json v1.0.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2d7ec6107a7d74bd5ac86395804665402306ae53a304959ec6e2b8a530b735d [INFO] running `Command { std: "docker" "start" "-a" "e2d7ec6107a7d74bd5ac86395804665402306ae53a304959ec6e2b8a530b735d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2d7ec6107a7d74bd5ac86395804665402306ae53a304959ec6e2b8a530b735d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2d7ec6107a7d74bd5ac86395804665402306ae53a304959ec6e2b8a530b735d", kill_on_drop: false }` [INFO] [stdout] e2d7ec6107a7d74bd5ac86395804665402306ae53a304959ec6e2b8a530b735d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 758cafceb04a4017d9fba84508fa1f101040b8c39a9b7ee922c424c7cd3df31f [INFO] running `Command { std: "docker" "start" "-a" "758cafceb04a4017d9fba84508fa1f101040b8c39a9b7ee922c424c7cd3df31f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.34 [INFO] [stderr] Checking futures v0.1.17 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking log v0.3.8 [INFO] [stderr] Compiling version_check v0.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling cc v1.0.3 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking lazycell v0.5.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking slab v0.4.0 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking scoped-tls v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking take v0.1.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling unicase v2.1.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking iovec v0.1.1 [INFO] [stderr] Checking net2 v0.2.31 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking bytes v0.4.5 [INFO] [stderr] Checking rand v0.3.18 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking num_cpus v1.7.0 [INFO] [stderr] Checking mio v0.6.11 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking mime v0.3.5 [INFO] [stderr] Checking base64 v0.8.0 [INFO] [stderr] Checking http v0.1.3 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking tokio-io v0.1.4 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking futures-cpupool v0.1.7 [INFO] [stderr] Checking relay v0.1.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking httparse v1.2.3 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking tokio-core v0.1.10 [INFO] [stderr] Checking rustc-demangle v0.1.5 [INFO] [stderr] Checking num-traits v0.1.41 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Checking regex v0.2.3 [INFO] [stderr] Compiling serde_derive_internals v0.18.0 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking serde v1.0.24 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.24 [INFO] [stderr] Checking hyper v0.11.9 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Checking serde_json v1.0.8 [INFO] [stderr] Checking backtrace v0.3.4 [INFO] [stderr] Checking gerust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/resource.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | fn uri_too_long(&self, &http::uri::Uri) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &http::uri::Uri` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/conneg.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chunk::Chunk` [INFO] [stdout] --> src/body.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chunk::Chunk; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/resource.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | fn uri_too_long(&self, &http::uri::Uri) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &http::uri::Uri` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/conneg.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chunk::Chunk` [INFO] [stdout] --> src/body.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chunk::Chunk; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/conneg.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / lazy_static! { [INFO] [stdout] 36 | | static ref CONNEG: Regex = Regex::new(r"^\s*([^;]+)(?:;\s*q=(\S*))?\s*$").unwrap(); [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/conneg.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / lazy_static! { [INFO] [stdout] 36 | | static ref CONNEG: Regex = Regex::new(r"^\s*([^;]+)(?:;\s*q=(\S*))?\s*$").unwrap(); [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resource.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | fn handle_error(_e: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 | fn handle_error(_e: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resource.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | fn handle_error(_e: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 | fn handle_error(_e: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/flow.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 | type Future = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/flow.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 | type Future = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | type Future = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | type Future = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/resource.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 99 | fn process_post(&self, response: &mut ::flow::DelayedResponse) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/resource.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 99 | fn process_post(&self, response: &mut ::flow::DelayedResponse) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_quality` [INFO] [stdout] --> src/conneg.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | let (next, next_quality) = match found { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_quality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/conneg.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | Some(t) if quality > found_quality => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/conneg.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | Some(t) if quality == found_quality => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/conneg.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | Some(t) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_quality` [INFO] [stdout] --> src/conneg.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | let (next, next_quality) = match found { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_quality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/conneg.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | Some(t) if quality > found_quality => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/conneg.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | Some(t) if quality == found_quality => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/conneg.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | Some(t) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | fn from(e: error::Error) -> hyper::Error { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pool` and `handle` are never read [INFO] [stdout] --> src/flow.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct HttpFlow { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 88 | pool: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] 89 | handle: tokio_core::reactor::Remote, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpFlow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/flow.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | sender.take().unwrap().send(response); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 136 | let _ = sender.take().unwrap().send(response); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/flow.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | sender.take().unwrap().send(response); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 147 | let _ = sender.take().unwrap().send(response); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/flow.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | sender.take().unwrap().send(response); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 157 | let _ = sender.take().unwrap().send(response); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/flow.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | wrapper.response.response_body().poll_complete(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 169 | let _ = wrapper.response.response_body().poll_complete(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/flow.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | sender.take().unwrap().send(response); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 175 | let _ = sender.take().unwrap().send(response); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | fn from(e: error::Error) -> hyper::Error { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pool` and `handle` are never read [INFO] [stdout] --> src/flow.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct HttpFlow { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 88 | pool: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] 89 | handle: tokio_core::reactor::Remote, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpFlow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/flow.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | sender.take().unwrap().send(response); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 136 | let _ = sender.take().unwrap().send(response); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/flow.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | sender.take().unwrap().send(response); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 147 | let _ = sender.take().unwrap().send(response); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/flow.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | sender.take().unwrap().send(response); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 157 | let _ = sender.take().unwrap().send(response); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/flow.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | wrapper.response.response_body().poll_complete(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 169 | let _ = wrapper.response.response_body().poll_complete(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/flow.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | sender.take().unwrap().send(response); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 175 | let _ = sender.take().unwrap().send(response); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> tests/helper/mod.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | let mut flow = HttpFlow::new(); [INFO] [stdout] | ^^^^^^^^^^^^^-- two arguments of type `Arc` and `Remote` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/flow.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn new(pool: Arc, handle: tokio_core::reactor::Remote) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 20 | let mut flow = HttpFlow::new(/* Arc */, /* Remote */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> examples/simple_http.rs:54:44 [INFO] [stdout] | [INFO] [stdout] 54 | fn handle(&mut self, item: Self::Item, request: &mut http::Request, response: &mut gerust::flow::DelayedResponse) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> examples/simple_http.rs:54:87 [INFO] [stdout] | [INFO] [stdout] 54 | fn handle(&mut self, item: Self::Item, request: &mut http::Request, response: &mut gerust::flow::DelayedResponse) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gerust` (test "simple_get") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/simple_http.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | resp.response_body().start_send(Ok("Hello, World!".into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = resp.response_body().start_send(Ok("Hello, World!".into())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "758cafceb04a4017d9fba84508fa1f101040b8c39a9b7ee922c424c7cd3df31f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "758cafceb04a4017d9fba84508fa1f101040b8c39a9b7ee922c424c7cd3df31f", kill_on_drop: false }` [INFO] [stdout] 758cafceb04a4017d9fba84508fa1f101040b8c39a9b7ee922c424c7cd3df31f