[INFO] cloning repository https://github.com/Jaco-Minnaar/1brc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jaco-Minnaar/1brc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaco-Minnaar%2F1brc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaco-Minnaar%2F1brc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e5aeebe747e5add2a4efb1a4bf519f6326d2bfc [INFO] building Jaco-Minnaar/1brc against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaco-Minnaar%2F1brc" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jaco-Minnaar/1brc on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jaco-Minnaar/1brc [INFO] finished tweaking git repo https://github.com/Jaco-Minnaar/1brc [INFO] tweaked toml for git repo https://github.com/Jaco-Minnaar/1brc written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Jaco-Minnaar/1brc 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kanal v0.1.0-pre8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 849829bb351231aa2817f2979bac3c922c1bd62077fe05153a15bd6ce5c1124d [INFO] running `Command { std: "docker" "start" "-a" "849829bb351231aa2817f2979bac3c922c1bd62077fe05153a15bd6ce5c1124d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "849829bb351231aa2817f2979bac3c922c1bd62077fe05153a15bd6ce5c1124d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "849829bb351231aa2817f2979bac3c922c1bd62077fe05153a15bd6ce5c1124d", kill_on_drop: false }` [INFO] [stdout] 849829bb351231aa2817f2979bac3c922c1bd62077fe05153a15bd6ce5c1124d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9091e963d462675d155f33baa6d12c972ac43dfcf1c14b5d840a9f6cb613ffc [INFO] running `Command { std: "docker" "start" "-a" "c9091e963d462675d155f33baa6d12c972ac43dfcf1c14b5d840a9f6cb613ffc", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling kanal v0.1.0-pre8 [INFO] [stderr] Compiling blc-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/custom.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fs::File, thread}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before` [INFO] [stdout] --> src/simple.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut before = Instant::now(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_before` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `longest` [INFO] [stdout] --> src/simple.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut longest = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_longest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simple.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | fn read(mut reader: BufReader, line_tx: Sender) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simple.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut before = Instant::now(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simple.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let mut longest = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `longest` [INFO] [stdout] --> src/simple.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut longest = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_longest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before` [INFO] [stdout] --> src/simple.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut before = Instant::now(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simple.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let mut longest = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simple.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let mut before = Instant::now(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `custom_single` is never used [INFO] [stdout] --> src/custom.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn custom_single() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CALC_JOBS` is never used [INFO] [stdout] --> src/simple.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const CALC_JOBS: usize = 10; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple` is never used [INFO] [stdout] --> src/simple.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn simple() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_BUFFER_SIZE` is never used [INFO] [stdout] --> src/simple.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | const LINE_BUFFER_SIZE: usize = 100_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read` is never used [INFO] [stdout] --> src/simple.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn read(mut reader: BufReader, line_tx: Sender) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc` is never used [INFO] [stdout] --> src/simple.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn calc(line_rx: Receiver>, point_tx: Sender>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/simple.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn parse(bytes: &[u8]) -> Option<(f32, [u8; 32])> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sum`, `max`, `min`, and `count` are never read [INFO] [stdout] --> src/tree.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 3 | sum: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | max: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | min: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | count: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/tree.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update_state` are never used [INFO] [stdout] --> src/tree.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(name: [u8; 32], value: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn update_state(&mut self, num: f32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/tree.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, `update_node`, `cities`, and `add_children` are never used [INFO] [stdout] --> src/tree.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Tree { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 45 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn update(&mut self, name: [u8; 32], value: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn update_node(&mut self, idx: usize, name: [u8; 32], value: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn cities(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn add_children(&self, node: Node, nodes: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "c9091e963d462675d155f33baa6d12c972ac43dfcf1c14b5d840a9f6cb613ffc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9091e963d462675d155f33baa6d12c972ac43dfcf1c14b5d840a9f6cb613ffc", kill_on_drop: false }` [INFO] [stdout] c9091e963d462675d155f33baa6d12c972ac43dfcf1c14b5d840a9f6cb613ffc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fe2c7b38df53811dcd56e7fe305e02d09378c7427520ea3b1a3579a5c6ef18d [INFO] running `Command { std: "docker" "start" "-a" "8fe2c7b38df53811dcd56e7fe305e02d09378c7427520ea3b1a3579a5c6ef18d", kill_on_drop: false }` [INFO] [stderr] Compiling blc-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/custom.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fs::File, thread}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before` [INFO] [stdout] --> src/simple.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut before = Instant::now(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_before` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `longest` [INFO] [stdout] --> src/simple.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut longest = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_longest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simple.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | fn read(mut reader: BufReader, line_tx: Sender) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simple.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut before = Instant::now(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simple.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let mut longest = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `longest` [INFO] [stdout] --> src/simple.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut longest = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_longest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before` [INFO] [stdout] --> src/simple.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut before = Instant::now(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simple.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let mut longest = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simple.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let mut before = Instant::now(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `custom_single` is never used [INFO] [stdout] --> src/custom.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn custom_single() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CALC_JOBS` is never used [INFO] [stdout] --> src/simple.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const CALC_JOBS: usize = 10; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple` is never used [INFO] [stdout] --> src/simple.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn simple() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_BUFFER_SIZE` is never used [INFO] [stdout] --> src/simple.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | const LINE_BUFFER_SIZE: usize = 100_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read` is never used [INFO] [stdout] --> src/simple.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn read(mut reader: BufReader, line_tx: Sender) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc` is never used [INFO] [stdout] --> src/simple.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn calc(line_rx: Receiver>, point_tx: Sender>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/simple.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn parse(bytes: &[u8]) -> Option<(f32, [u8; 32])> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sum`, `max`, `min`, and `count` are never read [INFO] [stdout] --> src/tree.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 3 | sum: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | max: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | min: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | count: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/tree.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update_state` are never used [INFO] [stdout] --> src/tree.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(name: [u8; 32], value: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn update_state(&mut self, num: f32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/tree.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, `update_node`, `cities`, and `add_children` are never used [INFO] [stdout] --> src/tree.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Tree { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 45 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn update(&mut self, name: [u8; 32], value: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn update_node(&mut self, idx: usize, name: [u8; 32], value: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn cities(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn add_children(&self, node: Node, nodes: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "8fe2c7b38df53811dcd56e7fe305e02d09378c7427520ea3b1a3579a5c6ef18d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fe2c7b38df53811dcd56e7fe305e02d09378c7427520ea3b1a3579a5c6ef18d", kill_on_drop: false }` [INFO] [stdout] 8fe2c7b38df53811dcd56e7fe305e02d09378c7427520ea3b1a3579a5c6ef18d