[INFO] fetching crate milstian-internet-framework 0.3.1... [INFO] testing milstian-internet-framework-0.3.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate milstian-internet-framework 0.3.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate milstian-internet-framework 0.3.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate milstian-internet-framework 0.3.1 [INFO] finished tweaking crates.io crate milstian-internet-framework 0.3.1 [INFO] tweaked toml for crates.io crate milstian-internet-framework 0.3.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded milstian-feedback v0.1.1 [INFO] [stderr] Downloaded milstian-http v0.1.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4aec8d539bbc8e288eb6c897712fdf411a9d1b6afbc979d28b9b9e7d8ae0a8c1 [INFO] running `Command { std: "docker" "start" "-a" "4aec8d539bbc8e288eb6c897712fdf411a9d1b6afbc979d28b9b9e7d8ae0a8c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4aec8d539bbc8e288eb6c897712fdf411a9d1b6afbc979d28b9b9e7d8ae0a8c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aec8d539bbc8e288eb6c897712fdf411a9d1b6afbc979d28b9b9e7d8ae0a8c1", kill_on_drop: false }` [INFO] [stdout] 4aec8d539bbc8e288eb6c897712fdf411a9d1b6afbc979d28b9b9e7d8ae0a8c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3ee7d5e6069de011cbde43a2a28028bbcd47ce0ccd25ed5ab47a4a4aa12a09a [INFO] running `Command { std: "docker" "start" "-a" "a3ee7d5e6069de011cbde43a2a28028bbcd47ce0ccd25ed5ab47a4a4aa12a09a", kill_on_drop: false }` [INFO] [stderr] Compiling milstian-http v0.1.9 [INFO] [stderr] Compiling milstian-feedback v0.1.1 [INFO] [stderr] Compiling milstian-internet-framework v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response/tcp/http/mod.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | fn matches(&mut self, &request::Message, &Application, &SocketAddr, &u64) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &request::Message` [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response/tcp/http/mod.rs:88:46 [INFO] [stdout] | [INFO] [stdout] 88 | fn matches(&mut self, &request::Message, &Application, &SocketAddr, &u64) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Application` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response/tcp/http/mod.rs:88:60 [INFO] [stdout] | [INFO] [stdout] 88 | fn matches(&mut self, &request::Message, &Application, &SocketAddr, &u64) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &SocketAddr` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response/tcp/http/mod.rs:88:73 [INFO] [stdout] | [INFO] [stdout] 88 | fn matches(&mut self, &request::Message, &Application, &SocketAddr, &u64) -> bool; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &u64` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response/tcp/http/mod.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | &request::Message, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &request::Message` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response/tcp/http/mod.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | &Application, [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Application` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response/tcp/http/mod.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | &SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &SocketAddr` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response/tcp/http/mod.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | &u64, [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &u64` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/thread/mod.rs:177:16 [INFO] [stdout] | [INFO] [stdout] 177 | type Job = 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] 177 - type Job = Box; [INFO] [stdout] 177 + type Job = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:179:48 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn tcp_http(&self, responders: Vec>) { [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] 179 - pub fn tcp_http(&self, responders: Vec>) { [INFO] [stdout] 179 + pub fn tcp_http(&self, responders: Vec>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | custom: 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] 214 - custom: Box, [INFO] [stdout] 214 + custom: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/transport_layer/mod.rs:29:64 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn http(application: &Application, responders: Vec>) { [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] 29 - pub fn http(application: &Application, responders: Vec>) { [INFO] [stdout] 29 + pub fn http(application: &Application, responders: Vec>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/tcp/mod.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | responders: Vec>, [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] 22 - responders: Vec>, [INFO] [stdout] 22 + responders: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/tcp/http/mod.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | impl Clone for 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] 111 - impl Clone for Box { [INFO] [stdout] 111 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/tcp/http/mod.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | fn clone_box(&self) -> 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 - fn clone_box(&self) -> Box; [INFO] [stdout] 99 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/tcp/http/mod.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | responders: Vec>, [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] 48 - responders: Vec>, [INFO] [stdout] 48 + responders: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/tcp/http/mod.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | fn clone_box(&self) -> 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] 106 - fn clone_box(&self) -> Box { [INFO] [stdout] 106 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/tcp/http/mod.rs:112:28 [INFO] [stdout] | [INFO] [stdout] 112 | fn clone(&self) -> 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] 112 - fn clone(&self) -> Box { [INFO] [stdout] 112 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | let responders: Vec> = vec![ [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] 195 - let responders: Vec> = vec![ [INFO] [stdout] 195 + let responders: Vec> = vec![ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:216:33 [INFO] [stdout] | [INFO] [stdout] 216 | let responders: Vec> = vec![ [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] 216 - let responders: Vec> = vec![ [INFO] [stdout] 216 + let responders: Vec> = vec![ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/response/tcp/http/filesystem.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | let mut response = Responder::get_response(&filename, &request_message, &application)?; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/transport_layer/mod.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 65 | | "Failed to bind to server and port: {}, error: {}", [INFO] [stdout] 66 | | &path, e [INFO] [stdout] 67 | | )); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 64 ~ panic!( [INFO] [stdout] 65 | "Failed to bind to server and port: {}, error: {}", [INFO] [stdout] 66 | &path, e [INFO] [stdout] 67 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/thread/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / &self [INFO] [stdout] 30 | | .application [INFO] [stdout] 31 | | .get_feedback() [INFO] [stdout] 32 | | .info("Sending job down the channel".to_string()); [INFO] [stdout] | |_____________________________________________________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = &self [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.32s [INFO] running `Command { std: "docker" "inspect" "a3ee7d5e6069de011cbde43a2a28028bbcd47ce0ccd25ed5ab47a4a4aa12a09a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3ee7d5e6069de011cbde43a2a28028bbcd47ce0ccd25ed5ab47a4a4aa12a09a", kill_on_drop: false }` [INFO] [stdout] a3ee7d5e6069de011cbde43a2a28028bbcd47ce0ccd25ed5ab47a4a4aa12a09a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e72a5032864b013d11c9ca3053efd43fc0595c1b2fe87fae00e066ad1b756714 [INFO] running `Command { std: "docker" "start" "-a" "e72a5032864b013d11c9ca3053efd43fc0595c1b2fe87fae00e066ad1b756714", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response/tcp/http/mod.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | fn matches(&mut self, &request::Message, &Application, &SocketAddr, &u64) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &request::Message` [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response/tcp/http/mod.rs:88:46 [INFO] [stdout] | [INFO] [stdout] 88 | fn matches(&mut self, &request::Message, &Application, &SocketAddr, &u64) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Application` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response/tcp/http/mod.rs:88:60 [INFO] [stdout] | [INFO] [stdout] 88 | fn matches(&mut self, &request::Message, &Application, &SocketAddr, &u64) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &SocketAddr` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response/tcp/http/mod.rs:88:73 [INFO] [stdout] | [INFO] [stdout] 88 | fn matches(&mut self, &request::Message, &Application, &SocketAddr, &u64) -> bool; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &u64` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response/tcp/http/mod.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | &request::Message, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &request::Message` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response/tcp/http/mod.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | &Application, [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Application` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response/tcp/http/mod.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | &SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &SocketAddr` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response/tcp/http/mod.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | &u64, [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &u64` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/thread/mod.rs:177:16 [INFO] [stdout] | [INFO] [stdout] 177 | type Job = 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] 177 - type Job = Box; [INFO] [stdout] 177 + type Job = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:179:48 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn tcp_http(&self, responders: Vec>) { [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] 179 - pub fn tcp_http(&self, responders: Vec>) { [INFO] [stdout] 179 + pub fn tcp_http(&self, responders: Vec>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | custom: 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] 214 - custom: Box, [INFO] [stdout] 214 + custom: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/transport_layer/mod.rs:29:64 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn http(application: &Application, responders: Vec>) { [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] 29 - pub fn http(application: &Application, responders: Vec>) { [INFO] [stdout] 29 + pub fn http(application: &Application, responders: Vec>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/tcp/mod.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | responders: Vec>, [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] 22 - responders: Vec>, [INFO] [stdout] 22 + responders: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/tcp/http/mod.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | impl Clone for 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] 111 - impl Clone for Box { [INFO] [stdout] 111 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/tcp/http/mod.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | fn clone_box(&self) -> 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 - fn clone_box(&self) -> Box; [INFO] [stdout] 99 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/tcp/http/mod.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | responders: Vec>, [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] 48 - responders: Vec>, [INFO] [stdout] 48 + responders: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/tcp/http/mod.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | fn clone_box(&self) -> 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] 106 - fn clone_box(&self) -> Box { [INFO] [stdout] 106 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/tcp/http/mod.rs:112:28 [INFO] [stdout] | [INFO] [stdout] 112 | fn clone(&self) -> 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] 112 - fn clone(&self) -> Box { [INFO] [stdout] 112 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | let responders: Vec> = vec![ [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] 195 - let responders: Vec> = vec![ [INFO] [stdout] 195 + let responders: Vec> = vec![ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:216:33 [INFO] [stdout] | [INFO] [stdout] 216 | let responders: Vec> = vec![ [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] 216 - let responders: Vec> = vec![ [INFO] [stdout] 216 + let responders: Vec> = vec![ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/response/tcp/http/filesystem.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | let mut response = Responder::get_response(&filename, &request_message, &application)?; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/transport_layer/mod.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 65 | | "Failed to bind to server and port: {}, error: {}", [INFO] [stdout] 66 | | &path, e [INFO] [stdout] 67 | | )); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 64 ~ panic!( [INFO] [stdout] 65 | "Failed to bind to server and port: {}, error: {}", [INFO] [stdout] 66 | &path, e [INFO] [stdout] 67 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling milstian-internet-framework v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/thread/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / &self [INFO] [stdout] 30 | | .application [INFO] [stdout] 31 | | .get_feedback() [INFO] [stdout] 32 | | .info("Sending job down the channel".to_string()); [INFO] [stdout] | |_____________________________________________________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = &self [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> examples/dynamic.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/dynamic.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response/tcp/http/mod.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | fn matches(&mut self, &request::Message, &Application, &SocketAddr, &u64) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &request::Message` [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response/tcp/http/mod.rs:88:46 [INFO] [stdout] | [INFO] [stdout] 88 | fn matches(&mut self, &request::Message, &Application, &SocketAddr, &u64) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Application` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response/tcp/http/mod.rs:88:60 [INFO] [stdout] | [INFO] [stdout] 88 | fn matches(&mut self, &request::Message, &Application, &SocketAddr, &u64) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &SocketAddr` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response/tcp/http/mod.rs:88:73 [INFO] [stdout] | [INFO] [stdout] 88 | fn matches(&mut self, &request::Message, &Application, &SocketAddr, &u64) -> bool; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &u64` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response/tcp/http/mod.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | &request::Message, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &request::Message` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response/tcp/http/mod.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | &Application, [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Application` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response/tcp/http/mod.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | &SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &SocketAddr` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response/tcp/http/mod.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | &u64, [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &u64` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/thread/mod.rs:177:16 [INFO] [stdout] | [INFO] [stdout] 177 | type Job = 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] 177 - type Job = Box; [INFO] [stdout] 177 + type Job = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:179:48 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn tcp_http(&self, responders: Vec>) { [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] 179 - pub fn tcp_http(&self, responders: Vec>) { [INFO] [stdout] 179 + pub fn tcp_http(&self, responders: Vec>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | custom: 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] 214 - custom: Box, [INFO] [stdout] 214 + custom: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/transport_layer/mod.rs:29:64 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn http(application: &Application, responders: Vec>) { [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] 29 - pub fn http(application: &Application, responders: Vec>) { [INFO] [stdout] 29 + pub fn http(application: &Application, responders: Vec>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/tcp/mod.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | responders: Vec>, [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] 22 - responders: Vec>, [INFO] [stdout] 22 + responders: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/tcp/http/mod.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | impl Clone for 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] 111 - impl Clone for Box { [INFO] [stdout] 111 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/tcp/http/mod.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | fn clone_box(&self) -> 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 - fn clone_box(&self) -> Box; [INFO] [stdout] 99 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/tcp/http/mod.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | responders: Vec>, [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] 48 - responders: Vec>, [INFO] [stdout] 48 + responders: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/tcp/http/mod.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | fn clone_box(&self) -> 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] 106 - fn clone_box(&self) -> Box { [INFO] [stdout] 106 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response/tcp/http/mod.rs:112:28 [INFO] [stdout] | [INFO] [stdout] 112 | fn clone(&self) -> 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] 112 - fn clone(&self) -> Box { [INFO] [stdout] 112 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | let responders: Vec> = vec![ [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] 195 - let responders: Vec> = vec![ [INFO] [stdout] 195 + let responders: Vec> = vec![ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:216:33 [INFO] [stdout] | [INFO] [stdout] 216 | let responders: Vec> = vec![ [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] 216 - let responders: Vec> = vec![ [INFO] [stdout] 216 + let responders: Vec> = vec![ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/response/tcp/http/filesystem.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | let mut response = Responder::get_response(&filename, &request_message, &application)?; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/transport_layer/mod.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 65 | | "Failed to bind to server and port: {}, error: {}", [INFO] [stdout] 66 | | &path, e [INFO] [stdout] 67 | | )); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 64 ~ panic!( [INFO] [stdout] 65 | "Failed to bind to server and port: {}, error: {}", [INFO] [stdout] 66 | &path, e [INFO] [stdout] 67 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/thread/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / &self [INFO] [stdout] 30 | | .application [INFO] [stdout] 31 | | .get_feedback() [INFO] [stdout] 32 | | .info("Sending job down the channel".to_string()); [INFO] [stdout] | |_____________________________________________________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = &self [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "e72a5032864b013d11c9ca3053efd43fc0595c1b2fe87fae00e066ad1b756714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e72a5032864b013d11c9ca3053efd43fc0595c1b2fe87fae00e066ad1b756714", kill_on_drop: false }` [INFO] [stdout] e72a5032864b013d11c9ca3053efd43fc0595c1b2fe87fae00e066ad1b756714 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 64eb1fd5083d40beee76dda780f42797501b52a3273abe7ac7b6b517ce82cc42 [INFO] running `Command { std: "docker" "start" "-a" "64eb1fd5083d40beee76dda780f42797501b52a3273abe7ac7b6b517ce82cc42", kill_on_drop: false }` [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/response/tcp/http/mod.rs:88:27 [INFO] [stderr] | [INFO] [stderr] 88 | fn matches(&mut self, &request::Message, &Application, &SocketAddr, &u64) -> bool; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &request::Message` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/response/tcp/http/mod.rs:88:46 [INFO] [stderr] | [INFO] [stderr] 88 | fn matches(&mut self, &request::Message, &Application, &SocketAddr, &u64) -> bool; [INFO] [stderr] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Application` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/response/tcp/http/mod.rs:88:60 [INFO] [stderr] | [INFO] [stderr] 88 | fn matches(&mut self, &request::Message, &Application, &SocketAddr, &u64) -> bool; [INFO] [stderr] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &SocketAddr` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/response/tcp/http/mod.rs:88:73 [INFO] [stderr] | [INFO] [stderr] 88 | fn matches(&mut self, &request::Message, &Application, &SocketAddr, &u64) -> bool; [INFO] [stderr] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &u64` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/response/tcp/http/mod.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 91 | &request::Message, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &request::Message` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/response/tcp/http/mod.rs:92:9 [INFO] [stderr] | [INFO] [stderr] 92 | &Application, [INFO] [stderr] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Application` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/response/tcp/http/mod.rs:93:9 [INFO] [stderr] | [INFO] [stderr] 93 | &SocketAddr, [INFO] [stderr] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &SocketAddr` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/response/tcp/http/mod.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 94 | &u64, [INFO] [stderr] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &u64` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/thread/mod.rs:177:16 [INFO] [stderr] | [INFO] [stderr] 177 | type Job = Box; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 177 - type Job = Box; [INFO] [stderr] 177 + type Job = Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:179:48 [INFO] [stderr] | [INFO] [stderr] 179 | pub fn tcp_http(&self, responders: Vec>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 179 - pub fn tcp_http(&self, responders: Vec>) { [INFO] [stderr] 179 + pub fn tcp_http(&self, responders: Vec>) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:214:21 [INFO] [stderr] | [INFO] [stderr] 214 | custom: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 214 - custom: Box, [INFO] [stderr] 214 + custom: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/transport_layer/mod.rs:29:64 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn http(application: &Application, responders: Vec>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 29 - pub fn http(application: &Application, responders: Vec>) { [INFO] [stderr] 29 + pub fn http(application: &Application, responders: Vec>) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/response/tcp/mod.rs:22:29 [INFO] [stderr] | [INFO] [stderr] 22 | responders: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 22 - responders: Vec>, [INFO] [stderr] 22 + responders: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/response/tcp/http/mod.rs:111:20 [INFO] [stderr] | [INFO] [stderr] 111 | impl Clone for Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 111 - impl Clone for Box { [INFO] [stderr] 111 + impl Clone for Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/response/tcp/http/mod.rs:99:32 [INFO] [stderr] | [INFO] [stderr] 99 | fn clone_box(&self) -> Box; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 99 - fn clone_box(&self) -> Box; [INFO] [stderr] 99 + fn clone_box(&self) -> Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/response/tcp/http/mod.rs:48:29 [INFO] [stderr] | [INFO] [stderr] 48 | responders: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 48 - responders: Vec>, [INFO] [stderr] 48 + responders: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/response/tcp/http/mod.rs:106:32 [INFO] [stderr] | [INFO] [stderr] 106 | fn clone_box(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 106 - fn clone_box(&self) -> Box { [INFO] [stderr] 106 + fn clone_box(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/response/tcp/http/mod.rs:112:28 [INFO] [stderr] | [INFO] [stderr] 112 | fn clone(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 112 - fn clone(&self) -> Box { [INFO] [stderr] 112 + fn clone(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:195:33 [INFO] [stderr] | [INFO] [stderr] 195 | let responders: Vec> = vec![ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 195 - let responders: Vec> = vec![ [INFO] [stderr] 195 + let responders: Vec> = vec![ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:216:33 [INFO] [stderr] | [INFO] [stderr] 216 | let responders: Vec> = vec![ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 216 - let responders: Vec> = vec![ [INFO] [stderr] 216 + let responders: Vec> = vec![ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/response/tcp/http/filesystem.rs:285:17 [INFO] [stderr] | [INFO] [stderr] 285 | let mut response = Responder::get_response(&filename, &request_message, &application)?; [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/transport_layer/mod.rs:64:24 [INFO] [stderr] | [INFO] [stderr] 64 | panic!(format!( [INFO] [stderr] | ________________________^ [INFO] [stderr] 65 | | "Failed to bind to server and port: {}, error: {}", [INFO] [stderr] 66 | | &path, e [INFO] [stderr] 67 | | )); [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 64 ~ panic!( [INFO] [stderr] 65 | "Failed to bind to server and port: {}, error: {}", [INFO] [stderr] 66 | &path, e [INFO] [stderr] 67 ~ ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/thread/mod.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | / &self [INFO] [stderr] 30 | | .application [INFO] [stderr] 31 | | .get_feedback() [INFO] [stderr] 32 | | .info("Sending job down the channel".to_string()); [INFO] [stderr] | |_____________________________________________________________^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 29 | let _ = &self [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `milstian-internet-framework` (lib) generated 23 warnings [INFO] [stderr] warning: `milstian-internet-framework` (lib test) generated 23 warnings (23 duplicates) [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> examples/dynamic.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> examples/dynamic.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `milstian-internet-framework` (example "dynamic") generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/milstian_internet_framework-9085d4200213abe8) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test mime::tests::test_from_filename ... ok [INFO] [stdout] test response::tcp::http::error::tests::test_matches ... ok [INFO] [stdout] test response::tcp::http::error::tests::test_respond ... ok [INFO] [stdout] test response::tcp::http::file_not_found::tests::matches ... ok [INFO] [stdout] test response::tcp::http::filesystem::tests::matches ... ok [INFO] [stdout] test tests::from_env_args ... ok [INFO] [stdout] test response::tcp::http::file_not_found::tests::respond ... ok [INFO] [stdout] test response::tcp::http::filesystem::tests::respond ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/static.rs (/opt/rustwide/target/debug/deps/static-7bddf9d72dc508d9) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tcp_http ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests milstian-internet-framework [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - (line 20) ... ok [INFO] [stdout] test src/mime.rs - mime::from_filename (line 4) ... ok [INFO] [stdout] test src/lib.rs - Config::from_env (line 122) ... ok [INFO] [stdout] test src/lib.rs - Application::tcp_http_with_legacy_and_custom_responders (line 204) ... ok [INFO] [stdout] test src/lib.rs - Application::tcp_http (line 165) ... ok [INFO] [stdout] test src/lib.rs - Application (line 135) ... ok [INFO] [stdout] test src/lib.rs - Config (line 45) ... ok [INFO] [stdout] test src/transport_layer/mod.rs - transport_layer::TCP::http (line 15) ... ok [INFO] [stdout] test src/lib.rs - Application::tcp_http_with_legacy_responders (line 185) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.61s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "64eb1fd5083d40beee76dda780f42797501b52a3273abe7ac7b6b517ce82cc42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64eb1fd5083d40beee76dda780f42797501b52a3273abe7ac7b6b517ce82cc42", kill_on_drop: false }` [INFO] [stdout] 64eb1fd5083d40beee76dda780f42797501b52a3273abe7ac7b6b517ce82cc42