[INFO] cloning repository https://github.com/Bobxcat/logsplitter2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bobxcat/logsplitter2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBobxcat%2Flogsplitter2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBobxcat%2Flogsplitter2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ba227fa2f4fc69ac7ff0b03ef01149ac3ef522b [INFO] checking Bobxcat/logsplitter2 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBobxcat%2Flogsplitter2" "/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/Bobxcat/logsplitter2 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/Bobxcat/logsplitter2 [INFO] finished tweaking git repo https://github.com/Bobxcat/logsplitter2 [INFO] tweaked toml for git repo https://github.com/Bobxcat/logsplitter2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Bobxcat/logsplitter2 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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kanal v0.1.0-pre8 [INFO] [stderr] Downloaded utf8-decode v1.0.1 [INFO] [stderr] Downloaded io-uring v0.5.13 [INFO] [stderr] Downloaded tokio-uring v0.4.0 [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] 6e2345913eab70825531fcaf8a4bb1d4d6f2df9cb0f3da28000092b34657ba7c [INFO] running `Command { std: "docker" "start" "-a" "6e2345913eab70825531fcaf8a4bb1d4d6f2df9cb0f3da28000092b34657ba7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e2345913eab70825531fcaf8a4bb1d4d6f2df9cb0f3da28000092b34657ba7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e2345913eab70825531fcaf8a4bb1d4d6f2df9cb0f3da28000092b34657ba7c", kill_on_drop: false }` [INFO] [stdout] 6e2345913eab70825531fcaf8a4bb1d4d6f2df9cb0f3da28000092b34657ba7c [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] a36b62ab0b51c2e74c35c0c986ded3c63fd46e17a1453321cd3600172391d3d3 [INFO] running `Command { std: "docker" "start" "-a" "a36b62ab0b51c2e74c35c0c986ded3c63fd46e17a1453321cd3600172391d3d3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling io-uring v0.5.13 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking xxhash-rust v0.8.10 [INFO] [stderr] Checking utf8-decode v1.0.1 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking kanal v0.1.0-pre8 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking tokio-uring v0.4.0 [INFO] [stderr] Checking logsplitter2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tempdir::TempDir` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tempdir::TempDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/data.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | hash::{Hash, Hasher}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/file_pool.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `collections::VecDeque` [INFO] [stdout] --> src/input.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | io::{Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/output.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/testdata_gen.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{NaiveDate, NaiveDateTime, TimeDelta}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell::OnceCell` [INFO] [stdout] --> src/testdata_gen.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | use std::{cell::OnceCell, fmt::Display, sync::OnceLock}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Datelike`, `Duration`, and `TimeDelta` [INFO] [stdout] --> src/testdata_gen.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | DateTime, Datelike, Duration, FixedOffset, NaiveDate, NaiveDateTime, NaiveTime, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 112 | SecondsFormat, TimeDelta, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempdir::TempDir` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tempdir::TempDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/data.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | hash::{Hash, Hasher}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/data.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | use std::hash::{BuildHasher, Hash, Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/file_pool.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `collections::VecDeque` [INFO] [stdout] --> src/input.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | io::{Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/output.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/testdata_gen.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{NaiveDate, NaiveDateTime, TimeDelta}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell::OnceCell` [INFO] [stdout] --> src/testdata_gen.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | use std::{cell::OnceCell, fmt::Display, sync::OnceLock}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Datelike`, `Duration`, and `TimeDelta` [INFO] [stdout] --> src/testdata_gen.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | DateTime, Datelike, Duration, FixedOffset, NaiveDate, NaiveDateTime, NaiveTime, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 112 | SecondsFormat, TimeDelta, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/input.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | async fn reading_input(input: File, tx: Sender) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/input.rs:118:37 [INFO] [stdout] | [INFO] [stdout] 118 | async fn reading_input(input: File, tx: Sender) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/input.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | async fn reading_input(input: File, tx: Sender) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/input.rs:118:37 [INFO] [stdout] | [INFO] [stdout] 118 | async fn reading_input(input: File, tx: Sender) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/data.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 128 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 143 | / check(&MsgKeyRaw { [INFO] [stdout] 144 | | info_meta_service: "foo", [INFO] [stdout] 145 | | info_meta_env: "thsugfsdfgsdfg", [INFO] [stdout] 146 | | info_timestamp: "2022-12-17T17:57:08.129711647+00:00", [INFO] [stdout] 147 | | }); [INFO] [stdout] | |___________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/data.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let k = MsgKey::from_raw(raw); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/data.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | let mut state0 = b.build_hasher(); [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/data.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | let mut state1 = b.build_hasher(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_input1` is never used [INFO] [stdout] --> src/main.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn run_input1() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_ryan1` is never used [INFO] [stdout] --> src/main.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn run_ryan1() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_testlines` is never used [INFO] [stdout] --> src/main.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn run_testlines() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reading_input` is never used [INFO] [stdout] --> src/input.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | async fn reading_input(input: File, tx: Sender) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `output_thread_old` is never used [INFO] [stdout] --> src/output.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | async fn output_thread_old(rx: Receiver, mut files: FilePool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `compression` is never read [INFO] [stdout] --> src/testdata_gen.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TestdataCfg { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 12 | pub lines: usize, [INFO] [stdout] 13 | pub compression: Compression, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestdataCfg` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_input1` is never used [INFO] [stdout] --> src/main.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn run_input1() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_ryan1` is never used [INFO] [stdout] --> src/main.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn run_ryan1() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_testlines` is never used [INFO] [stdout] --> src/main.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn run_testlines() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reading_input` is never used [INFO] [stdout] --> src/input.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | async fn reading_input(input: File, tx: Sender) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `output_thread_old` is never used [INFO] [stdout] --> src/output.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | async fn output_thread_old(rx: Receiver, mut files: FilePool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `compression` is never read [INFO] [stdout] --> src/testdata_gen.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TestdataCfg { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 12 | pub lines: usize, [INFO] [stdout] 13 | pub compression: Compression, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestdataCfg` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.50s [INFO] running `Command { std: "docker" "inspect" "a36b62ab0b51c2e74c35c0c986ded3c63fd46e17a1453321cd3600172391d3d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a36b62ab0b51c2e74c35c0c986ded3c63fd46e17a1453321cd3600172391d3d3", kill_on_drop: false }` [INFO] [stdout] a36b62ab0b51c2e74c35c0c986ded3c63fd46e17a1453321cd3600172391d3d3 [INFO] checking Bobxcat/logsplitter2 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%2FBobxcat%2Flogsplitter2" "/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/Bobxcat/logsplitter2 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/Bobxcat/logsplitter2 [INFO] finished tweaking git repo https://github.com/Bobxcat/logsplitter2 [INFO] tweaked toml for git repo https://github.com/Bobxcat/logsplitter2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Bobxcat/logsplitter2 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] e80d1c9fb600a656f8f3b35db8381eaecec658875c152afe13f3ea169c10bc06 [INFO] running `Command { std: "docker" "start" "-a" "e80d1c9fb600a656f8f3b35db8381eaecec658875c152afe13f3ea169c10bc06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e80d1c9fb600a656f8f3b35db8381eaecec658875c152afe13f3ea169c10bc06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e80d1c9fb600a656f8f3b35db8381eaecec658875c152afe13f3ea169c10bc06", kill_on_drop: false }` [INFO] [stdout] e80d1c9fb600a656f8f3b35db8381eaecec658875c152afe13f3ea169c10bc06 [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] 88d3a448a66a3962d594729d18ec08861383409755a5a511bfd803107028624c [INFO] running `Command { std: "docker" "start" "-a" "88d3a448a66a3962d594729d18ec08861383409755a5a511bfd803107028624c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling io-uring v0.5.13 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking xxhash-rust v0.8.10 [INFO] [stderr] Checking utf8-decode v1.0.1 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking kanal v0.1.0-pre8 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking tokio-uring v0.4.0 [INFO] [stderr] Checking logsplitter2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tempdir::TempDir` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tempdir::TempDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/data.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | hash::{Hash, Hasher}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/file_pool.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `collections::VecDeque` [INFO] [stdout] --> src/input.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | io::{Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/output.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/testdata_gen.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{NaiveDate, NaiveDateTime, TimeDelta}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell::OnceCell` [INFO] [stdout] --> src/testdata_gen.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | use std::{cell::OnceCell, fmt::Display, sync::OnceLock}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Datelike`, `Duration`, and `TimeDelta` [INFO] [stdout] --> src/testdata_gen.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | DateTime, Datelike, Duration, FixedOffset, NaiveDate, NaiveDateTime, NaiveTime, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 112 | SecondsFormat, TimeDelta, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempdir::TempDir` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tempdir::TempDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/data.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | hash::{Hash, Hasher}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/data.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | use std::hash::{BuildHasher, Hash, Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/file_pool.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `collections::VecDeque` [INFO] [stdout] --> src/input.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | io::{Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/output.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/testdata_gen.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{NaiveDate, NaiveDateTime, TimeDelta}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell::OnceCell` [INFO] [stdout] --> src/testdata_gen.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | use std::{cell::OnceCell, fmt::Display, sync::OnceLock}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Datelike`, `Duration`, and `TimeDelta` [INFO] [stdout] --> src/testdata_gen.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | DateTime, Datelike, Duration, FixedOffset, NaiveDate, NaiveDateTime, NaiveTime, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 112 | SecondsFormat, TimeDelta, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/input.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | async fn reading_input(input: File, tx: Sender) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/input.rs:118:37 [INFO] [stdout] | [INFO] [stdout] 118 | async fn reading_input(input: File, tx: Sender) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/input.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | async fn reading_input(input: File, tx: Sender) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/input.rs:118:37 [INFO] [stdout] | [INFO] [stdout] 118 | async fn reading_input(input: File, tx: Sender) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/data.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 128 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 143 | / check(&MsgKeyRaw { [INFO] [stdout] 144 | | info_meta_service: "foo", [INFO] [stdout] 145 | | info_meta_env: "thsugfsdfgsdfg", [INFO] [stdout] 146 | | info_timestamp: "2022-12-17T17:57:08.129711647+00:00", [INFO] [stdout] 147 | | }); [INFO] [stdout] | |___________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/data.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let k = MsgKey::from_raw(raw); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/data.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | let mut state0 = b.build_hasher(); [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/data.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | let mut state1 = b.build_hasher(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_input1` is never used [INFO] [stdout] --> src/main.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn run_input1() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_ryan1` is never used [INFO] [stdout] --> src/main.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn run_ryan1() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_testlines` is never used [INFO] [stdout] --> src/main.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn run_testlines() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reading_input` is never used [INFO] [stdout] --> src/input.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | async fn reading_input(input: File, tx: Sender) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `output_thread_old` is never used [INFO] [stdout] --> src/output.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | async fn output_thread_old(rx: Receiver, mut files: FilePool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `compression` is never read [INFO] [stdout] --> src/testdata_gen.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TestdataCfg { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 12 | pub lines: usize, [INFO] [stdout] 13 | pub compression: Compression, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestdataCfg` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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/byte_channel.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | let (tx, rx) = kanal::bounded(bound); [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] 8 | ( [INFO] [stdout] 9 | BytesTx { tx }, [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/byte_channel.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | let (tx, rx) = kanal::bounded(bound); [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] ... [INFO] [stdout] 10 | / BytesRx { [INFO] [stdout] 11 | | rx, [INFO] [stdout] 12 | | buffered: vec![], [INFO] [stdout] 13 | | buffered_idx: 0, [INFO] [stdout] 14 | | }, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 93 | let info = match json::parse(line) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | Ok(val) => val, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | Ok(LineData { [INFO] [stdout] | ____________^ [INFO] [stdout] 103 | | orig: format!("{}\n", line), [INFO] [stdout] 104 | | key: MsgKey::from_raw(&MsgKeyRaw { [INFO] [stdout] 105 | | info_meta_service: meta["service"].as_str().expect(&format!( [INFO] [stdout] ... | [INFO] [stdout] 114 | | }), [INFO] [stdout] 115 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/input.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn spawn_new(input: std::fs::File) -> Self { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let (tx, rx) = kanal::bounded::(100); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | tokio_uring::start(async { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 22 | | let input = File::from_std(input); [INFO] [stdout] 23 | | read_input(input, tx).await [INFO] [stdout] 24 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/input.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn spawn_new(input: std::fs::File) -> Self { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let (tx, rx) = kanal::bounded::(100); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | let input = File::from_std(input); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | read_input(input, tx).await [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/output.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 49 | let threads = math_utils::get_even_partition(num_threads, max_active_files) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | msgkey_assigned: Default::default(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/output.rs:56:40 [INFO] [stdout] | [INFO] [stdout] 53 | let (tx, rx) = kanal::bounded(256); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | let h = std::thread::spawn(move || { [INFO] [stdout] 55 | let files = FilePool::new(max_files, root_dir); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | tokio_uring::start(async move { output_thread(rx, files).await }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/output.rs:56:78 [INFO] [stdout] | [INFO] [stdout] 53 | let (tx, rx) = kanal::bounded(256); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | let h = std::thread::spawn(move || { [INFO] [stdout] 55 | let files = FilePool::new(max_files, root_dir); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | tokio_uring::start(async move { output_thread(rx, files).await }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/output.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | .for_each(|t| t.tx.send(OutputThreadMsg::Finish).unwrap()); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/output.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 159 | let (tx, rx) = byte_channel::bounded(16); [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] 160 | (GzEncoder::new(tx, Compression::default()), rx) [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 10 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_input1` is never used [INFO] [stdout] --> src/main.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn run_input1() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_ryan1` is never used [INFO] [stdout] --> src/main.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn run_ryan1() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_testlines` is never used [INFO] [stdout] --> src/main.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn run_testlines() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reading_input` is never used [INFO] [stdout] --> src/input.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | async fn reading_input(input: File, tx: Sender) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `output_thread_old` is never used [INFO] [stdout] --> src/output.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | async fn output_thread_old(rx: Receiver, mut files: FilePool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `compression` is never read [INFO] [stdout] --> src/testdata_gen.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TestdataCfg { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 12 | pub lines: usize, [INFO] [stdout] 13 | pub compression: Compression, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestdataCfg` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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/byte_channel.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | let (tx, rx) = kanal::bounded(bound); [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] 8 | ( [INFO] [stdout] 9 | BytesTx { tx }, [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/byte_channel.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | let (tx, rx) = kanal::bounded(bound); [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] ... [INFO] [stdout] 10 | / BytesRx { [INFO] [stdout] 11 | | rx, [INFO] [stdout] 12 | | buffered: vec![], [INFO] [stdout] 13 | | buffered_idx: 0, [INFO] [stdout] 14 | | }, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 93 | let info = match json::parse(line) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | Ok(val) => val, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | Ok(LineData { [INFO] [stdout] | ____________^ [INFO] [stdout] 103 | | orig: format!("{}\n", line), [INFO] [stdout] 104 | | key: MsgKey::from_raw(&MsgKeyRaw { [INFO] [stdout] 105 | | info_meta_service: meta["service"].as_str().expect(&format!( [INFO] [stdout] ... | [INFO] [stdout] 114 | | }), [INFO] [stdout] 115 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/input.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn spawn_new(input: std::fs::File) -> Self { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let (tx, rx) = kanal::bounded::(100); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | tokio_uring::start(async { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 22 | | let input = File::from_std(input); [INFO] [stdout] 23 | | read_input(input, tx).await [INFO] [stdout] 24 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/input.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn spawn_new(input: std::fs::File) -> Self { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let (tx, rx) = kanal::bounded::(100); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | let input = File::from_std(input); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | read_input(input, tx).await [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/output.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 49 | let threads = math_utils::get_even_partition(num_threads, max_active_files) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | msgkey_assigned: Default::default(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/output.rs:56:40 [INFO] [stdout] | [INFO] [stdout] 53 | let (tx, rx) = kanal::bounded(256); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | let h = std::thread::spawn(move || { [INFO] [stdout] 55 | let files = FilePool::new(max_files, root_dir); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | tokio_uring::start(async move { output_thread(rx, files).await }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/output.rs:56:78 [INFO] [stdout] | [INFO] [stdout] 53 | let (tx, rx) = kanal::bounded(256); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | let h = std::thread::spawn(move || { [INFO] [stdout] 55 | let files = FilePool::new(max_files, root_dir); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | tokio_uring::start(async move { output_thread(rx, files).await }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/output.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | .for_each(|t| t.tx.send(OutputThreadMsg::Finish).unwrap()); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/output.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 159 | let (tx, rx) = byte_channel::bounded(16); [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] 160 | (GzEncoder::new(tx, Compression::default()), rx) [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] [stderr] error: could not compile `logsplitter2` (bin "logsplitter2") due to 11 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 10 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `logsplitter2` (bin "logsplitter2" test) due to 11 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "88d3a448a66a3962d594729d18ec08861383409755a5a511bfd803107028624c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88d3a448a66a3962d594729d18ec08861383409755a5a511bfd803107028624c", kill_on_drop: false }` [INFO] [stdout] 88d3a448a66a3962d594729d18ec08861383409755a5a511bfd803107028624c