[INFO] fetching crate opentelemetry_sdk 0.29.0... [INFO] checking opentelemetry_sdk-0.29.0 against try#0c7fed2b7584d310ca8221267fa1b3bec4df427f for pr-133502-4 [INFO] extracting crate opentelemetry_sdk 0.29.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate opentelemetry_sdk 0.29.0 on toolchain 0c7fed2b7584d310ca8221267fa1b3bec4df427f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate opentelemetry_sdk 0.29.0 [INFO] finished tweaking crates.io crate opentelemetry_sdk 0.29.0 [INFO] tweaked toml for crates.io crate opentelemetry_sdk 0.29.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 202 packages to latest compatible versions [INFO] [stderr] Adding rstest v0.23.0 (available: v0.25.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5206e40090dcc304f76011119cd3b6feafb41821cbe43c2bd3b850b248b178d [INFO] running `Command { std: "docker" "start" "-a" "a5206e40090dcc304f76011119cd3b6feafb41821cbe43c2bd3b850b248b178d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5206e40090dcc304f76011119cd3b6feafb41821cbe43c2bd3b850b248b178d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5206e40090dcc304f76011119cd3b6feafb41821cbe43c2bd3b850b248b178d", kill_on_drop: false }` [INFO] [stdout] a5206e40090dcc304f76011119cd3b6feafb41821cbe43c2bd3b850b248b178d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd0bc6609328646e46f9c1e8ac4bf275c8df3bd64e29d54490d0e924356eeaea [INFO] running `Command { std: "docker" "start" "-a" "fd0bc6609328646e46f9c1e8ac4bf275c8df3bd64e29d54490d0e924356eeaea", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Compiling winnow v0.7.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking clap_builder v4.5.37 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rstest_macros v0.23.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Compiling symbolic-demangle v12.15.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking symbolic-common v12.15.4 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking clap v4.5.37 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking object v0.36.7 [INFO] [stderr] Checking quick-xml v0.26.0 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking str_stack v0.1.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling pprof v0.14.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking inferno v0.11.21 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking opentelemetry v0.29.1 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking temp-env v0.3.6 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking opentelemetry_sdk v0.29.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking rstest v0.23.0 [INFO] [stdout] error[E0432]: unresolved imports `opentelemetry_sdk::metrics::new_view`, `opentelemetry_sdk::metrics::Instrument`, `opentelemetry_sdk::metrics::Stream`, `opentelemetry_sdk::metrics::View` [INFO] [stdout] --> benches/metric.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | data::ResourceMetrics, new_view, reader::MetricReader, Aggregation, Instrument, [INFO] [stdout] | ^^^^^^^^ no `new_view` in `metrics` ^^^^^^^^^^ no `Instrument` in `metrics` [INFO] [stdout] 13 | InstrumentKind, ManualReader, MetricResult, Pipeline, SdkMeterProvider, Stream, [INFO] [stdout] | ^^^^^^ no `Stream` in `metrics` [INFO] [stdout] 14 | Temporality, View, [INFO] [stdout] | ^^^^ no `View` in `metrics` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this trait instead: [INFO] [stdout] tracing::Instrument [INFO] [stdout] = help: consider importing this trait instead: [INFO] [stdout] futures_util::Stream [INFO] [stdout] help: a similar name exists in the module (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 12 - data::ResourceMetrics, new_view, reader::MetricReader, Aggregation, Instrument, [INFO] [stdout] 12 + data::ResourceMetrics, new_view, reader::MetricReader, Aggregation, instrument, [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 14 - Temporality, View, [INFO] [stdout] 14 + Temporality, view, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `opentelemetry_sdk` (bench "metric") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `from_u128` found for struct `TraceId` in the current scope [INFO] [stdout] --> src/logs/logger_provider.rs:603:36 [INFO] [stdout] | [INFO] [stdout] 603 | trace_id: TraceId::from_u128(13), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `TraceId` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `TraceId` consider using one of the following associated functions: [INFO] [stdout] TraceId::from_bytes [INFO] [stdout] TraceId::from_hex [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/opentelemetry-0.29.1/src/trace_context.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub const fn from_bytes(bytes: [u8; 16]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn from_hex(hex: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_u64` found for struct `SpanId` in the current scope [INFO] [stdout] --> src/logs/logger_provider.rs:604:34 [INFO] [stdout] | [INFO] [stdout] 604 | span_id: SpanId::from_u64(14), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `SpanId` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `SpanId` consider using one of the following associated functions: [INFO] [stdout] SpanId::from_bytes [INFO] [stdout] SpanId::from_hex [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/opentelemetry-0.29.1/src/trace_context.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub const fn from_bytes(bytes: [u8; 8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn from_hex(hex: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 604 - span_id: SpanId::from_u64(14), [INFO] [stdout] 604 + span_id: SpanId::from(14), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `metrics::instrument::Instrument` in the current scope [INFO] [stdout] --> src/metrics/view.rs:176:36 [INFO] [stdout] | [INFO] [stdout] 176 | let criteria = Instrument::new().name("*"); [INFO] [stdout] | ^^^ function or associated item not found in `Instrument` [INFO] [stdout] | [INFO] [stdout] ::: src/metrics/instrument.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Instrument { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [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 traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] candidate #2: `ahash::HashMapExt` [INFO] [stdout] candidate #3: `ahash::HashSetExt` [INFO] [stdout] candidate #4: `aligned_vec::Alignment` [INFO] [stdout] candidate #5: `criterion::stats::tuple::TupledDistributionsBuilder` [INFO] [stdout] candidate #6: `gimli::read::lookup::PubStuffEntry` [INFO] [stdout] candidate #7: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #8: `plotters::style::font::FontData` [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/cmp.rs:262:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `metrics::instrument::Stream` in the current scope [INFO] [stdout] --> src/metrics/view.rs:177:28 [INFO] [stdout] | [INFO] [stdout] 177 | let mask = Stream::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Stream` [INFO] [stdout] | [INFO] [stdout] ::: src/metrics/instrument.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | pub struct Stream { [INFO] [stdout] | ----------------- function or associated item `new` not found for this struct [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 traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] candidate #2: `ahash::HashMapExt` [INFO] [stdout] candidate #3: `ahash::HashSetExt` [INFO] [stdout] candidate #4: `aligned_vec::Alignment` [INFO] [stdout] candidate #5: `criterion::stats::tuple::TupledDistributionsBuilder` [INFO] [stdout] candidate #6: `gimli::read::lookup::PubStuffEntry` [INFO] [stdout] candidate #7: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #8: `plotters::style::font::FontData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_view` in this scope [INFO] [stdout] --> src/metrics/view.rs:179:20 [INFO] [stdout] | [INFO] [stdout] 179 | let view = new_view(criteria, mask).expect("Expected to create a new view"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `metrics::instrument::Instrument` in the current scope [INFO] [stdout] --> src/metrics/view.rs:181:43 [INFO] [stdout] | [INFO] [stdout] 181 | let test_instrument = Instrument::new().name("test_instrument"); [INFO] [stdout] | ^^^ function or associated item not found in `Instrument` [INFO] [stdout] | [INFO] [stdout] ::: src/metrics/instrument.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Instrument { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [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 traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] candidate #2: `ahash::HashMapExt` [INFO] [stdout] candidate #3: `ahash::HashSetExt` [INFO] [stdout] candidate #4: `aligned_vec::Alignment` [INFO] [stdout] candidate #5: `criterion::stats::tuple::TupledDistributionsBuilder` [INFO] [stdout] candidate #6: `gimli::read::lookup::PubStuffEntry` [INFO] [stdout] candidate #7: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #8: `plotters::style::font::FontData` [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/cmp.rs:262:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `metrics::instrument::Instrument` in the current scope [INFO] [stdout] --> src/metrics/view.rs:190:36 [INFO] [stdout] | [INFO] [stdout] 190 | let criteria = Instrument::new().name("counter_exact_match"); [INFO] [stdout] | ^^^ function or associated item not found in `Instrument` [INFO] [stdout] | [INFO] [stdout] ::: src/metrics/instrument.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Instrument { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [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 traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] candidate #2: `ahash::HashMapExt` [INFO] [stdout] candidate #3: `ahash::HashSetExt` [INFO] [stdout] candidate #4: `aligned_vec::Alignment` [INFO] [stdout] candidate #5: `criterion::stats::tuple::TupledDistributionsBuilder` [INFO] [stdout] candidate #6: `gimli::read::lookup::PubStuffEntry` [INFO] [stdout] candidate #7: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #8: `plotters::style::font::FontData` [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/cmp.rs:262:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `metrics::instrument::Stream` in the current scope [INFO] [stdout] --> src/metrics/view.rs:191:28 [INFO] [stdout] | [INFO] [stdout] 191 | let mask = Stream::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Stream` [INFO] [stdout] | [INFO] [stdout] ::: src/metrics/instrument.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | pub struct Stream { [INFO] [stdout] | ----------------- function or associated item `new` not found for this struct [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 traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] candidate #2: `ahash::HashMapExt` [INFO] [stdout] candidate #3: `ahash::HashSetExt` [INFO] [stdout] candidate #4: `aligned_vec::Alignment` [INFO] [stdout] candidate #5: `criterion::stats::tuple::TupledDistributionsBuilder` [INFO] [stdout] candidate #6: `gimli::read::lookup::PubStuffEntry` [INFO] [stdout] candidate #7: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #8: `plotters::style::font::FontData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_view` in this scope [INFO] [stdout] --> src/metrics/view.rs:193:20 [INFO] [stdout] | [INFO] [stdout] 193 | let view = new_view(criteria, mask).expect("Expected to create a new view"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `metrics::instrument::Instrument` in the current scope [INFO] [stdout] --> src/metrics/view.rs:195:47 [INFO] [stdout] | [INFO] [stdout] 195 | let matching_instrument = Instrument::new().name("counter_exact_match"); [INFO] [stdout] | ^^^ function or associated item not found in `Instrument` [INFO] [stdout] | [INFO] [stdout] ::: src/metrics/instrument.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Instrument { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [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 traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] candidate #2: `ahash::HashMapExt` [INFO] [stdout] candidate #3: `ahash::HashSetExt` [INFO] [stdout] candidate #4: `aligned_vec::Alignment` [INFO] [stdout] candidate #5: `criterion::stats::tuple::TupledDistributionsBuilder` [INFO] [stdout] candidate #6: `gimli::read::lookup::PubStuffEntry` [INFO] [stdout] candidate #7: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #8: `plotters::style::font::FontData` [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/cmp.rs:262:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `metrics::instrument::Instrument` in the current scope [INFO] [stdout] --> src/metrics/view.rs:201:51 [INFO] [stdout] | [INFO] [stdout] 201 | let non_matching_instrument = Instrument::new().name("counter_non_exact_match"); [INFO] [stdout] | ^^^ function or associated item not found in `Instrument` [INFO] [stdout] | [INFO] [stdout] ::: src/metrics/instrument.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Instrument { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [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 traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] candidate #2: `ahash::HashMapExt` [INFO] [stdout] candidate #3: `ahash::HashSetExt` [INFO] [stdout] candidate #4: `aligned_vec::Alignment` [INFO] [stdout] candidate #5: `criterion::stats::tuple::TupledDistributionsBuilder` [INFO] [stdout] candidate #6: `gimli::read::lookup::PubStuffEntry` [INFO] [stdout] candidate #7: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #8: `plotters::style::font::FontData` [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/cmp.rs:262:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `metrics::instrument::Instrument` in the current scope [INFO] [stdout] --> src/metrics/view.rs:210:36 [INFO] [stdout] | [INFO] [stdout] 210 | let criteria = Instrument::new().name("prefix_*"); [INFO] [stdout] | ^^^ function or associated item not found in `Instrument` [INFO] [stdout] | [INFO] [stdout] ::: src/metrics/instrument.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Instrument { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [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 traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] candidate #2: `ahash::HashMapExt` [INFO] [stdout] candidate #3: `ahash::HashSetExt` [INFO] [stdout] candidate #4: `aligned_vec::Alignment` [INFO] [stdout] candidate #5: `criterion::stats::tuple::TupledDistributionsBuilder` [INFO] [stdout] candidate #6: `gimli::read::lookup::PubStuffEntry` [INFO] [stdout] candidate #7: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #8: `plotters::style::font::FontData` [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/cmp.rs:262:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `metrics::instrument::Stream` in the current scope [INFO] [stdout] --> src/metrics/view.rs:211:28 [INFO] [stdout] | [INFO] [stdout] 211 | let mask = Stream::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Stream` [INFO] [stdout] | [INFO] [stdout] ::: src/metrics/instrument.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | pub struct Stream { [INFO] [stdout] | ----------------- function or associated item `new` not found for this struct [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 traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] candidate #2: `ahash::HashMapExt` [INFO] [stdout] candidate #3: `ahash::HashSetExt` [INFO] [stdout] candidate #4: `aligned_vec::Alignment` [INFO] [stdout] candidate #5: `criterion::stats::tuple::TupledDistributionsBuilder` [INFO] [stdout] candidate #6: `gimli::read::lookup::PubStuffEntry` [INFO] [stdout] candidate #7: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #8: `plotters::style::font::FontData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_view` in this scope [INFO] [stdout] --> src/metrics/view.rs:213:20 [INFO] [stdout] | [INFO] [stdout] 213 | let view = new_view(criteria, mask).expect("Expected to create a new view"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `metrics::instrument::Instrument` in the current scope [INFO] [stdout] --> src/metrics/view.rs:215:47 [INFO] [stdout] | [INFO] [stdout] 215 | let matching_instrument = Instrument::new().name("prefix_counter"); [INFO] [stdout] | ^^^ function or associated item not found in `Instrument` [INFO] [stdout] | [INFO] [stdout] ::: src/metrics/instrument.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Instrument { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [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 traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] candidate #2: `ahash::HashMapExt` [INFO] [stdout] candidate #3: `ahash::HashSetExt` [INFO] [stdout] candidate #4: `aligned_vec::Alignment` [INFO] [stdout] candidate #5: `criterion::stats::tuple::TupledDistributionsBuilder` [INFO] [stdout] candidate #6: `gimli::read::lookup::PubStuffEntry` [INFO] [stdout] candidate #7: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #8: `plotters::style::font::FontData` [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/cmp.rs:262:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `metrics::instrument::Instrument` in the current scope [INFO] [stdout] --> src/metrics/view.rs:221:51 [INFO] [stdout] | [INFO] [stdout] 221 | let non_matching_instrument = Instrument::new().name("nonprefix_counter"); [INFO] [stdout] | ^^^ function or associated item not found in `Instrument` [INFO] [stdout] | [INFO] [stdout] ::: src/metrics/instrument.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Instrument { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [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 traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] candidate #2: `ahash::HashMapExt` [INFO] [stdout] candidate #3: `ahash::HashSetExt` [INFO] [stdout] candidate #4: `aligned_vec::Alignment` [INFO] [stdout] candidate #5: `criterion::stats::tuple::TupledDistributionsBuilder` [INFO] [stdout] candidate #6: `gimli::read::lookup::PubStuffEntry` [INFO] [stdout] candidate #7: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #8: `plotters::style::font::FontData` [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/cmp.rs:262:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `metrics::instrument::Instrument` in the current scope [INFO] [stdout] --> src/metrics/view.rs:230:36 [INFO] [stdout] | [INFO] [stdout] 230 | let criteria = Instrument::new().name("test_?"); [INFO] [stdout] | ^^^ function or associated item not found in `Instrument` [INFO] [stdout] | [INFO] [stdout] ::: src/metrics/instrument.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Instrument { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [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 traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] candidate #2: `ahash::HashMapExt` [INFO] [stdout] candidate #3: `ahash::HashSetExt` [INFO] [stdout] candidate #4: `aligned_vec::Alignment` [INFO] [stdout] candidate #5: `criterion::stats::tuple::TupledDistributionsBuilder` [INFO] [stdout] candidate #6: `gimli::read::lookup::PubStuffEntry` [INFO] [stdout] candidate #7: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #8: `plotters::style::font::FontData` [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/cmp.rs:262:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `metrics::instrument::Stream` in the current scope [INFO] [stdout] --> src/metrics/view.rs:231:28 [INFO] [stdout] | [INFO] [stdout] 231 | let mask = Stream::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Stream` [INFO] [stdout] | [INFO] [stdout] ::: src/metrics/instrument.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | pub struct Stream { [INFO] [stdout] | ----------------- function or associated item `new` not found for this struct [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 traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] candidate #2: `ahash::HashMapExt` [INFO] [stdout] candidate #3: `ahash::HashSetExt` [INFO] [stdout] candidate #4: `aligned_vec::Alignment` [INFO] [stdout] candidate #5: `criterion::stats::tuple::TupledDistributionsBuilder` [INFO] [stdout] candidate #6: `gimli::read::lookup::PubStuffEntry` [INFO] [stdout] candidate #7: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #8: `plotters::style::font::FontData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_view` in this scope [INFO] [stdout] --> src/metrics/view.rs:233:20 [INFO] [stdout] | [INFO] [stdout] 233 | let view = new_view(criteria, mask).expect("Expected to create a new view"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `metrics::instrument::Instrument` in the current scope [INFO] [stdout] --> src/metrics/view.rs:236:47 [INFO] [stdout] | [INFO] [stdout] 236 | let matching_instrument = Instrument::new().name("test_1"); [INFO] [stdout] | ^^^ function or associated item not found in `Instrument` [INFO] [stdout] | [INFO] [stdout] ::: src/metrics/instrument.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Instrument { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [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 traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] candidate #2: `ahash::HashMapExt` [INFO] [stdout] candidate #3: `ahash::HashSetExt` [INFO] [stdout] candidate #4: `aligned_vec::Alignment` [INFO] [stdout] candidate #5: `criterion::stats::tuple::TupledDistributionsBuilder` [INFO] [stdout] candidate #6: `gimli::read::lookup::PubStuffEntry` [INFO] [stdout] candidate #7: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #8: `plotters::style::font::FontData` [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/cmp.rs:262:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `metrics::instrument::Instrument` in the current scope [INFO] [stdout] --> src/metrics/view.rs:243:51 [INFO] [stdout] | [INFO] [stdout] 243 | let non_matching_instrument = Instrument::new().name("test_12"); [INFO] [stdout] | ^^^ function or associated item not found in `Instrument` [INFO] [stdout] | [INFO] [stdout] ::: src/metrics/instrument.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Instrument { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [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 traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] candidate #2: `ahash::HashMapExt` [INFO] [stdout] candidate #3: `ahash::HashSetExt` [INFO] [stdout] candidate #4: `aligned_vec::Alignment` [INFO] [stdout] candidate #5: `criterion::stats::tuple::TupledDistributionsBuilder` [INFO] [stdout] candidate #6: `gimli::read::lookup::PubStuffEntry` [INFO] [stdout] candidate #7: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #8: `plotters::style::font::FontData` [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/0c7fed2b7584d310ca8221267fa1b3bec4df427f/library/core/src/cmp.rs:262:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `opentelemetry_sdk` (lib test) due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "fd0bc6609328646e46f9c1e8ac4bf275c8df3bd64e29d54490d0e924356eeaea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd0bc6609328646e46f9c1e8ac4bf275c8df3bd64e29d54490d0e924356eeaea", kill_on_drop: false }` [INFO] [stdout] fd0bc6609328646e46f9c1e8ac4bf275c8df3bd64e29d54490d0e924356eeaea