[INFO] fetching crate metrics_distributor 0.5.3... [INFO] checking metrics_distributor-0.5.3 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate metrics_distributor 0.5.3 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate metrics_distributor 0.5.3 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate metrics_distributor 0.5.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate metrics_distributor 0.5.3 [INFO] tweaked toml for crates.io crate metrics_distributor 0.5.3 written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate crates.io crate metrics_distributor 0.5.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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 router v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a8ffd62844b748cf6752c05e12f66c24ceb1d165b87db32838dd41c5a2a08d3 [INFO] running `Command { std: "docker" "start" "-a" "9a8ffd62844b748cf6752c05e12f66c24ceb1d165b87db32838dd41c5a2a08d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a8ffd62844b748cf6752c05e12f66c24ceb1d165b87db32838dd41c5a2a08d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a8ffd62844b748cf6752c05e12f66c24ceb1d165b87db32838dd41c5a2a08d3", kill_on_drop: false }` [INFO] [stdout] 9a8ffd62844b748cf6752c05e12f66c24ceb1d165b87db32838dd41c5a2a08d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a343b5cbc8d6ddcb74e5b04c3422ed6a50086b58607e08b9451dc12fa7e3d9c3 [INFO] running `Command { std: "docker" "start" "-a" "a343b5cbc8d6ddcb74e5b04c3422ed6a50086b58607e08b9451dc12fa7e3d9c3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking nom v2.2.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking encoding_rs v0.8.22 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking tokio v0.2.18 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking chrono v0.3.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking h2 v0.2.4 [INFO] [stderr] Checking tokio-tls v0.3.0 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Checking pin-project v0.4.9 [INFO] [stderr] Checking hyper v0.13.5 [INFO] [stderr] Checking hyper-tls v0.4.1 [INFO] [stderr] Checking reqwest v0.10.4 [INFO] [stderr] Checking metrics_distributor v0.5.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/forwarders/mod.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | fn forward_metrics(&self, AggregatedMetrics); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: AggregatedMetrics` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/forwarders/mod.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | fn forward_metrics(&self, AggregatedMetrics); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: AggregatedMetrics` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/lib.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | Count("a".to_owned(), 1), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `Dimension`, found struct `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/lib.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | Count("a".to_owned(), 2), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `Dimension`, found struct `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/lib.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | Count("a".to_owned(), 3), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `Dimension`, found struct `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/lib.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | Measure("b".to_owned(), 0.1), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `Dimension`, found struct `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/lib.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | Measure("b".to_owned(), 0.2), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `Dimension`, found struct `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/lib.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | Measure("b".to_owned(), 0.3), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `Dimension`, found struct `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/lib.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | Sample("c".to_owned(), 0.4), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `Dimension`, found struct `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/lib.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | Sample("c".to_owned(), 0.5), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `Dimension`, found struct `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/lib.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | Sample("c".to_owned(), 0.6), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `Dimension`, found struct `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `metrics_distributor` due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "a343b5cbc8d6ddcb74e5b04c3422ed6a50086b58607e08b9451dc12fa7e3d9c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a343b5cbc8d6ddcb74e5b04c3422ed6a50086b58607e08b9451dc12fa7e3d9c3", kill_on_drop: false }` [INFO] [stdout] a343b5cbc8d6ddcb74e5b04c3422ed6a50086b58607e08b9451dc12fa7e3d9c3