[INFO] cloning repository https://github.com/rickvantooster/rust-1brc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rickvantooster/rust-1brc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickvantooster%2Frust-1brc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickvantooster%2Frust-1brc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e61048eb68b86062897918b14e65a29486d7827f [INFO] checking rickvantooster/rust-1brc against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickvantooster%2Frust-1brc" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rickvantooster/rust-1brc on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rickvantooster/rust-1brc [INFO] finished tweaking git repo https://github.com/rickvantooster/rust-1brc [INFO] tweaked toml for git repo https://github.com/rickvantooster/rust-1brc written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rickvantooster/rust-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13a24b7de93faf018cf61b3a468c72d04ee8a577f1af75e08b457c8858da310d [INFO] running `Command { std: "docker" "start" "-a" "13a24b7de93faf018cf61b3a468c72d04ee8a577f1af75e08b457c8858da310d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13a24b7de93faf018cf61b3a468c72d04ee8a577f1af75e08b457c8858da310d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13a24b7de93faf018cf61b3a468c72d04ee8a577f1af75e08b457c8858da310d", kill_on_drop: false }` [INFO] [stdout] 13a24b7de93faf018cf61b3a468c72d04ee8a577f1af75e08b457c8858da310d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcd9015efd09040f1e69a9f5b2b55de4f03a7bdb82ec87c5f96732a156f2f9f5 [INFO] running `Command { std: "docker" "start" "-a" "fcd9015efd09040f1e69a9f5b2b55de4f03a7bdb82ec87c5f96732a156f2f9f5", kill_on_drop: false }` [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking rust-1brc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Arc`, `hint::black_box`, `self`, and `time::Duration` [INFO] [stdout] --> src/main.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs::{self, File}, hint::black_box, io::{self, BufRead, BufReader, Read}, sync::{mpsc, Arc}, thread, time::Duration, u8}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::threadpool::ThreadPool` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `hint::black_box`, `self`, and `time::Duration` [INFO] [stdout] --> src/main.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs::{self, File}, hint::black_box, io::{self, BufRead, BufReader, Read}, sync::{mpsc, Arc}, thread, time::Duration, u8}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::threadpool::ThreadPool` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/threadpool.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/threadpool.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let mut reader = BufReader::with_capacity(buf_size, file); [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/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let mut reader = BufReader::with_capacity(buf_size, file); [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: function `test_chunk_reader` is never used [INFO] [stdout] --> src/main.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn test_chunk_reader(file: File) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_chunks` is never used [INFO] [stdout] --> src/main.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn read_chunks(file: File) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChunkMessageType` is never used [INFO] [stdout] --> src/main.rs:186:6 [INFO] [stdout] | [INFO] [stdout] 186 | enum ChunkMessageType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LineMessageType` is never used [INFO] [stdout] --> src/main.rs:195:6 [INFO] [stdout] | [INFO] [stdout] 195 | enum LineMessageType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ValueMessageType` is never used [INFO] [stdout] --> src/main.rs:199:6 [INFO] [stdout] | [INFO] [stdout] 199 | enum ValueMessageType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_parse_num` is never used [INFO] [stdout] --> src/main.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn test_parse_num(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_naive_less_alloc` is never used [INFO] [stdout] --> src/main.rs:277:4 [INFO] [stdout] | [INFO] [stdout] 277 | fn process_naive_less_alloc(file: File) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_chunk_reader` is never used [INFO] [stdout] --> src/main.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn test_chunk_reader(file: File) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_multithreaded` is never used [INFO] [stdout] --> src/main.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn process_multithreaded(file: File) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_chunked` is never used [INFO] [stdout] --> src/main.rs:391:4 [INFO] [stdout] | [INFO] [stdout] 391 | fn process_chunked(file: File) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_chunks` is never used [INFO] [stdout] --> src/main.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn read_chunks(file: File) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChunkMessageType` is never used [INFO] [stdout] --> src/main.rs:186:6 [INFO] [stdout] | [INFO] [stdout] 186 | enum ChunkMessageType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Exit` is never constructed [INFO] [stdout] --> src/threadpool.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | enum TaskMessage { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 14 | Job(Job), [INFO] [stdout] 15 | Exit [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LineMessageType` is never used [INFO] [stdout] --> src/main.rs:195:6 [INFO] [stdout] | [INFO] [stdout] 195 | enum LineMessageType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/threadpool.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Worker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 74 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ValueMessageType` is never used [INFO] [stdout] --> src/main.rs:199:6 [INFO] [stdout] | [INFO] [stdout] 199 | enum ValueMessageType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_parse_num` is never used [INFO] [stdout] --> src/main.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn test_parse_num(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_naive_less_alloc` is never used [INFO] [stdout] --> src/main.rs:277:4 [INFO] [stdout] | [INFO] [stdout] 277 | fn process_naive_less_alloc(file: File) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_multithreaded` is never used [INFO] [stdout] --> src/main.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn process_multithreaded(file: File) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_chunked` is never used [INFO] [stdout] --> src/main.rs:391:4 [INFO] [stdout] | [INFO] [stdout] 391 | fn process_chunked(file: File) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Exit` is never constructed [INFO] [stdout] --> src/threadpool.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | enum TaskMessage { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 14 | Job(Job), [INFO] [stdout] 15 | Exit [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/threadpool.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Worker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 74 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.81s [INFO] running `Command { std: "docker" "inspect" "fcd9015efd09040f1e69a9f5b2b55de4f03a7bdb82ec87c5f96732a156f2f9f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcd9015efd09040f1e69a9f5b2b55de4f03a7bdb82ec87c5f96732a156f2f9f5", kill_on_drop: false }` [INFO] [stdout] fcd9015efd09040f1e69a9f5b2b55de4f03a7bdb82ec87c5f96732a156f2f9f5 [INFO] checking rickvantooster/rust-1brc against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickvantooster%2Frust-1brc" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rickvantooster/rust-1brc on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rickvantooster/rust-1brc [INFO] finished tweaking git repo https://github.com/rickvantooster/rust-1brc [INFO] tweaked toml for git repo https://github.com/rickvantooster/rust-1brc written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rickvantooster/rust-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ade9355949e08f1f54e6e61c9861326da475f60cf6f772de4e407a08666bacc [INFO] running `Command { std: "docker" "start" "-a" "0ade9355949e08f1f54e6e61c9861326da475f60cf6f772de4e407a08666bacc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ade9355949e08f1f54e6e61c9861326da475f60cf6f772de4e407a08666bacc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ade9355949e08f1f54e6e61c9861326da475f60cf6f772de4e407a08666bacc", kill_on_drop: false }` [INFO] [stdout] 0ade9355949e08f1f54e6e61c9861326da475f60cf6f772de4e407a08666bacc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6dd15ad55223553eaae98203f0fb4365a0a8e768c19d89e7c8412a0880c6ffb [INFO] running `Command { std: "docker" "start" "-a" "e6dd15ad55223553eaae98203f0fb4365a0a8e768c19d89e7c8412a0880c6ffb", kill_on_drop: false }` [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking rust-1brc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Arc`, `hint::black_box`, `self`, and `time::Duration` [INFO] [stdout] --> src/main.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs::{self, File}, hint::black_box, io::{self, BufRead, BufReader, Read}, sync::{mpsc, Arc}, thread, time::Duration, u8}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::threadpool::ThreadPool` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `hint::black_box`, `self`, and `time::Duration` [INFO] [stdout] --> src/main.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs::{self, File}, hint::black_box, io::{self, BufRead, BufReader, Read}, sync::{mpsc, Arc}, thread, time::Duration, u8}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::threadpool::ThreadPool` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/threadpool.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/threadpool.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let mut reader = BufReader::with_capacity(buf_size, file); [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/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let mut reader = BufReader::with_capacity(buf_size, file); [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: function `test_chunk_reader` is never used [INFO] [stdout] --> src/main.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn test_chunk_reader(file: File) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_chunks` is never used [INFO] [stdout] --> src/main.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn read_chunks(file: File) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChunkMessageType` is never used [INFO] [stdout] --> src/main.rs:186:6 [INFO] [stdout] | [INFO] [stdout] 186 | enum ChunkMessageType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LineMessageType` is never used [INFO] [stdout] --> src/main.rs:195:6 [INFO] [stdout] | [INFO] [stdout] 195 | enum LineMessageType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ValueMessageType` is never used [INFO] [stdout] --> src/main.rs:199:6 [INFO] [stdout] | [INFO] [stdout] 199 | enum ValueMessageType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_parse_num` is never used [INFO] [stdout] --> src/main.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn test_parse_num(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_naive_less_alloc` is never used [INFO] [stdout] --> src/main.rs:277:4 [INFO] [stdout] | [INFO] [stdout] 277 | fn process_naive_less_alloc(file: File) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_multithreaded` is never used [INFO] [stdout] --> src/main.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn process_multithreaded(file: File) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_chunked` is never used [INFO] [stdout] --> src/main.rs:391:4 [INFO] [stdout] | [INFO] [stdout] 391 | fn process_chunked(file: File) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Exit` is never constructed [INFO] [stdout] --> src/threadpool.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | enum TaskMessage { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 14 | Job(Job), [INFO] [stdout] 15 | Exit [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/threadpool.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Worker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 74 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/threadpool.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 23 | let mut workers = Vec::with_capacity(n); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let (sender, receiver) = mpsc::channel(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | let receiver = Arc::new(Mutex::new(receiver)); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | sender: Some(sender) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/threadpool.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 80 | fn new(id: usize, receiver: Arc>>) -> Worker { [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | let thread = thread::spawn(move || { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | Worker { id, thread: Some(thread) } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_chunk_reader` is never used [INFO] [stdout] --> src/main.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn test_chunk_reader(file: File) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_chunks` is never used [INFO] [stdout] --> src/main.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn read_chunks(file: File) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChunkMessageType` is never used [INFO] [stdout] --> src/main.rs:186:6 [INFO] [stdout] | [INFO] [stdout] 186 | enum ChunkMessageType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LineMessageType` is never used [INFO] [stdout] --> src/main.rs:195:6 [INFO] [stdout] | [INFO] [stdout] 195 | enum LineMessageType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ValueMessageType` is never used [INFO] [stdout] --> src/main.rs:199:6 [INFO] [stdout] | [INFO] [stdout] 199 | enum ValueMessageType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_parse_num` is never used [INFO] [stdout] --> src/main.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn test_parse_num(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_naive_less_alloc` is never used [INFO] [stdout] --> src/main.rs:277:4 [INFO] [stdout] | [INFO] [stdout] 277 | fn process_naive_less_alloc(file: File) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_multithreaded` is never used [INFO] [stdout] --> src/main.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn process_multithreaded(file: File) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_chunked` is never used [INFO] [stdout] --> src/main.rs:391:4 [INFO] [stdout] | [INFO] [stdout] 391 | fn process_chunked(file: File) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Exit` is never constructed [INFO] [stdout] --> src/threadpool.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | enum TaskMessage { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 14 | Job(Job), [INFO] [stdout] 15 | Exit [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/threadpool.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Worker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 74 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/threadpool.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 23 | let mut workers = Vec::with_capacity(n); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let (sender, receiver) = mpsc::channel(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | let receiver = Arc::new(Mutex::new(receiver)); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | sender: Some(sender) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/threadpool.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 80 | fn new(id: usize, receiver: Arc>>) -> Worker { [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | let thread = thread::spawn(move || { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | Worker { id, thread: Some(thread) } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-1brc` (bin "rust-1brc" test) due to 3 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-1brc` (bin "rust-1brc") due to 3 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e6dd15ad55223553eaae98203f0fb4365a0a8e768c19d89e7c8412a0880c6ffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6dd15ad55223553eaae98203f0fb4365a0a8e768c19d89e7c8412a0880c6ffb", kill_on_drop: false }` [INFO] [stdout] e6dd15ad55223553eaae98203f0fb4365a0a8e768c19d89e7c8412a0880c6ffb