[INFO] cloning repository https://github.com/post-rex/hsms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/post-rex/hsms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpost-rex%2Fhsms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpost-rex%2Fhsms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f806092674043aa1efc382f8a4c815b1c9f231e4 [INFO] checking post-rex/hsms against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpost-rex%2Fhsms" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/post-rex/hsms [INFO] finished tweaking git repo https://github.com/post-rex/hsms [INFO] tweaked toml for git repo https://github.com/post-rex/hsms written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/post-rex/hsms on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/post-rex/hsms already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded socket2 v0.3.12 [INFO] [stderr] Downloaded miow v0.3.3 [INFO] [stderr] Downloaded ntapi v0.3.3 [INFO] [stderr] Downloaded mio v0.7.0 [INFO] [stderr] Downloaded libc v0.2.69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e33719cb0b691e428bf43356fe955b35589834529c9449f60ca45585d6fb0b4 [INFO] running `Command { std: "docker" "start" "-a" "5e33719cb0b691e428bf43356fe955b35589834529c9449f60ca45585d6fb0b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e33719cb0b691e428bf43356fe955b35589834529c9449f60ca45585d6fb0b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e33719cb0b691e428bf43356fe955b35589834529c9449f60ca45585d6fb0b4", kill_on_drop: false }` [INFO] [stdout] 5e33719cb0b691e428bf43356fe955b35589834529c9449f60ca45585d6fb0b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 591f2dea0fdbcfdc501c50b714877e48b154089508ec915ecddc2d73b51fb0fb [INFO] running `Command { std: "docker" "start" "-a" "591f2dea0fdbcfdc501c50b714877e48b154089508ec915ecddc2d73b51fb0fb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking mio v0.7.0 [INFO] [stderr] Checking hsms v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/http.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToSocketAddrs` [INFO] [stdout] --> src/net.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::{ToSocketAddrs, SocketAddr}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/http.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToSocketAddrs` [INFO] [stdout] --> src/net.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::{ToSocketAddrs, SocketAddr}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/net.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 60 | / loop { [INFO] [stdout] 61 | | poll.poll(&mut events, None); [INFO] [stdout] 62 | | for event in events.iter() { [INFO] [stdout] 63 | | let mut remove = false; [INFO] [stdout] ... | [INFO] [stdout] 97 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 98 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/net.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 60 | / loop { [INFO] [stdout] 61 | | poll.poll(&mut events, None); [INFO] [stdout] 62 | | for event in events.iter() { [INFO] [stdout] 63 | | let mut remove = false; [INFO] [stdout] ... | [INFO] [stdout] 97 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 98 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut server_token = Token(0); [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: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut client = Client::new(connection, address, token); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `read` is never read [INFO] [stdout] --> src/net.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | let mut read = 0usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut server_token = Token(0); [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: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut client = Client::new(connection, address, token); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `read` is never read [INFO] [stdout] --> src/net.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | let mut read = 0usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registry` [INFO] [stdout] --> src/net.rs:147:37 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn send_response(&mut self, registry: &Registry, token: Token) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registry` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registry` [INFO] [stdout] --> src/net.rs:147:37 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn send_response(&mut self, registry: &Registry, token: Token) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registry` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/http.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum ResponseCode { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 38 | Continue, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | SwitchingProtocols, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | OK, [INFO] [stdout] 41 | Created, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 42 | Accepted, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 43 | NonAuthoritativeInformation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | NoContent, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | ResetContent, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | PartialContent, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 47 | MultipleChoices, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | MovedPermanently, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | Found, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | SeeOther, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | NotModified, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 52 | UseProxy, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | TemporaryRedirect, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | BadRequest, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 55 | Unauthorized, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 56 | PaymentRequired, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | Forbidden, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 58 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 59 | MethodNotAllowed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | NotAcceptable, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 61 | ProxyAuthenticationRequired, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | RequestTimeout, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 63 | Conflict, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | Gone, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | LengthRequired, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 66 | PreconditionFailed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | RequestEntityTooLarge, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 68 | RequestURITooLarge, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | UnsupportedMediaType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | RequestedRangeNotSatisfiable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | ExpectationFailed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | InternalServerError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | NotImplemented, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 74 | BadGateway, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 75 | ServiceUnavailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | GatewayTimeout, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 77 | HTTPVersionNotSupported, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 78 | Custom(u16, String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stringify` is never used [INFO] [stdout] --> src/http.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl Method { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 82 | pub fn stringify(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `address` is never read [INFO] [stdout] --> src/net.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 17 | stream: TcpStream, [INFO] [stdout] 18 | address: SocketAddr, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `register_matching_handler` is never used [INFO] [stdout] --> src/net.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl HttpServer { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn register_matching_handler(&mut self, method: Method, route: M, handler: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/http.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum ResponseCode { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 38 | Continue, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | SwitchingProtocols, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | OK, [INFO] [stdout] 41 | Created, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 42 | Accepted, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 43 | NonAuthoritativeInformation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | NoContent, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | ResetContent, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | PartialContent, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 47 | MultipleChoices, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | MovedPermanently, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | Found, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | SeeOther, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | NotModified, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 52 | UseProxy, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | TemporaryRedirect, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | BadRequest, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 55 | Unauthorized, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 56 | PaymentRequired, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | Forbidden, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 58 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 59 | MethodNotAllowed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | NotAcceptable, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 61 | ProxyAuthenticationRequired, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | RequestTimeout, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 63 | Conflict, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | Gone, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | LengthRequired, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 66 | PreconditionFailed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | RequestEntityTooLarge, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 68 | RequestURITooLarge, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | UnsupportedMediaType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | RequestedRangeNotSatisfiable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | ExpectationFailed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | InternalServerError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | NotImplemented, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 74 | BadGateway, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 75 | ServiceUnavailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | GatewayTimeout, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 77 | HTTPVersionNotSupported, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 78 | Custom(u16, String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stringify` is never used [INFO] [stdout] --> src/http.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl Method { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 82 | pub fn stringify(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `address` is never read [INFO] [stdout] --> src/net.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 17 | stream: TcpStream, [INFO] [stdout] 18 | address: SocketAddr, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `register_matching_handler` is never used [INFO] [stdout] --> src/net.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl HttpServer { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn register_matching_handler(&mut self, method: Method, route: M, handler: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/net.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | poll.poll(&mut events, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 61 | let _ = poll.poll(&mut events, None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/net.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | poll.registry().deregister(&mut client.stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 92 | let _ = poll.registry().deregister(&mut client.stream); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/net.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | registry.reregister(&mut client.stream, client.token, Interest::WRITABLE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 121 | let _ = registry.reregister(&mut client.stream, client.token, Interest::WRITABLE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/net.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | poll.poll(&mut events, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 61 | let _ = poll.poll(&mut events, None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/net.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | poll.registry().deregister(&mut client.stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 92 | let _ = poll.registry().deregister(&mut client.stream); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/net.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | registry.reregister(&mut client.stream, client.token, Interest::WRITABLE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 121 | let _ = registry.reregister(&mut client.stream, client.token, Interest::WRITABLE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.89s [INFO] running `Command { std: "docker" "inspect" "591f2dea0fdbcfdc501c50b714877e48b154089508ec915ecddc2d73b51fb0fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "591f2dea0fdbcfdc501c50b714877e48b154089508ec915ecddc2d73b51fb0fb", kill_on_drop: false }` [INFO] [stdout] 591f2dea0fdbcfdc501c50b714877e48b154089508ec915ecddc2d73b51fb0fb