[INFO] fetching crate zhou 0.1.2...
[INFO] testing zhou-0.1.2 against 1.69.0 for beta-1.70-1
[INFO] extracting crate zhou 0.1.2 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate zhou 0.1.2 on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate zhou 0.1.2
[INFO] finished tweaking crates.io crate zhou 0.1.2
[INFO] tweaked toml for crates.io crate zhou 0.1.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate crates.io crate zhou 0.1.2 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" "+1.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 575aaaf9e9f310017f89c774850440864467a4bfc4c68e4073e17b46603ac674
[INFO] running `Command { std: "docker" "start" "-a" "575aaaf9e9f310017f89c774850440864467a4bfc4c68e4073e17b46603ac674", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "575aaaf9e9f310017f89c774850440864467a4bfc4c68e4073e17b46603ac674", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "575aaaf9e9f310017f89c774850440864467a4bfc4c68e4073e17b46603ac674", kill_on_drop: false }`
[INFO] [stdout] 575aaaf9e9f310017f89c774850440864467a4bfc4c68e4073e17b46603ac674
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6dc3bc7b52a917d8d676fd1c5cf51bb4826fafb0b30315f6ce26f7946465a855
[INFO] running `Command { std: "docker" "start" "-a" "6dc3bc7b52a917d8d676fd1c5cf51bb4826fafb0b30315f6ce26f7946465a855", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling serde_derive v1.0.144
[INFO] [stderr]    Compiling serde v1.0.144
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling serde_json v1.0.85
[INFO] [stderr]    Compiling itoa v1.0.3
[INFO] [stderr]    Compiling anyhow v1.0.64
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling num_threads v0.1.6
[INFO] [stderr]    Compiling time-macros v0.2.4
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling ascii v1.0.0
[INFO] [stderr]    Compiling time v0.3.14
[INFO] [stderr]    Compiling zhou v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/http.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let s = c.state.as_ref();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_bytes` is never used
[INFO] [stdout]    --> src/common.rs:167:12
[INFO] [stdout]     |
[INFO] [stdout] 167 |     pub fn from_bytes<B1, B2>(header: B1, value: B2) -> Result<Header, ()>
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_bytes` is never used
[INFO] [stdout]    --> src/common.rs:205:12
[INFO] [stdout]     |
[INFO] [stdout] 205 |     pub fn from_bytes<B>(bytes: B) -> Result<HeaderField, FromAsciiError<B>>
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `equiv` is never used
[INFO] [stdout]    --> src/common.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout] 216 |     pub fn equiv(&self, other: &'static str) -> bool {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cfg` is never read
[INFO] [stdout]   --> src/http.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct HttpServer {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 15 |     addr: String,
[INFO] [stdout] 16 |     cfg: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handler404` is never used
[INFO] [stdout]   --> src/http.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn handler404<T>(c: &Context<Arc<T>>) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_and_parse_req_old` is never used
[INFO] [stdout]    --> src/http.rs:143:4
[INFO] [stdout]     |
[INFO] [stdout] 143 | fn build_and_parse_req_old(buf: Vec<u8>) -> crate::request::Request {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CONTROLS` is never used
[INFO] [stdout]   --> src/percent_encoding.rs:99:11
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub const CONTROLS: &AsciiSet = &AsciiSet {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NON_ALPHANUMERIC` is never used
[INFO] [stdout]    --> src/percent_encoding.rs:129:11
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub const NON_ALPHANUMERIC: &AsciiSet = &CONTROLS
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `percent_encode` is never used
[INFO] [stdout]    --> src/percent_encoding.rs:216:8
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub fn percent_encode<'a>(input: &'a [u8], ascii_set: &'static AsciiSet) -> PercentEncode<'a> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `utf8_percent_encode` is never used
[INFO] [stdout]    --> src/percent_encoding.rs:232:8
[INFO] [stdout]     |
[INFO] [stdout] 232 | pub fn utf8_percent_encode<'a>(input: &'a str, ascii_set: &'static AsciiSet) -> PercentEncode<'a> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `percent_decode_str` is never used
[INFO] [stdout]    --> src/percent_encoding.rs:310:8
[INFO] [stdout]     |
[INFO] [stdout] 310 | pub fn percent_decode_str(input: &str) -> PercentDecode {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `percent_decode` is never used
[INFO] [stdout]    --> src/percent_encoding.rs:333:8
[INFO] [stdout]     |
[INFO] [stdout] 333 | pub fn percent_decode(input: &[u8]) -> PercentDecode {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add` is never used
[INFO] [stdout]   --> src/percent_encoding.rs:81:18
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub const fn add(&self, byte: u8) -> Self {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `remove` is never used
[INFO] [stdout]   --> src/percent_encoding.rs:87:18
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub const fn remove(&self, byte: u8) -> Self {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `version` is never read
[INFO] [stdout]   --> src/request.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct Request {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     version: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Request` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ASCII` and `Bytes` are never constructed
[INFO] [stdout]   --> src/request.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum BodyType {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 22 |     ASCII(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 23 |     Bytes(Vec<u8>),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BodyType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_wildcard` is never used
[INFO] [stdout]   --> src/request.rs:84:19
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub(crate) fn set_wildcard(&mut self, w: Option<String>) -> &Self {
[INFO] [stdout]    |                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `status_code` and `version` are never read
[INFO] [stdout]  --> src/response.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(crate) struct Response {
[INFO] [stdout]   |                   -------- fields in this struct
[INFO] [stdout] 8 |     pub status_code: u16,
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout] 9 |     pub version: String,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `status` is never used
[INFO] [stdout]   --> src/response.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub fn status(&mut self, code: u16) -> &Self {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/main.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let s = c.state.as_ref();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `db` is never read
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct MyState {
[INFO] [stdout]    |        ------- field in this struct
[INFO] [stdout] 16 |     pub c: Mutex<i32>,
[INFO] [stdout] 17 |     db: String,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 9.99s
[INFO] running `Command { std: "docker" "inspect" "6dc3bc7b52a917d8d676fd1c5cf51bb4826fafb0b30315f6ce26f7946465a855", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6dc3bc7b52a917d8d676fd1c5cf51bb4826fafb0b30315f6ce26f7946465a855", kill_on_drop: false }`
[INFO] [stdout] 6dc3bc7b52a917d8d676fd1c5cf51bb4826fafb0b30315f6ce26f7946465a855
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f5948bc35df579b3fddfba818f6e1ce53bd8d3db61f7cbaa5966817f599d123d
[INFO] running `Command { std: "docker" "start" "-a" "f5948bc35df579b3fddfba818f6e1ce53bd8d3db61f7cbaa5966817f599d123d", kill_on_drop: false }`
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/http.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let s = c.state.as_ref();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_bytes` is never used
[INFO] [stdout]    --> src/common.rs:167:12
[INFO] [stdout]     |
[INFO] [stdout] 167 |     pub fn from_bytes<B1, B2>(header: B1, value: B2) -> Result<Header, ()>
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_bytes` is never used
[INFO] [stdout]    --> src/common.rs:205:12
[INFO] [stdout]     |
[INFO] [stdout] 205 |     pub fn from_bytes<B>(bytes: B) -> Result<HeaderField, FromAsciiError<B>>
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `equiv` is never used
[INFO] [stdout]    --> src/common.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout] 216 |     pub fn equiv(&self, other: &'static str) -> bool {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cfg` is never read
[INFO] [stdout]   --> src/http.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct HttpServer {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 15 |     addr: String,
[INFO] [stdout] 16 |     cfg: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handler404` is never used
[INFO] [stdout]   --> src/http.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn handler404<T>(c: &Context<Arc<T>>) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_and_parse_req_old` is never used
[INFO] [stdout]    --> src/http.rs:143:4
[INFO] [stdout]     |
[INFO] [stdout] 143 | fn build_and_parse_req_old(buf: Vec<u8>) -> crate::request::Request {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CONTROLS` is never used
[INFO] [stdout]   --> src/percent_encoding.rs:99:11
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub const CONTROLS: &AsciiSet = &AsciiSet {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NON_ALPHANUMERIC` is never used
[INFO] [stdout]    --> src/percent_encoding.rs:129:11
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub const NON_ALPHANUMERIC: &AsciiSet = &CONTROLS
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `percent_encode` is never used
[INFO] [stdout]    --> src/percent_encoding.rs:216:8
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub fn percent_encode<'a>(input: &'a [u8], ascii_set: &'static AsciiSet) -> PercentEncode<'a> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `utf8_percent_encode` is never used
[INFO] [stdout]    --> src/percent_encoding.rs:232:8
[INFO] [stdout]     |
[INFO] [stdout] 232 | pub fn utf8_percent_encode<'a>(input: &'a str, ascii_set: &'static AsciiSet) -> PercentEncode<'a> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `percent_decode_str` is never used
[INFO] [stdout]    --> src/percent_encoding.rs:310:8
[INFO] [stdout]     |
[INFO] [stdout] 310 | pub fn percent_decode_str(input: &str) -> PercentDecode {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `percent_decode` is never used
[INFO] [stdout]    --> src/percent_encoding.rs:333:8
[INFO] [stdout]     |
[INFO] [stdout] 333 | pub fn percent_decode(input: &[u8]) -> PercentDecode {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add` is never used
[INFO] [stdout]   --> src/percent_encoding.rs:81:18
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub const fn add(&self, byte: u8) -> Self {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `remove` is never used
[INFO] [stdout]   --> src/percent_encoding.rs:87:18
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub const fn remove(&self, byte: u8) -> Self {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `version` is never read
[INFO] [stdout]   --> src/request.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct Request {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     version: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Request` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ASCII` and `Bytes` are never constructed
[INFO] [stdout]   --> src/request.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum BodyType {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 22 |     ASCII(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 23 |     Bytes(Vec<u8>),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BodyType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_wildcard` is never used
[INFO] [stdout]   --> src/request.rs:84:19
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub(crate) fn set_wildcard(&mut self, w: Option<String>) -> &Self {
[INFO] [stdout]    |                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `status_code` and `version` are never read
[INFO] [stdout]  --> src/response.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(crate) struct Response {
[INFO] [stdout]   |                   -------- fields in this struct
[INFO] [stdout] 8 |     pub status_code: u16,
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout] 9 |     pub version: String,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling zhou v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `status` is never used
[INFO] [stdout]   --> src/response.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub fn status(&mut self, code: u16) -> &Self {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/main.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let s = c.state.as_ref();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `db` is never read
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct MyState {
[INFO] [stdout]    |        ------- field in this struct
[INFO] [stdout] 16 |     pub c: Mutex<i32>,
[INFO] [stdout] 17 |     db: String,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bytes`
[INFO] [stdout]  --> tests/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bytes::Bytes;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `h2`
[INFO] [stdout]  --> tests/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use h2::server::{self, SendResponse};
[INFO] [stdout]   |     ^^ use of undeclared crate or module `h2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `h2`
[INFO] [stdout]  --> tests/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use h2::server::{self, SendResponse};
[INFO] [stdout]   |     ^^ use of undeclared crate or module `h2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `h2`
[INFO] [stdout]  --> tests/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use h2::RecvStream;
[INFO] [stdout]   |     ^^ use of undeclared crate or module `h2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> tests/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio::net::{TcpListener, TcpStream};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `http`
[INFO] [stdout]  --> tests/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use http::Request;
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `http`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> tests/main.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `msg` is never read
[INFO] [stdout]  --> tests/ref_cell.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Ctx {
[INFO] [stdout]   |        --- field in this struct
[INFO] [stdout] 4 |     pub index: RefCell<usize>,
[INFO] [stdout] 5 |     msg: Vec<String>,
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/http.rs:194:9
[INFO] [stdout]     |
[INFO] [stdout] 194 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ascii::AsciiChar::Hash`
[INFO] [stdout]    --> src/node.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     use ascii::AsciiChar::Hash;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http`
[INFO] [stdout]   --> tests/main.rs:54:20
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let response = http::Response::new(());
[INFO] [stdout]    |                    ^^^^ use of undeclared crate or module `http`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]    --> src/node.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |     use std::sync::Arc;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger`
[INFO] [stdout]   --> tests/main.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let _ = env_logger::try_init();
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared crate or module `env_logger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> tests/main.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |             tokio::spawn(async move {
[INFO] [stdout]    |             ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/main.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let s = c.state.as_ref();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> tests/main.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         tokio::spawn(async move {
[INFO] [stdout]    |         ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `zhou` due to 12 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: field `db` is never read
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct MyState {
[INFO] [stdout]    |        ------- field in this struct
[INFO] [stdout] 16 |     pub c: Mutex<i32>,
[INFO] [stdout] 17 |     db: String,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]    --> src/node.rs:141:32
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let sc: Context<i32> = Context::new(Request::default(), params, 1);
[INFO] [stdout]     |                                ^^^^^^^^^^^^-------------------------------
[INFO] [stdout]     |                                            ||
[INFO] [stdout]     |                                            |expected `&Request`, found `Request`
[INFO] [stdout]     |                                            an argument of type `std::option::Option<Vec<&Box<(dyn for<'a, 'b> Fn(&'a context::Context<'b, i32>) + Send + Sync + 'static)>>>` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/context.rs:26:12
[INFO] [stdout]     |
[INFO] [stdout] 26  |     pub fn new(r: &'a Request, params: HashMap<String, String>, state: T, fn_chains: Option<Vec<&'a HandlerFn<T>>>) -> Self {
[INFO] [stdout]     |            ^^^ --------------  -------------------------------  --------  ----------------------------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let sc: Context<i32> = Context::new(&Request::default(), params, 1);
[INFO] [stdout]     |                                             ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let sc: Context<i32> = Context::new(/* &Request */, params, 1, /* std::option::Option<Vec<&Box<(dyn for<'a, 'b> Fn(&'a context::Context<'b, i32>) + Send + Sync + 'static)>>> */);
[INFO] [stdout]     |                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]    --> src/node.rs:198:32
[INFO] [stdout]     |
[INFO] [stdout] 198 |         let sc: Context<i32> = Context::new(Request::default(), param2, 1);
[INFO] [stdout]     |                                ^^^^^^^^^^^^-------------------------------
[INFO] [stdout]     |                                            ||
[INFO] [stdout]     |                                            |expected `&Request`, found `Request`
[INFO] [stdout]     |                                            an argument of type `std::option::Option<Vec<&Box<(dyn for<'a, 'b> Fn(&'a context::Context<'b, i32>) + Send + Sync + 'static)>>>` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/context.rs:26:12
[INFO] [stdout]     |
[INFO] [stdout] 26  |     pub fn new(r: &'a Request, params: HashMap<String, String>, state: T, fn_chains: Option<Vec<&'a HandlerFn<T>>>) -> Self {
[INFO] [stdout]     |            ^^^ --------------  -------------------------------  --------  ----------------------------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 198 |         let sc: Context<i32> = Context::new(&Request::default(), param2, 1);
[INFO] [stdout]     |                                             ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 198 |         let sc: Context<i32> = Context::new(/* &Request */, param2, 1, /* std::option::Option<Vec<&Box<(dyn for<'a, 'b> Fn(&'a context::Context<'b, i32>) + Send + Sync + 'static)>>> */);
[INFO] [stdout]     |                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `zhou` due to 3 previous errors; 3 warnings emitted
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "f5948bc35df579b3fddfba818f6e1ce53bd8d3db61f7cbaa5966817f599d123d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5948bc35df579b3fddfba818f6e1ce53bd8d3db61f7cbaa5966817f599d123d", kill_on_drop: false }`
[INFO] [stdout] f5948bc35df579b3fddfba818f6e1ce53bd8d3db61f7cbaa5966817f599d123d
