[INFO] fetching crate prometric-derive 0.1.3... [INFO] testing prometric-derive-0.1.3 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate prometric-derive 0.1.3 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate prometric-derive 0.1.3 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate prometric-derive 0.1.3 [INFO] tweaked toml for crates.io crate prometric-derive 0.1.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate prometric-derive 0.1.3 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate prometric-derive 0.1.3 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.53.5 [INFO] [stderr] Downloaded windows-link v0.2.1 [INFO] [stderr] Downloaded tokio-macros v2.6.0 [INFO] [stderr] Downloaded quote v1.0.41 [INFO] [stderr] Downloaded ident_case v1.0.1 [INFO] [stderr] Downloaded darling_macro v0.21.3 [INFO] [stderr] Downloaded lazy_static v1.5.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.69 [INFO] [stderr] Downloaded parking_lot_core v0.9.12 [INFO] [stderr] Downloaded darling v0.21.3 [INFO] [stderr] Downloaded parking_lot v0.12.5 [INFO] [stderr] Downloaded darling_core v0.21.3 [INFO] [stderr] Downloaded hyper-util v0.1.17 [INFO] [stderr] Downloaded prometheus v0.14.0 [INFO] [stderr] Downloaded lock_api v0.4.14 [INFO] [stderr] Downloaded redox_syscall v0.5.18 [INFO] [stderr] Downloaded hyper v1.7.0 [INFO] [stderr] Downloaded thiserror-impl v2.0.17 [INFO] [stderr] Downloaded thiserror v2.0.17 [INFO] [stderr] Downloaded protobuf-support v3.7.2 [INFO] [stderr] Downloaded protobuf v3.7.2 [INFO] [stderr] Downloaded syn v2.0.108 [INFO] [stderr] Downloaded thiserror v1.0.69 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.53.1 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.53.1 [INFO] [stderr] Downloaded windows_i686_msvc v0.53.1 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.53.1 [INFO] [stderr] Downloaded windows_i686_gnullvm v0.53.1 [INFO] [stderr] Downloaded windows_i686_gnu v0.53.1 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.53.1 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.53.1 [INFO] [stderr] Downloaded windows-sys v0.61.2 [INFO] [stderr] Downloaded windows-sys v0.60.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdc3f33ca64451381d011d50065e9ab55d81c992d52a83efd0372c4b330e9c7e [INFO] running `Command { std: "docker" "start" "-a" "cdc3f33ca64451381d011d50065e9ab55d81c992d52a83efd0372c4b330e9c7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdc3f33ca64451381d011d50065e9ab55d81c992d52a83efd0372c4b330e9c7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdc3f33ca64451381d011d50065e9ab55d81c992d52a83efd0372c4b330e9c7e", kill_on_drop: false }` [INFO] [stdout] cdc3f33ca64451381d011d50065e9ab55d81c992d52a83efd0372c4b330e9c7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd23cc83d5f316d374f81ec0a5a121ffe1cb2ef2d321a643027696a5b26ce36a [INFO] running `Command { std: "docker" "start" "-a" "fd23cc83d5f316d374f81ec0a5a121ffe1cb2ef2d321a643027696a5b26ce36a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling prometheus v0.14.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling protobuf-support v3.7.2 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling prometric-derive v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.35s [INFO] running `Command { std: "docker" "inspect" "fd23cc83d5f316d374f81ec0a5a121ffe1cb2ef2d321a643027696a5b26ce36a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd23cc83d5f316d374f81ec0a5a121ffe1cb2ef2d321a643027696a5b26ce36a", kill_on_drop: false }` [INFO] [stdout] fd23cc83d5f316d374f81ec0a5a121ffe1cb2ef2d321a643027696a5b26ce36a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c91f30396cc21189b04cca63c3e3746ad55c9e22dd9d9183236ddb29104cc827 [INFO] running `Command { std: "docker" "start" "-a" "c91f30396cc21189b04cca63c3e3746ad55c9e22dd9d9183236ddb29104cc827", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling prometheus v0.14.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling protobuf-support v3.7.2 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling prometric-derive v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `prometric` [INFO] [stdout] --> tests/macro.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use prometric::{Counter, Gauge, Histogram}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `prometric` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometric`, use `cargo add prometric` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prometric` [INFO] [stdout] --> examples/exporter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use prometric::{Counter, Gauge, exporter::ExporterBuilder}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `prometric` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometric`, use `cargo add prometric` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `prometric` [INFO] [stdout] --> examples/exporter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use prometric::{Counter, Gauge, exporter::ExporterBuilder}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `prometric` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometric`, use `cargo add prometric` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prometric` [INFO] [stdout] --> tests/exporter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use prometric::{Counter, exporter::ExporterBuilder}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `prometric` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometric`, use `cargo add prometric` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `prometric` [INFO] [stdout] --> tests/exporter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use prometric::{Counter, exporter::ExporterBuilder}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `prometric` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometric`, use `cargo add prometric` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prometric` [INFO] [stdout] --> tests/macro.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[prometric_derive::metrics(scope = "app")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `prometric` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometric`, use `cargo add prometric` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `prometric_derive::metrics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prometric` [INFO] [stdout] --> tests/macro.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | http_requests: prometric::Counter, [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `prometric` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometric`, use `cargo add prometric` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prometric` [INFO] [stdout] --> tests/macro.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | http_requests_duration: prometric::Histogram, [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `prometric` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometric`, use `cargo add prometric` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prometric` [INFO] [stdout] --> tests/macro.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | current_users: prometric::Gauge, [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `prometric` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometric`, use `cargo add prometric` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prometric` [INFO] [stdout] --> tests/macro.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | account_balance: prometric::Gauge, [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `prometric` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometric`, use `cargo add prometric` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prometric` [INFO] [stdout] --> tests/macro.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | errors: prometric::Counter, [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `prometric` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometric`, use `cargo add prometric` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prometric` [INFO] [stdout] --> tests/macro.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | #[prometric_derive::metrics(scope = "test", static)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `prometric` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometric`, use `cargo add prometric` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `prometric_derive::metrics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prometric` [INFO] [stdout] --> tests/macro.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | test_counter: prometric::Counter, [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `prometric` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometric`, use `cargo add prometric` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prometric` [INFO] [stdout] --> tests/macro.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | test_gauge: prometric::Gauge, [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `prometric` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometric`, use `cargo add prometric` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `prometric-derive` (test "macro") due to 10 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prometric` [INFO] [stdout] --> tests/exporter.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[metrics(scope = "test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `prometric` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometric`, use `cargo add prometric` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `metrics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `prometric-derive` (test "exporter") due to 3 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `prometric-derive` (example "exporter") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `prometric` [INFO] [stdout] --> examples/exporter.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[metrics(scope = "example")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `prometric` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `prometric`, use `cargo add prometric` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `metrics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c91f30396cc21189b04cca63c3e3746ad55c9e22dd9d9183236ddb29104cc827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c91f30396cc21189b04cca63c3e3746ad55c9e22dd9d9183236ddb29104cc827", kill_on_drop: false }` [INFO] [stdout] c91f30396cc21189b04cca63c3e3746ad55c9e22dd9d9183236ddb29104cc827