[INFO] fetching crate llm-registry-server 0.1.0... [INFO] testing llm-registry-server-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate llm-registry-server 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate llm-registry-server 0.1.0 [INFO] finished tweaking crates.io crate llm-registry-server 0.1.0 [INFO] tweaked toml for crates.io crate llm-registry-server 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate llm-registry-server 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate llm-registry-server 0.1.0 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3327f783ccf03c2bab1c175aaca7bea6ea7a3c11f572786249b42136f7866a02 [INFO] running `Command { std: "docker" "start" "-a" "3327f783ccf03c2bab1c175aaca7bea6ea7a3c11f572786249b42136f7866a02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3327f783ccf03c2bab1c175aaca7bea6ea7a3c11f572786249b42136f7866a02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3327f783ccf03c2bab1c175aaca7bea6ea7a3c11f572786249b42136f7866a02", kill_on_drop: false }` [INFO] [stdout] 3327f783ccf03c2bab1c175aaca7bea6ea7a3c11f572786249b42136f7866a02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40eb6514d23ab89879a6b4c650563603577d4e8953d8f6a112e9950356b9c728 [INFO] running `Command { std: "docker" "start" "-a" "40eb6514d23ab89879a6b4c650563603577d4e8953d8f6a112e9950356b9c728", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling cc v1.2.46 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling pest v2.8.3 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling pest_meta v2.8.3 [INFO] [stderr] Compiling rustls-pki-types v1.13.0 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling pest_generator v2.8.3 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling signatory v0.27.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-retry v0.3.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling async-graphql-value v7.0.17 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling async-graphql-parser v7.0.17 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling nkeys v0.3.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling pest_derive v2.8.3 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling ulid v1.2.1 [INFO] [stderr] Compiling serde_nanos v0.1.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling opentelemetry v0.21.0 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling nuid v0.5.0 [INFO] [stderr] Compiling hdrhistogram v7.5.4 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling compression-core v0.4.30 [INFO] [stderr] Compiling ascii_utils v0.9.3 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling fast_chemail v0.9.6 [INFO] [stderr] Compiling compression-codecs v0.4.32 [INFO] [stderr] Compiling deadpool v0.10.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling llm-registry-core v0.1.0 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling redis v0.24.0 [INFO] [stderr] Compiling async-graphql-derive v7.0.17 [INFO] [stderr] Compiling async-nats v0.33.0 [INFO] [stderr] Compiling handlebars v5.1.2 [INFO] [stderr] Compiling tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling hyper-util v0.1.18 [INFO] [stderr] Compiling tonic-build v0.11.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling axum-core v0.5.5 [INFO] [stderr] Compiling tokio-io-timeout v1.2.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling static_assertions_next v1.1.2 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling opentelemetry_sdk v0.21.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling axum v0.8.7 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling llm-registry-db v0.1.0 [INFO] [stderr] Compiling async-graphql v7.0.17 [INFO] [stderr] Compiling llm-registry-api v0.1.0 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling async-compression v0.4.33 [INFO] [stderr] Compiling pem v3.0.6 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling thrift v0.17.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling clap_builder v4.5.52 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling tonic v0.11.0 [INFO] [stderr] Compiling llm-registry-service v0.1.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling opentelemetry-semantic-conventions v0.13.0 [INFO] [stderr] Compiling async-graphql-axum v7.0.17 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling opentelemetry-jaeger v0.20.0 [INFO] [stderr] Compiling clap v4.5.52 [INFO] [stderr] Compiling tracing-opentelemetry v0.22.0 [INFO] [stderr] Compiling llm-registry-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `database_url` is never used [INFO] [stdout] --> src/config.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 255 | impl ServerConfig { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn database_url(&self) -> &str { [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 `get_environment` is never used [INFO] [stdout] --> src/config.rs:327:8 [INFO] [stdout] | [INFO] [stdout] 327 | pub fn get_environment() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_config_dir` is never used [INFO] [stdout] --> src/config.rs:337:8 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn get_config_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `METRICS_REGISTRY` is never used [INFO] [stdout] --> src/metrics.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub static METRICS_REGISTRY: Lazy = Lazy::new(Registry::new); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `HTTP_REQUESTS_TOTAL` is never used [INFO] [stdout] --> src/metrics.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub static HTTP_REQUESTS_TOTAL: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `HTTP_REQUEST_DURATION` is never used [INFO] [stdout] --> src/metrics.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub static HTTP_REQUEST_DURATION: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DB_QUERIES_TOTAL` is never used [INFO] [stdout] --> src/metrics.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub static DB_QUERIES_TOTAL: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DB_QUERY_DURATION` is never used [INFO] [stdout] --> src/metrics.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub static DB_QUERY_DURATION: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CACHE_OPERATIONS_TOTAL` is never used [INFO] [stdout] --> src/metrics.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub static CACHE_OPERATIONS_TOTAL: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CACHE_HIT_RATE` is never used [INFO] [stdout] --> src/metrics.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub static CACHE_HIT_RATE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DB_CONNECTIONS_ACTIVE` is never used [INFO] [stdout] --> src/metrics.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub static DB_CONNECTIONS_ACTIVE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DB_CONNECTIONS_IDLE` is never used [INFO] [stdout] --> src/metrics.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub static DB_CONNECTIONS_IDLE: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ASSET_OPERATIONS_TOTAL` is never used [INFO] [stdout] --> src/metrics.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub static ASSET_OPERATIONS_TOTAL: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ASSETS_TOTAL` is never used [INFO] [stdout] --> src/metrics.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub static ASSETS_TOTAL: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EVENTS_PUBLISHED_TOTAL` is never used [INFO] [stdout] --> src/metrics.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub static EVENTS_PUBLISHED_TOTAL: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `REGISTRY_INFO` is never used [INFO] [stdout] --> src/metrics.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub static REGISTRY_INFO: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_metrics` is never used [INFO] [stdout] --> src/metrics.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn init_metrics() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_metrics` is never used [INFO] [stdout] --> src/metrics.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn render_metrics() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetricsTimer` is never constructed [INFO] [stdout] --> src/metrics.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct MetricsTimer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `stop` are never used [INFO] [stdout] --> src/metrics.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 183 | impl MetricsTimer { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 184 | /// Create a new timer [INFO] [stdout] 185 | pub fn new(histogram: HistogramVec, labels: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn stop(self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `record_http_request` is never used [INFO] [stdout] --> src/metrics.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn record_http_request(method: &str, path: &str, status: u16, duration_secs: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `record_db_query` is never used [INFO] [stdout] --> src/metrics.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn record_db_query(operation: &str, success: bool, duration_secs: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `record_cache_operation` is never used [INFO] [stdout] --> src/metrics.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn record_cache_operation(operation: &str, result: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `record_asset_operation` is never used [INFO] [stdout] --> src/metrics.rs:236:8 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn record_asset_operation(operation: &str, success: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `record_event_published` is never used [INFO] [stdout] --> src/metrics.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn record_event_published(event_type: &str, destination: &str, success: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_db_pool_metrics` is never used [INFO] [stdout] --> src/metrics.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn update_db_pool_metrics(pool_name: &str, active: usize, idle: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_assets_total` is never used [INFO] [stdout] --> src/metrics.rs:265:8 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn update_assets_total(status: &str, count: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/telemetry.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn init() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_from_env` is never used [INFO] [stdout] --> src/telemetry.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn init_from_env() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_log_level` is never used [INFO] [stdout] --> src/telemetry.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn get_log_level() -> Level { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OtelConfig` is never constructed [INFO] [stdout] --> src/tracing_setup.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct OtelConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tracing_setup.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl OtelConfig { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 58 | /// Create new configuration [INFO] [stdout] 59 | pub fn new(service_name: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn with_version(mut self, version: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn with_environment(mut self, env: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn with_jaeger_endpoint(mut self, endpoint: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn with_otlp_endpoint(mut self, endpoint: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn with_sampling_ratio(mut self, ratio: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn with_enabled(mut self, enabled: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_tracing` is never used [INFO] [stdout] --> src/tracing_setup.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn init_tracing(config: OtelConfig) -> Result<(), TraceError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shutdown_tracing` is never used [INFO] [stdout] --> src/tracing_setup.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn shutdown_tracing() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `current_tracer` is never used [INFO] [stdout] --> src/tracing_setup.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn current_tracer() -> impl Tracer { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7m 08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.24.0, sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "40eb6514d23ab89879a6b4c650563603577d4e8953d8f6a112e9950356b9c728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40eb6514d23ab89879a6b4c650563603577d4e8953d8f6a112e9950356b9c728", kill_on_drop: false }` [INFO] [stdout] 40eb6514d23ab89879a6b4c650563603577d4e8953d8f6a112e9950356b9c728 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7823dbf86dd42deb560ea00eb174d1ea2c2069d9bd0fdc6cb19aa042655cab64 [INFO] running `Command { std: "docker" "start" "-a" "7823dbf86dd42deb560ea00eb174d1ea2c2069d9bd0fdc6cb19aa042655cab64", kill_on_drop: false }` [INFO] [stderr] Compiling llm-registry-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `database_url` is never used [INFO] [stdout] --> src/config.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 255 | impl ServerConfig { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn database_url(&self) -> &str { [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 `get_config_dir` is never used [INFO] [stdout] --> src/config.rs:337:8 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn get_config_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `METRICS_REGISTRY` is never used [INFO] [stdout] --> src/metrics.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub static METRICS_REGISTRY: Lazy = Lazy::new(Registry::new); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `record_cache_operation` is never used [INFO] [stdout] --> src/metrics.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn record_cache_operation(operation: &str, result: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `record_asset_operation` is never used [INFO] [stdout] --> src/metrics.rs:236:8 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn record_asset_operation(operation: &str, success: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `record_event_published` is never used [INFO] [stdout] --> src/metrics.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn record_event_published(event_type: &str, destination: &str, success: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_db_pool_metrics` is never used [INFO] [stdout] --> src/metrics.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn update_db_pool_metrics(pool_name: &str, active: usize, idle: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_assets_total` is never used [INFO] [stdout] --> src/metrics.rs:265:8 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn update_assets_total(status: &str, count: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/telemetry.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn init() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_from_env` is never used [INFO] [stdout] --> src/telemetry.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn init_from_env() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `jaeger_agent_endpoint` and `otlp_endpoint` are never read [INFO] [stdout] --> src/tracing_setup.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct OtelConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub jaeger_agent_endpoint: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub otlp_endpoint: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OtelConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_jaeger_endpoint` and `with_otlp_endpoint` are never used [INFO] [stdout] --> src/tracing_setup.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl OtelConfig { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn with_jaeger_endpoint(mut self, endpoint: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn with_otlp_endpoint(mut self, endpoint: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_tracing` is never used [INFO] [stdout] --> src/tracing_setup.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn init_tracing(config: OtelConfig) -> Result<(), TraceError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shutdown_tracing` is never used [INFO] [stdout] --> src/tracing_setup.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn shutdown_tracing() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `current_tracer` is never used [INFO] [stdout] --> src/tracing_setup.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn current_tracer() -> impl Tracer { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.24.0, sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "7823dbf86dd42deb560ea00eb174d1ea2c2069d9bd0fdc6cb19aa042655cab64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7823dbf86dd42deb560ea00eb174d1ea2c2069d9bd0fdc6cb19aa042655cab64", kill_on_drop: false }` [INFO] [stdout] 7823dbf86dd42deb560ea00eb174d1ea2c2069d9bd0fdc6cb19aa042655cab64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bf18e98e7cf02fdf65ad33f282d2c72657f597a35f2096d73f11531d4c3bcb90 [INFO] running `Command { std: "docker" "start" "-a" "bf18e98e7cf02fdf65ad33f282d2c72657f597a35f2096d73f11531d4c3bcb90", kill_on_drop: false }` [INFO] [stderr] warning: method `database_url` is never used [INFO] [stderr] --> src/config.rs:301:12 [INFO] [stderr] | [INFO] [stderr] 255 | impl ServerConfig { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 301 | pub fn database_url(&self) -> &str { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_config_dir` is never used [INFO] [stderr] --> src/config.rs:337:8 [INFO] [stderr] | [INFO] [stderr] 337 | pub fn get_config_dir() -> PathBuf { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `METRICS_REGISTRY` is never used [INFO] [stderr] --> src/metrics.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | pub static METRICS_REGISTRY: Lazy = Lazy::new(Registry::new); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `record_cache_operation` is never used [INFO] [stderr] --> src/metrics.rs:229:8 [INFO] [stderr] | [INFO] [stderr] 229 | pub fn record_cache_operation(operation: &str, result: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `record_asset_operation` is never used [INFO] [stderr] --> src/metrics.rs:236:8 [INFO] [stderr] | [INFO] [stderr] 236 | pub fn record_asset_operation(operation: &str, success: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `record_event_published` is never used [INFO] [stderr] --> src/metrics.rs:245:8 [INFO] [stderr] | [INFO] [stderr] 245 | pub fn record_event_published(event_type: &str, destination: &str, success: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_db_pool_metrics` is never used [INFO] [stderr] --> src/metrics.rs:254:8 [INFO] [stderr] | [INFO] [stderr] 254 | pub fn update_db_pool_metrics(pool_name: &str, active: usize, idle: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_assets_total` is never used [INFO] [stderr] --> src/metrics.rs:265:8 [INFO] [stderr] | [INFO] [stderr] 265 | pub fn update_assets_total(status: &str, count: i64) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `init` is never used [INFO] [stderr] --> src/telemetry.rs:88:8 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn init() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `init_from_env` is never used [INFO] [stderr] --> src/telemetry.rs:158:8 [INFO] [stderr] | [INFO] [stderr] 158 | pub fn init_from_env() { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `jaeger_agent_endpoint` and `otlp_endpoint` are never read [INFO] [stderr] --> src/tracing_setup.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct OtelConfig { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 31 | pub jaeger_agent_endpoint: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 34 | pub otlp_endpoint: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OtelConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `with_jaeger_endpoint` and `with_otlp_endpoint` are never used [INFO] [stderr] --> src/tracing_setup.rs:79:12 [INFO] [stderr] | [INFO] [stderr] 57 | impl OtelConfig { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 79 | pub fn with_jaeger_endpoint(mut self, endpoint: impl Into) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 85 | pub fn with_otlp_endpoint(mut self, endpoint: impl Into) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `init_tracing` is never used [INFO] [stderr] --> src/tracing_setup.rs:104:8 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn init_tracing(config: OtelConfig) -> Result<(), TraceError> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `shutdown_tracing` is never used [INFO] [stderr] --> src/tracing_setup.rs:158:8 [INFO] [stderr] | [INFO] [stderr] 158 | pub fn shutdown_tracing() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `current_tracer` is never used [INFO] [stderr] --> src/tracing_setup.rs:164:8 [INFO] [stderr] | [INFO] [stderr] 164 | pub fn current_tracer() -> impl Tracer { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `llm-registry-server` (bin "llm-registry-server" test) generated 15 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.24.0, sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/llm_registry_server-ef2acb9ce28de173) [INFO] [stdout] running 16 tests [INFO] [stdout] test config::tests::test_default_config ... ok [INFO] [stdout] test config::tests::test_database_config_default ... ok [INFO] [stdout] test config::tests::test_logging_config_default ... ok [INFO] [stdout] test config::tests::test_server_config_bind_address ... ok [INFO] [stdout] test telemetry::tests::test_get_log_level_default ... ok [INFO] [stdout] test telemetry::tests::test_telemetry_config_builder ... ok [INFO] [stdout] test telemetry::tests::test_telemetry_config_default ... ok [INFO] [stdout] test tests::test_mask_database_url ... ok [INFO] [stdout] test metrics::tests::test_record_db_query ... ok [INFO] [stdout] test tests::test_mask_database_url_no_password ... ok [INFO] [stdout] test metrics::tests::test_metrics_initialization ... ok [INFO] [stdout] test metrics::tests::test_record_http_request ... ok [INFO] [stdout] test tracing_setup::tests::test_otel_config_builder ... ok [INFO] [stdout] test tracing_setup::tests::test_sampling_ratio_clamping ... ok [INFO] [stdout] test config::tests::test_get_environment_default ... ok [INFO] [stdout] test metrics::tests::test_metrics_timer ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bf18e98e7cf02fdf65ad33f282d2c72657f597a35f2096d73f11531d4c3bcb90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf18e98e7cf02fdf65ad33f282d2c72657f597a35f2096d73f11531d4c3bcb90", kill_on_drop: false }` [INFO] [stdout] bf18e98e7cf02fdf65ad33f282d2c72657f597a35f2096d73f11531d4c3bcb90