[INFO] cloning repository https://github.com/maropu/pg_stats_exporter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maropu/pg_stats_exporter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaropu%2Fpg_stats_exporter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaropu%2Fpg_stats_exporter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc0a380d151512a7f25c6eebfb02f8fb89b69503 [INFO] testing maropu/pg_stats_exporter against master#160e7623e8cbbf1feab2b6e2a24733a98c7bde9c for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaropu%2Fpg_stats_exporter" "/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/maropu/pg_stats_exporter [INFO] finished tweaking git repo https://github.com/maropu/pg_stats_exporter [INFO] tweaked toml for git repo https://github.com/maropu/pg_stats_exporter written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/maropu/pg_stats_exporter on toolchain 160e7623e8cbbf1feab2b6e2a24733a98c7bde9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/maropu/pg_stats_exporter 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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `opentelemetry-otlp` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `prometheus` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tracing-subscriber` dependency) [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded opentelemetry-semantic-conventions v0.11.0 [INFO] [stderr] Downloaded postgres v0.19.7 [INFO] [stderr] Downloaded routerify v3.0.0 [INFO] [stderr] Downloaded postgres-protocol v0.6.6 [INFO] [stderr] Downloaded tls-listener v0.7.0 [INFO] [stderr] Downloaded postgres-types v0.2.6 [INFO] [stderr] Downloaded tokio-postgres v0.7.10 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69336d41dc1684c0c5fc7a407a144c9d671b4a2106f5c723eef925f6ce43828e [INFO] running `Command { std: "docker" "start" "-a" "69336d41dc1684c0c5fc7a407a144c9d671b4a2106f5c723eef925f6ce43828e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69336d41dc1684c0c5fc7a407a144c9d671b4a2106f5c723eef925f6ce43828e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69336d41dc1684c0c5fc7a407a144c9d671b4a2106f5c723eef925f6ce43828e", kill_on_drop: false }` [INFO] [stdout] 69336d41dc1684c0c5fc7a407a144c9d671b4a2106f5c723eef925f6ce43828e [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7c9db7ceaf9614e952163d38420813f52be16e8670f0a08f6f20e7bbadd0e6c [INFO] running `Command { std: "docker" "start" "-a" "d7c9db7ceaf9614e952163d38420813f52be16e8670f0a08f6f20e7bbadd0e6c", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `opentelemetry-otlp` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `prometheus` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tracing-subscriber` dependency) [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling rustls v0.21.7 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustix v0.36.15 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling procfs v0.14.2 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling anstyle v1.0.3 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling anstream v0.5.0 [INFO] [stderr] Compiling postgres-protocol v0.6.6 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling clap_builder v4.4.5 [INFO] [stderr] Compiling const_format_proc_macros v0.2.31 [INFO] [stderr] Compiling filetime v0.2.22 [INFO] [stderr] Compiling xattr v1.0.1 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling postgres-types v0.2.6 [INFO] [stderr] Compiling const_format v0.2.31 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling git-version-macro v0.3.5 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling git-version v0.3.5 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling rustls-webpki v0.101.6 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling clap v4.4.5 [INFO] [stderr] Compiling opentelemetry_api v0.19.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tokio-util v0.7.9 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v2.3.3 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-postgres v0.7.10 [INFO] [stderr] Compiling opentelemetry_sdk v0.19.0 [INFO] [stderr] Compiling tokio-tar v0.3.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling opentelemetry v0.19.0 [INFO] [stderr] Compiling opentelemetry-semantic-conventions v0.11.0 [INFO] [stderr] Compiling postgres v0.19.7 [INFO] [stderr] Compiling tracing-opentelemetry v0.19.0 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling routerify v3.0.0 [INFO] [stderr] Compiling tls-listener v0.7.0 [INFO] [stderr] Compiling opentelemetry-http v0.8.0 [INFO] [stderr] Compiling tonic v0.8.3 [INFO] [stderr] Compiling opentelemetry-proto v0.2.0 [INFO] [stderr] Compiling opentelemetry-otlp v0.12.0 [INFO] [stderr] Compiling pg_stats_exporter v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 46s [INFO] running `Command { std: "docker" "inspect" "d7c9db7ceaf9614e952163d38420813f52be16e8670f0a08f6f20e7bbadd0e6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7c9db7ceaf9614e952163d38420813f52be16e8670f0a08f6f20e7bbadd0e6c", kill_on_drop: false }` [INFO] [stdout] d7c9db7ceaf9614e952163d38420813f52be16e8670f0a08f6f20e7bbadd0e6c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72a10f425294ddf5bb8e089749a1e453c9319b2508b093089542b84ba9c035c4 [INFO] running `Command { std: "docker" "start" "-a" "72a10f425294ddf5bb8e089749a1e453c9319b2508b093089542b84ba9c035c4", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `opentelemetry-otlp` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `prometheus` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tracing-subscriber` dependency) [INFO] [stderr] Compiling pg_stats_exporter v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.02s [INFO] running `Command { std: "docker" "inspect" "72a10f425294ddf5bb8e089749a1e453c9319b2508b093089542b84ba9c035c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72a10f425294ddf5bb8e089749a1e453c9319b2508b093089542b84ba9c035c4", kill_on_drop: false }` [INFO] [stdout] 72a10f425294ddf5bb8e089749a1e453c9319b2508b093089542b84ba9c035c4 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 96d0630928ea02678f563bda5d7714486fd5272d2324a45b2e6cf6691d03aba6 [INFO] running `Command { std: "docker" "start" "-a" "96d0630928ea02678f563bda5d7714486fd5272d2324a45b2e6cf6691d03aba6", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `opentelemetry-otlp` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `prometheus` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tracing-subscriber` dependency) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pg_stats_exporter-09011563f9f95b08) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test postgres_connection::tests_parse_host_port::test_ipv6 ... ok [INFO] [stdout] test postgres_connection::tests_parse_host_port::test_invalid_port ... ok [INFO] [stdout] test postgres_connection::tests_parse_host_port::test_invalid_host ... ok [INFO] [stdout] test postgres_connection::tests_pg_connection_config::test_ipv6 ... ok [INFO] [stdout] test postgres_connection::tests_pg_connection_config::test_with_options ... ok [INFO] [stdout] test postgres_connection::tests_pg_connection_config::test_with_password ... ok [INFO] [stdout] test postgres_connection::tests_parse_host_port::test_normal ... ok [INFO] [stdout] test postgres_connection::tests_pg_connection_config::test_can_connect ... ok [INFO] [stdout] test postgres_connection::tests_parse_host_port::test_no_port ... ok [INFO] [stderr] Running unittests src/bin/pg_stats_exporter.rs (/opt/rustwide/target/debug/deps/pg_stats_exporter-2f292594c65c9615) [INFO] [stdout] test postgres_connection::tests_pg_connection_config::test_no_password ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test verify_cli ... ok [INFO] [stderr] Doc-tests pg_stats_exporter [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/tracing_utils.rs - tracing_utils (line 11) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/tracing_utils.rs - tracing_utils (line 11) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_utils` [INFO] [stdout] --> src/tracing_utils.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 15 | let otlp_layer = tracing_utils::init_tracing("my_application").await.map(OpenTelemetryLayer::new); [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_utils` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/tracing_utils.rs, use `mod tracing_utils` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod tracing_utils; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use pg_stats_exporter::tracing_utils; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/tracing_utils.rs - tracing_utils (line 11) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "96d0630928ea02678f563bda5d7714486fd5272d2324a45b2e6cf6691d03aba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96d0630928ea02678f563bda5d7714486fd5272d2324a45b2e6cf6691d03aba6", kill_on_drop: false }` [INFO] [stdout] 96d0630928ea02678f563bda5d7714486fd5272d2324a45b2e6cf6691d03aba6