[INFO] fetching crate opentracing-rs-jaeger 0.1.0... [INFO] testing opentracing-rs-jaeger-0.1.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate opentracing-rs-jaeger 0.1.0 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate opentracing-rs-jaeger 0.1.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7ca7c8b651e6dec8f90266ae66588b19bea073dede13ef7943a6703c5d7b92b [INFO] running `Command { std: "docker" "start" "-a" "d7ca7c8b651e6dec8f90266ae66588b19bea073dede13ef7943a6703c5d7b92b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7ca7c8b651e6dec8f90266ae66588b19bea073dede13ef7943a6703c5d7b92b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7ca7c8b651e6dec8f90266ae66588b19bea073dede13ef7943a6703c5d7b92b", kill_on_drop: false }` [INFO] [stdout] d7ca7c8b651e6dec8f90266ae66588b19bea073dede13ef7943a6703c5d7b92b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8bfad47b550343f88c088cef46e6a814373144345aca69fecd0b19ece3f738e7 [INFO] running `Command { std: "docker" "start" "-a" "8bfad47b550343f88c088cef46e6a814373144345aca69fecd0b19ece3f738e7", kill_on_drop: false }` [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling rand v0.6.5 [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-fs v0.1.7 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [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: struct `CompositeReporter` is never constructed [INFO] [stdout] --> src/reporter.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct CompositeReporter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] [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 3.28s [INFO] running `Command { std: "docker" "inspect" "8bfad47b550343f88c088cef46e6a814373144345aca69fecd0b19ece3f738e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bfad47b550343f88c088cef46e6a814373144345aca69fecd0b19ece3f738e7", kill_on_drop: false }` [INFO] [stdout] 8bfad47b550343f88c088cef46e6a814373144345aca69fecd0b19ece3f738e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf7867b825819d7833f6d016d7747b255034fa8268e803744276daf12beb4b69 [INFO] running `Command { std: "docker" "start" "-a" "cf7867b825819d7833f6d016d7747b255034fa8268e803744276daf12beb4b69", 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] [stderr] Compiling opentracing-rs-jaeger v0.1.0 (/opt/rustwide/workdir) [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: struct `CompositeReporter` is never constructed [INFO] [stdout] --> src/reporter.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct CompositeReporter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] [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] [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: struct `CompositeReporter` is never constructed [INFO] [stdout] --> src/reporter.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct CompositeReporter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] [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 1.55s [INFO] running `Command { std: "docker" "inspect" "cf7867b825819d7833f6d016d7747b255034fa8268e803744276daf12beb4b69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf7867b825819d7833f6d016d7747b255034fa8268e803744276daf12beb4b69", kill_on_drop: false }` [INFO] [stdout] cf7867b825819d7833f6d016d7747b255034fa8268e803744276daf12beb4b69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7b9b0e88e636e77bd26720eb5b64f2d0e6c7d661ff178ef5d3f6601c392691e6 [INFO] running `Command { std: "docker" "start" "-a" "7b9b0e88e636e77bd26720eb5b64f2d0e6c7d661ff178ef5d3f6601c392691e6", 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: struct `CompositeReporter` is never constructed [INFO] [stderr] --> src/reporter.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct CompositeReporter { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` 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] 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 11 warnings (run `cargo fix --lib -p opentracing-rs-jaeger` to apply 3 suggestions) [INFO] [stderr] warning: `opentracing-rs-jaeger` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/opentracing_rs_jaeger-3cbb576ed22c6108) [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] [stderr] Doc-tests opentracing_rs_jaeger [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: 1 warning emitted [INFO] [stderr] [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" "7b9b0e88e636e77bd26720eb5b64f2d0e6c7d661ff178ef5d3f6601c392691e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b9b0e88e636e77bd26720eb5b64f2d0e6c7d661ff178ef5d3f6601c392691e6", kill_on_drop: false }` [INFO] [stdout] 7b9b0e88e636e77bd26720eb5b64f2d0e6c7d661ff178ef5d3f6601c392691e6