[INFO] fetching crate axum-codec 0.0.19... [INFO] testing axum-codec-0.0.19 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate axum-codec 0.0.19 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate axum-codec 0.0.19 [INFO] finished tweaking crates.io crate axum-codec 0.0.19 [INFO] tweaked toml for crates.io crate axum-codec 0.0.19 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate axum-codec 0.0.19 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate axum-codec 0.0.19 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator_derive v0.20.0 [INFO] [stderr] Downloaded axum-codec-macros v0.0.12 [INFO] [stderr] Downloaded bitcode_derive v0.6.5 [INFO] [stderr] Downloaded bincode_derive v2.0.0-rc.3 [INFO] [stderr] Downloaded bitcode v0.6.5 [INFO] [stderr] Downloaded dyn-clone v1.0.18 [INFO] [stderr] Downloaded virtue v0.0.13 [INFO] [stderr] Downloaded validator v0.20.0 [INFO] [stderr] Downloaded glam v0.30.0 [INFO] [stderr] Downloaded aide v0.14.1 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 621f403cf9674563fdcdb45405e09a192c2ac5fd8c4849586b4babc8b054337a [INFO] running `Command { std: "docker" "start" "-a" "621f403cf9674563fdcdb45405e09a192c2ac5fd8c4849586b4babc8b054337a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "621f403cf9674563fdcdb45405e09a192c2ac5fd8c4849586b4babc8b054337a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "621f403cf9674563fdcdb45405e09a192c2ac5fd8c4849586b4babc8b054337a", kill_on_drop: false }` [INFO] [stdout] 621f403cf9674563fdcdb45405e09a192c2ac5fd8c4849586b4babc8b054337a [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d24bb673b310b40d155c745aca5386367ea94b1d88f30045bb6129b8d611622a [INFO] running `Command { std: "docker" "start" "-a" "d24bb673b310b40d155c745aca5386367ea94b1d88f30045bb6129b8d611622a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling axum-core v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling axum-codec-macros v0.0.12 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling axum v0.8.1 [INFO] [stderr] Compiling axum-codec v0.0.19 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.99s [INFO] running `Command { std: "docker" "inspect" "d24bb673b310b40d155c745aca5386367ea94b1d88f30045bb6129b8d611622a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d24bb673b310b40d155c745aca5386367ea94b1d88f30045bb6129b8d611622a", kill_on_drop: false }` [INFO] [stdout] d24bb673b310b40d155c745aca5386367ea94b1d88f30045bb6129b8d611622a [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c986e46318a7d6f862370d113df8cdcdf9b84fb9b01c2796a03f6ec9a4ca17c1 [INFO] running `Command { std: "docker" "start" "-a" "c986e46318a7d6f862370d113df8cdcdf9b84fb9b01c2796a03f6ec9a4ca17c1", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling bytemuck v1.21.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling axum-core v0.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling axum-codec-macros v0.0.12 [INFO] [stderr] Compiling bitcode_derive v0.6.5 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling bitcode v0.6.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling axum v0.8.1 [INFO] [stderr] Compiling axum-codec v0.0.19 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum_codec` [INFO] [stdout] --> src/extract.rs:397:2 [INFO] [stdout] | [INFO] [stdout] 397 | #[crate::apply(decode)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `axum_codec` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `crate::apply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum_codec` [INFO] [stdout] --> src/lib.rs:62:2 [INFO] [stdout] | [INFO] [stdout] 62 | #[apply(decode, encode)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `axum_codec` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `apply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum_codec` [INFO] [stdout] --> src/lib.rs:70:2 [INFO] [stdout] | [INFO] [stdout] 70 | #[apply(decode, encode)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `axum_codec` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `apply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/extract.rs:397:2 [INFO] [stdout] | [INFO] [stdout] 397 | #[crate::apply(decode)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] = note: this error originates in the attribute macro `crate::apply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 399 + #[derive(Deserialize, Serialize)] [INFO] [stdout] 400 | struct Data { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:62:2 [INFO] [stdout] | [INFO] [stdout] 62 | #[apply(decode, encode)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] = note: this error originates in the attribute macro `apply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 64 + #[derive(Deserialize, Serialize)] [INFO] [stdout] 65 | struct Data { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:70:2 [INFO] [stdout] | [INFO] [stdout] 70 | #[apply(decode, encode)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] = note: this error originates in the attribute macro `apply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 72 + #[derive(Deserialize, Serialize)] [INFO] [stdout] 73 | struct BorrowedData<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `extract::test::Data: CodecDecode<'_>` is not satisfied [INFO] [stdout] --> src/extract.rs:407:21 [INFO] [stdout] | [INFO] [stdout] 407 | let Codec(data) = Codec::::from_bytes(bytes, ContentType::Json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `extract::test::Data` [INFO] [stdout] | [INFO] [stdout] = note: If you're looking for a zero-copy extractor, use `BorrowCodec` [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_json::value::RawValue [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 148 others [INFO] [stdout] note: required for `extract::test::Data` to implement `CodecDecode<'_>` [INFO] [stdout] --> src/decode.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / crate::macros::__private_decode_trait! { [INFO] [stdout] 4 | | /// Decoder trait for deserializing bytes into all supported formats. [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// Note that feature flags affect this trait differently than normal. In this case, [INFO] [stdout] 7 | | /// feature flags further restrict the trait instead of being additive. This may change [INFO] [stdout] 8 | | /// in the future. [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required by a bound in `decode::>::from_bytes` [INFO] [stdout] --> src/decode.rs:133:6 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn from_bytes(bytes: &'b [u8], content_type: ContentType) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 132 | where [INFO] [stdout] 133 | T: CodecDecode<'b>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `decode::>::from_bytes` [INFO] [stdout] = note: this error originates in the macro `crate::macros::__private_decode_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `extract::test::Data: CodecDecode<'_>` is not satisfied [INFO] [stdout] --> src/extract.rs:418:21 [INFO] [stdout] | [INFO] [stdout] 418 | let Codec(data) = Codec::::from_bytes(bytes, ContentType::MsgPack).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `extract::test::Data` [INFO] [stdout] | [INFO] [stdout] = note: If you're looking for a zero-copy extractor, use `BorrowCodec` [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_json::value::RawValue [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 148 others [INFO] [stdout] note: required for `extract::test::Data` to implement `CodecDecode<'_>` [INFO] [stdout] --> src/decode.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / crate::macros::__private_decode_trait! { [INFO] [stdout] 4 | | /// Decoder trait for deserializing bytes into all supported formats. [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// Note that feature flags affect this trait differently than normal. In this case, [INFO] [stdout] 7 | | /// feature flags further restrict the trait instead of being additive. This may change [INFO] [stdout] 8 | | /// in the future. [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required by a bound in `decode::>::from_bytes` [INFO] [stdout] --> src/decode.rs:133:6 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn from_bytes(bytes: &'b [u8], content_type: ContentType) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 132 | where [INFO] [stdout] 133 | T: CodecDecode<'b>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `decode::>::from_bytes` [INFO] [stdout] = note: this error originates in the macro `crate::macros::__private_decode_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MsgPack` found for enum `content::ContentType` in the current scope [INFO] [stdout] --> src/extract.rs:418:67 [INFO] [stdout] | [INFO] [stdout] 418 | let Codec(data) = Codec::::from_bytes(bytes, ContentType::MsgPack).unwrap(); [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `content::ContentType` [INFO] [stdout] | [INFO] [stdout] ::: src/content.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum ContentType { [INFO] [stdout] | -------------------- variant or associated item `MsgPack` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_msgpack` found for struct `extract::Codec<&test::Data>` in the current scope [INFO] [stdout] --> src/lib.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | let encoded = Codec(&data).to_msgpack().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `extract::Codec<&test::Data>` [INFO] [stdout] | [INFO] [stdout] ::: src/extract.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Codec(pub T); [INFO] [stdout] | ------------------- method `to_msgpack` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_msgpack` found for struct `extract::Codec` in the current scope [INFO] [stdout] --> src/lib.rs:99:39 [INFO] [stdout] | [INFO] [stdout] 99 | let Codec(decoded) = Codec::::from_msgpack(&encoded).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `extract::Codec` [INFO] [stdout] | [INFO] [stdout] ::: src/extract.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Codec(pub T); [INFO] [stdout] | ------------------- function or associated item `from_msgpack` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `extract::Codec`, consider using `decode::>::from_bytes` which returns `Result, CodecRejection>` [INFO] [stdout] --> src/decode.rs:131:2 [INFO] [stdout] | [INFO] [stdout] 131 | / pub fn from_bytes(bytes: &'b [u8], content_type: ContentType) -> Result [INFO] [stdout] 132 | | where [INFO] [stdout] 133 | | T: CodecDecode<'b>, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_msgpack` found for struct `extract::Codec<&BorrowedData<'_>>` in the current scope [INFO] [stdout] --> src/lib.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | let encoded = Codec(&data).to_msgpack().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `extract::Codec<&BorrowedData<'_>>` [INFO] [stdout] | [INFO] [stdout] ::: src/extract.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Codec(pub T); [INFO] [stdout] | ------------------- method `to_msgpack` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_msgpack` found for struct `extract::Codec>` in the current scope [INFO] [stdout] --> src/lib.rs:109:47 [INFO] [stdout] | [INFO] [stdout] 109 | let Codec(decoded) = Codec::::from_msgpack(&encoded).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `extract::Codec>` [INFO] [stdout] | [INFO] [stdout] ::: src/extract.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Codec(pub T); [INFO] [stdout] | ------------------- function or associated item `from_msgpack` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `extract::Codec>`, consider using `decode::>::from_bytes` which returns `Result, CodecRejection>` [INFO] [stdout] --> src/decode.rs:131:2 [INFO] [stdout] | [INFO] [stdout] 131 | / pub fn from_bytes(bytes: &'b [u8], content_type: ContentType) -> Result [INFO] [stdout] 132 | | where [INFO] [stdout] 133 | | T: CodecDecode<'b>, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_json` exists for struct `extract::Codec<&test::Data>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:117:30 [INFO] [stdout] | [INFO] [stdout] 64 | struct Data { [INFO] [stdout] | ----------- doesn't satisfy `test::Data: Serialize` [INFO] [stdout] ... [INFO] [stdout] 117 | let encoded = Codec(&data).to_json().unwrap(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `extract::Codec<&test::Data>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/extract.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Codec(pub T); [INFO] [stdout] | ------------------- method `to_json` not found for this struct [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `test::Data: Serialize` [INFO] [stdout] which is required by `&test::Data: Serialize` [INFO] [stdout] note: the trait `Serialize` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.218/src/ser/mod.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub trait Serialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_json` exists for struct `extract::Codec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:119:39 [INFO] [stdout] | [INFO] [stdout] 64 | struct Data { [INFO] [stdout] | ----------- doesn't satisfy `test::Data: Deserialize<'_>` [INFO] [stdout] ... [INFO] [stdout] 119 | let Codec(decoded) = Codec::::from_json(&encoded).unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item cannot be called on `extract::Codec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/extract.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Codec(pub T); [INFO] [stdout] | ------------------- function or associated item `from_json` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `extract::Codec`, consider using `decode::>::from_bytes` which returns `Result, CodecRejection>` [INFO] [stdout] --> src/decode.rs:131:2 [INFO] [stdout] | [INFO] [stdout] 131 | / pub fn from_bytes(bytes: &'b [u8], content_type: ContentType) -> Result [INFO] [stdout] 132 | | where [INFO] [stdout] 133 | | T: CodecDecode<'b>, [INFO] [stdout] | |___________________________^ [INFO] [stdout] note: trait bound `test::Data: Deserialize<'_>` was not satisfied [INFO] [stdout] --> src/decode.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'b, T> Codec [INFO] [stdout] | -------- [INFO] [stdout] 13 | where [INFO] [stdout] 14 | T: serde::de::Deserialize<'b>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Deserialize` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.218/src/de/mod.rs:541:1 [INFO] [stdout] | [INFO] [stdout] 541 | pub trait Deserialize<'de>: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_json` exists for struct `extract::Codec<&BorrowedData<'_>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:127:30 [INFO] [stdout] | [INFO] [stdout] 72 | struct BorrowedData<'a> { [INFO] [stdout] | ----------------------- doesn't satisfy `BorrowedData<'_>: Serialize` [INFO] [stdout] ... [INFO] [stdout] 127 | let encoded = Codec(&data).to_json().unwrap(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `extract::Codec<&BorrowedData<'_>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/extract.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Codec(pub T); [INFO] [stdout] | ------------------- method `to_json` not found for this struct [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `BorrowedData<'_>: Serialize` [INFO] [stdout] which is required by `&BorrowedData<'_>: Serialize` [INFO] [stdout] note: the trait `Serialize` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.218/src/ser/mod.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub trait Serialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_json` exists for struct `extract::Codec>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:129:47 [INFO] [stdout] | [INFO] [stdout] 72 | struct BorrowedData<'a> { [INFO] [stdout] | ----------------------- doesn't satisfy `BorrowedData<'_>: Deserialize<'_>` [INFO] [stdout] ... [INFO] [stdout] 129 | let Codec(decoded) = Codec::::from_json(&encoded).unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item cannot be called on `extract::Codec>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/extract.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Codec(pub T); [INFO] [stdout] | ------------------- function or associated item `from_json` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `extract::Codec>`, consider using `decode::>::from_bytes` which returns `Result, CodecRejection>` [INFO] [stdout] --> src/decode.rs:131:2 [INFO] [stdout] | [INFO] [stdout] 131 | / pub fn from_bytes(bytes: &'b [u8], content_type: ContentType) -> Result [INFO] [stdout] 132 | | where [INFO] [stdout] 133 | | T: CodecDecode<'b>, [INFO] [stdout] | |___________________________^ [INFO] [stdout] note: trait bound `BorrowedData<'_>: Deserialize<'_>` was not satisfied [INFO] [stdout] --> src/decode.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'b, T> Codec [INFO] [stdout] | -------- [INFO] [stdout] 13 | where [INFO] [stdout] 14 | T: serde::de::Deserialize<'b>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Deserialize` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.218/src/de/mod.rs:541:1 [INFO] [stdout] | [INFO] [stdout] 541 | pub trait Deserialize<'de>: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_form` found for struct `extract::Codec<&test::Data>` in the current scope [INFO] [stdout] --> src/lib.rs:137:30 [INFO] [stdout] | [INFO] [stdout] 137 | let encoded = Codec(&data).to_form().unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `extract::Codec<&test::Data>` [INFO] [stdout] | [INFO] [stdout] ::: src/extract.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Codec(pub T); [INFO] [stdout] | ------------------- method `to_form` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_form` found for struct `extract::Codec` in the current scope [INFO] [stdout] --> src/lib.rs:139:39 [INFO] [stdout] | [INFO] [stdout] 139 | let Codec(decoded) = Codec::::from_form(&encoded).unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `extract::Codec` [INFO] [stdout] | [INFO] [stdout] ::: src/extract.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Codec(pub T); [INFO] [stdout] | ------------------- function or associated item `from_form` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `extract::Codec`, consider using `decode::>::from_bytes` which returns `Result, CodecRejection>` [INFO] [stdout] --> src/decode.rs:131:2 [INFO] [stdout] | [INFO] [stdout] 131 | / pub fn from_bytes(bytes: &'b [u8], content_type: ContentType) -> Result [INFO] [stdout] 132 | | where [INFO] [stdout] 133 | | T: CodecDecode<'b>, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_form` found for struct `extract::Codec<&BorrowedData<'_>>` in the current scope [INFO] [stdout] --> src/lib.rs:147:30 [INFO] [stdout] | [INFO] [stdout] 147 | let encoded = Codec(&data).to_form().unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `extract::Codec<&BorrowedData<'_>>` [INFO] [stdout] | [INFO] [stdout] ::: src/extract.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Codec(pub T); [INFO] [stdout] | ------------------- method `to_form` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_form` found for struct `extract::Codec>` in the current scope [INFO] [stdout] --> src/lib.rs:149:47 [INFO] [stdout] | [INFO] [stdout] 149 | let Codec(decoded) = Codec::::from_form(&encoded).unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `extract::Codec>` [INFO] [stdout] | [INFO] [stdout] ::: src/extract.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Codec(pub T); [INFO] [stdout] | ------------------- function or associated item `from_form` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `extract::Codec>`, consider using `decode::>::from_bytes` which returns `Result, CodecRejection>` [INFO] [stdout] --> src/decode.rs:131:2 [INFO] [stdout] | [INFO] [stdout] 131 | / pub fn from_bytes(bytes: &'b [u8], content_type: ContentType) -> Result [INFO] [stdout] 132 | | where [INFO] [stdout] 133 | | T: CodecDecode<'b>, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_yaml` found for struct `extract::Codec<&test::Data>` in the current scope [INFO] [stdout] --> src/lib.rs:179:30 [INFO] [stdout] | [INFO] [stdout] 179 | let encoded = Codec(&data).to_yaml().unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `extract::Codec<&test::Data>` [INFO] [stdout] | [INFO] [stdout] ::: src/extract.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Codec(pub T); [INFO] [stdout] | ------------------- method `to_yaml` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_yaml` found for struct `extract::Codec` in the current scope [INFO] [stdout] --> src/lib.rs:181:39 [INFO] [stdout] | [INFO] [stdout] 181 | let Codec(decoded) = Codec::::from_yaml(&encoded).unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `extract::Codec` [INFO] [stdout] | [INFO] [stdout] ::: src/extract.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Codec(pub T); [INFO] [stdout] | ------------------- function or associated item `from_yaml` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `extract::Codec`, consider using `decode::>::from_bytes` which returns `Result, CodecRejection>` [INFO] [stdout] --> src/decode.rs:131:2 [INFO] [stdout] | [INFO] [stdout] 131 | / pub fn from_bytes(bytes: &'b [u8], content_type: ContentType) -> Result [INFO] [stdout] 132 | | where [INFO] [stdout] 133 | | T: CodecDecode<'b>, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_yaml` found for struct `extract::Codec<&BorrowedData<'_>>` in the current scope [INFO] [stdout] --> src/lib.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | let encoded = Codec(&data).to_yaml().unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `extract::Codec<&BorrowedData<'_>>` [INFO] [stdout] | [INFO] [stdout] ::: src/extract.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Codec(pub T); [INFO] [stdout] | ------------------- method `to_yaml` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_yaml` found for struct `extract::Codec>` in the current scope [INFO] [stdout] --> src/lib.rs:191:47 [INFO] [stdout] | [INFO] [stdout] 191 | let Codec(decoded) = Codec::::from_yaml(&encoded).unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `extract::Codec>` [INFO] [stdout] | [INFO] [stdout] ::: src/extract.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Codec(pub T); [INFO] [stdout] | ------------------- function or associated item `from_yaml` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `extract::Codec>`, consider using `decode::>::from_bytes` which returns `Result, CodecRejection>` [INFO] [stdout] --> src/decode.rs:131:2 [INFO] [stdout] | [INFO] [stdout] 131 | / pub fn from_bytes(bytes: &'b [u8], content_type: ContentType) -> Result [INFO] [stdout] 132 | | where [INFO] [stdout] 133 | | T: CodecDecode<'b>, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_toml` found for struct `extract::Codec<&test::Data>` in the current scope [INFO] [stdout] --> src/lib.rs:199:30 [INFO] [stdout] | [INFO] [stdout] 199 | let encoded = Codec(&data).to_toml().unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `extract::Codec<&test::Data>` [INFO] [stdout] | [INFO] [stdout] ::: src/extract.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Codec(pub T); [INFO] [stdout] | ------------------- method `to_toml` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_toml` found for struct `extract::Codec` in the current scope [INFO] [stdout] --> src/lib.rs:201:39 [INFO] [stdout] | [INFO] [stdout] 201 | let Codec(decoded) = Codec::::from_toml(&encoded).unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `extract::Codec` [INFO] [stdout] | [INFO] [stdout] ::: src/extract.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Codec(pub T); [INFO] [stdout] | ------------------- function or associated item `from_toml` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `extract::Codec`, consider using `decode::>::from_bytes` which returns `Result, CodecRejection>` [INFO] [stdout] --> src/decode.rs:131:2 [INFO] [stdout] | [INFO] [stdout] 131 | / pub fn from_bytes(bytes: &'b [u8], content_type: ContentType) -> Result [INFO] [stdout] 132 | | where [INFO] [stdout] 133 | | T: CodecDecode<'b>, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_toml` found for struct `extract::Codec<&BorrowedData<'_>>` in the current scope [INFO] [stdout] --> src/lib.rs:209:30 [INFO] [stdout] | [INFO] [stdout] 209 | let encoded = Codec(&data).to_toml().unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `extract::Codec<&BorrowedData<'_>>` [INFO] [stdout] | [INFO] [stdout] ::: src/extract.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Codec(pub T); [INFO] [stdout] | ------------------- method `to_toml` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_toml` found for struct `extract::Codec>` in the current scope [INFO] [stdout] --> src/lib.rs:211:47 [INFO] [stdout] | [INFO] [stdout] 211 | let Codec(decoded) = Codec::::from_toml(&encoded).unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `extract::Codec>` [INFO] [stdout] | [INFO] [stdout] ::: src/extract.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Codec(pub T); [INFO] [stdout] | ------------------- function or associated item `from_toml` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `extract::Codec>`, consider using `decode::>::from_bytes` which returns `Result, CodecRejection>` [INFO] [stdout] --> src/decode.rs:131:2 [INFO] [stdout] | [INFO] [stdout] 131 | / pub fn from_bytes(bytes: &'b [u8], content_type: ContentType) -> Result [INFO] [stdout] 132 | | where [INFO] [stdout] 133 | | T: CodecDecode<'b>, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bincode` found for struct `extract::Codec<&test::Data>` in the current scope [INFO] [stdout] --> src/lib.rs:219:30 [INFO] [stdout] | [INFO] [stdout] 219 | let encoded = Codec(&data).to_bincode().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `extract::Codec<&test::Data>` [INFO] [stdout] | [INFO] [stdout] ::: src/extract.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Codec(pub T); [INFO] [stdout] | ------------------- method `to_bincode` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bincode` found for struct `extract::Codec` in the current scope [INFO] [stdout] --> src/lib.rs:221:39 [INFO] [stdout] | [INFO] [stdout] 221 | let Codec(decoded) = Codec::::from_bincode(&encoded).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `extract::Codec` [INFO] [stdout] | [INFO] [stdout] ::: src/extract.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Codec(pub T); [INFO] [stdout] | ------------------- function or associated item `from_bincode` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `extract::Codec`, consider using `decode::>::from_bytes` which returns `Result, CodecRejection>` [INFO] [stdout] --> src/decode.rs:131:2 [INFO] [stdout] | [INFO] [stdout] 131 | / pub fn from_bytes(bytes: &'b [u8], content_type: ContentType) -> Result [INFO] [stdout] 132 | | where [INFO] [stdout] 133 | | T: CodecDecode<'b>, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bincode` found for struct `extract::Codec<&BorrowedData<'_>>` in the current scope [INFO] [stdout] --> src/lib.rs:229:30 [INFO] [stdout] | [INFO] [stdout] 229 | let encoded = Codec(&data).to_bincode().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `extract::Codec<&BorrowedData<'_>>` [INFO] [stdout] | [INFO] [stdout] ::: src/extract.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Codec(pub T); [INFO] [stdout] | ------------------- method `to_bincode` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bincode` found for struct `extract::Codec>` in the current scope [INFO] [stdout] --> src/lib.rs:231:47 [INFO] [stdout] | [INFO] [stdout] 231 | let Codec(decoded) = Codec::::from_bincode(&encoded).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `extract::Codec>` [INFO] [stdout] | [INFO] [stdout] ::: src/extract.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Codec(pub T); [INFO] [stdout] | ------------------- function or associated item `from_bincode` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `extract::Codec>`, consider using `decode::>::from_bytes` which returns `Result, CodecRejection>` [INFO] [stdout] --> src/decode.rs:131:2 [INFO] [stdout] | [INFO] [stdout] 131 | / pub fn from_bytes(bytes: &'b [u8], content_type: ContentType) -> Result [INFO] [stdout] 132 | | where [INFO] [stdout] 133 | | T: CodecDecode<'b>, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-codec` (lib test) due to 33 previous errors [INFO] running `Command { std: "docker" "inspect" "c986e46318a7d6f862370d113df8cdcdf9b84fb9b01c2796a03f6ec9a4ca17c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c986e46318a7d6f862370d113df8cdcdf9b84fb9b01c2796a03f6ec9a4ca17c1", kill_on_drop: false }` [INFO] [stdout] c986e46318a7d6f862370d113df8cdcdf9b84fb9b01c2796a03f6ec9a4ca17c1