[INFO] cloning repository https://github.com/g-s-m/loki-forwarder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/g-s-m/loki-forwarder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fg-s-m%2Floki-forwarder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fg-s-m%2Floki-forwarder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bff4b52deba86204544f660c338cb947961022c1 [INFO] testing g-s-m/loki-forwarder against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fg-s-m%2Floki-forwarder" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/g-s-m/loki-forwarder [INFO] finished tweaking git repo https://github.com/g-s-m/loki-forwarder [INFO] tweaked toml for git repo https://github.com/g-s-m/loki-forwarder written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/g-s-m/loki-forwarder on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/g-s-m/loki-forwarder 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ctrlc v3.5.1 [INFO] [stderr] Downloaded block2 v0.6.2 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f04a05884d3e3772a32a540fe91c102ad6dcbe39c92a65952f98c480a385b7de [INFO] running `Command { std: "docker" "start" "-a" "f04a05884d3e3772a32a540fe91c102ad6dcbe39c92a65952f98c480a385b7de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f04a05884d3e3772a32a540fe91c102ad6dcbe39c92a65952f98c480a385b7de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f04a05884d3e3772a32a540fe91c102ad6dcbe39c92a65952f98c480a385b7de", kill_on_drop: false }` [INFO] [stdout] f04a05884d3e3772a32a540fe91c102ad6dcbe39c92a65952f98c480a385b7de [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4f2f790f01a522097db99af8a1b9a469b7fa7e4230a4910b19db4b5075af56f [INFO] running `Command { std: "docker" "start" "-a" "b4f2f790f01a522097db99af8a1b9a469b7fa7e4230a4910b19db4b5075af56f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling cc v1.2.49 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling tracing-core v0.1.35 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling compression-core v0.4.31 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing v0.1.43 [INFO] [stderr] Compiling iri-string v0.7.9 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling compression-codecs v0.4.35 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.7 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling ctrlc v3.5.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling async-compression v0.4.36 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.26 [INFO] [stderr] Compiling loki-forwarder v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.19s [INFO] running `Command { std: "docker" "inspect" "b4f2f790f01a522097db99af8a1b9a469b7fa7e4230a4910b19db4b5075af56f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4f2f790f01a522097db99af8a1b9a469b7fa7e4230a4910b19db4b5075af56f", kill_on_drop: false }` [INFO] [stdout] b4f2f790f01a522097db99af8a1b9a469b7fa7e4230a4910b19db4b5075af56f [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a410e1f1635a25a8d36ea218c68bbc74b250e8e667827973b2804cad3d3921bb [INFO] running `Command { std: "docker" "start" "-a" "a410e1f1635a25a8d36ea218c68bbc74b250e8e667827973b2804cad3d3921bb", kill_on_drop: false }` [INFO] [stderr] Compiling loki-forwarder v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.96s [INFO] running `Command { std: "docker" "inspect" "a410e1f1635a25a8d36ea218c68bbc74b250e8e667827973b2804cad3d3921bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a410e1f1635a25a8d36ea218c68bbc74b250e8e667827973b2804cad3d3921bb", kill_on_drop: false }` [INFO] [stdout] a410e1f1635a25a8d36ea218c68bbc74b250e8e667827973b2804cad3d3921bb [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9dffc5f2f8af24db3f6f2a71131f113f156e20695f93357db57515e83f5da62a [INFO] running `Command { std: "docker" "start" "-a" "9dffc5f2f8af24db3f6f2a71131f113f156e20695f93357db57515e83f5da62a", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/loki_forwarder-ddfe88322c6b80f6) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test core::monitor::tests::test_file_monitor_new ... ok [INFO] [stdout] test core::monitor::tests::test_file_monitor_stop ... ok [INFO] [stdout] test core::pusher::tests::test_pusher_disconnected_channel ... ok [INFO] [stdout] test core::monitor::tests::test_load_state_when_file_not_exists ... ok [INFO] [stdout] test core::monitor::tests::test_save_state ... ok [INFO] [stdout] test core::monitor::tests::test_load_state_when_file_exists ... ok [INFO] [stdout] test core::pusher::tests::test_pusher_new ... ok [INFO] [stdout] test core::pusher::tests::test_pusher_stops_when_running_false ... ok [INFO] [stdout] test core::monitor::tests::test_state_position_reset_when_larger_than_file_size ... ok [INFO] [stdout] test core::monitor::tests::test_start_handles_missing_file ... ok [INFO] [stdout] test core::monitor::tests::test_start_stops_when_stop_flag_set ... ok [INFO] [stdout] test core::pusher::tests::test_pusher_batch_records ... ok [INFO] [stdout] test core::pusher::tests::test_pusher_single_record ... ok [INFO] [stdout] test core::monitor::tests::test_start_with_existing_file ... ok [INFO] [stdout] test core::pusher::tests::test_pusher_timeout_without_records ... ok [INFO] [stdout] test core::pusher::tests::test_pusher_multiple_batches ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9dffc5f2f8af24db3f6f2a71131f113f156e20695f93357db57515e83f5da62a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dffc5f2f8af24db3f6f2a71131f113f156e20695f93357db57515e83f5da62a", kill_on_drop: false }` [INFO] [stdout] 9dffc5f2f8af24db3f6f2a71131f113f156e20695f93357db57515e83f5da62a