[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] testing gerust/gerust against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgerust%2Fgerust" "/workspace/builds/worker-49/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-49/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gerust/gerust on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-49/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 594c383e81720c73faf49e36a7edd2721a7326734004bfc9af55caef92fd3b29 [INFO] running `Command { std: "docker" "start" "-a" "594c383e81720c73faf49e36a7edd2721a7326734004bfc9af55caef92fd3b29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "594c383e81720c73faf49e36a7edd2721a7326734004bfc9af55caef92fd3b29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "594c383e81720c73faf49e36a7edd2721a7326734004bfc9af55caef92fd3b29", kill_on_drop: false }` [INFO] [stdout] 594c383e81720c73faf49e36a7edd2721a7326734004bfc9af55caef92fd3b29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0102ca1a4ed7e1cc82fa58b20ce435f4e95526dc3ccac5dfa21123cbec12e22 [INFO] running `Command { std: "docker" "start" "-a" "c0102ca1a4ed7e1cc82fa58b20ce435f4e95526dc3ccac5dfa21123cbec12e22", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.34 [INFO] [stderr] Compiling futures v0.1.17 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling version_check v0.1.3 [INFO] [stderr] Compiling lazycell v0.5.1 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling cc v1.0.3 [INFO] [stderr] Compiling scoped-tls v0.1.0 [INFO] [stderr] Compiling slab v0.4.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling httparse v1.2.3 [INFO] [stderr] Compiling rustc-demangle v0.1.5 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling base64 v0.8.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling unicase v2.1.0 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling relay v0.1.0 [INFO] [stderr] Compiling iovec v0.1.1 [INFO] [stderr] Compiling net2 v0.2.31 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling rand v0.3.18 [INFO] [stderr] Compiling num_cpus v1.7.0 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling bytes v0.4.5 [INFO] [stderr] Compiling mime v0.3.5 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling mio v0.6.11 [INFO] [stderr] Compiling tokio-io v0.1.4 [INFO] [stderr] Compiling http v0.1.3 [INFO] [stderr] Compiling futures-cpupool v0.1.7 [INFO] [stderr] Compiling regex v0.2.3 [INFO] [stderr] Compiling tokio-core v0.1.10 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling hyper v0.11.9 [INFO] [stderr] Compiling backtrace v0.3.4 [INFO] [stderr] Compiling 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] = note: `#[warn(anonymous_parameters)]` on by default [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] [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 `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` (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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 - fn handle_error(_e: Box) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 - type Future = Box>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - type Future = Box>; [INFO] [stdout] 34 + type Future = Box>; [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] = 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] [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: field is never read: `pool` [INFO] [stdout] --> src/flow.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | pool: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `HttpFlow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/flow.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `handle` [INFO] [stdout] --> src/flow.rs:89:5 [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] --> src/flow.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] [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] [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] [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] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "c0102ca1a4ed7e1cc82fa58b20ce435f4e95526dc3ccac5dfa21123cbec12e22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0102ca1a4ed7e1cc82fa58b20ce435f4e95526dc3ccac5dfa21123cbec12e22", kill_on_drop: false }` [INFO] [stdout] c0102ca1a4ed7e1cc82fa58b20ce435f4e95526dc3ccac5dfa21123cbec12e22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc20a03307021a3db3de0288ca4dfb9c24231a77cf3697fce1e3eec215f521bb [INFO] running `Command { std: "docker" "start" "-a" "cc20a03307021a3db3de0288ca4dfb9c24231a77cf3697fce1e3eec215f521bb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling serde v1.0.24 [INFO] [stderr] Compiling num-traits v0.1.41 [INFO] [stderr] Compiling env_logger v0.4.3 [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] = note: `#[warn(anonymous_parameters)]` on by default [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] [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 `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` (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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 - fn handle_error(_e: Box) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 - type Future = Box>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - type Future = Box>; [INFO] [stdout] 34 + type Future = Box>; [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] = 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] [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: field is never read: `pool` [INFO] [stdout] --> src/flow.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | pool: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `HttpFlow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/flow.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `handle` [INFO] [stdout] --> src/flow.rs:89:5 [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] --> src/flow.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] [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] [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] [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] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling serde_json v1.0.8 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling serde_derive_internals v0.18.0 [INFO] [stderr] Compiling serde_derive v1.0.24 [INFO] [stderr] Compiling gerust v0.1.0 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [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] [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 E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gerust` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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] = note: `#[warn(anonymous_parameters)]` on by default [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] [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: 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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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` (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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 - fn handle_error(_e: Box) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 - type Future = Box>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - type Future = Box>; [INFO] [stdout] 34 + type Future = Box>; [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] = 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] [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: field is never read: `pool` [INFO] [stdout] --> src/flow.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | pool: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `HttpFlow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/flow.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `handle` [INFO] [stdout] --> src/flow.rs:89:5 [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] --> src/flow.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] [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] [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] [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] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cc20a03307021a3db3de0288ca4dfb9c24231a77cf3697fce1e3eec215f521bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc20a03307021a3db3de0288ca4dfb9c24231a77cf3697fce1e3eec215f521bb", kill_on_drop: false }` [INFO] [stdout] cc20a03307021a3db3de0288ca4dfb9c24231a77cf3697fce1e3eec215f521bb