[INFO] cloning repository https://github.com/Piloxal-po/rust_batch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Piloxal-po/rust_batch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPiloxal-po%2Frust_batch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPiloxal-po%2Frust_batch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 83e23a09bd63947ea88abea7e01adea24e92ba25 [INFO] checking Piloxal-po/rust_batch/83e23a09bd63947ea88abea7e01adea24e92ba25 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPiloxal-po%2Frust_batch" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Piloxal-po/rust_batch on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Piloxal-po/rust_batch [INFO] finished tweaking git repo https://github.com/Piloxal-po/rust_batch [INFO] tweaked toml for git repo https://github.com/Piloxal-po/rust_batch written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Piloxal-po/rust_batch 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7e7fbf699a17a2da3409d2c57dbe7d384a7c302a5b2f88b8f800146d3c328cf [INFO] running `Command { std: "docker" "start" "-a" "a7e7fbf699a17a2da3409d2c57dbe7d384a7c302a5b2f88b8f800146d3c328cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7e7fbf699a17a2da3409d2c57dbe7d384a7c302a5b2f88b8f800146d3c328cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7e7fbf699a17a2da3409d2c57dbe7d384a7c302a5b2f88b8f800146d3c328cf", kill_on_drop: false }` [INFO] [stdout] a7e7fbf699a17a2da3409d2c57dbe7d384a7c302a5b2f88b8f800146d3c328cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 645b1f2892d8ea144e951245d1a044188a88dd31ae91a48596e23a3b1bfb9f87 [INFO] running `Command { std: "docker" "start" "-a" "645b1f2892d8ea144e951245d1a044188a88dd31ae91a48596e23a3b1bfb9f87", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking rust_batch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/lib.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_batch` is never used [INFO] [stdout] --> src/lib.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn get_batch() -> Batch { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_tasklet` is never used [INFO] [stdout] --> src/lib.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn get_tasklet() -> Tasklet { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_job` is never used [INFO] [stdout] --> src/lib.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn get_job() -> Job { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_reader` is never used [INFO] [stdout] --> src/lib.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn get_reader() -> Reader { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_processor` is never used [INFO] [stdout] --> src/lib.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn get_processor() -> Processor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_writer_1` is never used [INFO] [stdout] --> src/lib.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn get_writer_1() -> Writer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_writer_2` is never used [INFO] [stdout] --> src/lib.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn get_writer_2() -> Writer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_multi_writer` is never used [INFO] [stdout] --> src/lib.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn get_multi_writer() -> ManyWriter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_reader_listener` is never used [INFO] [stdout] --> src/lib.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn get_reader_listener() -> ReaderListener { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_job_listener` is never used [INFO] [stdout] --> src/lib.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn get_job_listener() -> JobListener { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_writer_listener` is never used [INFO] [stdout] --> src/lib.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_writer_listener() -> WriterListener { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_processor_listener` is never used [INFO] [stdout] --> src/lib.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn get_processor_listener() -> ProcessorListener { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Batch` is never constructed [INFO] [stdout] --> src/entity/batch.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Batch { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/entity/batch.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Batch { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(name: Option, jobs: Vec>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uid`, `env`, and `name` are never read [INFO] [stdout] --> src/entity/context.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Context { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 11 | uid: u128, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | pub env: HashSet, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | pub time_keeper: TimeKeeper, [INFO] [stdout] 14 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/entity/context.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Context { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 18 | pub fn new(name: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/entity/context.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl JobContext { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 35 | pub fn new(name: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BatchContext` is never constructed [INFO] [stdout] --> src/entity/context.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BatchContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update_current_job` are never used [INFO] [stdout] --> src/entity/context.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl BatchContext { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 54 | pub fn new(name: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn update_current_job(&mut self, job_context: JobContext) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_job` is never used [INFO] [stdout] --> src/entity/job.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait OnJob { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 9 | fn on_job(&mut self); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/entity/job.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Job { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 22 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/entity/job.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl Tasklet { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 144 | pub fn new(name: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `start` are never used [INFO] [stdout] --> src/entity/utils/times.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl TimeKeeper { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn start(&mut self) -> &mut TimeKeeper { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/entity/step/reader.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Reader { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 31 | pub fn new(on_read: fn(&mut JobContext) -> Vec) -> Reader { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/entity/step/writer.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Writer { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 50 | pub fn new(on_write: fn(&JobContext, &T)) -> Writer { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/entity/step/writer.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl ManyWriter { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 68 | pub fn new(writers: Vec>>) -> ManyWriter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Starting` is never constructed [INFO] [stdout] --> src/entity/step/step.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Step { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 2 | Starting, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/entity/step/processor.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Processor { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 50 | pub fn new(on_process: fn(&JobContext, &T) -> U) -> Processor { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `batch_context` is never read [INFO] [stdout] --> src/entity/batch.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Batch { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | batch_context: BatchContext, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uid` and `env` are never read [INFO] [stdout] --> src/entity/context.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Context { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 11 | uid: u128, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | pub env: HashSet, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `context` and `current_job` are never read [INFO] [stdout] --> src/entity/context.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BatchContext { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 49 | pub context: Context, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 50 | pub current_job: Option [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_current_job` is never used [INFO] [stdout] --> src/entity/context.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl BatchContext { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn update_current_job(&mut self, job_context: JobContext) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.48s [INFO] running `Command { std: "docker" "inspect" "645b1f2892d8ea144e951245d1a044188a88dd31ae91a48596e23a3b1bfb9f87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "645b1f2892d8ea144e951245d1a044188a88dd31ae91a48596e23a3b1bfb9f87", kill_on_drop: false }` [INFO] [stdout] 645b1f2892d8ea144e951245d1a044188a88dd31ae91a48596e23a3b1bfb9f87