[INFO] fetching crate toml-config 0.4.0... [INFO] checking toml-config-0.4.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate toml-config 0.4.0 into /workspace/builds/worker-3-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate toml-config 0.4.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quasi_macros v0.16.0 [INFO] [stderr] Downloaded serde_codegen_internals v0.4.0 [INFO] [stderr] Downloaded serde_macros v0.7.15 [INFO] [stderr] Downloaded aster v0.22.1 [INFO] [stderr] Downloaded serde_codegen v0.7.15 [INFO] [stderr] Downloaded quasi_codegen v0.16.0 [INFO] [stderr] Downloaded tempfile v1.1.3 [INFO] [stderr] Downloaded quasi v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5bf10d464e0d17d4a9d0cf9fb5b556045fb59656f96f23e27f24613e62d9b14 [INFO] running `Command { std: "docker" "start" "-a" "e5bf10d464e0d17d4a9d0cf9fb5b556045fb59656f96f23e27f24613e62d9b14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5bf10d464e0d17d4a9d0cf9fb5b556045fb59656f96f23e27f24613e62d9b14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5bf10d464e0d17d4a9d0cf9fb5b556045fb59656f96f23e27f24613e62d9b14", kill_on_drop: false }` [INFO] [stdout] e5bf10d464e0d17d4a9d0cf9fb5b556045fb59656f96f23e27f24613e62d9b14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a66a31ac75b52e5a38404fd044044bcb4d01dec2ec8a409ca395636b8bc1a7f [INFO] running `Command { std: "docker" "start" "-a" "5a66a31ac75b52e5a38404fd044044bcb4d01dec2ec8a409ca395636b8bc1a7f", 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 winapi v0.2.8 [INFO] [stderr] Checking rustc-serialize v0.3.25 [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] [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" "5a66a31ac75b52e5a38404fd044044bcb4d01dec2ec8a409ca395636b8bc1a7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a66a31ac75b52e5a38404fd044044bcb4d01dec2ec8a409ca395636b8bc1a7f", kill_on_drop: false }` [INFO] [stdout] 5a66a31ac75b52e5a38404fd044044bcb4d01dec2ec8a409ca395636b8bc1a7f