[INFO] fetching crate remote_config 0.2.0... [INFO] testing remote_config-0.2.0 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate remote_config 0.2.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate remote_config 0.2.0 [INFO] finished tweaking crates.io crate remote_config 0.2.0 [INFO] tweaked toml for crates.io crate remote_config 0.2.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate remote_config 0.2.0 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "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" "+beta-2025-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 198 packages to latest compatible versions [INFO] [stderr] Adding serde-xml-rs v0.6.0 (available: v0.8.1) [INFO] [stderr] Adding toml v0.8.23 (available: v0.9.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80437c209d8d32435956d2dd43e29712e6b1fb19f302330556cf179a97a9b065 [INFO] running `Command { std: "docker" "start" "-a" "80437c209d8d32435956d2dd43e29712e6b1fb19f302330556cf179a97a9b065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80437c209d8d32435956d2dd43e29712e6b1fb19f302330556cf179a97a9b065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80437c209d8d32435956d2dd43e29712e6b1fb19f302330556cf179a97a9b065", kill_on_drop: false }` [INFO] [stdout] 80437c209d8d32435956d2dd43e29712e6b1fb19f302330556cf179a97a9b065 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d6eb7428eb02ad2a4f58860dbf848a2f2470fc5ce7ec1d2f367d4c2276d31c4 [INFO] running `Command { std: "docker" "start" "-a" "9d6eb7428eb02ad2a4f58860dbf848a2f2470fc5ce7ec1d2f367d4c2276d31c4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling iri-string v0.7.9 [INFO] [stderr] Compiling cache_control v0.2.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling remote_config v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/config.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | fn from(value: Box<(dyn Error + 'static)>) -> Self { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - fn from(value: Box<(dyn Error + 'static)>) -> Self { [INFO] [stdout] 103 + fn from(value: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.66s [INFO] running `Command { std: "docker" "inspect" "9d6eb7428eb02ad2a4f58860dbf848a2f2470fc5ce7ec1d2f367d4c2276d31c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d6eb7428eb02ad2a4f58860dbf848a2f2470fc5ce7ec1d2f367d4c2276d31c4", kill_on_drop: false }` [INFO] [stdout] 9d6eb7428eb02ad2a4f58860dbf848a2f2470fc5ce7ec1d2f367d4c2276d31c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66dfd072875a52760d933be0df9657306fa0a2c1b0646cde10352b5777237792 [INFO] running `Command { std: "docker" "start" "-a" "66dfd072875a52760d933be0df9657306fa0a2c1b0646cde10352b5777237792", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling mockito v1.7.0 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling remote_config v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/config.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | fn from(value: Box<(dyn Error + 'static)>) -> Self { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - fn from(value: Box<(dyn Error + 'static)>) -> Self { [INFO] [stdout] 103 + fn from(value: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/config.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | fn from(value: Box<(dyn Error + 'static)>) -> Self { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - fn from(value: Box<(dyn Error + 'static)>) -> Self { [INFO] [stdout] 103 + fn from(value: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 20.04s [INFO] running `Command { std: "docker" "inspect" "66dfd072875a52760d933be0df9657306fa0a2c1b0646cde10352b5777237792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66dfd072875a52760d933be0df9657306fa0a2c1b0646cde10352b5777237792", kill_on_drop: false }` [INFO] [stdout] 66dfd072875a52760d933be0df9657306fa0a2c1b0646cde10352b5777237792 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5c2f26aafd3fe645ca506836ba85f285d2dc424c18f4fb103cba5b3d5d62993c [INFO] running `Command { std: "docker" "start" "-a" "5c2f26aafd3fe645ca506836ba85f285d2dc424c18f4fb103cba5b3d5d62993c", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stdout] [INFO] [stderr] --> src/config.rs:103:24 [INFO] [stdout] running 2 tests [INFO] [stderr] | [INFO] [stderr] 103 | fn from(value: Box<(dyn Error + 'static)>) -> Self { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 103 - fn from(value: Box<(dyn Error + 'static)>) -> Self { [INFO] [stderr] 103 + fn from(value: Box) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `remote_config` (lib) generated 1 warning (run `cargo fix --lib -p remote_config` to apply 1 suggestion) [INFO] [stderr] warning: `remote_config` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/remote_config-a8147ebc72128776) [INFO] [stdout] test data_providers::http::tests::http_error ... ok [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-d3f4d5412bb23bf4) [INFO] [stdout] test data_providers::http::tests::deserialize_json ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.62s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_with_must_revalidate ... ok [INFO] [stdout] test test_without_must_revalidate ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.28s [INFO] [stdout] [INFO] [stderr] Doc-tests remote_config [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/config.rs:103:24 [INFO] [stderr] | [INFO] [stderr] 103 | fn from(value: Box<(dyn Error + 'static)>) -> Self { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 103 - fn from(value: Box<(dyn Error + 'static)>) -> Self { [INFO] [stderr] 103 + fn from(value: Box) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 54) ... FAILED [INFO] [stdout] test src/config.rs - config::RemoteConfig (line 27) ... FAILED [INFO] [stdout] test src/data_providers/http.rs - data_providers::http::HttpDataProvider (line 22) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 54) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `std::string::String: DataProvider<_>` is not satisfied [INFO] [stdout] --> src/lib.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 27 | return RemoteConfig::new("Example named config".to_owned(), data_provider, Duration::from_secs(5)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `DataProvider<_>` is not implemented for `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: the trait `DataProvider` is implemented for `HttpDataProvider` [INFO] [stdout] note: required by a bound in `RemoteConfig` [INFO] [stdout] --> /opt/rustwide/workdir/src/config.rs:67:54 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RemoteConfig + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `RemoteConfig` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::string::String: DataProvider<_>` is not satisfied [INFO] [stdout] --> src/lib.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 27 | return RemoteConfig::new("Example named config".to_owned(), data_provider, Duration::from_secs(5)).await.unwrap(); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `DataProvider<_>` is not implemented for `std::string::String` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `DataProvider` is implemented for `HttpDataProvider` [INFO] [stdout] note: required by a bound in `RemoteConfig::::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/config.rs:124:36 [INFO] [stdout] | [INFO] [stdout] 124 | impl + Send> RemoteConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `RemoteConfig::::new` [INFO] [stdout] ... [INFO] [stdout] 129 | pub async fn new( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/lib.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 27 | return RemoteConfig::new("Example named config".to_owned(), data_provider, Duration::from_secs(5)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- unexpected argument #2 of type `HttpDataProvider<_, SerdeDataExtractor<_>>` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/config.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | pub async fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 27 - return RemoteConfig::new("Example named config".to_owned(), data_provider, Duration::from_secs(5)).await.unwrap(); [INFO] [stdout] 27 + return RemoteConfig::new("Example named config".to_owned(), Duration::from_secs(5)).await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::string::String: DataProvider<_>` is not satisfied [INFO] [stdout] --> src/lib.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 27 | return RemoteConfig::new("Example named config".to_owned(), data_provider, Duration::from_secs(5)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `DataProvider<_>` is not implemented for `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: the trait `DataProvider` is implemented for `HttpDataProvider` [INFO] [stdout] note: required by a bound in `RemoteConfig` [INFO] [stdout] --> /opt/rustwide/workdir/src/config.rs:124:36 [INFO] [stdout] | [INFO] [stdout] 124 | impl + Send> RemoteConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `RemoteConfig` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::string::String: DataProvider<_>` is not satisfied [INFO] [stdout] --> src/lib.rs:78:104 [INFO] [stdout] | [INFO] [stdout] 27 | return RemoteConfig::new("Example named config".to_owned(), data_provider, Duration::from_secs(5)).await.unwrap(); [INFO] [stdout] | ^^^^^ the trait `DataProvider<_>` is not implemented for `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: the trait `DataProvider` is implemented for `HttpDataProvider` [INFO] [stdout] note: required by a bound in `RemoteConfig` [INFO] [stdout] --> /opt/rustwide/workdir/src/config.rs:124:36 [INFO] [stdout] | [INFO] [stdout] 124 | impl + Send> RemoteConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `RemoteConfig` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::string::String: DataProvider<_>` is not satisfied [INFO] [stdout] --> src/lib.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 27 | return RemoteConfig::new("Example named config".to_owned(), data_provider, Duration::from_secs(5)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `DataProvider<_>` is not implemented for `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: the trait `DataProvider` is implemented for `HttpDataProvider` [INFO] [stdout] note: required by a bound in `RemoteConfig` [INFO] [stdout] --> /opt/rustwide/workdir/src/config.rs:67:54 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RemoteConfig + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `RemoteConfig` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 27 | return RemoteConfig::new("Example named config".to_owned(), data_provider, Duration::from_secs(5)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `RemoteConfig, ...>`, found `RemoteConfig<_, String>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `RemoteConfig, HttpDataProvider<..., ...>>` [INFO] [stdout] found struct `RemoteConfig<_, std::string::String>` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestx6Mlfo/rust_out.long-type-3443872869989881077.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::RemoteConfig (line 27) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `std::string::String: DataProvider<_>` is not satisfied [INFO] [stdout] --> src/config.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 27 | return RemoteConfig::new("Example named config".to_owned(), data_provider, Duration::from_secs(5)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `DataProvider<_>` is not implemented for `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: the trait `DataProvider` is implemented for `HttpDataProvider` [INFO] [stdout] note: required by a bound in `RemoteConfig` [INFO] [stdout] --> /opt/rustwide/workdir/src/config.rs:67:54 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RemoteConfig + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `RemoteConfig` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::string::String: DataProvider<_>` is not satisfied [INFO] [stdout] --> src/config.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 27 | return RemoteConfig::new("Example named config".to_owned(), data_provider, Duration::from_secs(5)).await.unwrap(); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `DataProvider<_>` is not implemented for `std::string::String` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `DataProvider` is implemented for `HttpDataProvider` [INFO] [stdout] note: required by a bound in `RemoteConfig::::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/config.rs:124:36 [INFO] [stdout] | [INFO] [stdout] 124 | impl + Send> RemoteConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `RemoteConfig::::new` [INFO] [stdout] ... [INFO] [stdout] 129 | pub async fn new( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/config.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 27 | return RemoteConfig::new("Example named config".to_owned(), data_provider, Duration::from_secs(5)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- unexpected argument #2 of type `HttpDataProvider<_, SerdeDataExtractor<_>>` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/config.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | pub async fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 27 - return RemoteConfig::new("Example named config".to_owned(), data_provider, Duration::from_secs(5)).await.unwrap(); [INFO] [stdout] 27 + return RemoteConfig::new("Example named config".to_owned(), Duration::from_secs(5)).await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::string::String: DataProvider<_>` is not satisfied [INFO] [stdout] --> src/config.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 27 | return RemoteConfig::new("Example named config".to_owned(), data_provider, Duration::from_secs(5)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `DataProvider<_>` is not implemented for `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: the trait `DataProvider` is implemented for `HttpDataProvider` [INFO] [stdout] note: required by a bound in `RemoteConfig` [INFO] [stdout] --> /opt/rustwide/workdir/src/config.rs:124:36 [INFO] [stdout] | [INFO] [stdout] 124 | impl + Send> RemoteConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `RemoteConfig` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::string::String: DataProvider<_>` is not satisfied [INFO] [stdout] --> src/config.rs:51:104 [INFO] [stdout] | [INFO] [stdout] 27 | return RemoteConfig::new("Example named config".to_owned(), data_provider, Duration::from_secs(5)).await.unwrap(); [INFO] [stdout] | ^^^^^ the trait `DataProvider<_>` is not implemented for `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: the trait `DataProvider` is implemented for `HttpDataProvider` [INFO] [stdout] note: required by a bound in `RemoteConfig` [INFO] [stdout] --> /opt/rustwide/workdir/src/config.rs:124:36 [INFO] [stdout] | [INFO] [stdout] 124 | impl + Send> RemoteConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `RemoteConfig` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::string::String: DataProvider<_>` is not satisfied [INFO] [stdout] --> src/config.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 27 | return RemoteConfig::new("Example named config".to_owned(), data_provider, Duration::from_secs(5)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `DataProvider<_>` is not implemented for `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: the trait `DataProvider` is implemented for `HttpDataProvider` [INFO] [stdout] note: required by a bound in `RemoteConfig` [INFO] [stdout] --> /opt/rustwide/workdir/src/config.rs:67:54 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RemoteConfig + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `RemoteConfig` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/config.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 27 | return RemoteConfig::new("Example named config".to_owned(), data_provider, Duration::from_secs(5)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `RemoteConfig, ...>`, found `RemoteConfig<_, String>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `RemoteConfig, HttpDataProvider<..., ...>>` [INFO] [stdout] found struct `RemoteConfig<_, std::string::String>` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestKlxpE9/rust_out.long-type-248187674746027720.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/config.rs - config::RemoteConfig (line 27) [INFO] [stdout] src/lib.rs - (line 54) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.74s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5c2f26aafd3fe645ca506836ba85f285d2dc424c18f4fb103cba5b3d5d62993c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c2f26aafd3fe645ca506836ba85f285d2dc424c18f4fb103cba5b3d5d62993c", kill_on_drop: false }` [INFO] [stdout] 5c2f26aafd3fe645ca506836ba85f285d2dc424c18f4fb103cba5b3d5d62993c