[INFO] cloning repository https://github.com/deyb/rginx
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/deyb/rginx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeyb%2Frginx", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeyb%2Frginx'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3c5ab90012829304208b448a103a739e6ba35583
[INFO] checking deyb/rginx/3c5ab90012829304208b448a103a739e6ba35583 against master#e1613686e0efc80a1a18b1263625450a8de3fb04 for pr-154492
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeyb%2Frginx" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/deyb/rginx
[INFO] finished tweaking git repo https://github.com/deyb/rginx
[INFO] tweaked toml for git repo https://github.com/deyb/rginx written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/deyb/rginx on toolchain e1613686e0efc80a1a18b1263625450a8de3fb04
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/deyb/rginx 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" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num_cpus v1.7.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2ec410b9c3c3a5d0cbb62f06516205b10426bfac5a4b0225380dd6321618aeb7
[INFO] running `Command { std: "docker" "start" "-a" "2ec410b9c3c3a5d0cbb62f06516205b10426bfac5a4b0225380dd6321618aeb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2ec410b9c3c3a5d0cbb62f06516205b10426bfac5a4b0225380dd6321618aeb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ec410b9c3c3a5d0cbb62f06516205b10426bfac5a4b0225380dd6321618aeb7", kill_on_drop: false }`
[INFO] [stdout] 2ec410b9c3c3a5d0cbb62f06516205b10426bfac5a4b0225380dd6321618aeb7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 556f631dc8b94a9e2d64e829b50530574120376f752ea02da454bf4aa1d8eb54
[INFO] running `Command { std: "docker" "start" "-a" "556f631dc8b94a9e2d64e829b50530574120376f752ea02da454bf4aa1d8eb54", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Checking num_cpus v1.7.0
[INFO] [stderr]     Checking cs-rginx2 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:332:19
[INFO] [stdout]     |
[INFO] [stdout] 332 |                 if(size <= 0) {
[INFO] [stdout]     |                   ^         ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 332 -                 if(size <= 0) {
[INFO] [stdout] 332 +                 if size <= 0  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:332:19
[INFO] [stdout]     |
[INFO] [stdout] 332 |                 if(size <= 0) {
[INFO] [stdout]     |                   ^         ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 332 -                 if(size <= 0) {
[INFO] [stdout] 332 +                 if size <= 0  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/main.rs:86:29
[INFO] [stdout]    |
[INFO] [stdout] 86 |                         Err(e) => {
[INFO] [stdout]    |                             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bytes`
[INFO] [stdout]    --> src/main.rs:197:7
[INFO] [stdout]     |
[INFO] [stdout] 197 |         let bytes = match f.read(&mut buffer[..]) 
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/main.rs:305:17
[INFO] [stdout]     |
[INFO] [stdout] 305 |     pub fn work(id: u32, receiver: Arc<Mutex<mpsc::Receiver<TcpStream>>>, base_path: String) {
[INFO] [stdout]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base_path`
[INFO] [stdout]    --> src/main.rs:393:25
[INFO] [stdout]     |
[INFO] [stdout] 393 |     pub fn new(id: u32, base_path: String) -> Worker { //, sender: TcpStream, receiver: TcpStream) -> Worker {
[INFO] [stdout]     |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `max_cores` is never read
[INFO] [stdout]    --> src/main.rs:419:30
[INFO] [stdout]     |
[INFO] [stdout] 419 |     let mut max_cores: u32 = args[3].parse().unwrap();
[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: constant `MAX_ITERATIONS` is never used
[INFO] [stdout]   --> src/main.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const MAX_ITERATIONS:u32 = 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: field `id` is never read
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct ProducerWorker {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 26 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `cache` are never read
[INFO] [stdout]   --> src/main.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct Worker {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 39 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     cache: LRUCache,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `max_tick` is never read
[INFO] [stdout]   --> src/main.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct Core {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 57 |     base_path: String,
[INFO] [stdout] 58 |     max_tick: u32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/main.rs:86:29
[INFO] [stdout]    |
[INFO] [stdout] 86 |                         Err(e) => {
[INFO] [stdout]    |                             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bytes`
[INFO] [stdout]    --> src/main.rs:197:7
[INFO] [stdout]     |
[INFO] [stdout] 197 |         let bytes = match f.read(&mut buffer[..]) 
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/main.rs:305:17
[INFO] [stdout]     |
[INFO] [stdout] 305 |     pub fn work(id: u32, receiver: Arc<Mutex<mpsc::Receiver<TcpStream>>>, base_path: String) {
[INFO] [stdout]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base_path`
[INFO] [stdout]    --> src/main.rs:393:25
[INFO] [stdout]     |
[INFO] [stdout] 393 |     pub fn new(id: u32, base_path: String) -> Worker { //, sender: TcpStream, receiver: TcpStream) -> Worker {
[INFO] [stdout]     |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `max_cores` is never read
[INFO] [stdout]    --> src/main.rs:419:30
[INFO] [stdout]     |
[INFO] [stdout] 419 |     let mut max_cores: u32 = args[3].parse().unwrap();
[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: constant `MAX_ITERATIONS` is never used
[INFO] [stdout]   --> src/main.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const MAX_ITERATIONS:u32 = 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: field `id` is never read
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct ProducerWorker {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 26 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `cache` are never read
[INFO] [stdout]   --> src/main.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct Worker {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 39 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     cache: LRUCache,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `max_tick` is never read
[INFO] [stdout]   --> src/main.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct Core {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 57 |     base_path: String,
[INFO] [stdout] 58 |     max_tick: u32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s
[INFO] running `Command { std: "docker" "inspect" "556f631dc8b94a9e2d64e829b50530574120376f752ea02da454bf4aa1d8eb54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "556f631dc8b94a9e2d64e829b50530574120376f752ea02da454bf4aa1d8eb54", kill_on_drop: false }`
[INFO] [stdout] 556f631dc8b94a9e2d64e829b50530574120376f752ea02da454bf4aa1d8eb54
