[INFO] fetching crate toml-config 0.4.0... [INFO] testing toml-config-0.4.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate toml-config 0.4.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate toml-config 0.4.0 [INFO] finished tweaking crates.io crate toml-config 0.4.0 [INFO] tweaked toml for crates.io crate toml-config 0.4.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate toml-config 0.4.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 26 packages to latest compatible versions [INFO] [stderr] Adding log v0.3.9 (available: v0.4.28) [INFO] [stderr] Adding serde v0.7.15 (available: v1.0.228) [INFO] [stderr] Adding serde_macros v0.7.15 (available: v0.8.9) [INFO] [stderr] Adding tempfile v1.1.3 (available: v3.23.0) [INFO] [stderr] Adding toml v0.1.30 (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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] 10e030fe1755171b6e85fe225a3224faa9d7c55f59103e630620df2237d75cfb [INFO] running `Command { std: "docker" "start" "-a" "10e030fe1755171b6e85fe225a3224faa9d7c55f59103e630620df2237d75cfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10e030fe1755171b6e85fe225a3224faa9d7c55f59103e630620df2237d75cfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10e030fe1755171b6e85fe225a3224faa9d7c55f59103e630620df2237d75cfb", kill_on_drop: false }` [INFO] [stdout] 10e030fe1755171b6e85fe225a3224faa9d7c55f59103e630620df2237d75cfb [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] 7959e6ac6fc8af441205b721de0f6a0976f70cc567b0d1ae6e67a6637cafd077 [INFO] running `Command { std: "docker" "start" "-a" "7959e6ac6fc8af441205b721de0f6a0976f70cc567b0d1ae6e67a6637cafd077", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling toml v0.1.30 [INFO] [stderr] Compiling toml-config v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.09s [INFO] running `Command { std: "docker" "inspect" "7959e6ac6fc8af441205b721de0f6a0976f70cc567b0d1ae6e67a6637cafd077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7959e6ac6fc8af441205b721de0f6a0976f70cc567b0d1ae6e67a6637cafd077", kill_on_drop: false }` [INFO] [stdout] 7959e6ac6fc8af441205b721de0f6a0976f70cc567b0d1ae6e67a6637cafd077 [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] b91e363d91d368025744e79a6977194f76df64726a80a59d108fdd2812541510 [INFO] running `Command { std: "docker" "start" "-a" "b91e363d91d368025744e79a6977194f76df64726a80a59d108fdd2812541510", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling tempfile v1.1.3 [INFO] [stderr] Compiling toml-config v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/lib.rs:270:52 [INFO] [stdout] | [INFO] [stdout] 270 | #[cfg_attr(feature = "rustc-serialize", derive(RustcEncodable, RustcDecodable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/lib.rs:270:68 [INFO] [stdout] | [INFO] [stdout] 270 | #[cfg_attr(feature = "rustc-serialize", derive(RustcEncodable, RustcDecodable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/lib.rs:286:52 [INFO] [stdout] | [INFO] [stdout] 286 | #[cfg_attr(feature = "rustc-serialize", derive(RustcEncodable, RustcDecodable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/lib.rs:286:68 [INFO] [stdout] | [INFO] [stdout] 286 | #[cfg_attr(feature = "rustc-serialize", derive(RustcEncodable, RustcDecodable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::Config: Encodable` is not satisfied [INFO] [stdout] --> src/lib.rs:310:30 [INFO] [stdout] | [INFO] [stdout] 310 | let config: Config = ConfigFactory::load(toml_file.path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Encodable` is not implemented for `tests::Config` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 76 others [INFO] [stdout] note: required by a bound in `ConfigFactory::load` [INFO] [stdout] --> src/lib.rs:161:47 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn load(path: &Path) -> T where T: Encodable + Decodable + Default { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ConfigFactory::load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::Config: Decodable` is not satisfied [INFO] [stdout] --> src/lib.rs:310:30 [INFO] [stdout] | [INFO] [stdout] 310 | let config: Config = ConfigFactory::load(toml_file.path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `tests::Config` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required by a bound in `ConfigFactory::load` [INFO] [stdout] --> src/lib.rs:161:59 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn load(path: &Path) -> T where T: Encodable + Decodable + Default { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ConfigFactory::load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::Config: Encodable` is not satisfied [INFO] [stdout] --> src/lib.rs:319:30 [INFO] [stdout] | [INFO] [stdout] 319 | let config: Config = ConfigFactory::load(toml_file.path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Encodable` is not implemented for `tests::Config` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 76 others [INFO] [stdout] note: required by a bound in `ConfigFactory::load` [INFO] [stdout] --> src/lib.rs:161:47 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn load(path: &Path) -> T where T: Encodable + Decodable + Default { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ConfigFactory::load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::Config: Decodable` is not satisfied [INFO] [stdout] --> src/lib.rs:319:30 [INFO] [stdout] | [INFO] [stdout] 319 | let config: Config = ConfigFactory::load(toml_file.path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `tests::Config` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required by a bound in `ConfigFactory::load` [INFO] [stdout] --> src/lib.rs:161:59 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn load(path: &Path) -> T where T: Encodable + Decodable + Default { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ConfigFactory::load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::Config: Encodable` is not satisfied [INFO] [stdout] --> src/lib.rs:330:30 [INFO] [stdout] | [INFO] [stdout] 330 | let config: Config = ConfigFactory::load(toml_file.path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Encodable` is not implemented for `tests::Config` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 76 others [INFO] [stdout] note: required by a bound in `ConfigFactory::load` [INFO] [stdout] --> src/lib.rs:161:47 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn load(path: &Path) -> T where T: Encodable + Decodable + Default { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ConfigFactory::load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::Config: Decodable` is not satisfied [INFO] [stdout] --> src/lib.rs:330:30 [INFO] [stdout] | [INFO] [stdout] 330 | let config: Config = ConfigFactory::load(toml_file.path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `tests::Config` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required by a bound in `ConfigFactory::load` [INFO] [stdout] --> src/lib.rs:161:59 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn load(path: &Path) -> T where T: Encodable + Decodable + Default { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ConfigFactory::load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::Config: Encodable` is not satisfied [INFO] [stdout] --> src/lib.rs:342:30 [INFO] [stdout] | [INFO] [stdout] 342 | let config: Config = ConfigFactory::load(toml_file.path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Encodable` is not implemented for `tests::Config` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 76 others [INFO] [stdout] note: required by a bound in `ConfigFactory::load` [INFO] [stdout] --> src/lib.rs:161:47 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn load(path: &Path) -> T where T: Encodable + Decodable + Default { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ConfigFactory::load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::Config: Decodable` is not satisfied [INFO] [stdout] --> src/lib.rs:342:30 [INFO] [stdout] | [INFO] [stdout] 342 | let config: Config = ConfigFactory::load(toml_file.path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `tests::Config` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required by a bound in `ConfigFactory::load` [INFO] [stdout] --> src/lib.rs:161:59 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn load(path: &Path) -> T where T: Encodable + Decodable + Default { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ConfigFactory::load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::Config: Encodable` is not satisfied [INFO] [stdout] --> src/lib.rs:355:30 [INFO] [stdout] | [INFO] [stdout] 355 | let config: Config = ConfigFactory::load(toml_file.path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Encodable` is not implemented for `tests::Config` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 76 others [INFO] [stdout] note: required by a bound in `ConfigFactory::load` [INFO] [stdout] --> src/lib.rs:161:47 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn load(path: &Path) -> T where T: Encodable + Decodable + Default { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ConfigFactory::load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::Config: Decodable` is not satisfied [INFO] [stdout] --> src/lib.rs:355:30 [INFO] [stdout] | [INFO] [stdout] 355 | let config: Config = ConfigFactory::load(toml_file.path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `tests::Config` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required by a bound in `ConfigFactory::load` [INFO] [stdout] --> src/lib.rs:161:59 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn load(path: &Path) -> T where T: Encodable + Decodable + Default { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ConfigFactory::load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::Config: Encodable` is not satisfied [INFO] [stdout] --> src/lib.rs:367:30 [INFO] [stdout] | [INFO] [stdout] 367 | let config: Config = ConfigFactory::load(toml_file.path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Encodable` is not implemented for `tests::Config` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 76 others [INFO] [stdout] note: required by a bound in `ConfigFactory::load` [INFO] [stdout] --> src/lib.rs:161:47 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn load(path: &Path) -> T where T: Encodable + Decodable + Default { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ConfigFactory::load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::Config: Decodable` is not satisfied [INFO] [stdout] --> src/lib.rs:367:30 [INFO] [stdout] | [INFO] [stdout] 367 | let config: Config = ConfigFactory::load(toml_file.path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `tests::Config` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required by a bound in `ConfigFactory::load` [INFO] [stdout] --> src/lib.rs:161:59 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn load(path: &Path) -> T where T: Encodable + Decodable + Default { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `ConfigFactory::load` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `toml-config` (lib test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "b91e363d91d368025744e79a6977194f76df64726a80a59d108fdd2812541510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b91e363d91d368025744e79a6977194f76df64726a80a59d108fdd2812541510", kill_on_drop: false }` [INFO] [stdout] b91e363d91d368025744e79a6977194f76df64726a80a59d108fdd2812541510