[INFO] fetching crate datadoghq 0.2.2...
[INFO] testing datadoghq-0.2.2 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate datadoghq 0.2.2 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate datadoghq 0.2.2
[INFO] finished tweaking crates.io crate datadoghq 0.2.2
[INFO] tweaked toml for crates.io crate datadoghq 0.2.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate datadoghq 0.2.2 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 123 packages to highest compatible versions
[INFO] [stderr]       Adding attohttpc v0.19.1 (available: v0.31.0)
[INFO] [stderr]       Adding ctor v0.1.26 (available: v1.0.13)
[INFO] [stderr]       Adding lazy_static v1.4.0 (available: v1.5.1)
[INFO] [stderr]       Adding num_cpus v1.13.1 (available: v1.17.0)
[INFO] [stderr]       Adding rand v0.8.8 (available: v0.10.3)
[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]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded attohttpc v0.19.1
[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] 317df4d76d072fefa5a4978d94fe36ade981e0de49b3b30e20afec6dd8b1ce66
[INFO] running `Command { std: "docker" "start" "317df4d76d072fefa5a4978d94fe36ade981e0de49b3b30e20afec6dd8b1ce66", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "317df4d76d072fefa5a4978d94fe36ade981e0de49b3b30e20afec6dd8b1ce66", 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" "317df4d76d072fefa5a4978d94fe36ade981e0de49b3b30e20afec6dd8b1ce66" "/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" "317df4d76d072fefa5a4978d94fe36ade981e0de49b3b30e20afec6dd8b1ce66", 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" "317df4d76d072fefa5a4978d94fe36ade981e0de49b3b30e20afec6dd8b1ce66" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v3.0.9
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling crossbeam-utils v0.8.23
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling log v0.4.34
[INFO] [stderr]    Compiling openssl-sys v0.9.117
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling wildmatch v2.6.1
[INFO] [stderr]    Compiling serde_json v1.0.154
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.8
[INFO] [stderr]    Compiling openssl v0.10.81
[INFO] [stderr]    Compiling crossbeam-channel v0.5.17
[INFO] [stderr]    Compiling chrono v0.4.45
[INFO] [stderr]    Compiling synstructure v0.14.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.8
[INFO] [stderr]    Compiling yoke-derive v0.8.4
[INFO] [stderr]    Compiling zerovec-derive v0.11.6
[INFO] [stderr]    Compiling displaydoc v0.2.7
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling yoke v0.8.3
[INFO] [stderr]    Compiling zerotrie v0.2.5
[INFO] [stderr]    Compiling zerovec v0.11.8
[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 serde v1.0.229
[INFO] [stderr]    Compiling icu_provider v2.3.1
[INFO] [stderr]    Compiling icu_properties v2.3.0
[INFO] [stderr]    Compiling icu_normalizer v2.3.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 attohttpc v0.19.1
[INFO] [stderr]    Compiling datadoghq v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]    --> src/datadog_tracing.rs:243:32
[INFO] [stdout]     |
[INFO] [stdout] 243 |         let nanos = Utc::now().timestamp_nanos();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]    --> src/datadog_tracing.rs:270:32
[INFO] [stdout]     |
[INFO] [stdout] 270 |         let nanos = Utc::now().timestamp_nanos();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]    --> src/datadog_tracing.rs:279:32
[INFO] [stdout]     |
[INFO] [stdout] 279 |         let nanos = Utc::now().timestamp_nanos();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]    --> src/datadog_tracing.rs:286:32
[INFO] [stdout]     |
[INFO] [stdout] 286 |         let nanos = Utc::now().timestamp_nanos();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]    --> src/datadog_tracing.rs:292:32
[INFO] [stdout]     |
[INFO] [stdout] 292 |         let nanos = Utc::now().timestamp_nanos();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]   --> src/raw_span.rs:39:33
[INFO] [stdout]    |
[INFO] [stdout] 39 |             start: span.start().timestamp_nanos(),
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]   --> src/span_collection.rs:37:64
[INFO] [stdout]    |
[INFO] [stdout] 37 |                     Duration::nanoseconds(nanos - span.start().timestamp_nanos()),
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/datadog_tracing.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 |             if SAMPLING_RATE.is_none() {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 36.30s
[INFO] running `Command { std: "docker" "inspect" "317df4d76d072fefa5a4978d94fe36ade981e0de49b3b30e20afec6dd8b1ce66", 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" "317df4d76d072fefa5a4978d94fe36ade981e0de49b3b30e20afec6dd8b1ce66" "/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 syn v1.0.109
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]    --> src/datadog_tracing.rs:243:32
[INFO] [stdout]     |
[INFO] [stdout] 243 |         let nanos = Utc::now().timestamp_nanos();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]    --> src/datadog_tracing.rs:270:32
[INFO] [stdout]     |
[INFO] [stdout] 270 |         let nanos = Utc::now().timestamp_nanos();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]    --> src/datadog_tracing.rs:279:32
[INFO] [stdout]     |
[INFO] [stdout] 279 |         let nanos = Utc::now().timestamp_nanos();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]    --> src/datadog_tracing.rs:286:32
[INFO] [stdout]     |
[INFO] [stdout] 286 |         let nanos = Utc::now().timestamp_nanos();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]    --> src/datadog_tracing.rs:292:32
[INFO] [stdout]     |
[INFO] [stdout] 292 |         let nanos = Utc::now().timestamp_nanos();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]   --> src/raw_span.rs:39:33
[INFO] [stdout]    |
[INFO] [stdout] 39 |             start: span.start().timestamp_nanos(),
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]   --> src/span_collection.rs:37:64
[INFO] [stdout]    |
[INFO] [stdout] 37 |                     Duration::nanoseconds(nanos - span.start().timestamp_nanos()),
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/datadog_tracing.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 |             if SAMPLING_RATE.is_none() {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling ctor v0.1.26
[INFO] [stderr]    Compiling datadoghq v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]    --> src/datadog_tracing.rs:243:32
[INFO] [stdout]     |
[INFO] [stdout] 243 |         let nanos = Utc::now().timestamp_nanos();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]    --> src/datadog_tracing.rs:270:32
[INFO] [stdout]     |
[INFO] [stdout] 270 |         let nanos = Utc::now().timestamp_nanos();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]    --> src/datadog_tracing.rs:279:32
[INFO] [stdout]     |
[INFO] [stdout] 279 |         let nanos = Utc::now().timestamp_nanos();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]    --> src/datadog_tracing.rs:286:32
[INFO] [stdout]     |
[INFO] [stdout] 286 |         let nanos = Utc::now().timestamp_nanos();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]    --> src/datadog_tracing.rs:292:32
[INFO] [stdout]     |
[INFO] [stdout] 292 |         let nanos = Utc::now().timestamp_nanos();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead
[INFO] [stdout]    --> src/datadog_tracing.rs:340:28
[INFO] [stdout]     |
[INFO] [stdout] 340 |         let baseline = Utc.timestamp(0, 0);
[INFO] [stdout]     |                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]   --> src/raw_span.rs:39:33
[INFO] [stdout]    |
[INFO] [stdout] 39 |             start: span.start().timestamp_nanos(),
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stdout]   --> src/span_collection.rs:37:64
[INFO] [stdout]    |
[INFO] [stdout] 37 |                     Duration::nanoseconds(nanos - span.start().timestamp_nanos()),
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/datadog_tracing.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 |             if SAMPLING_RATE.is_none() {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 9.15s
[INFO] running `Command { std: "docker" "inspect" "317df4d76d072fefa5a4978d94fe36ade981e0de49b3b30e20afec6dd8b1ce66", 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" "317df4d76d072fefa5a4978d94fe36ade981e0de49b3b30e20afec6dd8b1ce66" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stderr]    --> src/datadog_tracing.rs:243:32
[INFO] [stderr]     |
[INFO] [stderr] 243 |         let nanos = Utc::now().timestamp_nanos();
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stderr]    --> src/datadog_tracing.rs:270:32
[INFO] [stderr]     |
[INFO] [stderr] 270 |         let nanos = Utc::now().timestamp_nanos();
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stderr]    --> src/datadog_tracing.rs:279:32
[INFO] [stderr]     |
[INFO] [stderr] 279 |         let nanos = Utc::now().timestamp_nanos();
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stderr]    --> src/datadog_tracing.rs:286:32
[INFO] [stderr]     |
[INFO] [stderr] 286 |         let nanos = Utc::now().timestamp_nanos();
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stderr]    --> src/datadog_tracing.rs:292:32
[INFO] [stderr]     |
[INFO] [stderr] 292 |         let nanos = Utc::now().timestamp_nanos();
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stderr]   --> src/raw_span.rs:39:33
[INFO] [stderr]    |
[INFO] [stderr] 39 |             start: span.start().timestamp_nanos(),
[INFO] [stderr]    |                                 ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
[INFO] [stderr]   --> src/span_collection.rs:37:64
[INFO] [stderr]    |
[INFO] [stderr] 37 |                     Duration::nanoseconds(nanos - span.start().timestamp_nanos()),
[INFO] [stderr]    |                                                                ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/datadog_tracing.rs:57:16
[INFO] [stderr]    |
[INFO] [stderr] 57 |             if SAMPLING_RATE.is_none() {
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead
[INFO] [stderr]    --> src/datadog_tracing.rs:340:28
[INFO] [stderr]     |
[INFO] [stderr] 340 |         let baseline = Utc.timestamp(0, 0);
[INFO] [stderr]     |                            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `datadoghq` (lib) generated 8 warnings
[INFO] [stderr] warning: `datadoghq` (lib test) generated 9 warnings (8 duplicates)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/deps/datadoghq-494c432d06dd6f9f)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] error sending traces to datadog: Error(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))
[INFO] [stdout] test datadog_tracing::tests::test_http_span ... ok
[INFO] [stdout] test datadog_tracing::tests::test_error_span_as_single_event ... ok
[INFO] [stdout] test datadog_tracing::tests::test_parallel_two_threads_ten_traces ... ok
[INFO] [stdout] test datadog_tracing::tests::test_error_span ... ok
[INFO] [stdout] test datadog_tracing::tests::test_trace_one_func_stack ... ok
[INFO] [stdout] test datadog_tracing::tests::test_parallel_two_threads_two_traces ... ok
[INFO] [stdout] test datadog_tracing::tests::test_one_thread_two_funcs_serial_two_traces ... ok
[INFO] [stdout] test datadog_tracing::tests::test_two_funcs_in_one_span ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.02s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests datadoghq
[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" "317df4d76d072fefa5a4978d94fe36ade981e0de49b3b30e20afec6dd8b1ce66", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "317df4d76d072fefa5a4978d94fe36ade981e0de49b3b30e20afec6dd8b1ce66", kill_on_drop: false }`
[INFO] [stdout] 317df4d76d072fefa5a4978d94fe36ade981e0de49b3b30e20afec6dd8b1ce66
