[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 try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [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 c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2b5f42dcea6fcb20f6f40c58e0590bc66b7458448b09d682d1ca0b811c9c973 [INFO] running `Command { std: "docker" "start" "-a" "d2b5f42dcea6fcb20f6f40c58e0590bc66b7458448b09d682d1ca0b811c9c973", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2b5f42dcea6fcb20f6f40c58e0590bc66b7458448b09d682d1ca0b811c9c973", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2b5f42dcea6fcb20f6f40c58e0590bc66b7458448b09d682d1ca0b811c9c973", kill_on_drop: false }` [INFO] [stdout] d2b5f42dcea6fcb20f6f40c58e0590bc66b7458448b09d682d1ca0b811c9c973 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b7b6610e6b9f66e6fc35c64ba43949d018c1549276f84c1215009d1c63e67a43 [INFO] running `Command { std: "docker" "start" "-a" "b7b6610e6b9f66e6fc35c64ba43949d018c1549276f84c1215009d1c63e67a43", 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 futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling lazy_static v1.3.0 [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 futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [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)]` 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.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | 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] = 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] 40 | fn context(&self) -> &SpanContext<'_>; [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] 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.95s [INFO] running `Command { std: "docker" "inspect" "b7b6610e6b9f66e6fc35c64ba43949d018c1549276f84c1215009d1c63e67a43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7b6610e6b9f66e6fc35c64ba43949d018c1549276f84c1215009d1c63e67a43", kill_on_drop: false }` [INFO] [stdout] b7b6610e6b9f66e6fc35c64ba43949d018c1549276f84c1215009d1c63e67a43 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 84f2f4384a869c9c294d3df3a9a36086268b1c77b927448f4ab255357cd3e94c [INFO] running `Command { std: "docker" "start" "-a" "84f2f4384a869c9c294d3df3a9a36086268b1c77b927448f4ab255357cd3e94c", 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 semver-parser v0.7.0 [INFO] [stderr] Compiling log v0.4.8 [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 stable_deref_trait v1.1.1 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [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 arrayvec v0.4.11 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling memoffset v0.5.1 [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 httparse v1.3.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling syn v1.0.2 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling tempfile v3.1.0 [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 crossbeam-deque v0.7.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling quote v1.0.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling sha-1 v0.8.1 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling safemem v0.3.2 [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 dtoa v0.4.4 [INFO] [stderr] Compiling cargo-husky v1.4.0 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling headers-core v0.1.1 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling rusty-fork v0.2.2 [INFO] [stderr] Compiling bit-set v0.5.1 [INFO] [stderr] Compiling urlencoding v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling scoped-tls v1.0.0 [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.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | 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] = 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] 40 | fn context(&self) -> &SpanContext<'_>; [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] 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 tungstenite v0.9.1 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling headers-derive v0.1.1 [INFO] [stderr] Compiling headers v0.2.1 [INFO] [stderr] Compiling proptest v0.9.4 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling warp v0.1.20 [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)]` 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: multiple methods are never used [INFO] [stdout] --> src/api/trace.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | trait Span<'a>: Sized + Sync { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 38 | fn start(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | [INFO] [stdout] 40 | fn context(&self) -> &SpanContext; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 41 | [INFO] [stdout] 42 | fn resource(&self) -> &Resource; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 43 | [INFO] [stdout] 44 | fn is_recording_events(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | [INFO] [stdout] 46 | fn add_link(&mut self, link: Link<'a>); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 47 | [INFO] [stdout] 48 | fn add_event(&mut self, event: Event); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 49 | [INFO] [stdout] 50 | fn set_attribute(&mut self, key: String, value: Value); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 51 | [INFO] [stdout] 52 | fn update_name(&mut self, name: &str); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 53 | [INFO] [stdout] 54 | fn set_status(&mut self, next: Status); [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: 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: 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.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | 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] = 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] 40 | fn context(&self) -> &SpanContext<'_>; [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] 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] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcp2y8Ic/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libot_rs-a4f6f18ecfa691df.rlib,libbitflags-561a4f1321538a32.rlib,librand-fe7a33358c7b4ccb.rlib,librand_chacha-901c5d834327236e.rlib,libc2_chacha-159ec9f27ac403af.rlib,libppv_lite86-d2b6008f6a6cb16f.rlib,liblazy_static-801c3e42b9a00efa.rlib,librand_core-4535737b5b9f3cf2.rlib,libgetrandom-62d6f282cd97d3d7.rlib,libcfg_if-5f8284c8b6f04027.rlib,libbytes-09874ee254d1efb3.rlib,libeither-0e87726480a7d90d.rlib,libiovec-0c5d9bea4a2c3088.rlib,liblibc-46f3b98612db1c39.rlib,libbyteorder-61869a15e141d6eb.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcp2y8Ic/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/span_context-0a20debdc1b7746a" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-62d6f282cd97d3d7.rlib(getrandom-62d6f282cd97d3d7.getrandom.45b1ddbe1b63c218-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.1.9/src/util_libc.rs:131:(.text._ZN9getrandom9util_libc13open_readonly17hb57452ff1895a87cE+0x79): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ot-rs` (test "span_context") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcPEG9JD/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libbitflags-561a4f1321538a32.rlib,librand-fe7a33358c7b4ccb.rlib,librand_chacha-901c5d834327236e.rlib,libc2_chacha-159ec9f27ac403af.rlib,libppv_lite86-d2b6008f6a6cb16f.rlib,liblazy_static-801c3e42b9a00efa.rlib,librand_core-4535737b5b9f3cf2.rlib,libgetrandom-62d6f282cd97d3d7.rlib,libcfg_if-5f8284c8b6f04027.rlib,libbytes-09874ee254d1efb3.rlib,libeither-0e87726480a7d90d.rlib,libiovec-0c5d9bea4a2c3088.rlib,liblibc-46f3b98612db1c39.rlib,libbyteorder-61869a15e141d6eb.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcPEG9JD/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/ot_rs-ed3b7f4199d375c6" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-62d6f282cd97d3d7.rlib(getrandom-62d6f282cd97d3d7.getrandom.45b1ddbe1b63c218-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.1.9/src/util_libc.rs:131:(.text._ZN9getrandom9util_libc13open_readonly17hb57452ff1895a87cE+0x79): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ot-rs` (lib test) due to 1 previous error; 18 warnings emitted [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcvQVqdE/symbols.o" "<7 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libot_rs-a4f6f18ecfa691df.rlib,libbytes-09874ee254d1efb3.rlib,libeither-0e87726480a7d90d.rlib,libiovec-0c5d9bea4a2c3088.rlib,libproptest-98997ee66c6f09a5.rlib,libregex_syntax-74e5d3578723157f.rlib,libbyteorder-61869a15e141d6eb.rlib,librand-a781dc5ad77787c0.rlib,librand_xorshift-53e86778f5ce919e.rlib,librand_pcg-e3c0d9920aaec571.rlib,librand_hc-6dc516f61621a2e6.rlib,librand_chacha-fcef33426c305058.rlib,librand_isaac-047a883fcf14d827.rlib,librand_core-f95d039c327d494d.rlib,librand_os-e9c3d7579384a93f.rlib,librand_jitter-b5788f9d55ce55e9.rlib,librand_core-5dd93ed12702f197.rlib,librusty_fork-aea4be20b7bb0ad0.rlib,libwait_timeout-81ab92ae17c59f49.rlib,libtempfile-0e9c27739efa2c4f.rlib,librand-fe7a33358c7b4ccb.rlib,librand_chacha-901c5d834327236e.rlib,libc2_chacha-159ec9f27ac403af.rlib,libppv_lite86-d2b6008f6a6cb16f.rlib,librand_core-4535737b5b9f3cf2.rlib,libgetrandom-62d6f282cd97d3d7.rlib,liblibc-46f3b98612db1c39.rlib,libremove_dir_all-3a2e6d1ec33fb04e.rlib,libcfg_if-5f8284c8b6f04027.rlib,libfnv-9e53809b7a9a2c90.rlib,libquick_error-8024a33ccfe1e040.rlib,liblazy_static-801c3e42b9a00efa.rlib,libbit_set-a548d4a25e57b862.rlib,libbit_vec-6d59ac40ae3f5427.rlib,libbitflags-561a4f1321538a32.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcvQVqdE/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/resources-d9950d11bb0912ce" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-62d6f282cd97d3d7.rlib(getrandom-62d6f282cd97d3d7.getrandom.45b1ddbe1b63c218-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.1.9/src/util_libc.rs:131:(.text._ZN9getrandom9util_libc13open_readonly17hb57452ff1895a87cE+0x79): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ot-rs` (test "resources") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "84f2f4384a869c9c294d3df3a9a36086268b1c77b927448f4ab255357cd3e94c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84f2f4384a869c9c294d3df3a9a36086268b1c77b927448f4ab255357cd3e94c", kill_on_drop: false }` [INFO] [stdout] 84f2f4384a869c9c294d3df3a9a36086268b1c77b927448f4ab255357cd3e94c