[INFO] fetching crate remote_config 0.2.0... [INFO] testing remote_config-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate remote_config 0.2.0 into /workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate remote_config 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cache_control v0.2.0 [INFO] [stderr] Downloaded serde-xml-rs v0.6.0 [INFO] [stderr] Downloaded mockito v1.7.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73d4fcfbcf346b9e0ccce74ff9dd998eeee47500ae2fa44a470ea60b4e13e4d2 [INFO] running `Command { std: "docker" "start" "-a" "73d4fcfbcf346b9e0ccce74ff9dd998eeee47500ae2fa44a470ea60b4e13e4d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73d4fcfbcf346b9e0ccce74ff9dd998eeee47500ae2fa44a470ea60b4e13e4d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73d4fcfbcf346b9e0ccce74ff9dd998eeee47500ae2fa44a470ea60b4e13e4d2", kill_on_drop: false }` [INFO] [stdout] 73d4fcfbcf346b9e0ccce74ff9dd998eeee47500ae2fa44a470ea60b4e13e4d2 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c85aa49b5a88acdaad3aa3c672a8840b350f6549c76ae0f26db280143b548a91 [INFO] running `Command { std: "docker" "start" "-a" "c85aa49b5a88acdaad3aa3c672a8840b350f6549c76ae0f26db280143b548a91", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling http v1.3.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 zeroize v1.8.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling cache_control v0.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [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.87s [INFO] running `Command { std: "docker" "inspect" "c85aa49b5a88acdaad3aa3c672a8840b350f6549c76ae0f26db280143b548a91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c85aa49b5a88acdaad3aa3c672a8840b350f6549c76ae0f26db280143b548a91", kill_on_drop: false }` [INFO] [stdout] c85aa49b5a88acdaad3aa3c672a8840b350f6549c76ae0f26db280143b548a91 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e89e3be409a30497145ef3d961334cf4da7b4cce15602e766d0d1974862b20c [INFO] running `Command { std: "docker" "start" "-a" "7e89e3be409a30497145ef3d961334cf4da7b4cce15602e766d0d1974862b20c", 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 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.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 38.20s [INFO] running `Command { std: "docker" "inspect" "7e89e3be409a30497145ef3d961334cf4da7b4cce15602e766d0d1974862b20c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e89e3be409a30497145ef3d961334cf4da7b4cce15602e766d0d1974862b20c", kill_on_drop: false }` [INFO] [stdout] 7e89e3be409a30497145ef3d961334cf4da7b4cce15602e766d0d1974862b20c [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9ff74f04b7e654a96aabe1189e9cbddb62adc368d9dabf4c91a08da78615576c [INFO] running `Command { std: "docker" "start" "-a" "9ff74f04b7e654a96aabe1189e9cbddb62adc368d9dabf4c91a08da78615576c", 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.33s [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.56s [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] [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.29s [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)]` 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/rustdoctestO0zHHm/rust_out.long-type-8288055630290429333.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/rustdoctesti4Gsnd/rust_out.long-type-9404710115415749871.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.25s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9ff74f04b7e654a96aabe1189e9cbddb62adc368d9dabf4c91a08da78615576c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ff74f04b7e654a96aabe1189e9cbddb62adc368d9dabf4c91a08da78615576c", kill_on_drop: false }` [INFO] [stdout] 9ff74f04b7e654a96aabe1189e9cbddb62adc368d9dabf4c91a08da78615576c