[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#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [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] validating manifest of git repo https://github.com/ROki1988/ot-rs on toolchain 901e6d56697c79b2e80df6a487b2318ec6f57ee3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab7a7c1d0a6e32f85ab1ff060bfddfa77ee478a8a22a5fdb9856be9cdbf2dd02 [INFO] running `Command { std: "docker" "start" "-a" "ab7a7c1d0a6e32f85ab1ff060bfddfa77ee478a8a22a5fdb9856be9cdbf2dd02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab7a7c1d0a6e32f85ab1ff060bfddfa77ee478a8a22a5fdb9856be9cdbf2dd02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab7a7c1d0a6e32f85ab1ff060bfddfa77ee478a8a22a5fdb9856be9cdbf2dd02", kill_on_drop: false }` [INFO] [stdout] ab7a7c1d0a6e32f85ab1ff060bfddfa77ee478a8a22a5fdb9856be9cdbf2dd02 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 604a8937c9411e23c68f4deb82a61fa4e3b0c5ac12023a0d402516a392b56c08 [INFO] running `Command { std: "docker" "start" "-a" "604a8937c9411e23c68f4deb82a61fa4e3b0c5ac12023a0d402516a392b56c08", 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] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking futures v0.1.28 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling getrandom v0.1.9 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Checking tokio-executor v0.1.8 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking http v0.1.18 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking tokio-sync v0.1.6 [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking block-padding v0.1.4 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling syn v1.0.2 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling quote v1.0.1 [INFO] [stderr] Checking tokio-threadpool v0.1.15 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Checking sha-1 v0.8.1 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking mime v0.3.13 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-timer v0.2.11 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking safemem v0.3.2 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking headers-core v0.1.1 [INFO] [stderr] Checking input_buffer v0.2.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Compiling cargo-husky v1.4.0 [INFO] [stderr] Checking dtoa v0.4.4 [INFO] [stderr] Checking bit-vec v0.5.1 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking tungstenite v0.9.1 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Checking bit-set v0.5.1 [INFO] [stderr] Checking multipart v0.16.1 [INFO] [stderr] Checking rusty-fork v0.2.2 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.19 [INFO] [stderr] Checking regex-syntax v0.6.11 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking urlencoding v1.0.0 [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)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 43 | fn get_links_iter(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 84 | fn context(&self) -> &SpanContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling headers-derive v0.1.1 [INFO] [stderr] Checking headers v0.2.1 [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/accept_ranges.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone, Debug, Header, PartialEq)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/access_control_allow_credentials.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | &::http::header::ACCESS_CONTROL_ALLOW_CREDENTIALS [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/access_control_allow_headers.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Clone, Debug, PartialEq, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/access_control_allow_methods.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Debug, PartialEq, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/access_control_allow_origin.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Clone, Debug, PartialEq, Eq, Hash, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/access_control_expose_headers.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Debug, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/access_control_max_age.rs:30:62 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/access_control_request_headers.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Clone, Debug, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/access_control_request_method.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | &::http::header::ACCESS_CONTROL_REQUEST_METHOD [INFO] [stdout] | ^--------------------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/allow.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Clone, Debug, PartialEq, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/authorization.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | &::http::header::AUTHORIZATION [INFO] [stdout] | ^----------------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/cache_control.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | &::http::header::CACHE_CONTROL [INFO] [stdout] | ^----------------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/connection.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Clone, Debug, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/content_disposition.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | &::http::header::CONTENT_DISPOSITION [INFO] [stdout] | ^----------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/content_encoding.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Clone, Debug, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/content_length.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | &::http::header::CONTENT_LENGTH [INFO] [stdout] | ^------------------------------ [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/content_location.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone, Debug, PartialEq, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/content_range.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | &::http::header::CONTENT_RANGE [INFO] [stdout] | ^----------------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/content_type.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | &::http::header::CONTENT_TYPE [INFO] [stdout] | ^---------------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/cookie.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/date.rs:28:68 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/etag.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone, Debug, PartialEq, Eq, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/expect.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | &::http::header::EXPECT [INFO] [stdout] | ^---------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/expires.rs:32:68 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/host.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | &::http::header::HOST [INFO] [stdout] | ^-------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/if_match.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Clone, Debug, PartialEq, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/if_modified_since.rs:32:68 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/if_none_match.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Clone, Debug, PartialEq, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/if_range.rs:43:35 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Clone, Debug, PartialEq, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/if_unmodified_since.rs:33:68 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/last_modified.rs:33:68 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/location.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Clone, Debug, PartialEq, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/origin.rs:27:45 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Debug, PartialEq, Eq, Hash, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/pragma.rs:26:35 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone, Debug, PartialEq, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/proxy_authorization.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | &::http::header::PROXY_AUTHORIZATION [INFO] [stdout] | ^----------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/range.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | &::http::header::RANGE [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/referer.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, Clone, PartialEq, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/referrer_policy.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Clone, Debug, PartialEq, Eq, Hash, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/retry_after.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Clone, PartialEq, Eq, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/sec_websocket_accept.rs:24:45 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Clone, Debug, PartialEq, Eq, Hash, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/sec_websocket_key.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug, PartialEq, Eq, Hash, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/sec_websocket_version.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | &::http::header::SEC_WEBSOCKET_VERSION [INFO] [stdout] | ^------------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/server.rs:33:62 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/set_cookie.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | &::http::header::SET_COOKIE [INFO] [stdout] | ^-------------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/strict_transport_security.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | &::http::header::STRICT_TRANSPORT_SECURITY [INFO] [stdout] | ^----------------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/te.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone, Debug, PartialEq, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/transfer_encoding.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Clone, Debug, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/upgrade.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Debug, PartialEq, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/user_agent.rs:42:62 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/headers-0.2.1/src/common/vary.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, Clone, PartialEq, Header)] [INFO] [stdout] | ^^^^^^ returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Header` (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 E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `headers` (lib) due to 50 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "604a8937c9411e23c68f4deb82a61fa4e3b0c5ac12023a0d402516a392b56c08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "604a8937c9411e23c68f4deb82a61fa4e3b0c5ac12023a0d402516a392b56c08", kill_on_drop: false }` [INFO] [stdout] 604a8937c9411e23c68f4deb82a61fa4e3b0c5ac12023a0d402516a392b56c08