[INFO] cloning repository https://github.com/ancos2505/h10 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ancos2505/h10" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fancos2505%2Fh10", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fancos2505%2Fh10'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e2ecaa03121ffa322ef163c8205deb482cc4d93 [INFO] checking ancos2505/h10 against 8006091eb71ae7d9e9bccb66c6122c9d68af4466 for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fancos2505%2Fh10" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/ancos2505/h10 [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/ancos2505/h10 [INFO] tweaked toml for git repo https://github.com/ancos2505/h10 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ancos2505/h10 on toolchain 8006091eb71ae7d9e9bccb66c6122c9d68af4466 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ancos2505/h10 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" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `lints.rust.box-pointers` is deprecated in favor of `lints.rust.box_pointers` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.deprecated-in-future` is deprecated in favor of `lints.rust.deprecated_in_future` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.deprecated-safe` is deprecated in favor of `lints.rust.deprecated_safe` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.elided-lifetimes-in-paths` is deprecated in favor of `lints.rust.elided_lifetimes_in_paths` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.explicit-outlives-requirements` is deprecated in favor of `lints.rust.explicit_outlives_requirements` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.ffi-unwind-calls` is deprecated in favor of `lints.rust.ffi_unwind_calls` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.invalid-type-param-default` is deprecated in favor of `lints.rust.invalid_type_param_default` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.keyword-idents-2018` is deprecated in favor of `lints.rust.keyword_idents_2018` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.keyword-idents-2024` is deprecated in favor of `lints.rust.keyword_idents_2024` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.let-underscore-drop` is deprecated in favor of `lints.rust.let_underscore_drop` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.macro-use-extern-crate` is deprecated in favor of `lints.rust.macro_use_extern_crate` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.meta-variable-misuse` is deprecated in favor of `lints.rust.meta_variable_misuse` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.missing-abi` is deprecated in favor of `lints.rust.missing_abi` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.missing-debug-implementations` is deprecated in favor of `lints.rust.missing_debug_implementations` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.missing-unsafe-on-extern` is deprecated in favor of `lints.rust.missing_unsafe_on_extern` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.non-ascii-idents` is deprecated in favor of `lints.rust.non_ascii_idents` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.non-local-definitions` is deprecated in favor of `lints.rust.non_local_definitions` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.patterns-in-fns-without-body` is deprecated in favor of `lints.rust.patterns_in_fns_without_body` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.redundant-lifetimes` is deprecated in favor of `lints.rust.redundant_lifetimes` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.rust-2021-incompatible-closure-captures` is deprecated in favor of `lints.rust.rust_2021_incompatible_closure_captures` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.rust-2021-incompatible-or-patterns` is deprecated in favor of `lints.rust.rust_2021_incompatible_or_patterns` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.rust-2021-prefixes-incompatible-syntax` is deprecated in favor of `lints.rust.rust_2021_prefixes_incompatible_syntax` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.rust-2021-prelude-collisions` is deprecated in favor of `lints.rust.rust_2021_prelude_collisions` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.single-use-lifetimes` is deprecated in favor of `lints.rust.single_use_lifetimes` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.trivial-casts` is deprecated in favor of `lints.rust.trivial_casts` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.trivial-numeric-casts` is deprecated in favor of `lints.rust.trivial_numeric_casts` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.unit-bindings` is deprecated in favor of `lints.rust.unit_bindings` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.unnameable-types` is deprecated in favor of `lints.rust.unnameable_types` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.unsafe-code` is deprecated in favor of `lints.rust.unsafe_code` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.unsafe-op-in-unsafe-fn` is deprecated in favor of `lints.rust.unsafe_op_in_unsafe_fn` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.unstable-features` is deprecated in favor of `lints.rust.unstable_features` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.unused-extern-crates` is deprecated in favor of `lints.rust.unused_extern_crates` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.unused-import-braces` is deprecated in favor of `lints.rust.unused_import_braces` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.unused-lifetimes` is deprecated in favor of `lints.rust.unused_lifetimes` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.unused-macro-rules` is deprecated in favor of `lints.rust.unused_macro_rules` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.unused-qualifications` is deprecated in favor of `lints.rust.unused_qualifications` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.unused-results` is deprecated in favor of `lints.rust.unused_results` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.variant-size-differences` is deprecated in favor of `lints.rust.variant_size_differences` and will not work in a future edition [INFO] [stderr] warning: `h10` (manifest) generated 38 warnings [INFO] [stderr] Updating git repository `https://github.com/ancos2505/html-rs.git` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 8ee7e2872a7aef93359daa6dad5b331437cc7d72cd07d459df06004429f072bb [INFO] running `Command { std: "docker" "start" "8ee7e2872a7aef93359daa6dad5b331437cc7d72cd07d459df06004429f072bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ee7e2872a7aef93359daa6dad5b331437cc7d72cd07d459df06004429f072bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8ee7e2872a7aef93359daa6dad5b331437cc7d72cd07d459df06004429f072bb" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ee7e2872a7aef93359daa6dad5b331437cc7d72cd07d459df06004429f072bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8ee7e2872a7aef93359daa6dad5b331437cc7d72cd07d459df06004429f072bb" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `lints.rust.box-pointers` is deprecated in favor of `lints.rust.box_pointers` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.deprecated-in-future` is deprecated in favor of `lints.rust.deprecated_in_future` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.deprecated-safe` is deprecated in favor of `lints.rust.deprecated_safe` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.elided-lifetimes-in-paths` is deprecated in favor of `lints.rust.elided_lifetimes_in_paths` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.explicit-outlives-requirements` is deprecated in favor of `lints.rust.explicit_outlives_requirements` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.ffi-unwind-calls` is deprecated in favor of `lints.rust.ffi_unwind_calls` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.invalid-type-param-default` is deprecated in favor of `lints.rust.invalid_type_param_default` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.keyword-idents-2018` is deprecated in favor of `lints.rust.keyword_idents_2018` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.keyword-idents-2024` is deprecated in favor of `lints.rust.keyword_idents_2024` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.let-underscore-drop` is deprecated in favor of `lints.rust.let_underscore_drop` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.macro-use-extern-crate` is deprecated in favor of `lints.rust.macro_use_extern_crate` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.meta-variable-misuse` is deprecated in favor of `lints.rust.meta_variable_misuse` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.missing-abi` is deprecated in favor of `lints.rust.missing_abi` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.missing-debug-implementations` is deprecated in favor of `lints.rust.missing_debug_implementations` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.missing-unsafe-on-extern` is deprecated in favor of `lints.rust.missing_unsafe_on_extern` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.non-ascii-idents` is deprecated in favor of `lints.rust.non_ascii_idents` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.non-local-definitions` is deprecated in favor of `lints.rust.non_local_definitions` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.patterns-in-fns-without-body` is deprecated in favor of `lints.rust.patterns_in_fns_without_body` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.redundant-lifetimes` is deprecated in favor of `lints.rust.redundant_lifetimes` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.rust-2021-incompatible-closure-captures` is deprecated in favor of `lints.rust.rust_2021_incompatible_closure_captures` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.rust-2021-incompatible-or-patterns` is deprecated in favor of `lints.rust.rust_2021_incompatible_or_patterns` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.rust-2021-prefixes-incompatible-syntax` is deprecated in favor of `lints.rust.rust_2021_prefixes_incompatible_syntax` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.rust-2021-prelude-collisions` is deprecated in favor of `lints.rust.rust_2021_prelude_collisions` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.single-use-lifetimes` is deprecated in favor of `lints.rust.single_use_lifetimes` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.trivial-casts` is deprecated in favor of `lints.rust.trivial_casts` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.trivial-numeric-casts` is deprecated in favor of `lints.rust.trivial_numeric_casts` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.unit-bindings` is deprecated in favor of `lints.rust.unit_bindings` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.unnameable-types` is deprecated in favor of `lints.rust.unnameable_types` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.unsafe-code` is deprecated in favor of `lints.rust.unsafe_code` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.unsafe-op-in-unsafe-fn` is deprecated in favor of `lints.rust.unsafe_op_in_unsafe_fn` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.unstable-features` is deprecated in favor of `lints.rust.unstable_features` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.unused-extern-crates` is deprecated in favor of `lints.rust.unused_extern_crates` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.unused-import-braces` is deprecated in favor of `lints.rust.unused_import_braces` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.unused-lifetimes` is deprecated in favor of `lints.rust.unused_lifetimes` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.unused-macro-rules` is deprecated in favor of `lints.rust.unused_macro_rules` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.unused-qualifications` is deprecated in favor of `lints.rust.unused_qualifications` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.unused-results` is deprecated in favor of `lints.rust.unused_results` and will not work in a future edition [INFO] [stderr] warning: Cargo.toml: `lints.rust.variant-size-differences` is deprecated in favor of `lints.rust.variant_size_differences` and will not work in a future edition [INFO] [stderr] warning: `h10` (manifest) generated 38 warnings [INFO] [stderr] Compiling h10 v0.6.19 (/opt/rustwide/workdir) [INFO] [stderr] Checking html-rs v0.3.1 (https://github.com/ancos2505/html-rs.git#dfce0957) [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-A box_pointers` [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-A box_pointers` [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-A box_pointers` [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `len` is never used [INFO] [stdout] --> src/constants.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl AsciiWhiteSpace { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub const fn len() -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-A box_pointers` [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-A box_pointers` [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-A box_pointers` [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-A box_pointers` [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `len` is never used [INFO] [stdout] --> src/constants.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl AsciiWhiteSpace { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub const fn len() -> usize { [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 import: `H10LibError` [INFO] [stdout] --> benches/req_1000.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | result::{H10LibError, H10LibResult}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-A box_pointers` [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `result::H10LibResult` [INFO] [stdout] --> src/pages/root.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | result::H10LibResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CliVerboseMode` [INFO] [stdout] --> src/pages.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | server::{CliHttp10StrictMode, CliVerboseMode, ServerResponse}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ROOT_PAGER_COUNTER` [INFO] [stdout] --> src/server/counter.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{ROOT_PAGER_COUNTER, server::ServerResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::LogLevel` [INFO] [stdout] --> src/server.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | use h10::{error, log::LogLevel}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TEN_KBYTES` and `server::helper::now_in_unix_epoch` [INFO] [stdout] --> src/server.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | CLI_ARGS, HTTP10_STRICT_MODE, MAX_ACTIVE_SESSIONS, TEN_KBYTES, pages::Endpoint, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | server::helper::now_in_unix_epoch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> benches/max_active_sessions.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | for i in 0..num_of_requests { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> benches/max_active_sessions.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let start = Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `result::H10LibResult` [INFO] [stdout] --> src/pages/root.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | result::H10LibResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CliVerboseMode` [INFO] [stdout] --> src/pages.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | server::{CliHttp10StrictMode, CliVerboseMode, ServerResponse}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ROOT_PAGER_COUNTER` [INFO] [stdout] --> src/server/counter.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{ROOT_PAGER_COUNTER, server::ServerResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::LogLevel` [INFO] [stdout] --> src/server.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | use h10::{error, log::LogLevel}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TEN_KBYTES` and `server::helper::now_in_unix_epoch` [INFO] [stdout] --> src/server.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | CLI_ARGS, HTTP10_STRICT_MODE, MAX_ACTIVE_SESSIONS, TEN_KBYTES, pages::Endpoint, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | server::helper::now_in_unix_epoch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verbose` [INFO] [stdout] --> src/server/cli.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let verbose = value [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verbose` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | let mut active_sessions = Arc::new(RwLock::new(0)); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `incomming` is assigned to, but never used [INFO] [stdout] --> src/server.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let mut incomming: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_incomming` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `incomming` is never read [INFO] [stdout] --> src/server.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | incomming += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `chunk_counter` is assigned to, but never used [INFO] [stdout] --> src/server.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | let mut chunk_counter: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_chunk_counter` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `chunk_counter` is never read [INFO] [stdout] --> src/server.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | chunk_counter += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arc_prev_stats` [INFO] [stdout] --> src/server.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | arc_prev_stats: &Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arc_prev_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `act_session` [INFO] [stdout] --> src/server.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | act_session: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_act_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEN_KBYTES` is never used [INFO] [stdout] --> src/main.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) const TEN_KBYTES: usize = 1024 * 10; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `MAX_REQ_SIZE_BYTES` is never used [INFO] [stdout] --> src/server.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 66 | impl HttpServer { [INFO] [stdout] | --------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | const MAX_REQ_SIZE_BYTES: usize = Self::CHUNK_SIZE * 1024; // 10 MBytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageCounter` is never constructed [INFO] [stdout] --> src/server/counter.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct PageCounter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Clicks` is never constructed [INFO] [stdout] --> src/server/counter.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Clicks(usize); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inc` is never used [INFO] [stdout] --> src/server/counter.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 20 | impl Clicks { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 21 | pub(crate) fn inc(&mut self, n: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_one`, and `read` are never used [INFO] [stdout] --> src/server/counter.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl PageCounter { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 27 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub(crate) fn add_one(&mut self) -> ServerResult<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub(crate) fn read(&self) -> ServerResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `now_in_unix_epoch` is never used [INFO] [stdout] --> src/server/helper.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) fn now_in_unix_epoch() -> ServerResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidLogLevel` and `Custom` are never constructed [INFO] [stdout] --> src/server/result.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) enum ServerError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | InvalidLogLevel(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `custom` is never used [INFO] [stdout] --> src/server/result.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 27 | impl ServerError { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 28 | pub(crate) fn custom(s: S) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verbose` [INFO] [stdout] --> src/server/cli.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let verbose = value [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verbose` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | let mut active_sessions = Arc::new(RwLock::new(0)); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `incomming` is assigned to, but never used [INFO] [stdout] --> src/server.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let mut incomming: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_incomming` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `incomming` is never read [INFO] [stdout] --> src/server.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | incomming += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `chunk_counter` is assigned to, but never used [INFO] [stdout] --> src/server.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | let mut chunk_counter: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_chunk_counter` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `chunk_counter` is never read [INFO] [stdout] --> src/server.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | chunk_counter += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arc_prev_stats` [INFO] [stdout] --> src/server.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | arc_prev_stats: &Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arc_prev_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `act_session` [INFO] [stdout] --> src/server.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | act_session: &Arc>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_act_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEN_KBYTES` is never used [INFO] [stdout] --> src/main.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) const TEN_KBYTES: usize = 1024 * 10; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `MAX_REQ_SIZE_BYTES` is never used [INFO] [stdout] --> src/server.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 66 | impl HttpServer { [INFO] [stdout] | --------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | const MAX_REQ_SIZE_BYTES: usize = Self::CHUNK_SIZE * 1024; // 10 MBytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageCounter` is never constructed [INFO] [stdout] --> src/server/counter.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct PageCounter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Clicks` is never constructed [INFO] [stdout] --> src/server/counter.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Clicks(usize); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inc` is never used [INFO] [stdout] --> src/server/counter.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 20 | impl Clicks { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 21 | pub(crate) fn inc(&mut self, n: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_one`, and `read` are never used [INFO] [stdout] --> src/server/counter.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl PageCounter { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 27 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub(crate) fn add_one(&mut self) -> ServerResult<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub(crate) fn read(&self) -> ServerResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `now_in_unix_epoch` is never used [INFO] [stdout] --> src/server/helper.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) fn now_in_unix_epoch() -> ServerResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidLogLevel` and `Custom` are never constructed [INFO] [stdout] --> src/server/result.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) enum ServerError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | InvalidLogLevel(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `custom` is never used [INFO] [stdout] --> src/server/result.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 27 | impl ServerError { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 28 | pub(crate) fn custom(s: S) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.68s [INFO] running `Command { std: "docker" "inspect" "8ee7e2872a7aef93359daa6dad5b331437cc7d72cd07d459df06004429f072bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ee7e2872a7aef93359daa6dad5b331437cc7d72cd07d459df06004429f072bb", kill_on_drop: false }` [INFO] [stdout] 8ee7e2872a7aef93359daa6dad5b331437cc7d72cd07d459df06004429f072bb