[INFO] fetching crate posthog-rs 0.27.0... [INFO] testing posthog-rs-0.27.0 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2 [INFO] extracting crate posthog-rs 0.27.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate posthog-rs 0.27.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate posthog-rs 0.27.0 [INFO] tweaked toml for crates.io crate posthog-rs 0.27.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate posthog-rs 0.27.0 on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate posthog-rs 0.27.0 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded compression-core v0.4.33 [INFO] [stderr] Downloaded sha1 v0.11.0 [INFO] [stderr] Downloaded compression-codecs v0.4.43 [INFO] [stderr] Downloaded async-compression v0.4.48 [INFO] [stderr] Downloaded objc2-user-notifications v0.3.2 [INFO] [stderr] Downloaded objc2-io-surface v0.3.2 [INFO] [stderr] Downloaded headers-core v0.3.0 [INFO] [stderr] Downloaded tabwriter v1.4.1 [INFO] [stderr] Downloaded serde_regex v1.2.0 [INFO] [stderr] Downloaded indenter v0.3.4 [INFO] [stderr] Downloaded objc2-quartz-core v0.3.2 [INFO] [stderr] Downloaded os_info v3.15.0 [INFO] [stderr] Downloaded objc2-core-location v0.3.2 [INFO] [stderr] Downloaded alloc-no-stdlib v3.0.0 [INFO] [stderr] Downloaded alloc-stdlib v0.3.0 [INFO] [stderr] Downloaded stringmetrics v2.2.2 [INFO] [stderr] Downloaded findshlibs v0.10.2 [INFO] [stderr] Downloaded futures-timer v3.0.4 [INFO] [stderr] Downloaded async-object-pool v0.2.0 [INFO] [stderr] Downloaded path-tree v0.8.3 [INFO] [stderr] Downloaded objc2-core-data v0.3.2 [INFO] [stderr] Downloaded linktime-proc-macro v0.2.3 [INFO] [stderr] Downloaded objc2-core-text v0.3.2 [INFO] [stderr] Downloaded eyre v0.6.14 [INFO] [stderr] Downloaded ctor v1.0.13 [INFO] [stderr] Downloaded objc2-core-image v0.3.2 [INFO] [stderr] Downloaded objc2-core-graphics v0.3.2 [INFO] [stderr] Downloaded objc2-cloud-kit v0.3.2 [INFO] [stderr] Downloaded link-section v0.19.3 [INFO] [stderr] Downloaded headers v0.4.1 [INFO] [stderr] Downloaded brotli-decompressor v6.0.0 [INFO] [stderr] Downloaded objc2-ui-kit v0.3.2 [INFO] [stderr] Downloaded brotli v9.0.0 [INFO] [stderr] Downloaded httpmock v0.8.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 258e7f936517b9e299efbf9343ad5f2e0b558420beb88650d906a01a7b1d3cbe [INFO] running `Command { std: "docker" "start" "258e7f936517b9e299efbf9343ad5f2e0b558420beb88650d906a01a7b1d3cbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "258e7f936517b9e299efbf9343ad5f2e0b558420beb88650d906a01a7b1d3cbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "258e7f936517b9e299efbf9343ad5f2e0b558420beb88650d906a01a7b1d3cbe" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "258e7f936517b9e299efbf9343ad5f2e0b558420beb88650d906a01a7b1d3cbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "258e7f936517b9e299efbf9343ad5f2e0b558420beb88650d906a01a7b1d3cbe" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.189 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling find-msvc-tools v0.1.13 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Compiling smallvec v1.16.1 [INFO] [stderr] Compiling pkg-config v0.3.34 [INFO] [stderr] Compiling futures-core v0.3.34 [INFO] [stderr] Compiling futures-sink v0.3.34 [INFO] [stderr] Compiling aws-lc-rs v1.18.1 [INFO] [stderr] Compiling litemap v0.8.3 [INFO] [stderr] Compiling zeroize v1.9.0 [INFO] [stderr] Compiling writeable v0.6.4 [INFO] [stderr] Compiling icu_normalizer_data v2.3.0 [INFO] [stderr] Compiling syn v3.0.6 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling icu_properties_data v2.3.0 [INFO] [stderr] Compiling log v0.4.34 [INFO] [stderr] Compiling rustls-pki-types v1.15.1 [INFO] [stderr] Compiling crc32fast v1.5.2 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling rustls v0.23.45 [INFO] [stderr] Compiling futures-channel v0.3.34 [INFO] [stderr] Compiling simd-adler32 v0.3.10 [INFO] [stderr] Compiling indexmap v2.14.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling typenum v1.20.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling compression-core v0.4.33 [INFO] [stderr] Compiling bitflags v2.13.2 [INFO] [stderr] Compiling cfg_aliases v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling nix v0.31.3 [INFO] [stderr] Compiling miniz_oxide v0.9.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling ipnet v2.12.2 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Compiling getrandom v0.4.3 [INFO] [stderr] Compiling const-oid v0.10.2 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling regex-automata v0.4.18 [INFO] [stderr] Compiling rustls-native-certs v0.8.4 [INFO] [stderr] Compiling flate2 v1.1.10 [INFO] [stderr] Compiling hybrid-array v0.4.15 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling base64 v0.23.1 [INFO] [stderr] Compiling cpufeatures v0.3.1 [INFO] [stderr] Compiling rustc-demangle v0.1.28 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Compiling compression-codecs v0.4.43 [INFO] [stderr] Compiling block-buffer v0.12.1 [INFO] [stderr] Compiling crypto-common v0.2.2 [INFO] [stderr] Compiling jobserver v0.1.35 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling socket2 v0.6.5 [INFO] [stderr] Compiling mio v1.2.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling cc v1.4.7 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling digest v0.11.3 [INFO] [stderr] Compiling sha1 v0.11.0 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling uuid v1.26.1 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Compiling synstructure v0.14.0 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Compiling aws-lc-sys v0.45.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling zerofrom-derive v0.1.8 [INFO] [stderr] Compiling yoke-derive v0.8.3 [INFO] [stderr] Compiling zerovec-derive v0.11.6 [INFO] [stderr] Compiling displaydoc v0.2.7 [INFO] [stderr] Compiling tokio-macros v2.7.2 [INFO] [stderr] Compiling futures-macro v0.3.34 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling futures-util v0.3.34 [INFO] [stderr] Compiling regex v1.13.1 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Compiling yoke v0.8.3 [INFO] [stderr] Compiling zerovec v0.11.8 [INFO] [stderr] Compiling zerotrie v0.2.5 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tinystr v0.8.4 [INFO] [stderr] Compiling potential_utf v0.1.6 [INFO] [stderr] Compiling icu_collections v2.3.0 [INFO] [stderr] Compiling icu_locale_core v2.3.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling icu_provider v2.3.1 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling icu_properties v2.3.0 [INFO] [stderr] Compiling icu_normalizer v2.3.0 [INFO] [stderr] Compiling bytes v1.12.1 [INFO] [stderr] Compiling chrono v0.4.45 [INFO] [stderr] Compiling os_info v3.15.0 [INFO] [stderr] Compiling tokio v1.53.1 [INFO] [stderr] Compiling http v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling http-body v1.1.0 [INFO] [stderr] Compiling http-body-util v0.1.5 [INFO] [stderr] Compiling tokio-util v0.7.19 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling async-compression v0.4.48 [INFO] [stderr] Compiling h2 v0.4.19 [INFO] [stderr] Compiling tower-http v0.6.11 [INFO] [stderr] Compiling hyper v1.11.1 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling rustls-webpki v0.103.15 [INFO] [stderr] Compiling tokio-rustls v0.26.5 [INFO] [stderr] Compiling rustls-platform-verifier v0.7.0 [INFO] [stderr] Compiling hyper-rustls v0.27.10 [INFO] [stderr] Compiling reqwest v0.13.5 [INFO] [stderr] Compiling posthog-rs v0.27.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::::fetch_update`: renamed to `try_update` for consistency [INFO] [stdout] --> src/client/transport.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | let _ = len.fetch_update(Ordering::AcqRel, Ordering::Acquire, |current| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 381 - let _ = len.fetch_update(Ordering::AcqRel, Ordering::Acquire, |current| { [INFO] [stdout] 381 + let _ = len.try_update(Ordering::AcqRel, Ordering::Acquire, |current| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 2m 47s [INFO] running `Command { std: "docker" "inspect" "258e7f936517b9e299efbf9343ad5f2e0b558420beb88650d906a01a7b1d3cbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "258e7f936517b9e299efbf9343ad5f2e0b558420beb88650d906a01a7b1d3cbe" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling thiserror v2.0.21 [INFO] [stderr] Compiling eyre v0.6.14 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling thiserror-impl v2.0.21 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling tabwriter v1.4.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling serde_regex v1.2.0 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling futures-executor v0.3.34 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling path-tree v0.8.3 [INFO] [stderr] Compiling thread_local v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.92 [INFO] [stderr] Compiling indenter v0.3.4 [INFO] [stderr] Compiling event-listener v5.4.2 [INFO] [stderr] Compiling stringmetrics v2.2.2 [INFO] [stderr] Compiling link-section v0.19.3 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling linktime-proc-macro v0.2.3 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling futures-timer v3.0.4 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling futures v0.3.34 [INFO] [stderr] Compiling async-lock v3.4.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::::fetch_update`: renamed to `try_update` for consistency [INFO] [stdout] --> src/client/transport.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | let _ = len.fetch_update(Ordering::AcqRel, Ordering::Acquire, |current| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 381 - let _ = len.fetch_update(Ordering::AcqRel, Ordering::Acquire, |current| { [INFO] [stdout] 381 + let _ = len.try_update(Ordering::AcqRel, Ordering::Acquire, |current| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ctor v1.0.13 [INFO] [stderr] Compiling sha1 v0.10.7 [INFO] [stderr] Compiling headers v0.4.1 [INFO] [stderr] Compiling async-object-pool v0.2.0 [INFO] [stderr] Compiling httpmock v0.8.3 [INFO] [stderr] Compiling posthog-rs v0.27.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `httpmock::When::matches`: Please use the `is_true` and `is_false` function instead [INFO] [stdout] --> tests/test_alias.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | .matches(request_has_well_formed_alias_event) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_capture_immediate.rs:335:14 [INFO] [stdout] | [INFO] [stdout] 335 | mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::When::matches`: Please use the `is_true` and `is_false` function instead [INFO] [stdout] --> tests/test_alias.rs:234:18 [INFO] [stdout] | [INFO] [stdout] 234 | .matches(request_does_not_disable_person_processing); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::When::matches`: Please use the `is_true` and `is_false` function instead [INFO] [stdout] --> tests/test_error_tracking.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | .matches(request_has_capture_exception_user_frame_last); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_error_tracking.rs:228:22 [INFO] [stdout] | [INFO] [stdout] 228 | capture_mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::When::matches`: Please use the `is_true` and `is_false` function instead [INFO] [stdout] --> tests/test_alias.rs:251:18 [INFO] [stdout] | [INFO] [stdout] 251 | .matches(request_has_well_formed_alias_event); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::hits`: please use `calls` instead [INFO] [stdout] --> tests/test_v0_retry.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | if mock.hits() >= want { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::When::matches`: Please use the `is_true` and `is_false` function instead [INFO] [stdout] --> tests/test_error_tracking.rs:243:18 [INFO] [stdout] | [INFO] [stdout] 243 | .matches(request_has_capture_exception_with_user_frame_last); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::hits`: please use `calls` instead [INFO] [stdout] --> tests/test_v0_retry.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | assert_eq!(mock.hits(), want, "timed out waiting for {want} hits"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_error_tracking.rs:263:22 [INFO] [stdout] | [INFO] [stdout] 263 | capture_mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_v0_retry.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | mock.assert_hits(3); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_v0_retry.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | mock.assert_hits(3); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::When::matches`: Please use the `is_true` and `is_false` function instead [INFO] [stdout] --> tests/test_error_tracking.rs:294:18 [INFO] [stdout] | [INFO] [stdout] 294 | .matches(request_has_no_stacktrace); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_capture_immediate.rs:359:18 [INFO] [stdout] | [INFO] [stdout] 359 | mock.assert_hits(3); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::When::matches`: Please use the `is_true` and `is_false` function instead [INFO] [stdout] --> tests/test_alias.rs:269:18 [INFO] [stdout] | [INFO] [stdout] 269 | .matches(request_has_two_distinct_event_uuids); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_error_tracking.rs:314:22 [INFO] [stdout] | [INFO] [stdout] 314 | capture_mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_capture_immediate.rs:377:18 [INFO] [stdout] | [INFO] [stdout] 377 | mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_capture_immediate.rs:396:14 [INFO] [stdout] | [INFO] [stdout] 396 | mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::When::matches`: Please use the `is_true` and `is_false` function instead [INFO] [stdout] --> tests/test_capture_immediate.rs:416:18 [INFO] [stdout] | [INFO] [stdout] 416 | .matches(body_gunzips_to_user1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_alias.rs:294:26 [INFO] [stdout] | [INFO] [stdout] 294 | capture_mock.assert_hits(0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::When::matches`: Please use the `is_true` and `is_false` function instead [INFO] [stdout] --> tests/test_group_identify.rs:278:22 [INFO] [stdout] | [INFO] [stdout] 278 | .matches(request_has_well_formed_group_identify_event) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::When::matches`: Please use the `is_true` and `is_false` function instead [INFO] [stdout] --> tests/test_group_identify.rs:279:22 [INFO] [stdout] | [INFO] [stdout] 279 | .matches(request_does_not_disable_person_processing); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::When::matches`: Please use the `is_true` and `is_false` function instead [INFO] [stdout] --> tests/test_group_identify.rs:307:22 [INFO] [stdout] | [INFO] [stdout] 307 | .matches(request_has_well_formed_group_identify_event); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::When::matches`: Please use the `is_true` and `is_false` function instead [INFO] [stdout] --> tests/test_group_identify.rs:335:22 [INFO] [stdout] | [INFO] [stdout] 335 | .matches(request_has_two_distinct_event_uuids); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_capture_immediate.rs:433:14 [INFO] [stdout] | [INFO] [stdout] 433 | mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_alias.rs:311:26 [INFO] [stdout] | [INFO] [stdout] 311 | capture_mock.assert_hits(0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_alias.rs:333:22 [INFO] [stdout] | [INFO] [stdout] 333 | capture_mock.assert_hits(0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits_async`: please use `assert_calls_async` instead [INFO] [stdout] --> tests/test_group_identify.rs:369:26 [INFO] [stdout] | [INFO] [stdout] 369 | capture_mock.assert_hits_async(0).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits_async`: please use `assert_calls_async` instead [INFO] [stdout] --> tests/test_group_identify.rs:390:26 [INFO] [stdout] | [INFO] [stdout] 390 | capture_mock.assert_hits_async(0).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_v0_retry.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_v0_retry.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits_async`: please use `assert_calls_async` instead [INFO] [stdout] --> tests/test_group_identify.rs:416:22 [INFO] [stdout] | [INFO] [stdout] 416 | capture_mock.assert_hits_async(0).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_v0_retry.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_v0_retry.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 143 | mock.assert_hits(3); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::When::matches`: Please use the `is_true` and `is_false` function instead [INFO] [stdout] --> tests/test_v0_retry.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | .matches(body_gunzips_to_user1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_v0_retry.rs:199:10 [INFO] [stdout] | [INFO] [stdout] 199 | mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_v0_retry.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | mock.assert_hits(2); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::hits`: please use `calls` instead [INFO] [stdout] --> tests/test_transport.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | if mock.hits() >= want { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::hits`: please use `calls` instead [INFO] [stdout] --> tests/test_transport.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | assert_eq!(mock.hits(), want, "timed out waiting for {want} hits"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::When::matches`: Please use the `is_true` and `is_false` function instead [INFO] [stdout] --> tests/test_transport.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | .matches(|r| body_contains(r, "\"event\":\"First\"")) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::When::matches`: Please use the `is_true` and `is_false` function instead [INFO] [stdout] --> tests/test_transport.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | .matches(|r| body_contains(r, "\"event\":\"Second\"")); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::When::matches`: Please use the `is_true` and `is_false` function instead [INFO] [stdout] --> tests/test_panic_global.rs:100:27 [INFO] [stdout] | [INFO] [stdout] 100 | when.method(POST).matches(is_panic_exception); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_transport.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_transport.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | mock.assert_hits(0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_panic_global.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_transport.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | fail.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::When::matches`: Please use the `is_true` and `is_false` function instead [INFO] [stdout] --> tests/test_transport.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | .matches(|r| body_contains(r, "\"event\":\"Save\"")); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_transport.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | ok.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_transport.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | ok.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::When::matches`: Please use the `is_true` and `is_false` function instead [INFO] [stdout] --> tests/test_transport.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | .matches(|r| body_contains(r, "\"event\":\"Save\"")); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_transport.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_transport.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_transport.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::When::matches`: Please use the `is_true` and `is_false` function instead [INFO] [stdout] --> tests/test_transport.rs:186:27 [INFO] [stdout] | [INFO] [stdout] 186 | when.method(POST).matches(|r| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_evaluate_flags.rs:1008:20 [INFO] [stdout] | [INFO] [stdout] 1008 | flags_mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_transport.rs:217:10 [INFO] [stdout] | [INFO] [stdout] 217 | mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_transport.rs:221:10 [INFO] [stdout] | [INFO] [stdout] 221 | mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_evaluate_flags.rs:1106:24 [INFO] [stdout] | [INFO] [stdout] 1106 | flags_mock.assert_hits(2); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_evaluate_flags.rs:1133:20 [INFO] [stdout] | [INFO] [stdout] 1133 | flags_mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_evaluate_flags.rs:1178:22 [INFO] [stdout] | [INFO] [stdout] 1178 | capture_mock.assert_hits(2); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_evaluate_flags.rs:1203:22 [INFO] [stdout] | [INFO] [stdout] 1203 | capture_mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_evaluate_flags.rs:1224:22 [INFO] [stdout] | [INFO] [stdout] 1224 | capture_mock.assert_hits(0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_evaluate_flags.rs:1242:20 [INFO] [stdout] | [INFO] [stdout] 1242 | flags_mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_evaluate_flags.rs:1302:20 [INFO] [stdout] | [INFO] [stdout] 1302 | flags_mock.assert_hits(0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_evaluate_flags.rs:1303:22 [INFO] [stdout] | [INFO] [stdout] 1303 | capture_mock.assert_hits(0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_evaluate_flags.rs:1404:20 [INFO] [stdout] | [INFO] [stdout] 1404 | flags_mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_evaluate_flags.rs:1405:22 [INFO] [stdout] | [INFO] [stdout] 1405 | capture_mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_on_error.rs:309:15 [INFO] [stdout] | [INFO] [stdout] 309 | flags.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `posthog_rs::ClientOptionsBuilder::personal_api_key`: use `secret_key` instead; it accepts a Personal API Key or a Project Secret API Key [INFO] [stdout] --> tests/test_on_error.rs:337:18 [INFO] [stdout] | [INFO] [stdout] 337 | .personal_api_key("phx_test".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_on_error.rs:354:15 [INFO] [stdout] | [INFO] [stdout] 354 | flags.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `posthog_rs::ClientOptionsBuilder::personal_api_key`: use `secret_key` instead; it accepts a Personal API Key or a Project Secret API Key [INFO] [stdout] --> tests/test_on_error.rs:373:18 [INFO] [stdout] | [INFO] [stdout] 373 | .personal_api_key("phx_test".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> tests/test_on_error.rs:382:14 [INFO] [stdout] | [INFO] [stdout] 382 | defs.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `posthog_rs::ClientOptionsBuilder::personal_api_key`: use `secret_key` instead; it accepts a Personal API Key or a Project Secret API Key [INFO] [stdout] --> tests/test_on_error.rs:403:18 [INFO] [stdout] | [INFO] [stdout] 403 | .personal_api_key("phx_test".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::::fetch_update`: renamed to `try_update` for consistency [INFO] [stdout] --> src/client/transport.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | let _ = len.fetch_update(Ordering::AcqRel, Ordering::Acquire, |current| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 381 - let _ = len.fetch_update(Ordering::AcqRel, Ordering::Acquire, |current| { [INFO] [stdout] 381 + let _ = len.try_update(Ordering::AcqRel, Ordering::Acquire, |current| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> src/client/transport.rs:1450:14 [INFO] [stdout] | [INFO] [stdout] 1450 | mock.assert_hits(0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> src/client/transport.rs:1459:14 [INFO] [stdout] | [INFO] [stdout] 1459 | mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> src/client/transport.rs:1489:14 [INFO] [stdout] | [INFO] [stdout] 1489 | fail.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> src/client/transport.rs:1492:14 [INFO] [stdout] | [INFO] [stdout] 1492 | fail.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> src/client/transport.rs:1498:12 [INFO] [stdout] | [INFO] [stdout] 1498 | ok.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> src/client/transport.rs:1537:14 [INFO] [stdout] | [INFO] [stdout] 1537 | fail.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::When::matches`: Please use the `is_true` and `is_false` function instead [INFO] [stdout] --> src/client/transport.rs:1593:31 [INFO] [stdout] | [INFO] [stdout] 1593 | when.method(POST).matches(|req| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> src/client/transport.rs:1623:14 [INFO] [stdout] | [INFO] [stdout] 1623 | mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> src/client/transport.rs:1646:14 [INFO] [stdout] | [INFO] [stdout] 1646 | mock.assert_hits(0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> src/client/transport.rs:1676:14 [INFO] [stdout] | [INFO] [stdout] 1676 | mock.assert_hits(2); // 3 events / max_batch_size 2 -> two requests [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> src/client/transport.rs:1701:14 [INFO] [stdout] | [INFO] [stdout] 1701 | mock.assert_hits(0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> src/client/transport.rs:1726:14 [INFO] [stdout] | [INFO] [stdout] 1726 | mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::When::matches`: Please use the `is_true` and `is_false` function instead [INFO] [stdout] --> src/error_tracking.rs:1843:31 [INFO] [stdout] | [INFO] [stdout] 1843 | when.method(POST).matches(request_has_panic_payload); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> src/error_tracking.rs:1864:22 [INFO] [stdout] | [INFO] [stdout] 1864 | capture_mock.assert_hits(1); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> src/error_tracking.rs:1894:22 [INFO] [stdout] | [INFO] [stdout] 1894 | capture_mock.assert_hits(0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead [INFO] [stdout] --> src/error_tracking.rs:1950:22 [INFO] [stdout] | [INFO] [stdout] 1950 | capture_mock.assert_hits(2); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/error_tracking.rs:2239:68 [INFO] [stdout] | [INFO] [stdout] 2239 | assert!(is_internal_capture_frame(name), "should strip {name:?}"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 2239 | assert!(is_internal_capture_frame(name), "should strip {name:?}", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 2239 | assert!(is_internal_capture_frame(name), "{}", "should strip {name:?}"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `posthog-rs` (lib test); 18 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1.99.0-beta.8-x86_64-unknown-linux-gnu/bin/rustc --crate-name posthog_rs --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test --cfg 'feature="async-client"' --cfg 'feature="default"' --cfg 'feature="error-tracking"' --cfg 'feature="tokio"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("async-client", "brotli", "capture-v1", "default", "e2e-test", "error-tracking", "test-harness", "tokio", "zstd"))' -C metadata=000cf89b02abe505 -C extra-filename=-a6d7c6a3145ca896 --out-dir /opt/rustwide/target/release/deps -C strip=debuginfo -L dependency=/opt/rustwide/target/release/deps --extern backtrace=/opt/rustwide/target/release/deps/libbacktrace-8da33954dd922ae6.rlib --extern chrono=/opt/rustwide/target/release/deps/libchrono-4c27dca5696f013f.rlib --extern ctor=/opt/rustwide/target/release/deps/libctor-a769065d5f2ff893.rlib --extern derive_builder=/opt/rustwide/target/release/deps/libderive_builder-54717cca2a103a47.rlib --extern dotenv=/opt/rustwide/target/release/deps/libdotenv-b658cfe3756ffa6c.rlib --extern eyre=/opt/rustwide/target/release/deps/libeyre-ca8fccce1c6e66c2.rlib --extern findshlibs=/opt/rustwide/target/release/deps/libfindshlibs-74967b8e0542141c.rlib --extern flate2=/opt/rustwide/target/release/deps/libflate2-8c12cc2ba142d35c.rlib --extern futures=/opt/rustwide/target/release/deps/libfutures-2c0dcf901691f37c.rlib --extern httpmock=/opt/rustwide/target/release/deps/libhttpmock-8ed3efc0642cf017.rlib --extern os_info=/opt/rustwide/target/release/deps/libos_info-5815b161226e9503.rlib --extern regex=/opt/rustwide/target/release/deps/libregex-ca2bb8e07082e1dd.rlib --extern reqwest=/opt/rustwide/target/release/deps/libreqwest-e0c12e2808f10d0b.rlib --extern semver=/opt/rustwide/target/release/deps/libsemver-1ca0c6d4c9b1e145.rlib --extern serde=/opt/rustwide/target/release/deps/libserde-fe8e45662c7713c9.rlib --extern serde_json=/opt/rustwide/target/release/deps/libserde_json-46f38ca972c04985.rlib --extern sha1=/opt/rustwide/target/release/deps/libsha1-1cfd231218dfa8eb.rlib --extern tokio=/opt/rustwide/target/release/deps/libtokio-478c2b3e35fb4020.rlib --extern tracing=/opt/rustwide/target/release/deps/libtracing-ad74fcec9f878b9e.rlib --extern tracing_subscriber=/opt/rustwide/target/release/deps/libtracing_subscriber-8e22e4b4d011595e.rlib --extern uuid=/opt/rustwide/target/release/deps/libuuid-dc11148dadfcbc18.rlib --cap-lints=warn -L native=/opt/rustwide/target/release/build/aws-lc-sys-c1fc59595d43c9c7/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "258e7f936517b9e299efbf9343ad5f2e0b558420beb88650d906a01a7b1d3cbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "258e7f936517b9e299efbf9343ad5f2e0b558420beb88650d906a01a7b1d3cbe", kill_on_drop: false }` [INFO] [stdout] 258e7f936517b9e299efbf9343ad5f2e0b558420beb88650d906a01a7b1d3cbe