[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#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoritoritori29%2Frashin" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/toritoritori29/rashin on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "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-0-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded signal-hook v0.3.17 [INFO] [stderr] Downloaded signal-hook-registry v1.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f04e1d6acddd9ab45f6fde2e66f2aa6d83e0a190d8cf78bbc8135722cff0bb3d [INFO] running `Command { std: "docker" "start" "-a" "f04e1d6acddd9ab45f6fde2e66f2aa6d83e0a190d8cf78bbc8135722cff0bb3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f04e1d6acddd9ab45f6fde2e66f2aa6d83e0a190d8cf78bbc8135722cff0bb3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f04e1d6acddd9ab45f6fde2e66f2aa6d83e0a190d8cf78bbc8135722cff0bb3d", kill_on_drop: false }` [INFO] [stdout] f04e1d6acddd9ab45f6fde2e66f2aa6d83e0a190d8cf78bbc8135722cff0bb3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9322be3cff28fed55ebfd8f24a52b7d700388372ed38a96213fc2b1b1f78db3b [INFO] running `Command { std: "docker" "start" "-a" "9322be3cff28fed55ebfd8f24a52b7d700388372ed38a96213fc2b1b1f78db3b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Checking thiserror 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: 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: 12 warnings emitted [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 2.27s [INFO] running `Command { std: "docker" "inspect" "9322be3cff28fed55ebfd8f24a52b7d700388372ed38a96213fc2b1b1f78db3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9322be3cff28fed55ebfd8f24a52b7d700388372ed38a96213fc2b1b1f78db3b", kill_on_drop: false }` [INFO] [stdout] 9322be3cff28fed55ebfd8f24a52b7d700388372ed38a96213fc2b1b1f78db3b