[INFO] cloning repository https://github.com/toritoritori29/rashin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/toritoritori29/rashin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoritoritori29%2Frashin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoritoritori29%2Frashin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd6c699a0d4aa17660f3d10759c77ef5716f0132 [INFO] checking toritoritori29/rashin against master#385fa9d845dd326c6bbfd58c22244215e431948a for never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoritoritori29%2Frashin" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/toritoritori29/rashin on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/toritoritori29/rashin [INFO] finished tweaking git repo https://github.com/toritoritori29/rashin [INFO] tweaked toml for git repo https://github.com/toritoritori29/rashin written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/toritoritori29/rashin 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81a1bbef1a74a6a0eee0088400b9f2888ad39fe9c05be3808a6fc1f92d823161 [INFO] running `Command { std: "docker" "start" "-a" "81a1bbef1a74a6a0eee0088400b9f2888ad39fe9c05be3808a6fc1f92d823161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81a1bbef1a74a6a0eee0088400b9f2888ad39fe9c05be3808a6fc1f92d823161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81a1bbef1a74a6a0eee0088400b9f2888ad39fe9c05be3808a6fc1f92d823161", kill_on_drop: false }` [INFO] [stdout] 81a1bbef1a74a6a0eee0088400b9f2888ad39fe9c05be3808a6fc1f92d823161 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51f6b9951fe1573e28fe4554bd90fbed98fe6628e6cb651d918a1e6f500bb102 [INFO] running `Command { std: "docker" "start" "-a" "51f6b9951fe1573e28fe4554bd90fbed98fe6628e6cb651d918a1e6f500bb102", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Checking rashin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/http/parse_request_header.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Cursor, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/system_utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libc; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use libc; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/http/parse_request_header.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Cursor, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/system_utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libc; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use libc; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/core.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let size = match read_option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/http/parse_request_header.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | field: &mut Field, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/http/parse_request_header.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | field: &mut Field, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_header` [INFO] [stdout] --> src/http/parse_request_header.rs:234:32 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn process_reserved_header(http_header: &mut HTTPHeader, field_name: &str, field_value: &str) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/http/parse_request_line.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | header: &mut HTTPHeader, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fd` is never read [INFO] [stdout] --> src/core.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Connection { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 37 | pub fd: RawFd, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Connection` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `field_size` and `fields` are never read [INFO] [stdout] --> src/http/http_interface.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct HTTPHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub field_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub fields: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_field` is never used [INFO] [stdout] --> src/http/http_interface.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl HTTPHeader { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn add_field(&mut self, field: Field) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_end_lf` is never used [INFO] [stdout] --> src/http/parse_request_header.rs:212:4 [INFO] [stdout] | [INFO] [stdout] 212 | fn parse_end_lf>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/core.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let size = match read_option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/http/parse_request_header.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | field: &mut Field, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/http/parse_request_header.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | field: &mut Field, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_header` [INFO] [stdout] --> src/http/parse_request_header.rs:234:32 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn process_reserved_header(http_header: &mut HTTPHeader, field_name: &str, field_value: &str) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/http/parse_request_line.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | header: &mut HTTPHeader, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fd` is never read [INFO] [stdout] --> src/core.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Connection { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 37 | pub fd: RawFd, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Connection` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `field_size` and `fields` are never read [INFO] [stdout] --> src/http/http_interface.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct HTTPHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub field_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub fields: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_field` is never used [INFO] [stdout] --> src/http/http_interface.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl HTTPHeader { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn add_field(&mut self, field: Field) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_end_lf` is never used [INFO] [stdout] --> src/http/parse_request_header.rs:212:4 [INFO] [stdout] | [INFO] [stdout] 212 | fn parse_end_lf>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.58s [INFO] running `Command { std: "docker" "inspect" "51f6b9951fe1573e28fe4554bd90fbed98fe6628e6cb651d918a1e6f500bb102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51f6b9951fe1573e28fe4554bd90fbed98fe6628e6cb651d918a1e6f500bb102", kill_on_drop: false }` [INFO] [stdout] 51f6b9951fe1573e28fe4554bd90fbed98fe6628e6cb651d918a1e6f500bb102 [INFO] checking toritoritori29/rashin against try#2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 for never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoritoritori29%2Frashin" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/toritoritori29/rashin on toolchain 2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/toritoritori29/rashin [INFO] finished tweaking git repo https://github.com/toritoritori29/rashin [INFO] tweaked toml for git repo https://github.com/toritoritori29/rashin written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/toritoritori29/rashin 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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e56dfe53ab629d1a33c7fa3fd5d3f055df73d3b1ad6222959ca5f12612127fca [INFO] running `Command { std: "docker" "start" "-a" "e56dfe53ab629d1a33c7fa3fd5d3f055df73d3b1ad6222959ca5f12612127fca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e56dfe53ab629d1a33c7fa3fd5d3f055df73d3b1ad6222959ca5f12612127fca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e56dfe53ab629d1a33c7fa3fd5d3f055df73d3b1ad6222959ca5f12612127fca", kill_on_drop: false }` [INFO] [stdout] e56dfe53ab629d1a33c7fa3fd5d3f055df73d3b1ad6222959ca5f12612127fca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 047f5d22578fc03632131800212f46c653dcc4194698cb50e9af9be33a5e0a83 [INFO] running `Command { std: "docker" "start" "-a" "047f5d22578fc03632131800212f46c653dcc4194698cb50e9af9be33a5e0a83", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Checking rashin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/http/parse_request_header.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Cursor, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/system_utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libc; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use libc; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/http/parse_request_header.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Cursor, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/system_utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libc; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use libc; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/core.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let size = match read_option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/http/parse_request_header.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | field: &mut Field, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/http/parse_request_header.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | field: &mut Field, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_header` [INFO] [stdout] --> src/http/parse_request_header.rs:234:32 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn process_reserved_header(http_header: &mut HTTPHeader, field_name: &str, field_value: &str) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/http/parse_request_line.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | header: &mut HTTPHeader, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fd` is never read [INFO] [stdout] --> src/core.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Connection { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 37 | pub fd: RawFd, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Connection` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `field_size` and `fields` are never read [INFO] [stdout] --> src/http/http_interface.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct HTTPHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub field_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub fields: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_field` is never used [INFO] [stdout] --> src/http/http_interface.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl HTTPHeader { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn add_field(&mut self, field: Field) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_end_lf` is never used [INFO] [stdout] --> src/http/parse_request_header.rs:212:4 [INFO] [stdout] | [INFO] [stdout] 212 | fn parse_end_lf>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/core.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let size = match read_option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/http/parse_request_header.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | field: &mut Field, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/http/parse_request_header.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | field: &mut Field, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `http_header` [INFO] [stdout] --> src/http/parse_request_header.rs:234:32 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn process_reserved_header(http_header: &mut HTTPHeader, field_name: &str, field_value: &str) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/http/parse_request_line.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | header: &mut HTTPHeader, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fd` is never read [INFO] [stdout] --> src/core.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Connection { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 37 | pub fd: RawFd, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Connection` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `field_size` and `fields` are never read [INFO] [stdout] --> src/http/http_interface.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct HTTPHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub field_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub fields: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_field` is never used [INFO] [stdout] --> src/http/http_interface.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl HTTPHeader { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn add_field(&mut self, field: Field) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_end_lf` is never used [INFO] [stdout] --> src/http/parse_request_header.rs:212:4 [INFO] [stdout] | [INFO] [stdout] 212 | fn parse_end_lf>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.90s [INFO] running `Command { std: "docker" "inspect" "047f5d22578fc03632131800212f46c653dcc4194698cb50e9af9be33a5e0a83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "047f5d22578fc03632131800212f46c653dcc4194698cb50e9af9be33a5e0a83", kill_on_drop: false }` [INFO] [stdout] 047f5d22578fc03632131800212f46c653dcc4194698cb50e9af9be33a5e0a83