[INFO] fetching crate hateoas 2.0.0-alpha.3... [INFO] checking hateoas-2.0.0-alpha.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate hateoas 2.0.0-alpha.3 into /workspace/builds/worker-5-tc1/source [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate hateoas 2.0.0-alpha.3 [INFO] finished tweaking crates.io crate hateoas 2.0.0-alpha.3 [INFO] tweaked toml for crates.io crate hateoas 2.0.0-alpha.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hateoas 2.0.0-alpha.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 296 packages to latest compatible versions [INFO] [stderr] Adding axum v0.6.20 (available: v0.8.4) [INFO] [stderr] Adding axum-core v0.3.4 (available: v0.5.2) [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.0.1) [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding railsgun v2.0.3 (available: v3.0.1) [INFO] [stderr] Adding serde_with v2.3.3 (available: v3.14.0) [INFO] [stderr] Adding simple_serde v1.1.3 (available: v2.0.0) [INFO] [stderr] Adding tower v0.4.13 (available: v0.5.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded iter-read v1.1.0 [INFO] [stderr] Downloaded lexpr-macros v0.2.2 [INFO] [stderr] Downloaded typed-builder v0.16.2 [INFO] [stderr] Downloaded typed-builder-macro v0.16.2 [INFO] [stderr] Downloaded serde-lexpr v0.1.3 [INFO] [stderr] Downloaded railsgun v2.0.3 [INFO] [stderr] Downloaded lexpr v0.2.7 [INFO] [stderr] Downloaded simple_serde v1.1.3 [INFO] [stderr] Downloaded ron v0.9.0 [INFO] [stderr] Downloaded apache-avro v0.16.0 [INFO] [stderr] Downloaded serde-pickle v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9830566dd434c32469d29234a955e9771f159a7fe90c14bc11701cc09e081a02 [INFO] running `Command { std: "docker" "start" "-a" "9830566dd434c32469d29234a955e9771f159a7fe90c14bc11701cc09e081a02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9830566dd434c32469d29234a955e9771f159a7fe90c14bc11701cc09e081a02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9830566dd434c32469d29234a955e9771f159a7fe90c14bc11701cc09e081a02", kill_on_drop: false }` [INFO] [stdout] 9830566dd434c32469d29234a955e9771f159a7fe90c14bc11701cc09e081a02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9dd56ef38bea035102e28fab18671eced20b7024f9efaab97a5fa8864206ab30 [INFO] running `Command { std: "docker" "start" "-a" "9dd56ef38bea035102e28fab18671eced20b7024f9efaab97a5fa8864206ab30", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Checking regex-lite v0.1.7 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling lexpr-macros v0.2.2 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Checking dary_heap v0.3.7 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking libflate_lz77 v2.1.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking libflate v2.1.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking lexpr v0.2.7 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking brotli v8.0.2 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking iter-read v1.1.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling typed-builder-macro v0.16.2 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking typed-builder v0.16.2 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking cobs v0.3.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking railsgun v2.0.3 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking uuid v1.18.0 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking flexbuffers v2.0.0 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking serde_qs v0.13.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking ron v0.9.0 [INFO] [stderr] Checking serde-pickle v1.2.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking serde-lexpr v0.1.3 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking postcard v1.1.3 [INFO] [stderr] Checking bson v2.15.0 [INFO] [stderr] Checking apache-avro v0.16.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking simple_serde v1.1.3 [INFO] [stderr] Checking actix-http v3.11.0 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Checking hateoas v2.0.0-alpha.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `simple_serde` [INFO] [stdout] --> src/lib.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(any(feature = "simple_serde", future = "axum"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actix`, `axum`, `default`, `http`, and `web-framework-support` [INFO] [stdout] = help: consider adding `simple_serde` 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: unexpected `cfg` condition name: `future` [INFO] [stdout] --> src/lib.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(any(feature = "simple_serde", future = "axum"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 18 - #[cfg(any(feature = "simple_serde", future = "axum"))] [INFO] [stdout] 18 + #[cfg(any(feature = "simple_serde", feature = "axum"))] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `header` [INFO] [stdout] --> src/frameworks/axum/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use http::{header, StatusCode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::HeaderMap` [INFO] [stdout] --> src/frameworks/payload_control.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::header::HeaderKey` [INFO] [stdout] --> src/hateoas.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::header::HeaderKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/header/header_key.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> src/header/header_map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoHeaderName` [INFO] [stdout] --> src/header/header_map.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use http::header::{HeaderName, IntoHeaderName}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> src/header/header_value.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple_serde` [INFO] [stdout] --> src/lib.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(any(feature = "simple_serde", future = "axum"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actix`, `axum`, `default`, `http`, and `web-framework-support` [INFO] [stdout] = help: consider adding `simple_serde` 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: unexpected `cfg` condition name: `future` [INFO] [stdout] --> src/lib.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(any(feature = "simple_serde", future = "axum"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 18 - #[cfg(any(feature = "simple_serde", future = "axum"))] [INFO] [stdout] 18 + #[cfg(any(feature = "simple_serde", feature = "axum"))] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/frameworks/actix/mod.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `header` [INFO] [stdout] --> src/frameworks/axum/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use http::{header, StatusCode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::extract::FromRequest` [INFO] [stdout] --> src/frameworks/axum/mod.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | use axum::extract::FromRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/frameworks/axum/mod.rs:204:25 [INFO] [stdout] | [INFO] [stdout] 204 | use axum::routing::{delete, get, post}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/frameworks/axum/mod.rs:207:31 [INFO] [stdout] | [INFO] [stdout] 207 | http::{self, Request, StatusCode}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Json` [INFO] [stdout] --> src/frameworks/axum/mod.rs:209:16 [INFO] [stdout] | [INFO] [stdout] 209 | use axum::{Json, Router}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/frameworks/axum/mod.rs:212:28 [INFO] [stdout] | [INFO] [stdout] 212 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SocketAddr` and `TcpListener` [INFO] [stdout] --> src/frameworks/axum/mod.rs:213:20 [INFO] [stdout] | [INFO] [stdout] 213 | use std::net::{SocketAddr, TcpListener}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower::Service` [INFO] [stdout] --> src/frameworks/axum/mod.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | use tower::Service; // for `call` [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::HeaderMap` [INFO] [stdout] --> src/frameworks/payload_control.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::header::HeaderKey` [INFO] [stdout] --> src/hateoas.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::header::HeaderKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/header/header_key.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> src/header/header_map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoHeaderName` [INFO] [stdout] --> src/header/header_map.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use http::header::{HeaderName, IntoHeaderName}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> src/header/header_value.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Status` [INFO] [stdout] --> src/metadata.rs:104:38 [INFO] [stdout] | [INFO] [stdout] 104 | use crate::{HeaderMap, Metadata, Status}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Metadata` [INFO] [stdout] --> src/status.rs:476:28 [INFO] [stdout] | [INFO] [stdout] 476 | use crate::{HeaderMap, Metadata, Status}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `simple_serde::ContentType: TryFrom<&http::HeaderValue>` is not satisfied [INFO] [stdout] --> src/frameworks/actix/body.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | .filter_map(|h| simple_serde::ContentType::try_from(h).ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<&http::HeaderValue>` is not implemented for `simple_serde::ContentType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `TryFrom`: [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom<&simple_serde::ContentType>` [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom<&std::string::String>` [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom<&str>` [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom` [INFO] [stdout] = note: required for `&http::HeaderValue` to implement `Into` [INFO] [stdout] = note: required for `simple_serde::ContentType` to implement `TryFrom<&http::HeaderValue>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `simple_serde::ContentType: std::convert::From<&http::HeaderValue>` is not satisfied [INFO] [stdout] --> src/frameworks/actix/body.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | .filter_map(|h| simple_serde::ContentType::try_from(h).ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<&http::HeaderValue>` is not implemented for `simple_serde::ContentType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `TryFrom`: [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom<&simple_serde::ContentType>` [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom<&std::string::String>` [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom<&str>` [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom` [INFO] [stdout] = note: required for `&http::HeaderValue` to implement `Into` [INFO] [stdout] = note: required for `simple_serde::ContentType` to implement `TryFrom<&http::HeaderValue>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `simple_serde::ContentType: TryFrom<&http::HeaderValue>` is not satisfied [INFO] [stdout] --> src/frameworks/actix/mod.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | .filter_map(|h| ContentType::try_from(h).ok()) [INFO] [stdout] | ^^^^^^^^^^^ the trait `std::convert::From<&http::HeaderValue>` is not implemented for `simple_serde::ContentType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `TryFrom`: [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom<&simple_serde::ContentType>` [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom<&std::string::String>` [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom<&str>` [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom` [INFO] [stdout] = note: required for `&http::HeaderValue` to implement `Into` [INFO] [stdout] = note: required for `simple_serde::ContentType` to implement `TryFrom<&http::HeaderValue>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `simple_serde::ContentType: TryIntoHeaderValue` is not satisfied [INFO] [stdout] --> src/frameworks/actix/mod.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | ... .content_type(content_type) [INFO] [stdout] | ------------ ^^^^^^^^^^^^ the trait `TryIntoHeaderValue` is not implemented for `simple_serde::ContentType` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `TryIntoHeaderValue`: [INFO] [stdout] &[u8] [INFO] [stdout] &http::HeaderValue [INFO] [stdout] &str [INFO] [stdout] Accept [INFO] [stdout] AcceptCharset [INFO] [stdout] AcceptEncoding [INFO] [stdout] AcceptLanguage [INFO] [stdout] Allow [INFO] [stdout] and 30 others [INFO] [stdout] note: required by a bound in `HttpResponseBuilder::content_type` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.11.0/src/response/builder.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn content_type(&mut self, value: V) -> &mut Self [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 205 | where [INFO] [stdout] 206 | V: TryIntoHeaderValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `HttpResponseBuilder::content_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `simple_serde::ContentType: std::convert::From<&http::HeaderValue>` is not satisfied [INFO] [stdout] --> src/frameworks/actix/mod.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | .filter_map(|h| ContentType::try_from(h).ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<&http::HeaderValue>` is not implemented for `simple_serde::ContentType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `TryFrom`: [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom<&simple_serde::ContentType>` [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom<&std::string::String>` [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom<&str>` [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom` [INFO] [stdout] = note: required for `&http::HeaderValue` to implement `Into` [INFO] [stdout] = note: required for `simple_serde::ContentType` to implement `TryFrom<&http::HeaderValue>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `simple_serde::ContentType: TryFrom<&http::HeaderValue>` is not satisfied [INFO] [stdout] --> src/frameworks/actix/body.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | .filter_map(|h| simple_serde::ContentType::try_from(h).ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<&http::HeaderValue>` is not implemented for `simple_serde::ContentType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `TryFrom`: [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom<&simple_serde::ContentType>` [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom<&std::string::String>` [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom<&str>` [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom` [INFO] [stdout] = note: required for `&http::HeaderValue` to implement `Into` [INFO] [stdout] = note: required for `simple_serde::ContentType` to implement `TryFrom<&http::HeaderValue>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `simple_serde::ContentType: std::convert::From<&http::HeaderValue>` is not satisfied [INFO] [stdout] --> src/frameworks/actix/body.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | .filter_map(|h| simple_serde::ContentType::try_from(h).ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<&http::HeaderValue>` is not implemented for `simple_serde::ContentType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `TryFrom`: [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom<&simple_serde::ContentType>` [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom<&std::string::String>` [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom<&str>` [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom` [INFO] [stdout] = note: required for `&http::HeaderValue` to implement `Into` [INFO] [stdout] = note: required for `simple_serde::ContentType` to implement `TryFrom<&http::HeaderValue>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `simple_serde::ContentType: TryFrom<&http::HeaderValue>` is not satisfied [INFO] [stdout] --> src/frameworks/actix/mod.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | .filter_map(|h| ContentType::try_from(h).ok()) [INFO] [stdout] | ^^^^^^^^^^^ the trait `std::convert::From<&http::HeaderValue>` is not implemented for `simple_serde::ContentType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `TryFrom`: [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom<&simple_serde::ContentType>` [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom<&std::string::String>` [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom<&str>` [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom` [INFO] [stdout] = note: required for `&http::HeaderValue` to implement `Into` [INFO] [stdout] = note: required for `simple_serde::ContentType` to implement `TryFrom<&http::HeaderValue>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `simple_serde::ContentType: TryIntoHeaderValue` is not satisfied [INFO] [stdout] --> src/frameworks/actix/mod.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | ... .content_type(content_type) [INFO] [stdout] | ------------ ^^^^^^^^^^^^ the trait `TryIntoHeaderValue` is not implemented for `simple_serde::ContentType` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `TryIntoHeaderValue`: [INFO] [stdout] &[u8] [INFO] [stdout] &http::HeaderValue [INFO] [stdout] &str [INFO] [stdout] Accept [INFO] [stdout] AcceptCharset [INFO] [stdout] AcceptEncoding [INFO] [stdout] AcceptLanguage [INFO] [stdout] Allow [INFO] [stdout] and 30 others [INFO] [stdout] note: required by a bound in `HttpResponseBuilder::content_type` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.11.0/src/response/builder.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn content_type(&mut self, value: V) -> &mut Self [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 205 | where [INFO] [stdout] 206 | V: TryIntoHeaderValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `HttpResponseBuilder::content_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `simple_serde::ContentType: std::convert::From<&http::HeaderValue>` is not satisfied [INFO] [stdout] --> src/frameworks/actix/mod.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | .filter_map(|h| ContentType::try_from(h).ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<&http::HeaderValue>` is not implemented for `simple_serde::ContentType` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `TryFrom`: [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom<&simple_serde::ContentType>` [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom<&std::string::String>` [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom<&str>` [INFO] [stdout] `simple_serde::ContentType` implements `TryFrom` [INFO] [stdout] = note: required for `&http::HeaderValue` to implement `Into` [INFO] [stdout] = note: required for `simple_serde::ContentType` to implement `TryFrom<&http::HeaderValue>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `FailedConvertingHeaderValueToContentType` found for enum `simple_serde::Error` in the current scope [INFO] [stdout] --> src/frameworks/axum/mod.rs:185:20 [INFO] [stdout] | [INFO] [stdout] 185 | Error::FailedConvertingHeaderValueToContentType(_) => Hateoas::BAD_REQUEST( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `simple_serde::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `InvalidHeaderValue` found for enum `simple_serde::Error` in the current scope [INFO] [stdout] --> src/frameworks/axum/mod.rs:189:20 [INFO] [stdout] | [INFO] [stdout] 189 | Error::InvalidHeaderValue(_) => Hateoas::BAD_REQUEST( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ variant or associated item not found in `simple_serde::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `FailedConvertingHeaderValueToContentType` found for enum `simple_serde::Error` in the current scope [INFO] [stdout] --> src/frameworks/axum/mod.rs:185:20 [INFO] [stdout] | [INFO] [stdout] 185 | Error::FailedConvertingHeaderValueToContentType(_) => Hateoas::BAD_REQUEST( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `simple_serde::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `InvalidHeaderValue` found for enum `simple_serde::Error` in the current scope [INFO] [stdout] --> src/frameworks/axum/mod.rs:189:20 [INFO] [stdout] | [INFO] [stdout] 189 | Error::InvalidHeaderValue(_) => Hateoas::BAD_REQUEST( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ variant or associated item not found in `simple_serde::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/frameworks/axum/mod.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | .or_else(|t| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/frameworks/axum/mod.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | fn from(e: axum_core::extract::rejection::BytesRejection) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/frameworks/axum/mod.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | .or_else(|t| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/frameworks/axum/mod.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | fn from(e: axum_core::extract::rejection::BytesRejection) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hateoas.rs:491:13 [INFO] [stdout] | [INFO] [stdout] 491 | let mut spec = response.spec_mut(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/status.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn merge(&mut self, other: Option<&Self>) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hateoas` (lib) due to 7 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/status.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn merge(&mut self, other: Option<&Self>) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/status.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | let mut status = Status::new(None, None, None as Option, Some(uuid), None); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hateoas` (lib test) due to 7 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9dd56ef38bea035102e28fab18671eced20b7024f9efaab97a5fa8864206ab30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dd56ef38bea035102e28fab18671eced20b7024f9efaab97a5fa8864206ab30", kill_on_drop: false }` [INFO] [stdout] 9dd56ef38bea035102e28fab18671eced20b7024f9efaab97a5fa8864206ab30