[INFO] cloning repository https://github.com/ROki1988/ot-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ROki1988/ot-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FROki1988%2Fot-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FROki1988%2Fot-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d5bd50eed44bd5b2206226737081ec3d26abc92d [INFO] testing ROki1988/ot-rs against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FROki1988%2Fot-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ROki1988/ot-rs [INFO] finished tweaking git repo https://github.com/ROki1988/ot-rs [INFO] tweaked toml for git repo https://github.com/ROki1988/ot-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ROki1988/ot-rs on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ROki1988/ot-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b5c97c515ca2771b61fb3db393ee07e8b5d1a4e362c2b0bf4e50324277b7712b [INFO] running `Command { std: "docker" "start" "b5c97c515ca2771b61fb3db393ee07e8b5d1a4e362c2b0bf4e50324277b7712b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5c97c515ca2771b61fb3db393ee07e8b5d1a4e362c2b0bf4e50324277b7712b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b5c97c515ca2771b61fb3db393ee07e8b5d1a4e362c2b0bf4e50324277b7712b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5c97c515ca2771b61fb3db393ee07e8b5d1a4e362c2b0bf4e50324277b7712b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b5c97c515ca2771b61fb3db393ee07e8b5d1a4e362c2b0bf4e50324277b7712b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling getrandom v0.1.9 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling ot-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `name`, `description`, `unit`, and `type_` are never read [INFO] [stdout] --> src/api/registry.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Variable { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 4 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | unit: Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | // FIXME: modify name to type [INFO] [stdout] 8 | type_: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Tracer` is never used [INFO] [stdout] --> src/api/trace.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | trait Tracer<'a, S> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SERVER`, `CLIENT`, `PRODUCER`, and `CONSUMER` are never constructed [INFO] [stdout] --> src/api/trace.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | enum SpanKind { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 30 | INTERNAL, [INFO] [stdout] 31 | SERVER, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | CLIENT, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | PRODUCER, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | CONSUMER, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Span` is never used [INFO] [stdout] --> src/api/trace.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | trait Span<'a>: Sized + Sync { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_with_attributes` are never used [INFO] [stdout] --> src/api/trace.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 69 | impl Event { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 70 | fn new(name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn new_with_attributes(name: &str, attributes: HashMap) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp`, `name`, and `attributes` are never read [INFO] [stdout] --> src/api/trace.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct TimedEvent { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 84 | timestamp: Timestamp, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 85 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 86 | attributes: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimedEvent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/api/trace.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) struct Timestamp(SystemTime); [INFO] [stdout] | --------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Timestamp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_millis`, `as_micros`, `as_nanos`, `duration_since_as_millis`, `duration_since_as_micros`, and `duration_since_as_nanos` are never used [INFO] [stdout] --> src/api/trace.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 107 | impl Timestamp { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | fn as_millis(&self) -> u128 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn as_micros(&self) -> u128 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn as_nanos(&self) -> u128 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn duration_since_as_millis(&self, other: &Self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | fn duration_since_as_micros(&self, other: &Self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | fn duration_since_as_nanos(&self, other: &Self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/api/trace/in_memory.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'a, 'b> InMemorySpan<'a, 'b> { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] 27 | fn span_duration_as_millis(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn span_duration_as_micros(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn span_duration_as_nanos(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn get_links_iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn get_events_iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn get_attributes_iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn get_start_epoch_time_as_millis(&self) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn get_finish_epoch_time_as_millis(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn get_start_epoch_time_as_micros(&self) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn get_finish_epoch_time_as_micros(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn get_start_epoch_time_as_nanos(&self) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn get_finish_epoch_time_as_nanos(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InMemoryTracer` is never constructed [INFO] [stdout] --> src/api/trace/in_memory.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | struct InMemoryTracer<'a, 'b> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_trace` is never used [INFO] [stdout] --> src/api/trace/in_memory.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 127 | impl<'a, 'b> InMemoryTracer<'a, 'b> { [INFO] [stdout] | ----------------------------------- method in this implementation [INFO] [stdout] 128 | fn current_trace(&self) -> Option<&TraceContext> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `variable` is never read [INFO] [stdout] --> src/api/trace/key.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Key { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 4 | variable: registry::Variable, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `value` are never read [INFO] [stdout] --> src/api/trace/key.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct KeyValue { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 17 | key: Key, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | value: Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scope` is never constructed [INFO] [stdout] --> src/api/trace/scope.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Scope { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/api/trace/scope.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 8 | / impl<'a, F, U, S> Scope [INFO] [stdout] 9 | | where [INFO] [stdout] 10 | | F: Fn() -> U, [INFO] [stdout] 11 | | S: Span<'a>, [INFO] [stdout] | |________________- associated items in this implementation [INFO] [stdout] 12 | { [INFO] [stdout] 13 | fn new(span: S, f: F) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn run(&mut self) -> U { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `trace_id`, `span_id`, `trace_option`, and `trace_state` are never read [INFO] [stdout] --> src/api/trace/span_data.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct ImmutableSpanContext { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 12 | trace_id: TraceId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | span_id: SpanId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | trace_option: TraceOption, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | trace_state: TraceState, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span_context` and `attributes` are never read [INFO] [stdout] --> src/api/trace/span_data.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct ImmutableLink { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 41 | span_context: ImmutableSpanContext, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 42 | attributes: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/trace/span_data.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct SpanData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 65 | // should not has lifetime, maybe [INFO] [stdout] 66 | context: ImmutableSpanContext, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 67 | resource: Resource, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 68 | parent_span_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 69 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 70 | kind: SpanKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | start_time: Timestamp, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 72 | end_time: Timestamp, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 73 | attributes: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 74 | events: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 75 | links: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 76 | status: Status, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_str` is never used [INFO] [stdout] --> src/api/unit.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Unit { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 8 | fn to_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/trace.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | fn context(&self) -> &SpanContext; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | fn context(&self) -> &SpanContext<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/trace/in_memory.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_links_iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 43 | fn get_links_iter(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/trace/in_memory.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | fn context(&self) -> &SpanContext { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | fn context(&self) -> &SpanContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `futures-preview` [INFO] [stderr] --> Cargo.toml:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | futures-preview = "=0.3.0-alpha.19" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `futures-preview` [INFO] [stderr] warning: `ot-rs` (manifest) generated 1 warning [INFO] [stderr] Finished `release` profile [optimized] target(s) in 7.74s [INFO] running `Command { std: "docker" "inspect" "b5c97c515ca2771b61fb3db393ee07e8b5d1a4e362c2b0bf4e50324277b7712b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b5c97c515ca2771b61fb3db393ee07e8b5d1a4e362c2b0bf4e50324277b7712b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures v0.1.28 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling semver v0.9.0 [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 rustc_version v0.2.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling syn v1.0.2 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling quote v1.0.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling sha-1 v0.8.1 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling safemem v0.3.2 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling cargo-husky v1.4.0 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling rusty-fork v0.2.2 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling bit-set v0.5.1 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling headers-core v0.1.1 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling tungstenite v0.9.1 [INFO] [stderr] Compiling urlencoding v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling headers-derive v0.1.1 [INFO] [stdout] warning: fields `name`, `description`, `unit`, and `type_` are never read [INFO] [stdout] --> src/api/registry.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Variable { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 4 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | unit: Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | // FIXME: modify name to type [INFO] [stdout] 8 | type_: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Tracer` is never used [INFO] [stdout] --> src/api/trace.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | trait Tracer<'a, S> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SERVER`, `CLIENT`, `PRODUCER`, and `CONSUMER` are never constructed [INFO] [stdout] --> src/api/trace.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | enum SpanKind { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 30 | INTERNAL, [INFO] [stdout] 31 | SERVER, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | CLIENT, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | PRODUCER, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | CONSUMER, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Span` is never used [INFO] [stdout] --> src/api/trace.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | trait Span<'a>: Sized + Sync { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_with_attributes` are never used [INFO] [stdout] --> src/api/trace.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 69 | impl Event { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 70 | fn new(name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn new_with_attributes(name: &str, attributes: HashMap) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp`, `name`, and `attributes` are never read [INFO] [stdout] --> src/api/trace.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct TimedEvent { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 84 | timestamp: Timestamp, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 85 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 86 | attributes: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimedEvent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/api/trace.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) struct Timestamp(SystemTime); [INFO] [stdout] | --------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Timestamp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_millis`, `as_micros`, `as_nanos`, `duration_since_as_millis`, `duration_since_as_micros`, and `duration_since_as_nanos` are never used [INFO] [stdout] --> src/api/trace.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 107 | impl Timestamp { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | fn as_millis(&self) -> u128 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn as_micros(&self) -> u128 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn as_nanos(&self) -> u128 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn duration_since_as_millis(&self, other: &Self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | fn duration_since_as_micros(&self, other: &Self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | fn duration_since_as_nanos(&self, other: &Self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/api/trace/in_memory.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'a, 'b> InMemorySpan<'a, 'b> { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] 27 | fn span_duration_as_millis(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn span_duration_as_micros(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn span_duration_as_nanos(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn get_links_iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn get_events_iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn get_attributes_iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn get_start_epoch_time_as_millis(&self) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn get_finish_epoch_time_as_millis(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn get_start_epoch_time_as_micros(&self) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn get_finish_epoch_time_as_micros(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn get_start_epoch_time_as_nanos(&self) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn get_finish_epoch_time_as_nanos(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InMemoryTracer` is never constructed [INFO] [stdout] --> src/api/trace/in_memory.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | struct InMemoryTracer<'a, 'b> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_trace` is never used [INFO] [stdout] --> src/api/trace/in_memory.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 127 | impl<'a, 'b> InMemoryTracer<'a, 'b> { [INFO] [stdout] | ----------------------------------- method in this implementation [INFO] [stdout] 128 | fn current_trace(&self) -> Option<&TraceContext> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `variable` is never read [INFO] [stdout] --> src/api/trace/key.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Key { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 4 | variable: registry::Variable, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `value` are never read [INFO] [stdout] --> src/api/trace/key.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct KeyValue { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 17 | key: Key, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | value: Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scope` is never constructed [INFO] [stdout] --> src/api/trace/scope.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Scope { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/api/trace/scope.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 8 | / impl<'a, F, U, S> Scope [INFO] [stdout] 9 | | where [INFO] [stdout] 10 | | F: Fn() -> U, [INFO] [stdout] 11 | | S: Span<'a>, [INFO] [stdout] | |________________- associated items in this implementation [INFO] [stdout] 12 | { [INFO] [stdout] 13 | fn new(span: S, f: F) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn run(&mut self) -> U { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `trace_id`, `span_id`, `trace_option`, and `trace_state` are never read [INFO] [stdout] --> src/api/trace/span_data.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct ImmutableSpanContext { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 12 | trace_id: TraceId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | span_id: SpanId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | trace_option: TraceOption, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | trace_state: TraceState, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span_context` and `attributes` are never read [INFO] [stdout] --> src/api/trace/span_data.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct ImmutableLink { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 41 | span_context: ImmutableSpanContext, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 42 | attributes: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/trace/span_data.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct SpanData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 65 | // should not has lifetime, maybe [INFO] [stdout] 66 | context: ImmutableSpanContext, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 67 | resource: Resource, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 68 | parent_span_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 69 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 70 | kind: SpanKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | start_time: Timestamp, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 72 | end_time: Timestamp, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 73 | attributes: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 74 | events: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 75 | links: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 76 | status: Status, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_str` is never used [INFO] [stdout] --> src/api/unit.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Unit { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 8 | fn to_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/trace.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | fn context(&self) -> &SpanContext; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | fn context(&self) -> &SpanContext<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/trace/in_memory.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | fn get_links_iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 43 | fn get_links_iter(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api/trace/in_memory.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | fn context(&self) -> &SpanContext { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | fn context(&self) -> &SpanContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling headers v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling proptest v0.9.4 [INFO] [stderr] Compiling warp v0.1.20 [INFO] [stdout] error[E0277]: the trait bound `!: From<()>` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/warp-0.1.20/src/test.rs:502:30 [INFO] [stdout] | [INFO] [stdout] 502 | .forward(tx.sink_map_err(|_| ())) [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<()>` is not implemented for `!` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 for more information) [INFO] [stdout] = help: you might have intended to use the type `()` here instead [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/warp-0.1.20/src/test.rs:502:33 [INFO] [stdout] | [INFO] [stdout] 502 | .forward(tx.sink_map_err(|_| ())) [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^ `Sink::SinkError` is `()` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `SplitSink` [INFO] [stdout] note: required by a bound in `futures::Stream::forward` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.28/src/stream/mod.rs:1067:28 [INFO] [stdout] | [INFO] [stdout] 183 | pub trait Stream { [INFO] [stdout] ... [INFO] [stdout] 1065 | fn forward(self, sink: S) -> Forward [INFO] [stdout] 1066 | where S: Sink, [INFO] [stdout] 1067 | Self::Error: From, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Stream::forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: From<()>` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/warp-0.1.20/src/test.rs:498:29 [INFO] [stdout] | [INFO] [stdout] 498 | let write = wr_rx [INFO] [stdout] | _____________________________^ [INFO] [stdout] 499 | | .map_err(|()| { [INFO] [stdout] 500 | | unreachable!("mpsc::Receiver doesn't error"); [INFO] [stdout] 501 | | }) [INFO] [stdout] 502 | | .forward(tx.sink_map_err(|_| ())) [INFO] [stdout] 503 | | .map(|_| ()); [INFO] [stdout] | |________________________________^ the trait `From<()>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] help: the trait `futures::Future` is conditionally implemented for `Forward` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.28/src/stream/forward.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / impl Future for Forward [INFO] [stdout] 79 | | where U: Sink, [INFO] [stdout] 80 | | T: Stream, [INFO] [stdout] 81 | | T::Error: From, [INFO] [stdout] | |_____________________------------------^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied requirement introduced here: ` as Stream>::Error: From<_>` [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 for more information) [INFO] [stdout] = help: you might have intended to use the type `()` here instead [INFO] [stdout] = note: required for `Forward, {closure@...}>, _>` to implement `futures::Future` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/release/build/warp/10d570363e5841b3/out/warp-10d570363e5841b3.long-type-7509205177895205389.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: From<()>` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/warp-0.1.20/src/test.rs:503:22 [INFO] [stdout] | [INFO] [stdout] 503 | .map(|_| ()); [INFO] [stdout] | ^^^ the trait `From<()>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] help: the trait `futures::Future` is conditionally implemented for `Forward` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.28/src/stream/forward.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / impl Future for Forward [INFO] [stdout] 79 | | where U: Sink, [INFO] [stdout] 80 | | T: Stream, [INFO] [stdout] 81 | | T::Error: From, [INFO] [stdout] | |_____________________------------------^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied requirement introduced here: ` as Stream>::Error: From<_>` [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 for more information) [INFO] [stdout] = help: you might have intended to use the type `()` here instead [INFO] [stdout] = note: required for `Forward, {closure@...}>, _>` to implement `futures::Future` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/release/build/warp/10d570363e5841b3/out/warp-10d570363e5841b3.long-type-7509205177895205389.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: From<()>` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/warp-0.1.20/src/test.rs:510:30 [INFO] [stdout] | [INFO] [stdout] 510 | .forward(rd_tx.sink_map_err(|_| ())) [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<()>` is not implemented for `!` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 for more information) [INFO] [stdout] = help: you might have intended to use the type `()` here instead [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/warp-0.1.20/src/test.rs:510:36 [INFO] [stdout] | [INFO] [stdout] 510 | .forward(rd_tx.sink_map_err(|_| ())) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^ `Sink::SinkError` is `()` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `UnboundedSender>` [INFO] [stdout] note: required by a bound in `futures::Stream::forward` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.28/src/stream/mod.rs:1067:28 [INFO] [stdout] | [INFO] [stdout] 183 | pub trait Stream { [INFO] [stdout] ... [INFO] [stdout] 1065 | fn forward(self, sink: S) -> Forward [INFO] [stdout] 1066 | where S: Sink, [INFO] [stdout] 1067 | Self::Error: From, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Stream::forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: From<()>` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/warp-0.1.20/src/test.rs:505:28 [INFO] [stdout] | [INFO] [stdout] 505 | let read = rx [INFO] [stdout] | ____________________________^ [INFO] [stdout] 506 | | .take_while(|m| { [INFO] [stdout] 507 | | futures::future::ok(!m.is_close()) [INFO] [stdout] 508 | | }) [INFO] [stdout] 509 | | .then(|result| Ok(result)) [INFO] [stdout] 510 | | .forward(rd_tx.sink_map_err(|_| ())) [INFO] [stdout] 511 | | .map(|_| ()); [INFO] [stdout] | |________________________________^ the trait `From<()>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] help: the trait `futures::Future` is conditionally implemented for `Forward` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.28/src/stream/forward.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / impl Future for Forward [INFO] [stdout] 79 | | where U: Sink, [INFO] [stdout] 80 | | T: Stream, [INFO] [stdout] 81 | | T::Error: From, [INFO] [stdout] | |_____________________------------------^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied requirement introduced here: ` as Stream>::Error: From<_>` [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 for more information) [INFO] [stdout] = help: you might have intended to use the type `()` here instead [INFO] [stdout] = note: required for `Forward, {closure@...}, _>, _>` to implement `futures::Future` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/release/build/warp/10d570363e5841b3/out/warp-10d570363e5841b3.long-type-12787839431810915251.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: From<()>` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/warp-0.1.20/src/test.rs:511:22 [INFO] [stdout] | [INFO] [stdout] 511 | .map(|_| ()); [INFO] [stdout] | ^^^ the trait `From<()>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] help: the trait `futures::Future` is conditionally implemented for `Forward` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.28/src/stream/forward.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / impl Future for Forward [INFO] [stdout] 79 | | where U: Sink, [INFO] [stdout] 80 | | T: Stream, [INFO] [stdout] 81 | | T::Error: From, [INFO] [stdout] | |_____________________------------------^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied requirement introduced here: ` as Stream>::Error: From<_>` [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 for more information) [INFO] [stdout] = help: you might have intended to use the type `()` here instead [INFO] [stdout] = note: required for `Forward, {closure@...}, _>, _>` to implement `futures::Future` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/release/build/warp/10d570363e5841b3/out/warp-10d570363e5841b3.long-type-12787839431810915251.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: From<()>` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/warp-0.1.20/src/test.rs:513:35 [INFO] [stdout] | [INFO] [stdout] 513 | rt.block_on(write.join(read)).expect("websocket forward"); [INFO] [stdout] | ^^^^ the trait `From<()>` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] help: the trait `futures::Future` is conditionally implemented for `futures::future::Map` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.28/src/future/map.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / impl Future for Map [INFO] [stdout] 23 | | where A: Future, [INFO] [stdout] 24 | | F: FnOnce(A::Item) -> U, [INFO] [stdout] | |_________________________________-^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied requirement introduced here: `<{closure@test.rs:511:26} as FnOnce<(_,)>>::Output == _` [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 for more information) [INFO] [stdout] = help: you might have intended to use the type `()` here instead [INFO] [stdout] = note: required for `Forward, {closure@...}, _>, _>` to implement `futures::Future` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Map, _>, {closure@...}>` to implement `futures::Future` [INFO] [stdout] note: required by a bound in `futures::future::Join` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.28/src/future/join.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | $($B: Future),* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Join` [INFO] [stdout] ... [INFO] [stdout] 117 | / generate! { [INFO] [stdout] 118 | | /// Future for the `join` combinator, waiting for two futures to [INFO] [stdout] 119 | | /// complete. [INFO] [stdout] 120 | | /// [INFO] [stdout] 121 | | /// This is created by the `Future::join` method. [INFO] [stdout] 122 | | (Join, new, ), [INFO] [stdout] ... | [INFO] [stdout] 140 | | (Join5, new5, ), [INFO] [stdout] 141 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/release/build/warp/10d570363e5841b3/out/warp-10d570363e5841b3.long-type-2055170533538170989.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `generate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `warp` (lib) due to 7 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused dependency `futures-preview` [INFO] [stderr] --> Cargo.toml:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | futures-preview = "=0.3.0-alpha.19" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `futures-preview` [INFO] [stderr] warning: `ot-rs` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "inspect" "b5c97c515ca2771b61fb3db393ee07e8b5d1a4e362c2b0bf4e50324277b7712b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5c97c515ca2771b61fb3db393ee07e8b5d1a4e362c2b0bf4e50324277b7712b", kill_on_drop: false }` [INFO] [stdout] b5c97c515ca2771b61fb3db393ee07e8b5d1a4e362c2b0bf4e50324277b7712b