[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] checking ROki1988/ot-rs against try#88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c for pr-154887 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FROki1988%2Fot-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ROki1988/ot-rs on toolchain 88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c" "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" "+88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52cc3e08d9eb18b24555e7d1fddf5bf91f4fbcfc0d57f7db72a8f1a7570b8c7e [INFO] running `Command { std: "docker" "start" "-a" "52cc3e08d9eb18b24555e7d1fddf5bf91f4fbcfc0d57f7db72a8f1a7570b8c7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52cc3e08d9eb18b24555e7d1fddf5bf91f4fbcfc0d57f7db72a8f1a7570b8c7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52cc3e08d9eb18b24555e7d1fddf5bf91f4fbcfc0d57f7db72a8f1a7570b8c7e", kill_on_drop: false }` [INFO] [stdout] 52cc3e08d9eb18b24555e7d1fddf5bf91f4fbcfc0d57f7db72a8f1a7570b8c7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7628fd3fe6421e52318ec6632465c6ee6b52447d43335a16777f8c48455add6 [INFO] running `Command { std: "docker" "start" "-a" "c7628fd3fe6421e52318ec6632465c6ee6b52447d43335a16777f8c48455add6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking futures v0.1.28 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling getrandom v0.1.9 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Checking rand_hc v0.1.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] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking block-padding v0.1.4 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling syn v1.0.2 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking http v0.1.18 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking tokio-executor v0.1.8 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking tokio-sync v0.1.6 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking tokio-timer v0.2.11 [INFO] [stderr] Checking mime v0.3.13 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking tokio-threadpool v0.1.15 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Compiling quote v1.0.1 [INFO] [stderr] Checking sha-1 v0.8.1 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking safemem v0.3.2 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking input_buffer v0.2.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking dtoa v0.4.4 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Compiling cargo-husky v1.4.0 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking headers-core v0.1.1 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking bit-vec v0.5.1 [INFO] [stderr] Checking urlencoding v1.0.0 [INFO] [stderr] Checking rusty-fork v0.2.2 [INFO] [stderr] Checking regex-syntax v0.6.11 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking bit-set v0.5.1 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tungstenite v0.9.1 [INFO] [stderr] Checking multipart v0.16.1 [INFO] [stderr] Compiling headers-derive v0.1.1 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.19 [INFO] [stderr] Checking 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] Checking headers v0.2.1 [INFO] [stderr] Checking proptest v0.9.4 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking 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] 1065 | fn forward(self, sink: S) -> Forward [INFO] [stdout] | ------- required by a bound in this associated function [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: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 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] = 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/debug/deps/warp-86d04a3f294b3080.long-type-4727646512912567838.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] 1065 | fn forward(self, sink: S) -> Forward [INFO] [stdout] | ------- required by a bound in this associated function [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: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 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] = 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, ..., ...>, ..., ...>, ...>` to implement `futures::Future` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/warp-86d04a3f294b3080.long-type-6018467819922523383.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:40 [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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `futures::Future` is implemented for `futures::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] = 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, ..., ...>, ..., ...>, ...>` to implement `futures::Future` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Map, ..., ...>, ...>, ...>` 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/mod.rs:716:29 [INFO] [stdout] | [INFO] [stdout] 715 | fn join(self, other: B) -> Join [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 716 | where B: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `Future::join` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/warp-86d04a3f294b3080.long-type-18349887631526525809.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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 5 previous errors [INFO] running `Command { std: "docker" "inspect" "c7628fd3fe6421e52318ec6632465c6ee6b52447d43335a16777f8c48455add6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7628fd3fe6421e52318ec6632465c6ee6b52447d43335a16777f8c48455add6", kill_on_drop: false }` [INFO] [stdout] c7628fd3fe6421e52318ec6632465c6ee6b52447d43335a16777f8c48455add6