[INFO] fetching crate toml-config 0.4.0... [INFO] checking toml-config-0.4.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate toml-config 0.4.0 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate toml-config 0.4.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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.27) [INFO] [stderr] Adding serde v0.7.15 (available: v1.0.219) [INFO] [stderr] Adding serde_macros v0.7.15 (available: v0.8.9) [INFO] [stderr] Adding tempfile v1.1.3 (available: v3.21.0) [INFO] [stderr] Adding toml v0.1.30 (available: v0.9.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f1d141292ca7e0f101b8dd72974004bb33e2265f5a3a7d3e6448d814b2a50da [INFO] running `Command { std: "docker" "start" "-a" "9f1d141292ca7e0f101b8dd72974004bb33e2265f5a3a7d3e6448d814b2a50da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f1d141292ca7e0f101b8dd72974004bb33e2265f5a3a7d3e6448d814b2a50da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f1d141292ca7e0f101b8dd72974004bb33e2265f5a3a7d3e6448d814b2a50da", kill_on_drop: false }` [INFO] [stdout] 9f1d141292ca7e0f101b8dd72974004bb33e2265f5a3a7d3e6448d814b2a50da [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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eea0df00de03f4d71ef4660ae23e6f8cefac921737ae4c9fab0b5e677a170308 [INFO] running `Command { std: "docker" "start" "-a" "eea0df00de03f4d71ef4660ae23e6f8cefac921737ae4c9fab0b5e677a170308", 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] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking tempfile v1.1.3 [INFO] [stderr] Checking toml v0.1.30 [INFO] [stderr] Checking 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] [stderr] error: could not compile `toml-config` (lib test) due to 16 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "eea0df00de03f4d71ef4660ae23e6f8cefac921737ae4c9fab0b5e677a170308", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eea0df00de03f4d71ef4660ae23e6f8cefac921737ae4c9fab0b5e677a170308", kill_on_drop: false }` [INFO] [stdout] eea0df00de03f4d71ef4660ae23e6f8cefac921737ae4c9fab0b5e677a170308