[INFO] cloning repository https://github.com/ivanitskiy/otlp-demo-issue
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ivanitskiy/otlp-demo-issue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanitskiy%2Fotlp-demo-issue", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanitskiy%2Fotlp-demo-issue'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a30e79f10dd0cc25cbede148f65e83cf66db7613
[INFO] testing ivanitskiy/otlp-demo-issue against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanitskiy%2Fotlp-demo-issue" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ivanitskiy/otlp-demo-issue
[INFO] finished tweaking git repo https://github.com/ivanitskiy/otlp-demo-issue
[INFO] tweaked toml for git repo https://github.com/ivanitskiy/otlp-demo-issue written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ivanitskiy/otlp-demo-issue on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ivanitskiy/otlp-demo-issue 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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 quote v1.0.29
[INFO] [stderr]   Downloaded dashmap v5.4.0
[INFO] [stderr]   Downloaded opentelemetry-semantic-conventions v0.11.0
[INFO] [stderr]   Downloaded opentelemetry_api v0.19.0
[INFO] [stderr]   Downloaded async-stream-impl v0.3.5
[INFO] [stderr]   Downloaded pin-project v1.1.1
[INFO] [stderr]   Downloaded addr2line v0.20.0
[INFO] [stderr]   Downloaded matchit v0.7.0
[INFO] [stderr]   Downloaded object v0.31.1
[INFO] [stderr]   Downloaded backtrace v0.3.68
[INFO] [stderr]   Downloaded axum v0.6.18
[INFO] [stderr]   Downloaded pin-project-internal v1.1.1
[INFO] [stderr]   Downloaded opentelemetry v0.19.0
[INFO] [stderr]   Downloaded opentelemetry-otlp v0.12.0
[INFO] [stderr]   Downloaded tonic v0.8.3
[INFO] [stderr]   Downloaded opentelemetry_sdk v0.19.0
[INFO] [stderr]   Downloaded async-stream v0.3.5
[INFO] [stderr]   Downloaded opentelemetry-proto v0.2.0
[INFO] [stderr]   Downloaded tokio v1.29.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f32c04dfe20ad6fb3cbced6ab833d3a5f19599b2a5e74cd3abc2bfb41844a1d7
[INFO] running `Command { std: "docker" "start" "-a" "f32c04dfe20ad6fb3cbced6ab833d3a5f19599b2a5e74cd3abc2bfb41844a1d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f32c04dfe20ad6fb3cbced6ab833d3a5f19599b2a5e74cd3abc2bfb41844a1d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f32c04dfe20ad6fb3cbced6ab833d3a5f19599b2a5e74cd3abc2bfb41844a1d7", kill_on_drop: false }`
[INFO] [stdout] f32c04dfe20ad6fb3cbced6ab833d3a5f19599b2a5e74cd3abc2bfb41844a1d7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2f45aae84a8bbe5322fdf4186ba63ceec91833721e468ae125eaa3507af631dc
[INFO] running `Command { std: "docker" "start" "-a" "2f45aae84a8bbe5322fdf4186ba63ceec91833721e468ae125eaa3507af631dc", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.63
[INFO] [stderr]    Compiling unicode-ident v1.0.9
[INFO] [stderr]    Compiling quote v1.0.29
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling tokio v1.29.1
[INFO] [stderr]    Compiling slab v0.4.8
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling async-trait v0.1.68
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling anyhow v1.0.71
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]    Compiling serde v1.0.164
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling urlencoding v2.1.2
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling axum v0.6.18
[INFO] [stderr]    Compiling matchit v0.7.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling dashmap v5.4.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.8
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling syn v2.0.22
[INFO] [stderr]    Compiling prost-derive v0.11.9
[INFO] [stderr]    Compiling prost v0.11.9
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.26
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling pin-project-internal v1.1.1
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling async-stream v0.3.5
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling pin-project v1.1.1
[INFO] [stderr]    Compiling futures-executor v0.3.28
[INFO] [stderr]    Compiling opentelemetry_api v0.19.0
[INFO] [stderr]    Compiling futures v0.3.28
[INFO] [stderr]    Compiling tokio-stream v0.1.14
[INFO] [stderr]    Compiling tokio-io-timeout v1.2.0
[INFO] [stderr]    Compiling opentelemetry_sdk v0.19.0
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling opentelemetry v0.19.0
[INFO] [stderr]    Compiling tokio-util v0.7.8
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling opentelemetry-semantic-conventions v0.11.0
[INFO] [stderr]    Compiling h2 v0.3.20
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling hyper v0.14.27
[INFO] [stderr]    Compiling hyper-timeout v0.4.1
[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 basic-otlp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `opentelemetry_sdk::metrics::MeterProvider`
[INFO] [stdout]   --> src/main.rs:11:25
[INFO] [stdout]    |
[INFO] [stdout] 11 | use opentelemetry_sdk::{metrics::MeterProvider, runtime, trace as sdktrace, Resource};
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^ no `MeterProvider` in `metrics`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing one of these traits instead:
[INFO] [stdout]            crate::metrics::MeterProvider
[INFO] [stdout]            opentelemetry_api::metrics::MeterProvider
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Tokio: AggregatorSelector` is not satisfied
[INFO] [stdout]   --> src/main.rs:37:18
[INFO] [stdout]    |
[INFO] [stdout] 37 |         .metrics(runtime::Tokio)
[INFO] [stdout]    |          ------- ^^^^^^^^^^^^^^ the trait `AggregatorSelector` is not implemented for `Tokio`
[INFO] [stdout]    |          |
[INFO] [stdout]    |          required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `opentelemetry_otlp::metric::<impl OtlpPipeline>::metrics`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/opentelemetry-otlp-0.12.0/src/metric.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn metrics<AS, TS, RT>(
[INFO] [stdout]    |            ------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 60 |         AS: AggregatorSelector,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^ required by this bound in `opentelemetry_otlp::metric::<impl OtlpPipeline>::metrics`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 3 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/main.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 |         .metrics(runtime::Tokio)
[INFO] [stdout]    |          ^^^^^^^---------------- two arguments are missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/opentelemetry-otlp-0.12.0/src/metric.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn metrics<AS, TS, RT>(
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] help: provide the arguments
[INFO] [stdout]    |
[INFO] [stdout] 37 |         .metrics(runtime::Tokio, /* temporality_selector */, /* rt */)
[INFO] [stdout]    |                                ++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `with_exporter` exists for struct `OtlpMetricPipeline<Tokio, _, _>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/main.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 36 | /     opentelemetry_otlp::new_pipeline()
[INFO] [stdout] 37 | |         .metrics(runtime::Tokio)
[INFO] [stdout] 38 | |         .with_exporter(
[INFO] [stdout]    | |         -^^^^^^^^^^^^^ method cannot be called on `OtlpMetricPipeline<Tokio, _, _>` due to unsatisfied trait bounds
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/opentelemetry_sdk-0.19.0/src/runtime.rs:49:1
[INFO] [stdout]    |
[INFO] [stdout] 49 |   pub struct Tokio;
[INFO] [stdout]    |   ---------------- doesn't satisfy `Tokio: AggregatorSelector`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Tokio: AggregatorSelector`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_any` found for struct `ObservableGauge` in the current scope
[INFO] [stdout]   --> src/main.rs:74:37
[INFO] [stdout]    |
[INFO] [stdout] 74 |     meter.register_callback(&[gauge.as_any()], move |observer| {
[INFO] [stdout]    |                                     ^^^^^^ method not found in `ObservableGauge<f64>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied
[INFO] [stdout]    --> src/main.rs:74:11
[INFO] [stdout]     |
[INFO] [stdout] 74  |       meter.register_callback(&[gauge.as_any()], move |observer| {
[INFO] [stdout]     |  ___________^^^^^^^^^^^^^^^^^____________________-
[INFO] [stdout] 75  | |         observer.observe_f64(&gauge, 1.0, COMMON_ATTRIBUTES.as_ref())
[INFO] [stdout] 76  | |     })?;
[INFO] [stdout]     | |_____- unexpected argument #2
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/opentelemetry_api-0.19.0/src/metrics/meter.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 150 |     pub fn register_callback<F>(&self, callback: F) -> Result<(), MetricsError>
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 74  -     meter.register_callback(&[gauge.as_any()], move |observer| {
[INFO] [stdout] 75  -         observer.observe_f64(&gauge, 1.0, COMMON_ATTRIBUTES.as_ref())
[INFO] [stdout] 76  -     })?;
[INFO] [stdout] 74  +     meter.register_callback(&[gauge.as_any()])?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> src/main.rs:79:15
[INFO] [stdout]    |
[INFO] [stdout] 79 |     histogram.record(5.5, COMMON_ATTRIBUTES.as_ref());
[INFO] [stdout]    |               ^^^^^^ --- argument #1 of type `&opentelemetry_api::Context` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/opentelemetry_api-0.19.0/src/metrics/instruments/histogram.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn record(&self, cx: &Context, value: T, attributes: &[KeyValue]) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 79 |     histogram.record(/* &opentelemetry_api::Context */, 5.5, COMMON_ATTRIBUTES.as_ref());
[INFO] [stdout]    |                      ++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> src/main.rs:95:23
[INFO] [stdout]    |
[INFO] [stdout] 95 |             histogram.record(1.3, &[]);
[INFO] [stdout]    |                       ^^^^^^ --- argument #1 of type `&opentelemetry_api::Context` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/opentelemetry_api-0.19.0/src/metrics/instruments/histogram.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn record(&self, cx: &Context, value: T, attributes: &[KeyValue]) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 95 |             histogram.record(/* &opentelemetry_api::Context */, 1.3, &[]);
[INFO] [stdout]    |                              ++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `basic-otlp` (bin "basic-otlp") due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "2f45aae84a8bbe5322fdf4186ba63ceec91833721e468ae125eaa3507af631dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f45aae84a8bbe5322fdf4186ba63ceec91833721e468ae125eaa3507af631dc", kill_on_drop: false }`
[INFO] [stdout] 2f45aae84a8bbe5322fdf4186ba63ceec91833721e468ae125eaa3507af631dc
