[INFO] fetching crate hteapot 0.6.5... [INFO] testing hteapot-0.6.5 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate hteapot 0.6.5 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate hteapot 0.6.5 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate hteapot 0.6.5 [INFO] tweaked toml for crates.io crate hteapot 0.6.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hteapot 0.6.5 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hteapot 0.6.5 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8440c1e5e7f851e55133be440d0fa644713e538d8c9bbec835d74b8f9f647924 [INFO] running `Command { std: "docker" "start" "-a" "8440c1e5e7f851e55133be440d0fa644713e538d8c9bbec835d74b8f9f647924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8440c1e5e7f851e55133be440d0fa644713e538d8c9bbec835d74b8f9f647924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8440c1e5e7f851e55133be440d0fa644713e538d8c9bbec835d74b8f9f647924", kill_on_drop: false }` [INFO] [stdout] 8440c1e5e7f851e55133be440d0fa644713e538d8c9bbec835d74b8f9f647924 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33f015d33bc5e30aa928fe4fcaca3f38a92a650ed9702b7d550bc86b106fc790 [INFO] running `Command { std: "docker" "start" "-a" "33f015d33bc5e30aa928fe4fcaca3f38a92a650ed9702b7d550bc86b106fc790", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling hteapot v0.6.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `thread_index` [INFO] [stdout] --> src/hteapot/engine.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | for thread_index in 0..self.threads { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority_list_clone` [INFO] [stdout] --> src/hteapot/engine.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let priority_list_clone = priority_list.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority_list_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_left` [INFO] [stdout] --> src/hteapot/request.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let body_left = self.body_size.saturating_sub(self.request.body.len()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_body_len` and `read_body` are never used [INFO] [stdout] --> src/hteapot/request.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 128 | impl HttpRequestBuilder { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | fn read_body_len(&mut self) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn read_body(&mut self) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread_index` [INFO] [stdout] --> src/hteapot/engine.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | for thread_index in 0..self.threads { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority_list_clone` [INFO] [stdout] --> src/hteapot/engine.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let priority_list_clone = priority_list.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority_list_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_left` [INFO] [stdout] --> src/hteapot/request.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let body_left = self.body_size.saturating_sub(self.request.body.len()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_handler` is never used [INFO] [stdout] --> src/handler/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl HandlerEngine { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn add_handler(&mut self, handler: Factory) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_body_len` and `read_body` are never used [INFO] [stdout] --> src/hteapot/request.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 128 | impl HttpRequestBuilder { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | fn read_body_len(&mut self) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn read_body(&mut self) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `error` is never used [INFO] [stdout] --> src/logger.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 139 | impl Logger { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn error(&self, content: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.93s [INFO] running `Command { std: "docker" "inspect" "33f015d33bc5e30aa928fe4fcaca3f38a92a650ed9702b7d550bc86b106fc790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33f015d33bc5e30aa928fe4fcaca3f38a92a650ed9702b7d550bc86b106fc790", kill_on_drop: false }` [INFO] [stdout] 33f015d33bc5e30aa928fe4fcaca3f38a92a650ed9702b7d550bc86b106fc790 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbb65cf6e2f81759ec5b4c294e3574104b77b929e849e1928fb4d2de97619fca [INFO] running `Command { std: "docker" "start" "-a" "cbb65cf6e2f81759ec5b4c294e3574104b77b929e849e1928fb4d2de97619fca", kill_on_drop: false }` [INFO] [stderr] Compiling hteapot v0.6.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `thread_index` [INFO] [stdout] --> src/hteapot/engine.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | for thread_index in 0..self.threads { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority_list_clone` [INFO] [stdout] --> src/hteapot/engine.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let priority_list_clone = priority_list.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority_list_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_left` [INFO] [stdout] --> src/hteapot/request.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let body_left = self.body_size.saturating_sub(self.request.body.len()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_body_len` and `read_body` are never used [INFO] [stdout] --> src/hteapot/request.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 128 | impl HttpRequestBuilder { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | fn read_body_len(&mut self) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn read_body(&mut self) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread_index` [INFO] [stdout] --> src/hteapot/engine.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | for thread_index in 0..self.threads { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority_list_clone` [INFO] [stdout] --> src/hteapot/engine.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let priority_list_clone = priority_list.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority_list_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_left` [INFO] [stdout] --> src/hteapot/request.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let body_left = self.body_size.saturating_sub(self.request.body.len()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_body_len` and `read_body` are never used [INFO] [stdout] --> src/hteapot/request.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 128 | impl HttpRequestBuilder { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | fn read_body_len(&mut self) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn read_body(&mut self) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread_index` [INFO] [stdout] --> src/hteapot/engine.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | for thread_index in 0..self.threads { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `priority_list_clone` [INFO] [stdout] --> src/hteapot/engine.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let priority_list_clone = priority_list.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority_list_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_left` [INFO] [stdout] --> src/hteapot/request.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let body_left = self.body_size.saturating_sub(self.request.body.len()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_handler` is never used [INFO] [stdout] --> src/handler/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl HandlerEngine { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn add_handler(&mut self, handler: Factory) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_body_len` and `read_body` are never used [INFO] [stdout] --> src/hteapot/request.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 128 | impl HttpRequestBuilder { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | fn read_body_len(&mut self) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn read_body(&mut self) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `error` is never used [INFO] [stdout] --> src/logger.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 139 | impl Logger { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn error(&self, content: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.26s [INFO] running `Command { std: "docker" "inspect" "cbb65cf6e2f81759ec5b4c294e3574104b77b929e849e1928fb4d2de97619fca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbb65cf6e2f81759ec5b4c294e3574104b77b929e849e1928fb4d2de97619fca", kill_on_drop: false }` [INFO] [stdout] cbb65cf6e2f81759ec5b4c294e3574104b77b929e849e1928fb4d2de97619fca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0a47feb46c9e9940b75d668aa1cacc4fb615bd201eafff94fd540452eb5eff66 [INFO] running `Command { std: "docker" "start" "-a" "0a47feb46c9e9940b75d668aa1cacc4fb615bd201eafff94fd540452eb5eff66", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `thread_index` [INFO] [stderr] --> src/hteapot/engine.rs:123:13 [INFO] [stderr] | [INFO] [stderr] 123 | for thread_index in 0..self.threads { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_index` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `priority_list_clone` [INFO] [stderr] --> src/hteapot/engine.rs:126:17 [INFO] [stderr] | [INFO] [stderr] 126 | let priority_list_clone = priority_list.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority_list_clone` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `body_left` [INFO] [stderr] --> src/hteapot/request.rs:157:13 [INFO] [stderr] | [INFO] [stderr] 157 | let body_left = self.body_size.saturating_sub(self.request.body.len()); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_left` [INFO] [stderr] [INFO] [stderr] warning: methods `read_body_len` and `read_body` are never used [INFO] [stderr] --> src/hteapot/request.rs:156:8 [INFO] [stderr] | [INFO] [stderr] 128 | impl HttpRequestBuilder { [INFO] [stderr] | ----------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 156 | fn read_body_len(&mut self) -> Option<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 175 | fn read_body(&mut self) -> Option<()> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `hteapot` (lib) generated 4 warnings (run `cargo fix --lib -p hteapot` to apply 3 suggestions) [INFO] [stderr] warning: method `add_handler` is never used [INFO] [stderr] --> src/handler/mod.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 44 | impl HandlerEngine { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 51 | pub fn add_handler(&mut self, handler: Factory) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `read_body_len` and `read_body` are never used [INFO] [stderr] --> src/hteapot/request.rs:156:8 [INFO] [stderr] | [INFO] [stderr] 128 | impl HttpRequestBuilder { [INFO] [stderr] | ----------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 156 | fn read_body_len(&mut self) -> Option<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 175 | fn read_body(&mut self) -> Option<()> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `error` is never used [INFO] [stderr] --> src/logger.rs:240:12 [INFO] [stderr] | [INFO] [stderr] 139 | impl Logger { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 240 | pub fn error(&self, content: String) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `hteapot` (bin "hteapot" test) generated 6 warnings (3 duplicates) [INFO] [stderr] warning: `hteapot` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/hteapot/mod.rs (/opt/rustwide/target/debug/deps/hteapot-f6f90444c705bb23) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] test brew::tests::test_http_request_arg ... ok [INFO] [stdout] test brew::tests::test_http_request_header ... ok [INFO] [stdout] test brew::tests::test_http_request_new ... ok [INFO] [stdout] test brew::tests::test_http_request_to_string ... ok [INFO] [stdout] test http::headers::test_caseinsensitive ... ok [INFO] [stdout] test http::headers::test_remove ... ok [INFO] [stdout] test request::basic_request ... ok [INFO] [stdout] test request::basic_request_headers ... ok [INFO] [stdout] test request::post_request ... ok [INFO] [stdout] test tests::test_http_response_maker ... ok [INFO] [stdout] test brew::tests::test_http_request_time_out ... ok [INFO] [stdout] test tests::test_keep_alive_connection ... ok [INFO] [stdout] test brew::tests::test_http_request ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- brew::tests::test_http_request stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'brew::tests::test_http_request' (16) panicked at src/hteapot/brew.rs:212:9: [INFO] [stdout] assertion failed: r.is_ok() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5fdd37748f92 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5fdd37748f92 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5fdd37748f92 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5fdd37748f92 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5fdd3775a65f - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5fdd3775a65f - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5fdd37715963 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5fdd37715963 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5fdd37722612 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5fdd377270ef - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5fdd37726f81 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5fdd376e936e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x5fdd376e936e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5fdd377276ff - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x5fdd377276ff - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5fdd37727526 - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x5fdd37722749 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5fdd3770a25d - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5fdd377631e0 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5fdd377631bc - core::panicking::panic::h2a6fe4ac012a7582 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:150:5 [INFO] [stdout] 20: 0x5fdd376ac0a2 - hteapot::brew::tests::test_http_request::h1daa1264cc0206a4 [INFO] [stdout] at /opt/rustwide/workdir/src/hteapot/brew.rs:212:9 [INFO] [stdout] 21: 0x5fdd376ac0e7 - hteapot::brew::tests::test_http_request::{{closure}}::h599e340ae0225cb6 [INFO] [stdout] at /opt/rustwide/workdir/src/hteapot/brew.rs:210:27 [INFO] [stdout] 22: 0x5fdd376bdf26 - core::ops::function::FnOnce::call_once::h025814c9ad5a8ebd [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5fdd376e91bb - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5fdd376e91bb - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 25: 0x5fdd376fd1cd - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 26: 0x5fdd376fd1cd - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 27: 0x5fdd376fd1cd - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5fdd376fd1cd - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5fdd376fd1cd - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5fdd376fd1cd - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 31: 0x5fdd376fd1cd - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 32: 0x5fdd376d6714 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 33: 0x5fdd376d6714 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 34: 0x5fdd376da04a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 35: 0x5fdd376da04a - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 36: 0x5fdd376da04a - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 37: 0x5fdd376da04a - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 38: 0x5fdd376da04a - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x5fdd376da04a - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 40: 0x5fdd376da04a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5fdd3771db4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 42: 0x5fdd3771db4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 43: 0x790454217aa4 - [INFO] [stdout] 44: 0x7904542a4a64 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] brew::tests::test_http_request [INFO] [stdout] [INFO] [stdout] test result: FAILED. 12 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0a47feb46c9e9940b75d668aa1cacc4fb615bd201eafff94fd540452eb5eff66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a47feb46c9e9940b75d668aa1cacc4fb615bd201eafff94fd540452eb5eff66", kill_on_drop: false }` [INFO] [stdout] 0a47feb46c9e9940b75d668aa1cacc4fb615bd201eafff94fd540452eb5eff66