[INFO] cloning repository https://github.com/thomas7725353/batch-stream [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thomas7725353/batch-stream" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomas7725353%2Fbatch-stream", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomas7725353%2Fbatch-stream'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25d221bb37164e0527569e95c9c9700bc555fc45 [INFO] checking thomas7725353/batch-stream against try#bac5816c5f3d02cebd0599070af62d1782530294 for pr-150408 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomas7725353%2Fbatch-stream" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thomas7725353/batch-stream [INFO] finished tweaking git repo https://github.com/thomas7725353/batch-stream [INFO] tweaked toml for git repo https://github.com/thomas7725353/batch-stream written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thomas7725353/batch-stream on toolchain bac5816c5f3d02cebd0599070af62d1782530294 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thomas7725353/batch-stream 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" "+bac5816c5f3d02cebd0599070af62d1782530294" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 508d56c9fbc3f9425a4fc31a4a308ee053371c56bac494e44c0b18fc4db9143e [INFO] running `Command { std: "docker" "start" "-a" "508d56c9fbc3f9425a4fc31a4a308ee053371c56bac494e44c0b18fc4db9143e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "508d56c9fbc3f9425a4fc31a4a308ee053371c56bac494e44c0b18fc4db9143e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "508d56c9fbc3f9425a4fc31a4a308ee053371c56bac494e44c0b18fc4db9143e", kill_on_drop: false }` [INFO] [stdout] 508d56c9fbc3f9425a4fc31a4a308ee053371c56bac494e44c0b18fc4db9143e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a20a3af696300430f0ef093a5699025b438dd84a4053ec0010b1164b9f3d08a3 [INFO] running `Command { std: "docker" "start" "-a" "a20a3af696300430f0ef093a5699025b438dd84a4053ec0010b1164b9f3d08a3", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling zerocopy v0.8.28 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking object-pool v0.5.4 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Compiling zerocopy-derive v0.8.28 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking batch-stream v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `level` and `message` are never read [INFO] [stdout] --> examples/error_handling.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct LogEntry { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 7 | level: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `function`, `level`, `message`, and `trace_id` are never read [INFO] [stdout] --> examples/high_throughput.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct LogEntry { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 10 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | function: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | level: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | trace_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> examples/basic.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct LogEntry { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 7 | timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> examples/database_insert.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct Log { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 9 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | func: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | level: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | service: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | trace_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Log` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for unit type `()` in the current scope [INFO] [stdout] --> benches/batch_processor.rs:70:70 [INFO] [stdout] | [INFO] [stdout] 70 | tokio::time::sleep(Duration::from_millis(100)).await.expect("Should start"); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for unit type `()` in the current scope [INFO] [stdout] --> benches/batch_processor.rs:117:73 [INFO] [stdout] | [INFO] [stdout] 117 | tokio::time::sleep(Duration::from_millis(50)).await.expect("Should start"); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for unit type `()` in the current scope [INFO] [stdout] --> benches/batch_processor.rs:160:66 [INFO] [stdout] | [INFO] [stdout] 160 | tokio::time::sleep(Duration::from_millis(150)).await.expect("Should start"); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for unit type `()` in the current scope [INFO] [stdout] --> benches/batch_processor.rs:193:65 [INFO] [stdout] | [INFO] [stdout] 193 | tokio::time::sleep(Duration::from_millis(50)).await.expect("Should start"); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for unit type `()` in the current scope [INFO] [stdout] --> benches/batch_processor.rs:225:66 [INFO] [stdout] | [INFO] [stdout] 225 | tokio::time::sleep(Duration::from_millis(100)).await.expect("Should start"); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for unit type `()` in the current scope [INFO] [stdout] --> benches/batch_processor.rs:280:74 [INFO] [stdout] | [INFO] [stdout] 280 | tokio::time::sleep(Duration::from_millis(150)).await.expect("Should start"); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `batch-stream` (bench "batch_processor") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "a20a3af696300430f0ef093a5699025b438dd84a4053ec0010b1164b9f3d08a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a20a3af696300430f0ef093a5699025b438dd84a4053ec0010b1164b9f3d08a3", kill_on_drop: false }` [INFO] [stdout] a20a3af696300430f0ef093a5699025b438dd84a4053ec0010b1164b9f3d08a3