[INFO] cloning repository https://github.com/visnkmr/opentelemetrytest_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/visnkmr/opentelemetrytest_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvisnkmr%2Fopentelemetrytest_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvisnkmr%2Fopentelemetrytest_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 597b100949656ce621e6e427d1758229ede2506b [INFO] checking visnkmr/opentelemetrytest_rust against try#5cafabc9f16561d7796554d5d241c3068e2bd97f for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvisnkmr%2Fopentelemetrytest_rust" "/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/visnkmr/opentelemetrytest_rust on toolchain 5cafabc9f16561d7796554d5d241c3068e2bd97f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/visnkmr/opentelemetrytest_rust [INFO] finished tweaking git repo https://github.com/visnkmr/opentelemetrytest_rust [INFO] tweaked toml for git repo https://github.com/visnkmr/opentelemetrytest_rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/visnkmr/opentelemetrytest_rust 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" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fltk v1.4.8 [INFO] [stderr] Downloaded fltk-sys v1.4.8 [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8782ea5c367fc31da6b8e5615d4131c9fe66b739f5c489a46a20e7f8c4708d89 [INFO] running `Command { std: "docker" "start" "-a" "8782ea5c367fc31da6b8e5615d4131c9fe66b739f5c489a46a20e7f8c4708d89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8782ea5c367fc31da6b8e5615d4131c9fe66b739f5c489a46a20e7f8c4708d89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8782ea5c367fc31da6b8e5615d4131c9fe66b739f5c489a46a20e7f8c4708d89", kill_on_drop: false }` [INFO] [stdout] 8782ea5c367fc31da6b8e5615d4131c9fe66b739f5c489a46a20e7f8c4708d89 [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab34de4514636f5035dd23edb4864e8585fbaae5a410c9b4bb6d23ef8d84031b [INFO] running `Command { std: "docker" "start" "-a" "ab34de4514636f5035dd23edb4864e8585fbaae5a410c9b4bb6d23ef8d84031b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling async-trait v0.1.72 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling serde v1.0.177 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde_derive v1.0.177 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking integer-encoding v1.1.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking ttf-parser v0.19.1 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling fltk-sys v1.4.8 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking thrift v0.13.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Checking pin-project v1.1.2 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking opentelemetry_api v0.19.0 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking opentelemetry-http v0.8.0 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking opentelemetry v0.16.0 [INFO] [stderr] Checking opentelemetry-semantic-conventions v0.8.0 [INFO] [stderr] Checking opentelemetry-jaeger v0.15.0 [INFO] [stderr] Checking fltk v1.4.8 [INFO] [stderr] Checking testotel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `sync::mpsc`, `thread`, and `time::Duration` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{time::Duration, error::Error, thread, sync::mpsc}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sync::mpsc`, `thread`, and `time::Duration` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{time::Duration, error::Error, thread, sync::mpsc}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Key`, `SpanKind`, and `TracerProvider` [INFO] [stdout] --> src/main.rs:13:77 [INFO] [stdout] | [INFO] [stdout] 13 | ...t, SpanKind, Span, get_active_span}, sdk::{trace::{Config, TracerProvider}, Resource, propagation::TraceContextPropagator}, KeyValue, global, Key, C... [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Key`, `SpanKind`, and `TracerProvider` [INFO] [stdout] --> src/main.rs:13:77 [INFO] [stdout] | [INFO] [stdout] 13 | ...t, SpanKind, Span, get_active_span}, sdk::{trace::{Config, TracerProvider}, Resource, propagation::TraceContextPropagator}, KeyValue, global, Key, C... [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/main.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut k=false; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/main.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut k=false; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut k=false; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut k=false; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cxtin` [INFO] [stdout] --> src/main.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | get_active_span(|cxtin| async{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cxtin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cxtin` [INFO] [stdout] --> src/main.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | get_active_span(|cxtin| async{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cxtin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | / tokio::spawn(tokio::spawn(async move{ [INFO] [stdout] 52 | | let cx = Context::current(); [INFO] [stdout] 53 | | let tracer = global::tracer("example-opentelemetry/thread"); [INFO] [stdout] 54 | | let mut span = tracer.start("thread_code"); [INFO] [stdout] ... | [INFO] [stdout] 78 | | .with_context(cx) [INFO] [stdout] 79 | | .await; [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 51 | let _ = tokio::spawn(tokio::spawn(async move{ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | / tokio::spawn(tokio::spawn(async move{ [INFO] [stdout] 52 | | let cx = Context::current(); [INFO] [stdout] 53 | | let tracer = global::tracer("example-opentelemetry/thread"); [INFO] [stdout] 54 | | let mut span = tracer.start("thread_code"); [INFO] [stdout] ... | [INFO] [stdout] 78 | | .with_context(cx) [INFO] [stdout] 79 | | .await; [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 51 | let _ = tokio::spawn(tokio::spawn(async move{ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.85s [INFO] running `Command { std: "docker" "inspect" "ab34de4514636f5035dd23edb4864e8585fbaae5a410c9b4bb6d23ef8d84031b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab34de4514636f5035dd23edb4864e8585fbaae5a410c9b4bb6d23ef8d84031b", kill_on_drop: false }` [INFO] [stdout] ab34de4514636f5035dd23edb4864e8585fbaae5a410c9b4bb6d23ef8d84031b