[INFO] fetching crate remote_config 0.2.0... [INFO] testing remote_config-0.2.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate remote_config 0.2.0 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate remote_config 0.2.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 199 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.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55fa2079e9be44e144d8cb1794b20d296a2692acaf7e9ab2c1b19b72f624a06c [INFO] running `Command { std: "docker" "start" "-a" "55fa2079e9be44e144d8cb1794b20d296a2692acaf7e9ab2c1b19b72f624a06c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55fa2079e9be44e144d8cb1794b20d296a2692acaf7e9ab2c1b19b72f624a06c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55fa2079e9be44e144d8cb1794b20d296a2692acaf7e9ab2c1b19b72f624a06c", kill_on_drop: false }` [INFO] [stdout] 55fa2079e9be44e144d8cb1794b20d296a2692acaf7e9ab2c1b19b72f624a06c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0f6d2267c679d26f0d4b08bd40bf4128d90f5e5ae3e8fb19ab75e71afd46481 [INFO] running `Command { std: "docker" "start" "-a" "e0f6d2267c679d26f0d4b08bd40bf4128d90f5e5ae3e8fb19ab75e71afd46481", kill_on_drop: false }` [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling cache_control v0.2.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [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 reqwest v0.12.23 [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)]` 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 30.36s [INFO] running `Command { std: "docker" "inspect" "e0f6d2267c679d26f0d4b08bd40bf4128d90f5e5ae3e8fb19ab75e71afd46481", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0f6d2267c679d26f0d4b08bd40bf4128d90f5e5ae3e8fb19ab75e71afd46481", kill_on_drop: false }` [INFO] [stdout] e0f6d2267c679d26f0d4b08bd40bf4128d90f5e5ae3e8fb19ab75e71afd46481 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ceb19fd0fbc55985ae42acfd0b27499e127552ebe4a7b7ddb8d14227e5ad578 [INFO] running `Command { std: "docker" "start" "-a" "4ceb19fd0fbc55985ae42acfd0b27499e127552ebe4a7b7ddb8d14227e5ad578", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [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.23 [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)]` 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)]` 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 33.95s [INFO] running `Command { std: "docker" "inspect" "4ceb19fd0fbc55985ae42acfd0b27499e127552ebe4a7b7ddb8d14227e5ad578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ceb19fd0fbc55985ae42acfd0b27499e127552ebe4a7b7ddb8d14227e5ad578", kill_on_drop: false }` [INFO] [stdout] 4ceb19fd0fbc55985ae42acfd0b27499e127552ebe4a7b7ddb8d14227e5ad578 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ba55e72ab1865ef23befb3163dbcbac445ead926e146c766d0414e4fdeb50338 [INFO] running `Command { std: "docker" "start" "-a" "ba55e72ab1865ef23befb3163dbcbac445ead926e146c766d0414e4fdeb50338", kill_on_drop: false }` [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)]` 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.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/remote_config-8aac93814bc1e2bf) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test data_providers::http::tests::http_error ... ok [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.67s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-92d6ba9b877d9f41) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_with_must_revalidate ... ok [INFO] [stderr] Doc-tests remote_config [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.30s [INFO] [stdout] [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)]` 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/config.rs - config::RemoteConfig (line 27) ... FAILED [INFO] [stdout] test src/lib.rs - (line 54) ... 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/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/rustdoctestj1nWbK/rust_out.long-type-9715054599419744162.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/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/rustdoctestfESaEm/rust_out.long-type-17085756577676609251.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 1.19s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ba55e72ab1865ef23befb3163dbcbac445ead926e146c766d0414e4fdeb50338", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba55e72ab1865ef23befb3163dbcbac445ead926e146c766d0414e4fdeb50338", kill_on_drop: false }` [INFO] [stdout] ba55e72ab1865ef23befb3163dbcbac445ead926e146c766d0414e4fdeb50338