[INFO] cloning repository https://github.com/dviejokfs/opentelemetry-backend-poc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dviejokfs/opentelemetry-backend-poc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdviejokfs%2Fopentelemetry-backend-poc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdviejokfs%2Fopentelemetry-backend-poc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b3e723ed177fcf2364c8fcbda92446e8eaa331b [INFO] testing dviejokfs/opentelemetry-backend-poc against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdviejokfs%2Fopentelemetry-backend-poc" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dviejokfs/opentelemetry-backend-poc [INFO] finished tweaking git repo https://github.com/dviejokfs/opentelemetry-backend-poc [INFO] tweaked toml for git repo https://github.com/dviejokfs/opentelemetry-backend-poc written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dviejokfs/opentelemetry-backend-poc on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dviejokfs/opentelemetry-backend-poc 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f1cab2e72b8d74d1bd61fc627ed918120de0d3f98e3347fe60174ac37d507d6 [INFO] running `Command { std: "docker" "start" "-a" "1f1cab2e72b8d74d1bd61fc627ed918120de0d3f98e3347fe60174ac37d507d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f1cab2e72b8d74d1bd61fc627ed918120de0d3f98e3347fe60174ac37d507d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f1cab2e72b8d74d1bd61fc627ed918120de0d3f98e3347fe60174ac37d507d6", kill_on_drop: false }` [INFO] [stdout] 1f1cab2e72b8d74d1bd61fc627ed918120de0d3f98e3347fe60174ac37d507d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 591a2a89a52da8723768b2e4dae66692574c70317900ad909c35bfafdc997745 [INFO] running `Command { std: "docker" "start" "-a" "591a2a89a52da8723768b2e4dae66692574c70317900ad909c35bfafdc997745", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling cc v1.2.6 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.93 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling opentelemetry v0.27.1 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling rusqlite v0.30.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling opentelemetry_sdk v0.27.1 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling prost-derive v0.13.4 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling prost v0.13.4 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling opentelemetry-proto v0.27.0 [INFO] [stderr] Compiling opentelemetry-server-poc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `body::Bytes` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | body::Bytes, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExportTraceServiceRequest` and `trace_service_server::TraceServiceServer` [INFO] [stdout] --> src/main.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | collector::trace::v1::{trace_service_server::TraceServiceServer, ExportTraceServiceRequest}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opentelemetry_proto::tonic::common::v1::KeyValue` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use opentelemetry_proto::tonic::common::v1::KeyValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogRecord`, `LogsData`, and `ScopeLogs` [INFO] [stdout] --> src/main.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | use opentelemetry_proto::tonic::logs::v1::{LogRecord, LogsData, ResourceLogs, ScopeLogs}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::Connection` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use rusqlite::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/main.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::layer::SubscriberExt` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use tracing_subscriber::layer::SubscriberExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ScopeSpans` and `Span` [INFO] [stdout] --> src/main.rs:181:60 [INFO] [stdout] | [INFO] [stdout] 181 | use opentelemetry_proto::tonic::trace::v1::{ResourceSpans, ScopeSpans, Span}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_spans_by_trace` is never used [INFO] [stdout] --> src/main.rs:281:10 [INFO] [stdout] | [INFO] [stdout] 281 | async fn query_spans_by_trace( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_span_by_id` is never used [INFO] [stdout] --> src/main.rs:292:10 [INFO] [stdout] | [INFO] [stdout] 292 | async fn query_span_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Database` and `Serialization` are never constructed [INFO] [stdout] --> src/main.rs:1577:5 [INFO] [stdout] | [INFO] [stdout] 1576 | enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 1577 | Database(rusqlite::Error), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1578 | Serialization(serde_json::Error), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scope_info` is never read [INFO] [stdout] --> src/main.rs:549:13 [INFO] [stdout] | [INFO] [stdout] 538 | pub struct DbLogRecord { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 549 | pub scope_info: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbLogRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `store_attribute`, `query_logs_by_attribute`, `get_log_attributes`, `get_resource_attributes`, and `query_span_by_id` are never used [INFO] [stdout] --> src/main.rs:785:12 [INFO] [stdout] | [INFO] [stdout] 570 | impl Database { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 785 | fn store_attribute( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 822 | pub fn query_logs_by_attribute(&self, key: &str, value: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 865 | fn get_log_attributes(&self, log_id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1005 | fn get_resource_attributes(&self, log_id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1391 | pub fn query_span_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 49s [INFO] running `Command { std: "docker" "inspect" "591a2a89a52da8723768b2e4dae66692574c70317900ad909c35bfafdc997745", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "591a2a89a52da8723768b2e4dae66692574c70317900ad909c35bfafdc997745", kill_on_drop: false }` [INFO] [stdout] 591a2a89a52da8723768b2e4dae66692574c70317900ad909c35bfafdc997745 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] e29d9d23883c4c9f83e616ea3b6a2337745cfff86013559f38c693679cdd4ad0 [INFO] running `Command { std: "docker" "start" "-a" "e29d9d23883c4c9f83e616ea3b6a2337745cfff86013559f38c693679cdd4ad0", kill_on_drop: false }` [INFO] [stderr] Compiling opentelemetry-server-poc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `body::Bytes` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | body::Bytes, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExportTraceServiceRequest` and `trace_service_server::TraceServiceServer` [INFO] [stdout] --> src/main.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | collector::trace::v1::{trace_service_server::TraceServiceServer, ExportTraceServiceRequest}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opentelemetry_proto::tonic::common::v1::KeyValue` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use opentelemetry_proto::tonic::common::v1::KeyValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LogRecord`, `LogsData`, and `ScopeLogs` [INFO] [stdout] --> src/main.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | use opentelemetry_proto::tonic::logs::v1::{LogRecord, LogsData, ResourceLogs, ScopeLogs}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::Connection` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use rusqlite::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/main.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::layer::SubscriberExt` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use tracing_subscriber::layer::SubscriberExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ScopeSpans` and `Span` [INFO] [stdout] --> src/main.rs:181:60 [INFO] [stdout] | [INFO] [stdout] 181 | use opentelemetry_proto::tonic::trace::v1::{ResourceSpans, ScopeSpans, Span}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_spans_by_trace` is never used [INFO] [stdout] --> src/main.rs:281:10 [INFO] [stdout] | [INFO] [stdout] 281 | async fn query_spans_by_trace( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_span_by_id` is never used [INFO] [stdout] --> src/main.rs:292:10 [INFO] [stdout] | [INFO] [stdout] 292 | async fn query_span_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Database` and `Serialization` are never constructed [INFO] [stdout] --> src/main.rs:1577:5 [INFO] [stdout] | [INFO] [stdout] 1576 | enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 1577 | Database(rusqlite::Error), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1578 | Serialization(serde_json::Error), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scope_info` is never read [INFO] [stdout] --> src/main.rs:549:13 [INFO] [stdout] | [INFO] [stdout] 538 | pub struct DbLogRecord { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 549 | pub scope_info: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbLogRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `store_attribute`, `query_logs_by_attribute`, `get_log_attributes`, `get_resource_attributes`, and `query_span_by_id` are never used [INFO] [stdout] --> src/main.rs:785:12 [INFO] [stdout] | [INFO] [stdout] 570 | impl Database { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 785 | fn store_attribute( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 822 | pub fn query_logs_by_attribute(&self, key: &str, value: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 865 | fn get_log_attributes(&self, log_id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1005 | fn get_resource_attributes(&self, log_id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1391 | pub fn query_span_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.55s [INFO] running `Command { std: "docker" "inspect" "e29d9d23883c4c9f83e616ea3b6a2337745cfff86013559f38c693679cdd4ad0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e29d9d23883c4c9f83e616ea3b6a2337745cfff86013559f38c693679cdd4ad0", kill_on_drop: false }` [INFO] [stdout] e29d9d23883c4c9f83e616ea3b6a2337745cfff86013559f38c693679cdd4ad0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] daba1693886681dc0f04ca15d786acc58feefa0eaf0072ed584665d98006555d [INFO] running `Command { std: "docker" "start" "-a" "daba1693886681dc0f04ca15d786acc58feefa0eaf0072ed584665d98006555d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `body::Bytes` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | body::Bytes, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ExportTraceServiceRequest` and `trace_service_server::TraceServiceServer` [INFO] [stderr] --> src/main.rs:9:28 [INFO] [stderr] | [INFO] [stderr] 9 | collector::trace::v1::{trace_service_server::TraceServiceServer, ExportTraceServiceRequest}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `opentelemetry_proto::tonic::common::v1::KeyValue` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use opentelemetry_proto::tonic::common::v1::KeyValue; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LogRecord`, `LogsData`, and `ScopeLogs` [INFO] [stderr] --> src/main.rs:14:44 [INFO] [stderr] | [INFO] [stderr] 14 | use opentelemetry_proto::tonic::logs::v1::{LogRecord, LogsData, ResourceLogs, ScopeLogs}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rusqlite::Connection` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use rusqlite::Connection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `warn` [INFO] [stderr] --> src/main.rs:23:35 [INFO] [stderr] | [INFO] [stderr] 23 | use tracing::{debug, error, info, warn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tracing_subscriber::layer::SubscriberExt` [INFO] [stderr] --> src/main.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use tracing_subscriber::layer::SubscriberExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ScopeSpans` and `Span` [INFO] [stderr] --> src/main.rs:181:60 [INFO] [stderr] | [INFO] [stderr] 181 | use opentelemetry_proto::tonic::trace::v1::{ResourceSpans, ScopeSpans, Span}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `query_spans_by_trace` is never used [INFO] [stderr] --> src/main.rs:281:10 [INFO] [stderr] | [INFO] [stderr] 281 | async fn query_spans_by_trace( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `query_span_by_id` is never used [INFO] [stderr] --> src/main.rs:292:10 [INFO] [stderr] | [INFO] [stderr] 292 | async fn query_span_by_id( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Database` and `Serialization` are never constructed [INFO] [stderr] --> src/main.rs:1577:5 [INFO] [stderr] | [INFO] [stderr] 1576 | enum AppError { [INFO] [stderr] | -------- variants in this enum [INFO] [stderr] 1577 | Database(rusqlite::Error), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 1578 | Serialization(serde_json::Error), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `scope_info` is never read [INFO] [stderr] --> src/main.rs:549:13 [INFO] [stderr] | [INFO] [stderr] 538 | pub struct DbLogRecord { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 549 | pub scope_info: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DbLogRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `store_attribute`, `query_logs_by_attribute`, `get_log_attributes`, `get_resource_attributes`, and `query_span_by_id` are never used [INFO] [stderr] --> src/main.rs:785:12 [INFO] [stderr] | [INFO] [stderr] 570 | impl Database { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 785 | fn store_attribute( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 822 | pub fn query_logs_by_attribute(&self, key: &str, value: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 865 | fn get_log_attributes(&self, log_id: i64) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1005 | fn get_resource_attributes(&self, log_id: i64) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1391 | pub fn query_span_by_id( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `opentelemetry-server-poc` (bin "opentelemetry-server-poc" test) generated 13 warnings (run `cargo fix --bin "opentelemetry-server-poc" -p opentelemetry-server-poc --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/opentelemetry-server-poc/32683c6e6e70eedb/deps/opentelemetry_server_poc-32683c6e6e70eedb) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "daba1693886681dc0f04ca15d786acc58feefa0eaf0072ed584665d98006555d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daba1693886681dc0f04ca15d786acc58feefa0eaf0072ed584665d98006555d", kill_on_drop: false }` [INFO] [stdout] daba1693886681dc0f04ca15d786acc58feefa0eaf0072ed584665d98006555d