[INFO] fetching crate metriki-r2d2 0.1.0... [INFO] checking metriki-r2d2-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate metriki-r2d2 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate metriki-r2d2 0.1.0 [INFO] finished tweaking crates.io crate metriki-r2d2 0.1.0 [INFO] tweaked toml for crates.io crate metriki-r2d2 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate metriki-r2d2 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 77 packages to latest compatible versions [INFO] [stderr] Adding derive_builder v0.10.2 (available: v0.20.2) [INFO] [stderr] Adding diesel v1.4.8 (available: v2.2.12) [INFO] [stderr] Adding env_logger v0.9.3 (available: v0.11.8) [INFO] [stderr] Adding metriki-log-reporter v0.1.4 (available: v0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded metriki-core v1.8.0 [INFO] [stderr] Downloaded metriki-log-reporter v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf574817548b99f1e22d59c26ee5b01476906dff4ee741f1141c998bfddf21e6 [INFO] running `Command { std: "docker" "start" "-a" "cf574817548b99f1e22d59c26ee5b01476906dff4ee741f1141c998bfddf21e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf574817548b99f1e22d59c26ee5b01476906dff4ee741f1141c998bfddf21e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf574817548b99f1e22d59c26ee5b01476906dff4ee741f1141c998bfddf21e6", kill_on_drop: false }` [INFO] [stdout] cf574817548b99f1e22d59c26ee5b01476906dff4ee741f1141c998bfddf21e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0d3a024bed664011595dcb170ebd8975efc6e358ee761c9a42bfcaa14ac788b [INFO] running `Command { std: "docker" "start" "-a" "a0d3a024bed664011595dcb170ebd8975efc6e358ee761c9a42bfcaa14ac788b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking hdrhistogram v7.5.4 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking metriki-core v1.8.0 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Checking derive_builder v0.10.2 [INFO] [stderr] Checking metriki-r2d2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking metriki-log-reporter v0.1.4 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metriki-log-reporter-0.1.4/src/lib.rs:27:63 [INFO] [stdout] | [INFO] [stdout] 27 | Metric::Counter(c) => self.report_counter(key, c.as_ref()), [INFO] [stdout] | -------------- ^^^ expected `&str`, found `&Key` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Key` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metriki-log-reporter-0.1.4/src/lib.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | fn report_counter(&self, name: &str, c: &Counter) { [INFO] [stdout] | ^^^^^^^^^^^^^^ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metriki-log-reporter-0.1.4/src/lib.rs:28:59 [INFO] [stdout] | [INFO] [stdout] 28 | Metric::Gauge(g) => self.report_gauge(key, g.as_ref()), [INFO] [stdout] | ------------ ^^^ expected `&str`, found `&Key` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Key` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metriki-log-reporter-0.1.4/src/lib.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn report_gauge(&self, name: &str, gauge: &Gauge) { [INFO] [stdout] | ^^^^^^^^^^^^ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metriki-log-reporter-0.1.4/src/lib.rs:29:59 [INFO] [stdout] | [INFO] [stdout] 29 | Metric::Timer(t) => self.report_timer(key, t.as_ref()), [INFO] [stdout] | ------------ ^^^ expected `&str`, found `&Key` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Key` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metriki-log-reporter-0.1.4/src/lib.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | fn report_timer(&self, name: &str, t: &Timer) { [INFO] [stdout] | ^^^^^^^^^^^^ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metriki-log-reporter-0.1.4/src/lib.rs:30:59 [INFO] [stdout] | [INFO] [stdout] 30 | Metric::Meter(m) => self.report_meter(key, m.as_ref()), [INFO] [stdout] | ------------ ^^^ expected `&str`, found `&Key` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Key` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metriki-log-reporter-0.1.4/src/lib.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn report_meter(&self, name: &str, meter: &Meter) { [INFO] [stdout] | ^^^^^^^^^^^^ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metriki-log-reporter-0.1.4/src/lib.rs:31:67 [INFO] [stdout] | [INFO] [stdout] 31 | Metric::Histogram(h) => self.report_histogram(key, &h.snapshot()), [INFO] [stdout] | ---------------- ^^^ expected `&str`, found `&Key` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Key` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metriki-log-reporter-0.1.4/src/lib.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn report_histogram(&self, name: &str, snapshot: &HistogramSnapshot) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `metriki-log-reporter` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "a0d3a024bed664011595dcb170ebd8975efc6e358ee761c9a42bfcaa14ac788b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0d3a024bed664011595dcb170ebd8975efc6e358ee761c9a42bfcaa14ac788b", kill_on_drop: false }` [INFO] [stdout] a0d3a024bed664011595dcb170ebd8975efc6e358ee761c9a42bfcaa14ac788b