[INFO] cloning repository https://github.com/kindredgroup/chronos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kindredgroup/chronos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkindredgroup%2Fchronos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkindredgroup%2Fchronos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 175095e9444b2a7ff76d3c3e06e0f35a865f337c [INFO] testing kindredgroup/chronos against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkindredgroup%2Fchronos" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/kindredgroup/chronos [INFO] finished tweaking git repo https://github.com/kindredgroup/chronos [INFO] tweaked toml for git repo https://github.com/kindredgroup/chronos written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kindredgroup/chronos on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kindredgroup/chronos 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded whoami v2.1.1 [INFO] [stderr] Downloaded tokio-postgres v0.7.17 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.115 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.115 [INFO] [stderr] Downloaded wasite v1.0.2 [INFO] [stderr] Downloaded phf_shared v0.13.1 [INFO] [stderr] Downloaded refinery-macros v0.8.16 [INFO] [stderr] Downloaded wasm-bindgen v0.2.115 [INFO] [stderr] Downloaded cargo-husky v1.5.0 [INFO] [stderr] Downloaded phf v0.13.1 [INFO] [stderr] Downloaded postgres-protocol v0.6.11 [INFO] [stderr] Downloaded refinery v0.8.16 [INFO] [stderr] Downloaded objc2-system-configuration v0.3.2 [INFO] [stderr] Downloaded ctutils v0.4.0 [INFO] [stderr] Downloaded refinery-core v0.8.16 [INFO] [stderr] Downloaded postgres-types v0.2.13 [INFO] [stderr] Downloaded cmov v0.5.2 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.115 [INFO] [stderr] Downloaded js-sys v0.3.92 [INFO] [stderr] Downloaded opentelemetry-stdout v0.31.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.65 [INFO] [stderr] Downloaded opentelemetry-otlp v0.31.1 [INFO] [stderr] Downloaded tonic v0.14.6 [INFO] [stderr] Downloaded tonic-prost v0.14.6 [INFO] [stderr] Downloaded serial_test v2.0.0 [INFO] [stderr] Downloaded os_pipe v1.2.3 [INFO] [stderr] Downloaded shared_child v1.1.1 [INFO] [stderr] Downloaded serial_test_derive v2.0.0 [INFO] [stderr] Downloaded duct v0.13.7 [INFO] [stderr] Downloaded sigchld v0.2.4 [INFO] [stderr] Downloaded toml_parser v1.1.0+spec-1.1.0 [INFO] [stderr] Downloaded toml_datetime v1.1.0+spec-1.1.0 [INFO] [stderr] Downloaded toml_edit v0.25.8+spec-1.1.0 [INFO] [stderr] Downloaded rdkafka v0.34.0 [INFO] [stderr] Downloaded deadpool-postgres v0.10.5 [INFO] [stderr] Downloaded deadpool v0.9.5 [INFO] [stderr] Downloaded winnow v1.0.0 [INFO] [stderr] Downloaded retain_mut v0.1.9 [INFO] [stderr] Downloaded clippy v0.0.302 [INFO] [stderr] Downloaded web-sys v0.3.92 [INFO] [stderr] Downloaded libz-sys v1.1.25 [INFO] [stderr] Downloaded sasl2-sys v0.1.22+2.1.28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16066964b57b48165cd54ccaa650b6d223dff8ccefae773df18fe8fc65712539 [INFO] running `Command { std: "docker" "start" "-a" "16066964b57b48165cd54ccaa650b6d223dff8ccefae773df18fe8fc65712539", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16066964b57b48165cd54ccaa650b6d223dff8ccefae773df18fe8fc65712539", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16066964b57b48165cd54ccaa650b6d223dff8ccefae773df18fe8fc65712539", kill_on_drop: false }` [INFO] [stdout] 16066964b57b48165cd54ccaa650b6d223dff8ccefae773df18fe8fc65712539 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62b61700a2447a57fe3da7c46b3628dd42215f76e938c6449957904f2c456c92 [INFO] running `Command { std: "docker" "start" "-a" "62b61700a2447a57fe3da7c46b3628dd42215f76e938c6449957904f2c456c92", kill_on_drop: false }` [INFO] [stderr] warning: chronos_bin v0.2.1 (/opt/rustwide/workdir/chronos_bin) ignoring invalid dependency `clippy` which is missing a lib target [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling erased-serde v0.4.10 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling serde_fmt v1.1.0 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling hybrid-array v0.4.8 [INFO] [stderr] Compiling cc v1.2.58 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling cmov v0.5.2 [INFO] [stderr] Compiling const-oid v0.10.2 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling os_pipe v1.2.3 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling rand v0.10.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling ctutils v0.4.0 [INFO] [stderr] Compiling sigchld v0.2.4 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Compiling shared_child v1.1.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling winnow v1.0.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling duct v0.13.7 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling crypto-common v0.2.1 [INFO] [stderr] Compiling block-buffer v0.12.0 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling phf v0.13.1 [INFO] [stderr] Compiling whoami v2.1.1 [INFO] [stderr] Compiling toml_datetime v1.1.0+spec-1.1.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling value-bag-serde1 v1.12.0 [INFO] [stderr] Compiling opentelemetry v0.31.0 [INFO] [stderr] Compiling prost-derive v0.14.3 [INFO] [stderr] Compiling value-bag v1.12.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling digest v0.11.2 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling uuid v1.23.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling md-5 v0.11.0 [INFO] [stderr] Compiling sha2 v0.11.0 [INFO] [stderr] Compiling hmac v0.13.0 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling toml_parser v1.1.0+spec-1.1.0 [INFO] [stderr] Compiling libz-sys v1.1.25 [INFO] [stderr] Compiling sasl2-sys v0.1.22+2.1.28 [INFO] [stderr] Compiling rand v0.9.4 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling rdkafka-sys v4.10.0+2.12.1 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling toml_edit v0.25.8+spec-1.1.0 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling postgres-protocol v0.6.11 [INFO] [stderr] Compiling refinery-core v0.8.16 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling retain_mut v0.1.9 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Compiling postgres-types v0.2.13 [INFO] [stderr] Compiling prost v0.14.3 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling refinery-macros v0.8.16 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num_enum_derive v0.7.6 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling opentelemetry_sdk v0.31.0 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling num_enum v0.7.6 [INFO] [stderr] Compiling tracing-opentelemetry v0.32.1 [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling deadpool v0.9.5 [INFO] [stderr] Compiling h2 v0.4.14 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-postgres v0.7.17 [INFO] [stderr] Compiling tower-http v0.6.10 [INFO] [stderr] Compiling hyper v1.9.0 [INFO] [stderr] Compiling deadpool-postgres v0.10.5 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling refinery v0.8.16 [INFO] [stderr] Compiling pg_mig v0.2.1 (/opt/rustwide/workdir/pg_mig) [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling tonic v0.14.6 [INFO] [stderr] Compiling tonic-prost v0.14.6 [INFO] [stderr] Compiling opentelemetry-proto v0.31.0 [INFO] [stderr] Compiling opentelemetry-http v0.31.0 [INFO] [stderr] Compiling opentelemetry-otlp v0.31.1 [INFO] [stderr] Compiling rdkafka v0.34.0 [INFO] [stderr] Compiling chronos_bin v0.2.1 (/opt/rustwide/workdir/chronos_bin) [INFO] [stdout] warning: unused import: `tracing::event` [INFO] [stdout] --> chronos_bin/src/message_processor.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::event; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> chronos_bin/src/kafka/consumer.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{instrument, trace, warn}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> chronos_bin/src/utils/util.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | if let Ok(key) = header.key.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset_to_init_db` is never used [INFO] [stdout] --> chronos_bin/src/monitor.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 13 | impl FailureDetector { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | async fn reset_to_init_db(&self, fetched_rows: &std::vec::Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chronos_bin/src/kafka/consumer.rs:68:47 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) async fn kafka_consume_message(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) async fn kafka_consume_message(&self) -> Result, KafkaAdapterError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chronos_bin/src/postgres/pg.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn build_txn(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn build_txn(&mut self) -> Result, PgError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 07s [INFO] running `Command { std: "docker" "inspect" "62b61700a2447a57fe3da7c46b3628dd42215f76e938c6449957904f2c456c92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62b61700a2447a57fe3da7c46b3628dd42215f76e938c6449957904f2c456c92", kill_on_drop: false }` [INFO] [stdout] 62b61700a2447a57fe3da7c46b3628dd42215f76e938c6449957904f2c456c92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a250e465bde24e031baca30bf10cf7b0e37f0496bb3a835eec1e74650256e21 [INFO] running `Command { std: "docker" "start" "-a" "7a250e465bde24e031baca30bf10cf7b0e37f0496bb3a835eec1e74650256e21", kill_on_drop: false }` [INFO] [stderr] warning: chronos_bin v0.2.1 (/opt/rustwide/workdir/chronos_bin) ignoring invalid dependency `clippy` which is missing a lib target [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Compiling opentelemetry-stdout v0.31.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stdout] warning: unused import: `tracing::event` [INFO] [stdout] --> chronos_bin/src/message_processor.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::event; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> chronos_bin/src/kafka/consumer.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{instrument, trace, warn}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> chronos_bin/src/utils/util.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | if let Ok(key) = header.key.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset_to_init_db` is never used [INFO] [stdout] --> chronos_bin/src/monitor.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 13 | impl FailureDetector { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | async fn reset_to_init_db(&self, fetched_rows: &std::vec::Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chronos_bin/src/kafka/consumer.rs:68:47 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) async fn kafka_consume_message(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) async fn kafka_consume_message(&self) -> Result, KafkaAdapterError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chronos_bin/src/postgres/pg.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn build_txn(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn build_txn(&mut self) -> Result, PgError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling pg_mig v0.2.1 (/opt/rustwide/workdir/pg_mig) [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling chronos_ex v0.0.2 (/opt/rustwide/workdir/examples/chronos_ex) [INFO] [stderr] Compiling serial_test v2.0.0 [INFO] [stderr] Compiling chronos_bin v0.2.1 (/opt/rustwide/workdir/chronos_bin) [INFO] [stdout] warning: unused import: `tracing::event` [INFO] [stdout] --> chronos_bin/src/message_processor.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::event; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> chronos_bin/src/kafka/consumer.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{instrument, trace, warn}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> chronos_bin/src/utils/util.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | if let Ok(key) = header.key.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset_to_init_db` is never used [INFO] [stdout] --> chronos_bin/src/monitor.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 13 | impl FailureDetector { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | async fn reset_to_init_db(&self, fetched_rows: &std::vec::Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chronos_bin/src/kafka/consumer.rs:68:47 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) async fn kafka_consume_message(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) async fn kafka_consume_message(&self) -> Result, KafkaAdapterError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> chronos_bin/src/postgres/pg.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn build_txn(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn build_txn(&mut self) -> Result, PgError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.94s [INFO] running `Command { std: "docker" "inspect" "7a250e465bde24e031baca30bf10cf7b0e37f0496bb3a835eec1e74650256e21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a250e465bde24e031baca30bf10cf7b0e37f0496bb3a835eec1e74650256e21", kill_on_drop: false }` [INFO] [stdout] 7a250e465bde24e031baca30bf10cf7b0e37f0496bb3a835eec1e74650256e21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7e8f3f0ba30ea6e8334641705737451e7d8be36d0df80e2e97e89bf4e18657cd [INFO] running `Command { std: "docker" "start" "-a" "7e8f3f0ba30ea6e8334641705737451e7d8be36d0df80e2e97e89bf4e18657cd", kill_on_drop: false }` [INFO] [stderr] warning: chronos_bin v0.2.1 (/opt/rustwide/workdir/chronos_bin) ignoring invalid dependency `clippy` which is missing a lib target [INFO] [stderr] warning: unused import: `tracing::event` [INFO] [stderr] --> chronos_bin/src/message_processor.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use tracing::event; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `instrument` [INFO] [stderr] --> chronos_bin/src/kafka/consumer.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | use tracing::{instrument, trace, warn}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> chronos_bin/src/utils/util.rs:12:20 [INFO] [stderr] | [INFO] [stderr] 12 | if let Ok(key) = header.key.parse() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `reset_to_init_db` is never used [INFO] [stderr] --> chronos_bin/src/monitor.rs:24:14 [INFO] [stderr] | [INFO] [stderr] 13 | impl FailureDetector { [INFO] [stderr] | -------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 24 | async fn reset_to_init_db(&self, fetched_rows: &std::vec::Vec) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> chronos_bin/src/kafka/consumer.rs:68:47 [INFO] [stderr] | [INFO] [stderr] 68 | pub(crate) async fn kafka_consume_message(&self) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 68 | pub(crate) async fn kafka_consume_message(&self) -> Result, KafkaAdapterError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> chronos_bin/src/postgres/pg.rs:66:28 [INFO] [stderr] | [INFO] [stderr] 66 | pub async fn build_txn(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 66 | pub async fn build_txn(&mut self) -> Result, PgError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `chronos_bin` (lib) generated 6 warnings (run `cargo fix --lib -p chronos_bin` to apply 4 suggestions) [INFO] [stderr] warning: `chronos_bin` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/chronos_bin-0590145054a86557) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test kafka::config::tests::test_build_consumer_config_obj ... ok [INFO] [stdout] test kafka::config::tests::test_build_producer_config_obj ... ok [INFO] [stdout] test kafka::config::tests::test_passing_credentials_to_build_consumer_config ... ok [INFO] [stdout] test kafka::config::tests::test_passing_overrides ... ok [INFO] [stdout] test utils::env::tests::test_env_var_macro_get_value_successfully_for_key ... ok [INFO] [stdout] test kafka::config::tests::test_from_env_when_env_variable_not_found - should panic ... ok [INFO] [stdout] test kafka::config::tests::test_from_env_gets_values_successully ... ok [INFO] [stdout] test utils::env::tests::test_env_var_macro_when_key_value_not_found - should panic ... ok [INFO] [stdout] test postgres::config::tests::test_from_env_gets_values_successully ... ok [INFO] [stdout] test utils::env::tests::test_env_var_macro_when_parsing_fails - should panic ... ok [INFO] [stdout] test postgres::config::tests::test_from_env_when_env_variable_not_found - should panic ... ok [INFO] [stdout] test utils::env::tests::test_env_var_macro_when_parsing_fails_for_vector - should panic ... ok [INFO] [stdout] test postgres::config::tests::test_pg_connection_string ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/chronos.rs (/opt/rustwide/target/debug/deps/chronos-9b8284f00609b418) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pg_mig-fc44ba04447c3712) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/chronos-pg-migrations.rs (/opt/rustwide/target/debug/deps/chronos_pg_migrations-5fc150aaa0bef42d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests chronos_bin [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test chronos_bin/src/utils/env.rs - utils::env::env_var (line 53) ... ignored [INFO] [stdout] test chronos_bin/src/utils/env.rs - utils::env::env_var (line 62) ... ignored [INFO] [stdout] test chronos_bin/src/utils/env.rs - utils::env::env_var (line 74) ... ignored [INFO] [stdout] test chronos_bin/src/utils/env.rs - utils::env::get_env_var_value (line 23) ... ignored [INFO] [stdout] test chronos_bin/src/utils/env.rs - utils::env::get_env_vars_with_prefix (line 35) ... ignored [INFO] [stdout] test chronos_bin/src/utils/env.rs - utils::env::parse_from_string (line 8) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 6 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests pg_mig [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7e8f3f0ba30ea6e8334641705737451e7d8be36d0df80e2e97e89bf4e18657cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e8f3f0ba30ea6e8334641705737451e7d8be36d0df80e2e97e89bf4e18657cd", kill_on_drop: false }` [INFO] [stdout] 7e8f3f0ba30ea6e8334641705737451e7d8be36d0df80e2e97e89bf4e18657cd