[INFO] cloning repository https://github.com/GregBowyer/opentelemetry-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GregBowyer/opentelemetry-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGregBowyer%2Fopentelemetry-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGregBowyer%2Fopentelemetry-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 42f5abb96a4a3fc716d354f241870a87b9f1e5aa [INFO] testing GregBowyer/opentelemetry-rs against master#c5842b0be783dffa5a49693541acb79115c7eeef for pr-102570 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGregBowyer%2Fopentelemetry-rs" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GregBowyer/opentelemetry-rs on toolchain c5842b0be783dffa5a49693541acb79115c7eeef [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5842b0be783dffa5a49693541acb79115c7eeef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GregBowyer/opentelemetry-rs [INFO] finished tweaking git repo https://github.com/GregBowyer/opentelemetry-rs [INFO] tweaked toml for git repo https://github.com/GregBowyer/opentelemetry-rs written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/GregBowyer/opentelemetry-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5842b0be783dffa5a49693541acb79115c7eeef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tempfile v3.0.8 [INFO] [stderr] Downloaded protobuf v2.6.2 [INFO] [stderr] Downloaded proptest v0.9.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+c5842b0be783dffa5a49693541acb79115c7eeef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91e7b500b563aa6ef373918ca6fc8a6c7c373d85dd308ae30303bcbd8720c796 [INFO] running `Command { std: "docker" "start" "-a" "91e7b500b563aa6ef373918ca6fc8a6c7c373d85dd308ae30303bcbd8720c796", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91e7b500b563aa6ef373918ca6fc8a6c7c373d85dd308ae30303bcbd8720c796", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91e7b500b563aa6ef373918ca6fc8a6c7c373d85dd308ae30303bcbd8720c796", kill_on_drop: false }` [INFO] [stdout] 91e7b500b563aa6ef373918ca6fc8a6c7c373d85dd308ae30303bcbd8720c796 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+c5842b0be783dffa5a49693541acb79115c7eeef" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e90afa762edb883b0d22f150df262015653bc9abc97d5baa37ab28b8124d3729 [INFO] running `Command { std: "docker" "start" "-a" "e90afa762edb883b0d22f150df262015653bc9abc97d5baa37ab28b8124d3729", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling protobuf v2.6.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [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] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling opentelemetry_api v0.1.0 (/opt/rustwide/workdir/opentelemetry-api) [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> opentelemetry-api/src/trace/tracer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> opentelemetry-api/src/context/mod.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn close(mut self); [INFO] [stdout] | ^^^^^^^^ help: remove `mut` from the parameter: `self` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] = note: `#[deny(patterns_in_fns_without_body)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `measurements` [INFO] [stdout] --> opentelemetry-api/src/metric/meter.rs:177:29 [INFO] [stdout] | [INFO] [stdout] 177 | fn record(&mut self, measurements: I) where I: IntoIterator { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_measurements` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> opentelemetry-api/src/metric/measure.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 92 | fn double_measurement<'a>(value: f64) -> Self::Measurement { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> opentelemetry-api/src/metric/measure.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | fn long_measurement<'a>(value: i64) -> Self::Measurement { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `builder` [INFO] [stdout] --> opentelemetry-api/src/metric/measure.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | fn build(builder: MeasureBuilder) -> Result where Self: Sized { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> opentelemetry-api/src/metric/measure.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn build(mut self) -> Result { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> opentelemetry-api/src/trace/trace_state.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let mut entries = self.entries.get_or_insert(self.parent.map_or(vec![], |x| x.entries.clone())); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> opentelemetry-api/src/trace/trace_state.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut entries = self.entries.get_or_insert(self.parent.map_or(vec![], |x| x.entries.clone())); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> opentelemetry-api/src/trace/trace_state.rs:120:51 [INFO] [stdout] | [INFO] [stdout] 120 | }), "Key cannot contain characters outside of {'a'-'z', '0'-'9', _, -, *, / }"); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 120 | }), "{}", "Key cannot contain characters outside of {'a'-'z', '0'-'9', _, -, *, / }"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on `Self: Drop` are most likely incorrect, consider instead using `std::mem::needs_drop` to detect whether a type can be trivially dropped [INFO] [stdout] --> opentelemetry-api/src/trace/span.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | pub trait Span: Drop { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(drop_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on `Self: Drop` are most likely incorrect, consider instead using `std::mem::needs_drop` to detect whether a type can be trivially dropped [INFO] [stdout] --> opentelemetry-api/src/context/mod.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Scope: Drop { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `opentelemetry_api` due to 2 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e90afa762edb883b0d22f150df262015653bc9abc97d5baa37ab28b8124d3729", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e90afa762edb883b0d22f150df262015653bc9abc97d5baa37ab28b8124d3729", kill_on_drop: false }` [INFO] [stdout] e90afa762edb883b0d22f150df262015653bc9abc97d5baa37ab28b8124d3729