[INFO] fetching crate hateoas 2.0.0-alpha.3... [INFO] testing hateoas-2.0.0-alpha.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate hateoas 2.0.0-alpha.3 into /workspace/builds/worker-7-tc1/source [INFO] removed /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hateoas 2.0.0-alpha.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cobs v0.3.0 [INFO] [stderr] Downloaded postcard v1.1.3 [INFO] [stderr] Downloaded lexpr-macros v0.2.2 [INFO] [stderr] Downloaded iter-read v1.1.0 [INFO] [stderr] Downloaded libflate_lz77 v2.1.0 [INFO] [stderr] Downloaded serde-lexpr v0.1.3 [INFO] [stderr] Downloaded simple_serde v1.1.3 [INFO] [stderr] Downloaded actix-rt v2.11.0 [INFO] [stderr] Downloaded dary_heap v0.3.7 [INFO] [stderr] Downloaded libflate v2.1.0 [INFO] [stderr] Downloaded railsgun v2.0.3 [INFO] [stderr] Downloaded lexpr v0.2.7 [INFO] [stderr] Downloaded flexbuffers v2.0.0 [INFO] [stderr] Downloaded ron v0.9.0 [INFO] [stderr] Downloaded actix-http v3.11.1 [INFO] [stderr] Downloaded serde-pickle v1.2.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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27917994eaccdc4f37ed0cd9c14944857df4d4eaa37cff8a025b92d10748736e [INFO] running `Command { std: "docker" "start" "-a" "27917994eaccdc4f37ed0cd9c14944857df4d4eaa37cff8a025b92d10748736e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27917994eaccdc4f37ed0cd9c14944857df4d4eaa37cff8a025b92d10748736e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27917994eaccdc4f37ed0cd9c14944857df4d4eaa37cff8a025b92d10748736e", kill_on_drop: false }` [INFO] [stdout] 27917994eaccdc4f37ed0cd9c14944857df4d4eaa37cff8a025b92d10748736e [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=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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1b07104c1d08ddcbd537cb6ed5d37031d62026af63070602a7f9dc27105abc5 [INFO] running `Command { std: "docker" "start" "-a" "e1b07104c1d08ddcbd537cb6ed5d37031d62026af63070602a7f9dc27105abc5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-lite v0.1.7 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling time-macros v0.2.23 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling libflate_lz77 v2.1.0 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling lexpr-macros v0.2.2 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling dary_heap v0.3.7 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling libflate v2.1.0 [INFO] [stderr] Compiling lexpr v0.2.7 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling actix-router v0.5.3 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling typed-builder-macro v0.16.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling typed-builder v0.16.2 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling cobs v0.3.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling iter-read v1.1.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde-pickle v1.2.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling bson v2.15.0 [INFO] [stderr] Compiling apache-avro v0.16.0 [INFO] [stderr] Compiling postcard v1.1.3 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling actix-http v3.11.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling ron v0.9.0 [INFO] [stderr] Compiling flexbuffers v2.0.0 [INFO] [stderr] Compiling serde-lexpr v0.1.3 [INFO] [stderr] Compiling serde_qs v0.13.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling simple_serde v1.1.3 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling railsgun v2.0.3 [INFO] [stderr] Compiling serde_with v2.3.3 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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] 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] 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)]` (part of `#[warn(unused)]`) 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: `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] running `Command { std: "docker" "inspect" "e1b07104c1d08ddcbd537cb6ed5d37031d62026af63070602a7f9dc27105abc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1b07104c1d08ddcbd537cb6ed5d37031d62026af63070602a7f9dc27105abc5", kill_on_drop: false }` [INFO] [stdout] e1b07104c1d08ddcbd537cb6ed5d37031d62026af63070602a7f9dc27105abc5