[INFO] fetching crate product-os-server 0.0.37... [INFO] testing product-os-server-0.0.37 against beta-2024-10-19 for beta-1.83-1 [INFO] extracting crate product-os-server 0.0.37 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate product-os-server 0.0.37 on toolchain beta-2024-10-19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate product-os-server 0.0.37 [INFO] finished tweaking crates.io crate product-os-server 0.0.37 [INFO] tweaked toml for crates.io crate product-os-server 0.0.37 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 401 packages to latest compatible versions [INFO] [stderr] Adding axum-server v0.6.0 (available: v0.7.1) [INFO] [stderr] Adding axum-server-dual-protocol v0.6.0 (available: v0.7.0) [INFO] [stderr] Adding rustls v0.21.12 (available: v0.23.15) [INFO] [stderr] Adding tower-http v0.5.2 (available: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e46a364cf15cd82e74c7b7121fa64276d639e3520092f8530268c89df9f9e64 [INFO] running `Command { std: "docker" "start" "-a" "5e46a364cf15cd82e74c7b7121fa64276d639e3520092f8530268c89df9f9e64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e46a364cf15cd82e74c7b7121fa64276d639e3520092f8530268c89df9f9e64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e46a364cf15cd82e74c7b7121fa64276d639e3520092f8530268c89df9f9e64", kill_on_drop: false }` [INFO] [stdout] 5e46a364cf15cd82e74c7b7121fa64276d639e3520092f8530268c89df9f9e64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae1964576d92b4d1c985f95fd91e8cf559872d6305bb0d83a2615d4367fd03b2 [INFO] running `Command { std: "docker" "start" "-a" "ae1964576d92b4d1c985f95fd91e8cf559872d6305bb0d83a2615d4367fd03b2", kill_on_drop: false }` [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling no-std-compat v0.4.1 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling core-error v0.0.1-rc4 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling anyhow v1.0.90 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling product-os-http v0.0.7 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling publicsuffix v2.2.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling fiat-crypto v0.2.9 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling ioslice v0.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling no-std-net v0.6.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling product-os-net v0.0.1 [INFO] [stderr] Compiling dns-lookup v2.0.4 [INFO] [stderr] Compiling xml-rs v0.8.22 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling pin-project-internal v1.1.6 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling pin-project v1.1.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling product-os-http-body v0.0.14 [INFO] [stderr] Compiling rcgen v0.11.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling product-os-random v0.0.20 [INFO] [stderr] Compiling orion v0.17.7 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling async-compression v0.4.17 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_html_form v0.2.6 [INFO] [stderr] Compiling serde_with v3.11.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling cookie_store v0.20.0 [INFO] [stderr] Compiling product-os-openapi v0.0.4 [INFO] [stderr] Compiling jwt-compact v0.8.0 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Compiling hyper v1.5.0 [INFO] [stderr] Compiling hyper-util v0.1.9 [INFO] [stderr] Compiling product-os-async-executor v0.0.16 [INFO] [stderr] Compiling product-os-security v0.0.28 [INFO] [stderr] Compiling axum v0.7.7 [INFO] [stderr] Compiling axum-server v0.6.0 [INFO] [stderr] Compiling product-os-utilities v0.0.19 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling product-os-request v0.0.38 [INFO] [stderr] Compiling axum-extra v0.9.4 [INFO] [stderr] Compiling product-os-router v0.0.25 [INFO] [stderr] Compiling product-os-capabilities v0.0.13 [INFO] [stderr] Compiling product-os-connector v0.0.19 [INFO] [stderr] Compiling product-os-configuration v0.0.26 [INFO] [stderr] Compiling product-os-server v0.0.37 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `sse` [INFO] [stdout] --> src/lib.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(feature = "sse")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-trait`, `axum`, `axum-extra`, `axum-macros`, `axum-server`, `axum-server-dual-protocol`, `axum_csrf`, `compression`, `controller`, `core`, `cors`, `csp`, `cspolicy`, `csrf`, `custom`, `default`, `dual_server`, `executor_tokio`, `extract_headers`, `hyper`, `hyper-rustls`, `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::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] = note: `#[warn(unused_imports)]` on by default [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::ops::Deref` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::Mutex` [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use parking_lot::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Executor` and `Task` [INFO] [stdout] --> src/lib.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | use product_os_async_executor::{Executor, Task}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sse` [INFO] [stdout] --> src/lib.rs:675:11 [INFO] [stdout] | [INFO] [stdout] 675 | #[cfg(feature = "sse")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-trait`, `axum`, `axum-extra`, `axum-macros`, `axum-server`, `axum-server-dual-protocol`, `axum_csrf`, `compression`, `controller`, `core`, `cors`, `csp`, `cspolicy`, `csrf`, `custom`, `default`, `dual_server`, `executor_tokio`, `extract_headers`, `hyper`, `hyper-rustls`, `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:780:49 [INFO] [stdout] | [INFO] [stdout] 780 | ...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:780:77 [INFO] [stdout] | [INFO] [stdout] 780 | ...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:780:106 [INFO] [stdout] | [INFO] [stdout] 780 | ...n_all_interfaces: bool, custom_port: Option, custom_router: Option, with_connect_info: bool) -> Result<(), Box src/lib.rs:780:132 [INFO] [stdout] | [INFO] [stdout] 780 | ...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:780:163 [INFO] [stdout] | [INFO] [stdout] 780 | ...: 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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.86s [INFO] running `Command { std: "docker" "inspect" "ae1964576d92b4d1c985f95fd91e8cf559872d6305bb0d83a2615d4367fd03b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae1964576d92b4d1c985f95fd91e8cf559872d6305bb0d83a2615d4367fd03b2", kill_on_drop: false }` [INFO] [stdout] ae1964576d92b4d1c985f95fd91e8cf559872d6305bb0d83a2615d4367fd03b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d599ed61ba48d148ff38d6c2cd918fc99373d0193f6e3f5b094907cd871cb2fe [INFO] running `Command { std: "docker" "start" "-a" "d599ed61ba48d148ff38d6c2cd918fc99373d0193f6e3f5b094907cd871cb2fe", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `sse` [INFO] [stdout] --> src/lib.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(feature = "sse")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-trait`, `axum`, `axum-extra`, `axum-macros`, `axum-server`, `axum-server-dual-protocol`, `axum_csrf`, `compression`, `controller`, `core`, `cors`, `csp`, `cspolicy`, `csrf`, `custom`, `default`, `dual_server`, `executor_tokio`, `extract_headers`, `hyper`, `hyper-rustls`, `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::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] = note: `#[warn(unused_imports)]` on by default [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::ops::Deref` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::Mutex` [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use parking_lot::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Executor` and `Task` [INFO] [stdout] --> src/lib.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | use product_os_async_executor::{Executor, Task}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sse` [INFO] [stdout] --> src/lib.rs:675:11 [INFO] [stdout] | [INFO] [stdout] 675 | #[cfg(feature = "sse")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-trait`, `axum`, `axum-extra`, `axum-macros`, `axum-server`, `axum-server-dual-protocol`, `axum_csrf`, `compression`, `controller`, `core`, `cors`, `csp`, `cspolicy`, `csrf`, `custom`, `default`, `dual_server`, `executor_tokio`, `extract_headers`, `hyper`, `hyper-rustls`, `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:780:49 [INFO] [stdout] | [INFO] [stdout] 780 | ...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:780:77 [INFO] [stdout] | [INFO] [stdout] 780 | ...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:780:106 [INFO] [stdout] | [INFO] [stdout] 780 | ...n_all_interfaces: bool, custom_port: Option, custom_router: Option, with_connect_info: bool) -> Result<(), Box src/lib.rs:780:132 [INFO] [stdout] | [INFO] [stdout] 780 | ...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:780:163 [INFO] [stdout] | [INFO] [stdout] 780 | ...: 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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | 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] [stderr] Compiling product-os-server v0.0.37 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `sse` [INFO] [stdout] --> src/lib.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(feature = "sse")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-trait`, `axum`, `axum-extra`, `axum-macros`, `axum-server`, `axum-server-dual-protocol`, `axum_csrf`, `compression`, `controller`, `core`, `cors`, `csp`, `cspolicy`, `csrf`, `custom`, `default`, `dual_server`, `executor_tokio`, `extract_headers`, `hyper`, `hyper-rustls`, `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::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] = note: `#[warn(unused_imports)]` on by default [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::ops::Deref` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::Mutex` [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use parking_lot::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Executor` and `Task` [INFO] [stdout] --> src/lib.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | use product_os_async_executor::{Executor, Task}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sse` [INFO] [stdout] --> src/lib.rs:675:11 [INFO] [stdout] | [INFO] [stdout] 675 | #[cfg(feature = "sse")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-trait`, `axum`, `axum-extra`, `axum-macros`, `axum-server`, `axum-server-dual-protocol`, `axum_csrf`, `compression`, `controller`, `core`, `cors`, `csp`, `cspolicy`, `csrf`, `custom`, `default`, `dual_server`, `executor_tokio`, `extract_headers`, `hyper`, `hyper-rustls`, `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:780:49 [INFO] [stdout] | [INFO] [stdout] 780 | ...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:780:77 [INFO] [stdout] | [INFO] [stdout] 780 | ...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:780:106 [INFO] [stdout] | [INFO] [stdout] 780 | ...n_all_interfaces: bool, custom_port: Option, custom_router: Option, with_connect_info: bool) -> Result<(), Box src/lib.rs:780:132 [INFO] [stdout] | [INFO] [stdout] 780 | ...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:780:163 [INFO] [stdout] | [INFO] [stdout] 780 | ...: 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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.93s [INFO] running `Command { std: "docker" "inspect" "d599ed61ba48d148ff38d6c2cd918fc99373d0193f6e3f5b094907cd871cb2fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d599ed61ba48d148ff38d6c2cd918fc99373d0193f6e3f5b094907cd871cb2fe", kill_on_drop: false }` [INFO] [stdout] d599ed61ba48d148ff38d6c2cd918fc99373d0193f6e3f5b094907cd871cb2fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b73fff4f3e4544aa848bee4b4a114d9e86d4af48c038146cc4becbad0c5ff9e8 [INFO] running `Command { std: "docker" "start" "-a" "b73fff4f3e4544aa848bee4b4a114d9e86d4af48c038146cc4becbad0c5ff9e8", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `sse` [INFO] [stderr] --> src/lib.rs:81:7 [INFO] [stderr] | [INFO] [stderr] 81 | #[cfg(feature = "sse")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `async-trait`, `axum`, `axum-extra`, `axum-macros`, `axum-server`, `axum-server-dual-protocol`, `axum_csrf`, `compression`, `controller`, `core`, `cors`, `csp`, `cspolicy`, `csrf`, `custom`, `default`, `dual_server`, `executor_tokio`, `extract_headers`, `hyper`, `hyper-rustls`, `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::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] = note: `#[warn(unused_imports)]` on by default [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::ops::Deref` [INFO] [stderr] --> src/lib.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | use std::ops::Deref; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `parking_lot::Mutex` [INFO] [stderr] --> src/lib.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | use parking_lot::Mutex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Executor` and `Task` [INFO] [stderr] --> src/lib.rs:104:33 [INFO] [stderr] | [INFO] [stderr] 104 | use product_os_async_executor::{Executor, Task}; [INFO] [stderr] | ^^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/lib.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `sse` [INFO] [stderr] --> src/lib.rs:675:11 [INFO] [stderr] | [INFO] [stderr] 675 | #[cfg(feature = "sse")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `async-trait`, `axum`, `axum-extra`, `axum-macros`, `axum-server`, `axum-server-dual-protocol`, `axum_csrf`, `compression`, `controller`, `core`, `cors`, `csp`, `cspolicy`, `csrf`, `custom`, `default`, `dual_server`, `executor_tokio`, `extract_headers`, `hyper`, `hyper-rustls`, `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:780:49 [INFO] [stderr] | [INFO] [stderr] 780 | ...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:780:77 [INFO] [stderr] | [INFO] [stderr] 780 | ...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:780:106 [INFO] [stderr] | [INFO] [stderr] 780 | ...n_all_interfaces: bool, custom_port: Option, custom_router: Option, with_connect_info: bool) -> Result<(), Box src/lib.rs:780:132 [INFO] [stderr] | [INFO] [stderr] 780 | ...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:780:163 [INFO] [stderr] | [INFO] [stderr] 780 | ...: 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: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:405:13 [INFO] [stderr] | [INFO] [stderr] 405 | 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: `product-os-server` (lib) generated 17 warnings (run `cargo fix --lib -p product-os-server` to apply 10 suggestions) [INFO] [stderr] warning: `product-os-server` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/product_os_server-6f9b03a9e0e00f3c) [INFO] [stdout] [INFO] [stderr] Doc-tests product_os_server [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/http_server.rs - http_server::create_http_service_with_axum (line 18) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/http_server.rs - http_server::create_http_service_with_axum (line 18) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketAddr` [INFO] [stdout] --> src/http_server.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 4 | let socket_address = SocketAddr::from((IpAddr::V4(Ipv4Addr::new(127, 0, 0, 1)), 8080)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SocketAddr` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 3 + use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 3 + use core::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 3 + use no_std_compat::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IpAddr` [INFO] [stdout] --> src/http_server.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 4 | let socket_address = SocketAddr::from((IpAddr::V4(Ipv4Addr::new(127, 0, 0, 1)), 8080)); [INFO] [stdout] | ^^^^^^ use of undeclared type `IpAddr` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 3 + use std::net::IpAddr; [INFO] [stdout] | [INFO] [stdout] 3 + use no_std_compat::net::IpAddr; [INFO] [stdout] | [INFO] [stdout] 3 + use product_os_net::IpAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ipv4Addr` [INFO] [stdout] --> src/http_server.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 4 | let socket_address = SocketAddr::from((IpAddr::V4(Ipv4Addr::new(127, 0, 0, 1)), 8080)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ipv4Addr` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use std::net::Ipv4Addr; [INFO] [stdout] | [INFO] [stdout] 3 + use no_std_compat::net::Ipv4Addr; [INFO] [stdout] | [INFO] [stdout] 3 + use product_os_net::Ipv4Addr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `home_handler` in this scope [INFO] [stdout] --> src/http_server.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 5 | let router = generate_router().get("/", home_handler).build().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `service` in this scope [INFO] [stdout] --> src/http_server.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 10 | server.serve(service); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_router` in this scope [INFO] [stdout] --> src/http_server.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 5 | let router = generate_router().get("/", home_handler).build().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_insecure_service` in this scope [INFO] [stdout] --> src/http_server.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 8 | let server = create_insecure_service(socket_address); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/http_server.rs - http_server::create_http_service_with_axum (line 18) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b73fff4f3e4544aa848bee4b4a114d9e86d4af48c038146cc4becbad0c5ff9e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b73fff4f3e4544aa848bee4b4a114d9e86d4af48c038146cc4becbad0c5ff9e8", kill_on_drop: false }` [INFO] [stdout] b73fff4f3e4544aa848bee4b4a114d9e86d4af48c038146cc4becbad0c5ff9e8