[INFO] fetching crate product-os-server 0.0.42... [INFO] testing product-os-server-0.0.42 against 1.86.0 for beta-1.87-1 [INFO] extracting crate product-os-server 0.0.42 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate product-os-server 0.0.42 on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate product-os-server 0.0.42 [INFO] finished tweaking crates.io crate product-os-server 0.0.42 [INFO] tweaked toml for crates.io crate product-os-server 0.0.42 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 400 packages to latest compatible versions [INFO] [stderr] Adding matchit v0.8.4 (available: v0.8.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded product-os-store v0.0.32 [INFO] [stderr] Downloaded product-os-configuration v0.0.35 [INFO] [stderr] Downloaded product-os-security v0.0.56 [INFO] [stderr] Downloaded product-os-capabilities v0.0.19 [INFO] [stderr] Downloaded product-os-monitoring v0.0.3 [INFO] [stderr] Downloaded product-os-net v0.0.1 [INFO] [stderr] Downloaded machine-uid v0.5.3 [INFO] [stderr] Downloaded axum_csrf v0.11.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.26.2 [INFO] [stderr] Downloaded cron v0.14.0 [INFO] [stderr] Downloaded product-os-openapi v0.0.4 [INFO] [stderr] Downloaded orion v0.17.10 [INFO] [stderr] Downloaded product-os-http-body v0.0.16 [INFO] [stderr] Downloaded product-os-connector v0.0.25 [INFO] [stderr] Downloaded redb v2.4.0 [INFO] [stderr] Downloaded axum-server-dual-protocol v0.7.0 [INFO] [stderr] Downloaded redis v0.27.6 [INFO] [stderr] Downloaded product-os-utilities v0.0.23 [INFO] [stderr] Downloaded ioslice v0.6.0 [INFO] [stderr] Downloaded product-os-router v0.0.35 [INFO] [stderr] Downloaded core-error v0.0.1-rc4 [INFO] [stderr] Downloaded product-os-request v0.0.43 [INFO] [stderr] Downloaded product-os-async-executor v0.0.17 [INFO] [stderr] Downloaded product-os-command-control v0.0.21 [INFO] [stderr] Downloaded product-os-urlencoding v0.0.1 [INFO] [stderr] Downloaded product-os-random v0.0.27 [INFO] [stderr] Downloaded product-os-http v0.0.8 [INFO] [stderr] Downloaded csp v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 476a2322b77a16f0b48482da9367092b940800666aaf349eef42e8a0f0e87aac [INFO] running `Command { std: "docker" "start" "-a" "476a2322b77a16f0b48482da9367092b940800666aaf349eef42e8a0f0e87aac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "476a2322b77a16f0b48482da9367092b940800666aaf349eef42e8a0f0e87aac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "476a2322b77a16f0b48482da9367092b940800666aaf349eef42e8a0f0e87aac", kill_on_drop: false }` [INFO] [stdout] 476a2322b77a16f0b48482da9367092b940800666aaf349eef42e8a0f0e87aac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80828135965f48d12ccd0c3f101216091fbc6cf383af11a18437dc47280c67d4 [INFO] running `Command { std: "docker" "start" "-a" "80828135965f48d12ccd0c3f101216091fbc6cf383af11a18437dc47280c67d4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling no-std-compat v0.4.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling core-error v0.0.1-rc4 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling rustls v0.23.26 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling brotli-decompressor v4.0.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling product-os-http v0.0.8 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling fiat-crypto v0.2.9 [INFO] [stderr] Compiling ioslice v0.6.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling no-std-net v0.6.0 [INFO] [stderr] Compiling dns-lookup v2.0.4 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling product-os-random v0.0.27 [INFO] [stderr] Compiling product-os-net v0.0.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling rustls-webpki v0.103.1 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling product-os-http-body v0.0.16 [INFO] [stderr] Compiling zerovec v0.10.4 [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 icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling orion v0.17.10 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling async-compression v0.4.22 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling h2 v0.4.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling serde_html_form v0.2.7 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling product-os-openapi v0.0.4 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling jwt-compact v0.8.0 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling cookie_store v0.21.1 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling product-os-async-executor v0.0.17 [INFO] [stderr] Compiling product-os-security v0.0.56 [INFO] [stderr] Compiling product-os-utilities v0.0.23 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling axum v0.8.3 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling product-os-request v0.0.43 [INFO] [stderr] Compiling axum-extra v0.10.1 [INFO] [stderr] Compiling product-os-router v0.0.35 [INFO] [stderr] Compiling product-os-capabilities v0.0.19 [INFO] [stderr] Compiling product-os-connector v0.0.25 [INFO] [stderr] Compiling product-os-configuration v0.0.35 [INFO] [stderr] Compiling product-os-server v0.0.42 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `sse` [INFO] [stdout] --> src/lib.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | #[cfg(feature = "sse")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-trait`, `axum`, `axum-extra`, `axum-macros`, `axum-server-dual-protocol`, `axum_csrf`, `compression`, `controller`, `core`, `cors`, `csp`, `cspolicy`, `csrf`, `default`, `dual_server`, `executor_tokio`, `extract_headers`, `file_key_value_store`, `hyper`, `hyper-rustls`, `hyper-util`, `memory_key_value_store`, `memory_queue_store`, `middleware`, `parking_lot`, `postgres_store`, `product-os-capabilities`, `product-os-command-control`, `product-os-store`, `redis_key_value_store`, `redis_queue_store`, `rustls`, `sqlite_store`, `support_feature_service`, and `tls` and 6 more [INFO] [stdout] = help: consider adding `sse` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::error::Error` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::future::Future` [INFO] [stdout] --> src/server_executor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::marker::PhantomData` [INFO] [stdout] --> src/server_executor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Deref` [INFO] [stdout] --> src/server_executor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::task::SpawnError` [INFO] [stdout] --> src/server_executor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::task::SpawnError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::TryFutureExt` [INFO] [stdout] --> src/server_executor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::TryFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::Mutex` [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use parking_lot::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::MethodRouter` [INFO] [stdout] --> src/lib.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | use axum::routing::MethodRouter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Executor` and `Task` [INFO] [stdout] --> src/lib.rs:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | use product_os_async_executor::{Executor, Task}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sse` [INFO] [stdout] --> src/lib.rs:677:11 [INFO] [stdout] | [INFO] [stdout] 677 | #[cfg(feature = "sse")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-trait`, `axum`, `axum-extra`, `axum-macros`, `axum-server-dual-protocol`, `axum_csrf`, `compression`, `controller`, `core`, `cors`, `csp`, `cspolicy`, `csrf`, `default`, `dual_server`, `executor_tokio`, `extract_headers`, `file_key_value_store`, `hyper`, `hyper-rustls`, `hyper-util`, `memory_key_value_store`, `memory_queue_store`, `middleware`, `parking_lot`, `postgres_store`, `product-os-capabilities`, `product-os-command-control`, `product-os-store`, `redis_key_value_store`, `redis_queue_store`, `rustls`, `sqlite_store`, `support_feature_service`, and `tls` and 6 more [INFO] [stdout] = help: consider adding `sse` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serve_on_main_thread` [INFO] [stdout] --> src/lib.rs:757:49 [INFO] [stdout] | [INFO] [stdout] 757 | ...ver(&mut self, serve_on_main_thread: bool, listen_all_interfaces: bool, custom_port: Option, custom_router: Option, with_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serve_on_main_thread` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `listen_all_interfaces` [INFO] [stdout] --> src/lib.rs:757:77 [INFO] [stdout] | [INFO] [stdout] 757 | ...thread: bool, listen_all_interfaces: bool, custom_port: Option, custom_router: Option, with_connect_info: bool) -> Result... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listen_all_interfaces` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `custom_port` [INFO] [stdout] --> src/lib.rs:757:106 [INFO] [stdout] | [INFO] [stdout] 757 | ...n_all_interfaces: bool, custom_port: Option, custom_router: Option, with_connect_info: bool) -> Result<(), Box src/lib.rs:757:132 [INFO] [stdout] | [INFO] [stdout] 757 | ...om_port: Option, custom_router: Option, with_connect_info: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_custom_router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `with_connect_info` [INFO] [stdout] --> src/lib.rs:757:163 [INFO] [stdout] | [INFO] [stdout] 757 | ...: Option, with_connect_info: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_connect_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serve_on_main_thread` [INFO] [stdout] --> src/lib.rs:789:48 [INFO] [stdout] | [INFO] [stdout] 789 | ...ver(&mut self, serve_on_main_thread: bool, listen_all_interfaces: bool, custom_port: Option, custom_router: Option, with_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serve_on_main_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `listen_all_interfaces` [INFO] [stdout] --> src/lib.rs:789:76 [INFO] [stdout] | [INFO] [stdout] 789 | ...thread: bool, listen_all_interfaces: bool, custom_port: Option, custom_router: Option, with_connect_info: bool) -> Result... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listen_all_interfaces` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `custom_port` [INFO] [stdout] --> src/lib.rs:789:105 [INFO] [stdout] | [INFO] [stdout] 789 | ...n_all_interfaces: bool, custom_port: Option, custom_router: Option, with_connect_info: bool) -> Result<(), Box src/lib.rs:789:131 [INFO] [stdout] | [INFO] [stdout] 789 | ...om_port: Option, custom_router: Option, with_connect_info: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_custom_router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `with_connect_info` [INFO] [stdout] --> src/lib.rs:789:162 [INFO] [stdout] | [INFO] [stdout] 789 | ...: Option, with_connect_info: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_connect_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:980:63 [INFO] [stdout] | [INFO] [stdout] 980 | response_builder.body(BodyBytes::empty()).unwrap_or_else(|e| Response::new(BodyBytes::empty())) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/lib.rs:428:38 [INFO] [stdout] | [INFO] [stdout] 428 | ... Some(attributes) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | let mut router = ProductOSRouter::new_with_state(state); [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: field `executor` is never read [INFO] [stdout] --> src/lib.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct ProductOSServer [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 122 | executor: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ServerExecutor` is never constructed [INFO] [stdout] --> src/server_executor.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ServerExecutor {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerExecutor` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `spawn` is never used [INFO] [stdout] --> src/server_executor.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ServerExecutor { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 15 | pub fn spawn(executor: Arc, fut: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 36s [INFO] running `Command { std: "docker" "inspect" "80828135965f48d12ccd0c3f101216091fbc6cf383af11a18437dc47280c67d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80828135965f48d12ccd0c3f101216091fbc6cf383af11a18437dc47280c67d4", kill_on_drop: false }` [INFO] [stdout] 80828135965f48d12ccd0c3f101216091fbc6cf383af11a18437dc47280c67d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 295b99a72387148d32681a0a3576f8832a122a5f5bb81325f4c4a412cd545ac8 [INFO] running `Command { std: "docker" "start" "-a" "295b99a72387148d32681a0a3576f8832a122a5f5bb81325f4c4a412cd545ac8", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `sse` [INFO] [stdout] --> src/lib.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | #[cfg(feature = "sse")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-trait`, `axum`, `axum-extra`, `axum-macros`, `axum-server-dual-protocol`, `axum_csrf`, `compression`, `controller`, `core`, `cors`, `csp`, `cspolicy`, `csrf`, `default`, `dual_server`, `executor_tokio`, `extract_headers`, `file_key_value_store`, `hyper`, `hyper-rustls`, `hyper-util`, `memory_key_value_store`, `memory_queue_store`, `middleware`, `parking_lot`, `postgres_store`, `product-os-capabilities`, `product-os-command-control`, `product-os-store`, `redis_key_value_store`, `redis_queue_store`, `rustls`, `sqlite_store`, `support_feature_service`, and `tls` and 6 more [INFO] [stdout] = help: consider adding `sse` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::error::Error` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::future::Future` [INFO] [stdout] --> src/server_executor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::marker::PhantomData` [INFO] [stdout] --> src/server_executor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Deref` [INFO] [stdout] --> src/server_executor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::task::SpawnError` [INFO] [stdout] --> src/server_executor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::task::SpawnError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::TryFutureExt` [INFO] [stdout] --> src/server_executor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::TryFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::Mutex` [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use parking_lot::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::MethodRouter` [INFO] [stdout] --> src/lib.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | use axum::routing::MethodRouter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling product-os-server v0.0.42 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Executor` and `Task` [INFO] [stdout] --> src/lib.rs:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | use product_os_async_executor::{Executor, Task}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sse` [INFO] [stdout] --> src/lib.rs:677:11 [INFO] [stdout] | [INFO] [stdout] 677 | #[cfg(feature = "sse")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-trait`, `axum`, `axum-extra`, `axum-macros`, `axum-server-dual-protocol`, `axum_csrf`, `compression`, `controller`, `core`, `cors`, `csp`, `cspolicy`, `csrf`, `default`, `dual_server`, `executor_tokio`, `extract_headers`, `file_key_value_store`, `hyper`, `hyper-rustls`, `hyper-util`, `memory_key_value_store`, `memory_queue_store`, `middleware`, `parking_lot`, `postgres_store`, `product-os-capabilities`, `product-os-command-control`, `product-os-store`, `redis_key_value_store`, `redis_queue_store`, `rustls`, `sqlite_store`, `support_feature_service`, and `tls` and 6 more [INFO] [stdout] = help: consider adding `sse` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serve_on_main_thread` [INFO] [stdout] --> src/lib.rs:757:49 [INFO] [stdout] | [INFO] [stdout] 757 | ...ver(&mut self, serve_on_main_thread: bool, listen_all_interfaces: bool, custom_port: Option, custom_router: Option, with_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serve_on_main_thread` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `listen_all_interfaces` [INFO] [stdout] --> src/lib.rs:757:77 [INFO] [stdout] | [INFO] [stdout] 757 | ...thread: bool, listen_all_interfaces: bool, custom_port: Option, custom_router: Option, with_connect_info: bool) -> Result... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listen_all_interfaces` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `custom_port` [INFO] [stdout] --> src/lib.rs:757:106 [INFO] [stdout] | [INFO] [stdout] 757 | ...n_all_interfaces: bool, custom_port: Option, custom_router: Option, with_connect_info: bool) -> Result<(), Box src/lib.rs:757:132 [INFO] [stdout] | [INFO] [stdout] 757 | ...om_port: Option, custom_router: Option, with_connect_info: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_custom_router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `with_connect_info` [INFO] [stdout] --> src/lib.rs:757:163 [INFO] [stdout] | [INFO] [stdout] 757 | ...: Option, with_connect_info: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_connect_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serve_on_main_thread` [INFO] [stdout] --> src/lib.rs:789:48 [INFO] [stdout] | [INFO] [stdout] 789 | ...ver(&mut self, serve_on_main_thread: bool, listen_all_interfaces: bool, custom_port: Option, custom_router: Option, with_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serve_on_main_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `listen_all_interfaces` [INFO] [stdout] --> src/lib.rs:789:76 [INFO] [stdout] | [INFO] [stdout] 789 | ...thread: bool, listen_all_interfaces: bool, custom_port: Option, custom_router: Option, with_connect_info: bool) -> Result... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listen_all_interfaces` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `custom_port` [INFO] [stdout] --> src/lib.rs:789:105 [INFO] [stdout] | [INFO] [stdout] 789 | ...n_all_interfaces: bool, custom_port: Option, custom_router: Option, with_connect_info: bool) -> Result<(), Box src/lib.rs:789:131 [INFO] [stdout] | [INFO] [stdout] 789 | ...om_port: Option, custom_router: Option, with_connect_info: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_custom_router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `with_connect_info` [INFO] [stdout] --> src/lib.rs:789:162 [INFO] [stdout] | [INFO] [stdout] 789 | ...: Option, with_connect_info: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_connect_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:980:63 [INFO] [stdout] | [INFO] [stdout] 980 | response_builder.body(BodyBytes::empty()).unwrap_or_else(|e| Response::new(BodyBytes::empty())) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/lib.rs:428:38 [INFO] [stdout] | [INFO] [stdout] 428 | ... Some(attributes) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | let mut router = ProductOSRouter::new_with_state(state); [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: field `executor` is never read [INFO] [stdout] --> src/lib.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct ProductOSServer [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 122 | executor: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ServerExecutor` is never constructed [INFO] [stdout] --> src/server_executor.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ServerExecutor {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerExecutor` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `spawn` is never used [INFO] [stdout] --> src/server_executor.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ServerExecutor { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 15 | pub fn spawn(executor: Arc, fut: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sse` [INFO] [stdout] --> src/lib.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | #[cfg(feature = "sse")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-trait`, `axum`, `axum-extra`, `axum-macros`, `axum-server-dual-protocol`, `axum_csrf`, `compression`, `controller`, `core`, `cors`, `csp`, `cspolicy`, `csrf`, `default`, `dual_server`, `executor_tokio`, `extract_headers`, `file_key_value_store`, `hyper`, `hyper-rustls`, `hyper-util`, `memory_key_value_store`, `memory_queue_store`, `middleware`, `parking_lot`, `postgres_store`, `product-os-capabilities`, `product-os-command-control`, `product-os-store`, `redis_key_value_store`, `redis_queue_store`, `rustls`, `sqlite_store`, `support_feature_service`, and `tls` and 6 more [INFO] [stdout] = help: consider adding `sse` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::error::Error` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::future::Future` [INFO] [stdout] --> src/server_executor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::marker::PhantomData` [INFO] [stdout] --> src/server_executor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Deref` [INFO] [stdout] --> src/server_executor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::task::SpawnError` [INFO] [stdout] --> src/server_executor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::task::SpawnError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::TryFutureExt` [INFO] [stdout] --> src/server_executor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::TryFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::Mutex` [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use parking_lot::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::MethodRouter` [INFO] [stdout] --> src/lib.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | use axum::routing::MethodRouter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Executor` and `Task` [INFO] [stdout] --> src/lib.rs:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | use product_os_async_executor::{Executor, Task}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sse` [INFO] [stdout] --> src/lib.rs:677:11 [INFO] [stdout] | [INFO] [stdout] 677 | #[cfg(feature = "sse")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-trait`, `axum`, `axum-extra`, `axum-macros`, `axum-server-dual-protocol`, `axum_csrf`, `compression`, `controller`, `core`, `cors`, `csp`, `cspolicy`, `csrf`, `default`, `dual_server`, `executor_tokio`, `extract_headers`, `file_key_value_store`, `hyper`, `hyper-rustls`, `hyper-util`, `memory_key_value_store`, `memory_queue_store`, `middleware`, `parking_lot`, `postgres_store`, `product-os-capabilities`, `product-os-command-control`, `product-os-store`, `redis_key_value_store`, `redis_queue_store`, `rustls`, `sqlite_store`, `support_feature_service`, and `tls` and 6 more [INFO] [stdout] = help: consider adding `sse` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serve_on_main_thread` [INFO] [stdout] --> src/lib.rs:757:49 [INFO] [stdout] | [INFO] [stdout] 757 | ...ver(&mut self, serve_on_main_thread: bool, listen_all_interfaces: bool, custom_port: Option, custom_router: Option, with_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serve_on_main_thread` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `listen_all_interfaces` [INFO] [stdout] --> src/lib.rs:757:77 [INFO] [stdout] | [INFO] [stdout] 757 | ...thread: bool, listen_all_interfaces: bool, custom_port: Option, custom_router: Option, with_connect_info: bool) -> Result... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listen_all_interfaces` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `custom_port` [INFO] [stdout] --> src/lib.rs:757:106 [INFO] [stdout] | [INFO] [stdout] 757 | ...n_all_interfaces: bool, custom_port: Option, custom_router: Option, with_connect_info: bool) -> Result<(), Box src/lib.rs:757:132 [INFO] [stdout] | [INFO] [stdout] 757 | ...om_port: Option, custom_router: Option, with_connect_info: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_custom_router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `with_connect_info` [INFO] [stdout] --> src/lib.rs:757:163 [INFO] [stdout] | [INFO] [stdout] 757 | ...: Option, with_connect_info: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_connect_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serve_on_main_thread` [INFO] [stdout] --> src/lib.rs:789:48 [INFO] [stdout] | [INFO] [stdout] 789 | ...ver(&mut self, serve_on_main_thread: bool, listen_all_interfaces: bool, custom_port: Option, custom_router: Option, with_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serve_on_main_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `listen_all_interfaces` [INFO] [stdout] --> src/lib.rs:789:76 [INFO] [stdout] | [INFO] [stdout] 789 | ...thread: bool, listen_all_interfaces: bool, custom_port: Option, custom_router: Option, with_connect_info: bool) -> Result... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listen_all_interfaces` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `custom_port` [INFO] [stdout] --> src/lib.rs:789:105 [INFO] [stdout] | [INFO] [stdout] 789 | ...n_all_interfaces: bool, custom_port: Option, custom_router: Option, with_connect_info: bool) -> Result<(), Box src/lib.rs:789:131 [INFO] [stdout] | [INFO] [stdout] 789 | ...om_port: Option, custom_router: Option, with_connect_info: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_custom_router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `with_connect_info` [INFO] [stdout] --> src/lib.rs:789:162 [INFO] [stdout] | [INFO] [stdout] 789 | ...: Option, with_connect_info: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_connect_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:980:63 [INFO] [stdout] | [INFO] [stdout] 980 | response_builder.body(BodyBytes::empty()).unwrap_or_else(|e| Response::new(BodyBytes::empty())) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/lib.rs:428:38 [INFO] [stdout] | [INFO] [stdout] 428 | ... Some(attributes) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | let mut router = ProductOSRouter::new_with_state(state); [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: field `executor` is never read [INFO] [stdout] --> src/lib.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct ProductOSServer [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 122 | executor: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ServerExecutor` is never constructed [INFO] [stdout] --> src/server_executor.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ServerExecutor {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerExecutor` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `spawn` is never used [INFO] [stdout] --> src/server_executor.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ServerExecutor { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 15 | pub fn spawn(executor: Arc, fut: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.14s [INFO] running `Command { std: "docker" "inspect" "295b99a72387148d32681a0a3576f8832a122a5f5bb81325f4c4a412cd545ac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "295b99a72387148d32681a0a3576f8832a122a5f5bb81325f4c4a412cd545ac8", kill_on_drop: false }` [INFO] [stdout] 295b99a72387148d32681a0a3576f8832a122a5f5bb81325f4c4a412cd545ac8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8365d424669f6bbe9de19fd388fe1b6476c91a063cb0019a1ab8ab97947f4425 [INFO] running `Command { std: "docker" "start" "-a" "8365d424669f6bbe9de19fd388fe1b6476c91a063cb0019a1ab8ab97947f4425", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `sse` [INFO] [stderr] --> src/lib.rs:78:7 [INFO] [stderr] | [INFO] [stderr] 78 | #[cfg(feature = "sse")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `async-trait`, `axum`, `axum-extra`, `axum-macros`, `axum-server-dual-protocol`, `axum_csrf`, `compression`, `controller`, `core`, `cors`, `csp`, `cspolicy`, `csrf`, `default`, `dual_server`, `executor_tokio`, `extract_headers`, `file_key_value_store`, `hyper`, `hyper-rustls`, `hyper-util`, `memory_key_value_store`, `memory_queue_store`, `middleware`, `parking_lot`, `postgres_store`, `product-os-capabilities`, `product-os-command-control`, `product-os-store`, `redis_key_value_store`, `redis_queue_store`, `rustls`, `sqlite_store`, `support_feature_service`, and `tls` and 6 more [INFO] [stderr] = help: consider adding `sse` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::error::Error` [INFO] [stderr] --> src/lib.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use core::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::future::Future` [INFO] [stderr] --> src/server_executor.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use core::future::Future; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::marker::PhantomData` [INFO] [stderr] --> src/server_executor.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use core::marker::PhantomData; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::ops::Deref` [INFO] [stderr] --> src/server_executor.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use core::ops::Deref; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::task::SpawnError` [INFO] [stderr] --> src/server_executor.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::task::SpawnError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::TryFutureExt` [INFO] [stderr] --> src/server_executor.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use futures::TryFutureExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::convert::Infallible` [INFO] [stderr] --> src/lib.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | use std::convert::Infallible; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::net::SocketAddr` [INFO] [stderr] --> src/lib.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use std::net::SocketAddr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ops::Deref` [INFO] [stderr] --> src/lib.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | use std::ops::Deref; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `parking_lot::Mutex` [INFO] [stderr] --> src/lib.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | use parking_lot::Mutex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `axum::routing::MethodRouter` [INFO] [stderr] --> src/lib.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | use axum::routing::MethodRouter; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Executor` and `Task` [INFO] [stderr] --> src/lib.rs:99:33 [INFO] [stderr] | [INFO] [stderr] 99 | use product_os_async_executor::{Executor, Task}; [INFO] [stderr] | ^^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `sse` [INFO] [stderr] --> src/lib.rs:677:11 [INFO] [stderr] | [INFO] [stderr] 677 | #[cfg(feature = "sse")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `async-trait`, `axum`, `axum-extra`, `axum-macros`, `axum-server-dual-protocol`, `axum_csrf`, `compression`, `controller`, `core`, `cors`, `csp`, `cspolicy`, `csrf`, `default`, `dual_server`, `executor_tokio`, `extract_headers`, `file_key_value_store`, `hyper`, `hyper-rustls`, `hyper-util`, `memory_key_value_store`, `memory_queue_store`, `middleware`, `parking_lot`, `postgres_store`, `product-os-capabilities`, `product-os-command-control`, `product-os-store`, `redis_key_value_store`, `redis_queue_store`, `rustls`, `sqlite_store`, `support_feature_service`, and `tls` and 6 more [INFO] [stderr] = help: consider adding `sse` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused variable: `serve_on_main_thread` [INFO] [stderr] --> src/lib.rs:757:49 [INFO] [stderr] | [INFO] [stderr] 757 | ...ver(&mut self, serve_on_main_thread: bool, listen_all_interfaces: bool, custom_port: Option, custom_router: Option, with_... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serve_on_main_thread` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `listen_all_interfaces` [INFO] [stderr] --> src/lib.rs:757:77 [INFO] [stderr] | [INFO] [stderr] 757 | ...thread: bool, listen_all_interfaces: bool, custom_port: Option, custom_router: Option, with_connect_info: bool) -> Result... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listen_all_interfaces` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `custom_port` [INFO] [stderr] --> src/lib.rs:757:106 [INFO] [stderr] | [INFO] [stderr] 757 | ...n_all_interfaces: bool, custom_port: Option, custom_router: Option, with_connect_info: bool) -> Result<(), Box src/lib.rs:757:132 [INFO] [stderr] | [INFO] [stderr] 757 | ...om_port: Option, custom_router: Option, with_connect_info: bool) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_custom_router` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `with_connect_info` [INFO] [stderr] --> src/lib.rs:757:163 [INFO] [stderr] | [INFO] [stderr] 757 | ...: Option, with_connect_info: bool) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_connect_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `serve_on_main_thread` [INFO] [stderr] --> src/lib.rs:789:48 [INFO] [stderr] | [INFO] [stderr] 789 | ...ver(&mut self, serve_on_main_thread: bool, listen_all_interfaces: bool, custom_port: Option, custom_router: Option, with_... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serve_on_main_thread` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `listen_all_interfaces` [INFO] [stderr] --> src/lib.rs:789:76 [INFO] [stderr] | [INFO] [stderr] 789 | ...thread: bool, listen_all_interfaces: bool, custom_port: Option, custom_router: Option, with_connect_info: bool) -> Result... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listen_all_interfaces` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `custom_port` [INFO] [stderr] --> src/lib.rs:789:105 [INFO] [stderr] | [INFO] [stderr] 789 | ...n_all_interfaces: bool, custom_port: Option, custom_router: Option, with_connect_info: bool) -> Result<(), Box src/lib.rs:789:131 [INFO] [stderr] | [INFO] [stderr] 789 | ...om_port: Option, custom_router: Option, with_connect_info: bool) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_custom_router` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `with_connect_info` [INFO] [stderr] --> src/lib.rs:789:162 [INFO] [stderr] | [INFO] [stderr] 789 | ...: Option, with_connect_info: bool) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_connect_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/lib.rs:980:63 [INFO] [stderr] | [INFO] [stderr] 980 | response_builder.body(BodyBytes::empty()).unwrap_or_else(|e| Response::new(BodyBytes::empty())) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `attributes` [INFO] [stderr] --> src/lib.rs:428:38 [INFO] [stderr] | [INFO] [stderr] 428 | ... Some(attributes) => { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:407:13 [INFO] [stderr] | [INFO] [stderr] 407 | let mut router = ProductOSRouter::new_with_state(state); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `executor` is never read [INFO] [stderr] --> src/lib.rs:122:5 [INFO] [stderr] | [INFO] [stderr] 110 | pub struct ProductOSServer [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 122 | executor: Arc, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `ServerExecutor` is never constructed [INFO] [stderr] --> src/server_executor.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct ServerExecutor {} [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ServerExecutor` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `spawn` is never used [INFO] [stderr] --> src/server_executor.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl ServerExecutor { [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] 15 | pub fn spawn(executor: Arc, fut: F) [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `product-os-server` (lib) generated 30 warnings (run `cargo fix --lib -p product-os-server` to apply 13 suggestions) [INFO] [stderr] warning: `product-os-server` (lib test) generated 30 warnings (30 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/product_os_server-db56c425307ba353) [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] [stderr] Doc-tests product_os_server [INFO] [stdout] [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" "8365d424669f6bbe9de19fd388fe1b6476c91a063cb0019a1ab8ab97947f4425", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8365d424669f6bbe9de19fd388fe1b6476c91a063cb0019a1ab8ab97947f4425", kill_on_drop: false }` [INFO] [stdout] 8365d424669f6bbe9de19fd388fe1b6476c91a063cb0019a1ab8ab97947f4425