[INFO] fetching crate metrique-service-metrics 0.1.18... [INFO] testing metrique-service-metrics-0.1.18 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate metrique-service-metrics 0.1.18 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate metrique-service-metrics 0.1.18 [INFO] finished tweaking crates.io crate metrique-service-metrics 0.1.18 [INFO] tweaked toml for crates.io crate metrique-service-metrics 0.1.18 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate metrique-service-metrics 0.1.18 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate metrique-service-metrics 0.1.18 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded metrique-writer-macro v0.1.7 [INFO] [stderr] Downloaded metrique-writer v0.1.19 [INFO] [stderr] Downloaded metrique-core v0.1.17 [INFO] [stderr] Downloaded metrique-writer-core v0.1.13 [INFO] [stderr] Downloaded str_inflector v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fdfabb3cf758d20d5a29c6e30d6a4ff37e5cc42439573bf9603dd767ce821ac [INFO] running `Command { std: "docker" "start" "-a" "1fdfabb3cf758d20d5a29c6e30d6a4ff37e5cc42439573bf9603dd767ce821ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fdfabb3cf758d20d5a29c6e30d6a4ff37e5cc42439573bf9603dd767ce821ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fdfabb3cf758d20d5a29c6e30d6a4ff37e5cc42439573bf9603dd767ce821ac", kill_on_drop: false }` [INFO] [stdout] 1fdfabb3cf758d20d5a29c6e30d6a4ff37e5cc42439573bf9603dd767ce821ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf2b54d13544ecb533c0ca3b6076ba415f14994449024ee881b0a354d4070b41 [INFO] running `Command { std: "docker" "start" "-a" "bf2b54d13544ecb533c0ca3b6076ba415f14994449024ee881b0a354d4070b41", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling zerocopy v0.8.35 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling ordered-float v5.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling sketches-ddsketch v0.3.0 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling rand_xoshiro v0.7.0 [INFO] [stderr] Compiling quanta v0.12.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling metrics v0.24.3 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling str_inflector v0.12.0 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling metrics-util v0.20.1 [INFO] [stderr] Compiling metrique-writer-core v0.1.13 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling metrique-core v0.1.17 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling metrique-writer-macro v0.1.7 [INFO] [stderr] Compiling metrique-writer v0.1.19 [INFO] [stderr] Compiling metrique-service-metrics v0.1.18 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.06s [INFO] running `Command { std: "docker" "inspect" "bf2b54d13544ecb533c0ca3b6076ba415f14994449024ee881b0a354d4070b41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf2b54d13544ecb533c0ca3b6076ba415f14994449024ee881b0a354d4070b41", kill_on_drop: false }` [INFO] [stdout] bf2b54d13544ecb533c0ca3b6076ba415f14994449024ee881b0a354d4070b41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 943f3736ac1ddd84ee3debf55d1a9d0ca8a60686742416490d2283da1e258f72 [INFO] running `Command { std: "docker" "start" "-a" "943f3736ac1ddd84ee3debf55d1a9d0ca8a60686742416490d2283da1e258f72", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling tracing-appender v0.2.4 [INFO] [stderr] Compiling metrique-service-metrics v0.1.18 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.63s [INFO] running `Command { std: "docker" "inspect" "943f3736ac1ddd84ee3debf55d1a9d0ca8a60686742416490d2283da1e258f72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "943f3736ac1ddd84ee3debf55d1a9d0ca8a60686742416490d2283da1e258f72", kill_on_drop: false }` [INFO] [stdout] 943f3736ac1ddd84ee3debf55d1a9d0ca8a60686742416490d2283da1e258f72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5035250a3c269e2b7ca379f37673d36a647a7a607f4b871530d0687cdc433753 [INFO] running `Command { std: "docker" "start" "-a" "5035250a3c269e2b7ca379f37673d36a647a7a607f4b871530d0687cdc433753", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/metrique_service_metrics-352ed4f08542a297) [INFO] [stdout] [INFO] [stderr] Doc-tests metrique_service_metrics [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - ServiceMetrics (line 23) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - ServiceMetrics (line 23) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `metrique` in this scope [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use metrique::unit_of_work::metrics; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `metrique` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `metrique`, use `cargo add metrique` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `metrique` [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use metrique::ServiceMetrics; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `metrique` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `metrique`, use `cargo add metrique` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `metrique_writer_format_emf` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use metrique_writer_format_emf::Emf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `metrique_writer_format_emf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `metrique_writer_format_emf`, use `cargo add metrique_writer_format_emf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RequestMetricsGuard` in this scope [INFO] [stdout] --> src/lib.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 34 | struct RequestMetrics { [INFO] [stdout] | --------------------- similarly named struct `RequestMetrics` defined here [INFO] [stdout] ... [INFO] [stdout] 39 | fn init() -> RequestMetricsGuard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 39 - fn init() -> RequestMetricsGuard { [INFO] [stdout] 39 + fn init() -> RequestMetrics { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append_on_drop` found for struct `RequestMetrics` in the current scope [INFO] [stdout] --> src/lib.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 34 | struct RequestMetrics { [INFO] [stdout] | --------------------- method `append_on_drop` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 40 | / RequestMetrics { [INFO] [stdout] 41 | | number_of_ducks: 0, [INFO] [stdout] 42 | | }.append_on_drop(ServiceMetrics::sink()) [INFO] [stdout] | | -^^^^^^^^^^^^^^ this is an associated function, not a method [INFO] [stdout] | |__________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in the trait `GlobalEntrySink` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metrique-writer-core-0.1.13/src/global.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / fn append_on_drop(entry: E) -> AppendOnDrop [INFO] [stdout] 100 | | where [INFO] [stdout] 101 | | Self: Sized + Clone, [INFO] [stdout] | |____________________________^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `append_on_drop`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `EntrySink` [INFO] [stdout] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 40 - RequestMetrics { [INFO] [stdout] 41 - number_of_ducks: 0, [INFO] [stdout] 42 - }.append_on_drop(ServiceMetrics::sink()) [INFO] [stdout] 40 + RequestMetrics::append_on_drop(ServiceMetrics::sink()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - ServiceMetrics (line 23) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.39s; merged doctests compilation took 0.18s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5035250a3c269e2b7ca379f37673d36a647a7a607f4b871530d0687cdc433753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5035250a3c269e2b7ca379f37673d36a647a7a607f4b871530d0687cdc433753", kill_on_drop: false }` [INFO] [stdout] 5035250a3c269e2b7ca379f37673d36a647a7a607f4b871530d0687cdc433753