[INFO] fetching crate page-hunter 0.5.2... [INFO] testing page-hunter-0.5.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate page-hunter 0.5.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate page-hunter 0.5.2 [INFO] finished tweaking crates.io crate page-hunter 0.5.2 [INFO] tweaked toml for crates.io crate page-hunter 0.5.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate page-hunter 0.5.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate page-hunter 0.5.2 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc63f6f830be64513aa1e2057ce347d344af86a9658278342feb945a749bfb4d [INFO] running `Command { std: "docker" "start" "-a" "cc63f6f830be64513aa1e2057ce347d344af86a9658278342feb945a749bfb4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc63f6f830be64513aa1e2057ce347d344af86a9658278342feb945a749bfb4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc63f6f830be64513aa1e2057ce347d344af86a9658278342feb945a749bfb4d", kill_on_drop: false }` [INFO] [stdout] cc63f6f830be64513aa1e2057ce347d344af86a9658278342feb945a749bfb4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7615d4b4729fb4460877c37498ebd5f864df93fe3953d52d9f8776dde29baca8 [INFO] running `Command { std: "docker" "start" "-a" "7615d4b4729fb4460877c37498ebd5f864df93fe3953d52d9f8776dde29baca8", kill_on_drop: false }` [INFO] [stderr] Compiling page-hunter v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "7615d4b4729fb4460877c37498ebd5f864df93fe3953d52d9f8776dde29baca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7615d4b4729fb4460877c37498ebd5f864df93fe3953d52d9f8776dde29baca8", kill_on_drop: false }` [INFO] [stdout] 7615d4b4729fb4460877c37498ebd5f864df93fe3953d52d9f8776dde29baca8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 435b14a723c9ecae3b7b77b29743420e1e50d2c8c991a3068d32caa3273a28ad [INFO] running `Command { std: "docker" "start" "-a" "435b14a723c9ecae3b7b77b29743420e1e50d2c8c991a3068d32caa3273a28ad", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling thiserror v2.0.9 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.9 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling sqlx-postgres v0.8.3 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Compiling sqlx v0.8.3 [INFO] [stderr] Compiling page-hunter v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 48.10s [INFO] running `Command { std: "docker" "inspect" "435b14a723c9ecae3b7b77b29743420e1e50d2c8c991a3068d32caa3273a28ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "435b14a723c9ecae3b7b77b29743420e1e50d2c8c991a3068d32caa3273a28ad", kill_on_drop: false }` [INFO] [stdout] 435b14a723c9ecae3b7b77b29743420e1e50d2c8c991a3068d32caa3273a28ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3c2574d0187169b30edc78494e1377b55058fa161e0ff14736682a8332d7c0eb [INFO] running `Command { std: "docker" "start" "-a" "3c2574d0187169b30edc78494e1377b55058fa161e0ff14736682a8332d7c0eb", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/page_hunter-407c486fd658ddbd) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test book::test_book::test_book_clone ... ok [INFO] [stdout] test book::test_book::test_book_constructor ... ok [INFO] [stdout] test book::test_book::test_book_default ... ok [INFO] [stdout] test book::test_book::test_book_debug ... ok [INFO] [stdout] test book::test_book::test_book_display ... ok [INFO] [stdout] test errors::test_errors::test_error_kind_invalid_value_error_debug ... ok [INFO] [stdout] test errors::test_errors::test_pagination_error_debug ... ok [INFO] [stdout] test errors::test_errors::test_pagination_error_display ... ok [INFO] [stdout] test errors::test_errors::test_error_kind_invalid_value_error_display ... ok [INFO] [stdout] test book::test_book::test_book_into_iter ... ok [INFO] [stdout] test page::test_page_model::test_default_page_model_constructor ... ok [INFO] [stdout] test errors::test_errors::test_pagination_error_from_error_kind ... ok [INFO] [stdout] test page::test_page_model::test_item_length_error_for_intermediate_page_index ... ok [INFO] [stdout] test page::test_page_model::test_items_length_not_equal_to_size_for_not_last_page ... ok [INFO] [stdout] test page::test_page_model::test_page_index_exceeds_total_pages ... ok [INFO] [stdout] test page::test_page_model::test_page_model_clone ... ok [INFO] [stdout] test page::test_page_model::test_page_model_constructor ... ok [INFO] [stdout] test page::test_page_model::test_page_model_debug ... ok [INFO] [stdout] test page::test_page_model::test_page_model_display ... ok [INFO] [stdout] test page::test_page_model::test_page_model_from_size_equals_to_0 ... ok [INFO] [stdout] test page::test_page_model::test_page_model_into_iter ... ok [INFO] [stdout] test pagination::records::test_records_pagination::test_bind_records_success ... ok [INFO] [stdout] test pagination::records::test_records_pagination::test_bind_records_success_with_zero_size ... ok [INFO] [stdout] test pagination::records::test_records_pagination::test_paginate_records_error ... ok [INFO] [stdout] test pagination::records::test_records_pagination::test_paginate_records_success ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests page_hunter [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/lib.rs - (line 120) - compile ... ok [INFO] [stdout] test src/book.rs - book::Book::new (line 36) - compile ... ok [INFO] [stdout] test src/pagination/records.rs - pagination::records::bind_records (line 55) - compile ... ok [INFO] [stdout] test src/page.rs - page::Page::new (line 178) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 43) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 22) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 100) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 60) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 132) - compile ... FAILED [INFO] [stdout] test src/pagination/records.rs - pagination::records::paginate_records (line 14) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 182) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 155) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 60) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `Page: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:78:55 [INFO] [stdout] | [INFO] [stdout] 21 | let serialized_page: String = serde_json::to_string(&page_model) [INFO] [stdout] | --------------------- ^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `Page` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Page` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 136 others [INFO] [stdout] note: required by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/ser.rs:2239:17 [INFO] [stdout] | [INFO] [stdout] 2237 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2238 | where [INFO] [stdout] 2239 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Page: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:83:38 [INFO] [stdout] | [INFO] [stdout] 26 | let deserialized_page: Page = serde_json::from_str(&serialized_page) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `Page` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Page` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_json::value::RawValue [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 by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 132) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `Book: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:143:55 [INFO] [stdout] | [INFO] [stdout] 14 | let serialized_book: String = serde_json::to_string(&book) [INFO] [stdout] | --------------------- ^^^^^ the trait `serde::ser::Serialize` is not implemented for `Book` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Book` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 136 others [INFO] [stdout] note: required by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/ser.rs:2239:17 [INFO] [stdout] | [INFO] [stdout] 2237 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2238 | where [INFO] [stdout] 2239 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Book: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:148:38 [INFO] [stdout] | [INFO] [stdout] 19 | let deserialized_book: Book = serde_json::from_str(&serialized_book) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `Book` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Book` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_json::value::RawValue [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 by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 182) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `page_hunter::SQLxPagination` [INFO] [stdout] --> src/lib.rs:184:25 [INFO] [stdout] | [INFO] [stdout] 4 | use page_hunter::{Page, SQLxPagination}; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `SQLxPagination` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:226:36 [INFO] [stdout] | [INFO] [stdout] 225 | #[cfg(feature = "sqlx")] [INFO] [stdout] | ---------------- the item is gated behind the `sqlx` feature [INFO] [stdout] 226 | pub use pagination::sqlx::queries::SQLxPagination; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `paginate` found for struct `QueryBuilder<'args, DB>` in the current scope [INFO] [stdout] --> src/lib.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 27 | query.paginate(&mut conn, 0, 10).await.unwrap_or_else(|error| { [INFO] [stdout] | ^^^^^^^^ method not found in `QueryBuilder<'_, Postgres>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 155) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `utoipa` [INFO] [stdout] --> src/lib.rs:158:7 [INFO] [stdout] | [INFO] [stdout] 6 | use utoipa::{OpenApi, ToSchema}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `utoipa` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `utoipa`, use `cargo add utoipa` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:159:7 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `openapi` in this scope [INFO] [stdout] --> src/lib.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 21 | #[openapi( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 132) [INFO] [stdout] src/lib.rs - (line 155) [INFO] [stdout] src/lib.rs - (line 182) [INFO] [stdout] src/lib.rs - (line 60) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 8 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3c2574d0187169b30edc78494e1377b55058fa161e0ff14736682a8332d7c0eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c2574d0187169b30edc78494e1377b55058fa161e0ff14736682a8332d7c0eb", kill_on_drop: false }` [INFO] [stdout] 3c2574d0187169b30edc78494e1377b55058fa161e0ff14736682a8332d7c0eb