[INFO] fetching crate opentracing-rs-jaeger 0.1.0... [INFO] testing opentracing-rs-jaeger-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate opentracing-rs-jaeger 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate opentracing-rs-jaeger 0.1.0 [INFO] finished tweaking crates.io crate opentracing-rs-jaeger 0.1.0 [INFO] tweaked toml for crates.io crate opentracing-rs-jaeger 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate opentracing-rs-jaeger 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 70 packages to latest compatible versions [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding rand v0.6.5 (available: v0.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded opentracing-rs-core v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80bc21f4f8078288ef5cc7d36170244faf048cec15755c43f35413d946f272ad [INFO] running `Command { std: "docker" "start" "-a" "80bc21f4f8078288ef5cc7d36170244faf048cec15755c43f35413d946f272ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80bc21f4f8078288ef5cc7d36170244faf048cec15755c43f35413d946f272ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80bc21f4f8078288ef5cc7d36170244faf048cec15755c43f35413d946f272ad", kill_on_drop: false }` [INFO] [stdout] 80bc21f4f8078288ef5cc7d36170244faf048cec15755c43f35413d946f272ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b04faab1fee698cb8142d5b9a277e09d8937b22b3da80f959b477b18bb13bdf4 [INFO] running `Command { std: "docker" "start" "-a" "b04faab1fee698cb8142d5b9a277e09d8937b22b3da80f959b477b18bb13bdf4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling opentracing-rs-core v0.1.0 [INFO] [stderr] Compiling opentracing-rs-jaeger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/tracer.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn serve(&mut self) -> (impl Future) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - pub fn serve(&mut self) -> (impl Future) { [INFO] [stdout] 39 + pub fn serve(&mut self) -> impl Future { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reporter.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | reporters: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | reporters: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reporter.rs:57:50 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn add_reporter(&mut self, reporter: Box) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | pub fn add_reporter(&mut self, reporter: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/reporter.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | fn report(&mut self, span: &Span) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_reporter` are never used [INFO] [stdout] --> src/reporter.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl CompositeReporter { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 51 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn add_reporter(&mut self, reporter: Box) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SAMPLER_PARAM_TAG_KEY` is never used [INFO] [stdout] --> src/sampler.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const SAMPLER_PARAM_TAG_KEY: &str = ""; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sampling_rate` is never read [INFO] [stdout] --> src/sampler.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ProbabilisticSampler { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 35 | sampling_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `high` is never read [INFO] [stdout] --> src/span.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TraceId { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 12 | pub(crate) low: u64, [INFO] [stdout] 13 | pub(crate) high: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TraceId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span_id` is never read [INFO] [stdout] --> src/span.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct SpanState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 27 | trace_id: TraceId, [INFO] [stdout] 28 | span_id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpanState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `service_name` and `sampler` are never read [INFO] [stdout] --> src/tracer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Tracer [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | service_name: Cow<'static, str>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | sampler: S, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.07s [INFO] running `Command { std: "docker" "inspect" "b04faab1fee698cb8142d5b9a277e09d8937b22b3da80f959b477b18bb13bdf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b04faab1fee698cb8142d5b9a277e09d8937b22b3da80f959b477b18bb13bdf4", kill_on_drop: false }` [INFO] [stdout] b04faab1fee698cb8142d5b9a277e09d8937b22b3da80f959b477b18bb13bdf4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d23b33627facdffd189bb6c6cdd092e8eab59d5babd0df4629b1bc4ba314ed15 [INFO] running `Command { std: "docker" "start" "-a" "d23b33627facdffd189bb6c6cdd092e8eab59d5babd0df4629b1bc4ba314ed15", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/tracer.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn serve(&mut self) -> (impl Future) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - pub fn serve(&mut self) -> (impl Future) { [INFO] [stdout] 39 + pub fn serve(&mut self) -> impl Future { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reporter.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | reporters: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | reporters: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reporter.rs:57:50 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn add_reporter(&mut self, reporter: Box) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | pub fn add_reporter(&mut self, reporter: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/reporter.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | fn report(&mut self, span: &Span) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_reporter` are never used [INFO] [stdout] --> src/reporter.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl CompositeReporter { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 51 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn add_reporter(&mut self, reporter: Box) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SAMPLER_PARAM_TAG_KEY` is never used [INFO] [stdout] --> src/sampler.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const SAMPLER_PARAM_TAG_KEY: &str = ""; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sampling_rate` is never read [INFO] [stdout] --> src/sampler.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ProbabilisticSampler { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 35 | sampling_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling opentracing-rs-jaeger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `high` is never read [INFO] [stdout] --> src/span.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TraceId { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 12 | pub(crate) low: u64, [INFO] [stdout] 13 | pub(crate) high: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TraceId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span_id` is never read [INFO] [stdout] --> src/span.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct SpanState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 27 | trace_id: TraceId, [INFO] [stdout] 28 | span_id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpanState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `service_name` and `sampler` are never read [INFO] [stdout] --> src/tracer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Tracer [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | service_name: Cow<'static, str>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | sampler: S, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/tracer.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn serve(&mut self) -> (impl Future) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - pub fn serve(&mut self) -> (impl Future) { [INFO] [stdout] 39 + pub fn serve(&mut self) -> impl Future { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reporter.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | reporters: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | reporters: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reporter.rs:57:50 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn add_reporter(&mut self, reporter: Box) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | pub fn add_reporter(&mut self, reporter: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/reporter.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | fn report(&mut self, span: &Span) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_reporter` are never used [INFO] [stdout] --> src/reporter.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl CompositeReporter { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 51 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn add_reporter(&mut self, reporter: Box) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SAMPLER_PARAM_TAG_KEY` is never used [INFO] [stdout] --> src/sampler.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const SAMPLER_PARAM_TAG_KEY: &str = ""; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sampling_rate` is never read [INFO] [stdout] --> src/sampler.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ProbabilisticSampler { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 35 | sampling_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `high` is never read [INFO] [stdout] --> src/span.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TraceId { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 12 | pub(crate) low: u64, [INFO] [stdout] 13 | pub(crate) high: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TraceId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span_id` is never read [INFO] [stdout] --> src/span.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct SpanState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 27 | trace_id: TraceId, [INFO] [stdout] 28 | span_id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpanState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `service_name` and `sampler` are never read [INFO] [stdout] --> src/tracer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Tracer [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | service_name: Cow<'static, str>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | sampler: S, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "d23b33627facdffd189bb6c6cdd092e8eab59d5babd0df4629b1bc4ba314ed15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d23b33627facdffd189bb6c6cdd092e8eab59d5babd0df4629b1bc4ba314ed15", kill_on_drop: false }` [INFO] [stdout] d23b33627facdffd189bb6c6cdd092e8eab59d5babd0df4629b1bc4ba314ed15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ebe222cbd2e12e768098389e5cd99cc8975b8b55633eaf69d70648f56e52203e [INFO] running `Command { std: "docker" "start" "-a" "ebe222cbd2e12e768098389e5cd99cc8975b8b55633eaf69d70648f56e52203e", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/tracer.rs:39:32 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn serve(&mut self) -> (impl Future) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 39 - pub fn serve(&mut self) -> (impl Future) { [INFO] [stderr] 39 + pub fn serve(&mut self) -> impl Future { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/reporter.rs:47:24 [INFO] [stderr] | [INFO] [stderr] 47 | reporters: Vec>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 47 | reporters: Vec>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/reporter.rs:57:50 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn add_reporter(&mut self, reporter: Box) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 57 | pub fn add_reporter(&mut self, reporter: Box) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `span` [INFO] [stderr] --> src/reporter.rs:40:26 [INFO] [stderr] | [INFO] [stderr] 40 | fn report(&mut self, span: &Span) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `add_reporter` are never used [INFO] [stderr] --> src/reporter.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 50 | impl CompositeReporter { [INFO] [stderr] | ---------------------- associated items in this implementation [INFO] [stderr] 51 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | pub fn add_reporter(&mut self, reporter: Box) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `SAMPLER_PARAM_TAG_KEY` is never used [INFO] [stderr] --> src/sampler.rs:6:7 [INFO] [stderr] | [INFO] [stderr] 6 | const SAMPLER_PARAM_TAG_KEY: &str = ""; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `sampling_rate` is never read [INFO] [stderr] --> src/sampler.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub struct ProbabilisticSampler { [INFO] [stderr] | -------------------- field in this struct [INFO] [stderr] 35 | sampling_rate: f64, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `high` is never read [INFO] [stderr] --> src/span.rs:13:16 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct TraceId { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 12 | pub(crate) low: u64, [INFO] [stderr] 13 | pub(crate) high: u64, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TraceId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `span_id` is never read [INFO] [stderr] --> src/span.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct SpanState { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 27 | trace_id: TraceId, [INFO] [stderr] 28 | span_id: u64, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SpanState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `service_name` and `sampler` are never read [INFO] [stderr] --> src/tracer.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Tracer [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 12 | service_name: Cow<'static, str>, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 13 | sampler: S, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `opentracing-rs-jaeger` (lib) generated 10 warnings (run `cargo fix --lib -p opentracing-rs-jaeger` to apply 3 suggestions) [INFO] [stderr] warning: `opentracing-rs-jaeger` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/opentracing_rs_jaeger-86cfcefbd570ec48) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ebe222cbd2e12e768098389e5cd99cc8975b8b55633eaf69d70648f56e52203e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebe222cbd2e12e768098389e5cd99cc8975b8b55633eaf69d70648f56e52203e", kill_on_drop: false }` [INFO] [stdout] ebe222cbd2e12e768098389e5cd99cc8975b8b55633eaf69d70648f56e52203e