[INFO] fetching crate xcfg-rs 0.3.4... [INFO] testing xcfg-rs-0.3.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate xcfg-rs 0.3.4 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate xcfg-rs 0.3.4 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate xcfg-rs 0.3.4 [INFO] tweaked toml for crates.io crate xcfg-rs 0.3.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate xcfg-rs 0.3.4 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate xcfg-rs 0.3.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml_parser v1.0.2 [INFO] [stderr] Downloaded toml_writer v1.0.2 [INFO] [stderr] Downloaded unicode-ident v1.0.13 [INFO] [stderr] Downloaded indexmap v2.6.0 [INFO] [stderr] Downloaded xcfg-derive v0.1.0 [INFO] [stderr] Downloaded thiserror-impl v2.0.11 [INFO] [stderr] Downloaded anyhow v1.0.91 [INFO] [stderr] Downloaded toml_datetime v0.7.0 [INFO] [stderr] Downloaded quote v1.0.37 [INFO] [stderr] Downloaded serde v1.0.217 [INFO] [stderr] Downloaded libyml v0.0.5 [INFO] [stderr] Downloaded winnow v0.7.12 [INFO] [stderr] Downloaded equivalent v1.0.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.93 [INFO] [stderr] Downloaded serde_spanned v1.0.0 [INFO] [stderr] Downloaded version_check v0.9.5 [INFO] [stderr] Downloaded hashbrown v0.15.0 [INFO] [stderr] Downloaded thiserror v2.0.11 [INFO] [stderr] Downloaded serde_derive v1.0.217 [INFO] [stderr] Downloaded syn v2.0.96 [INFO] [stderr] Downloaded toml v0.9.5 [INFO] [stderr] Downloaded serde_json v1.0.135 [INFO] [stderr] Downloaded serde_yml v0.0.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2e224d6586857a6f21ca728a5bfbc3468812e955e86510bd91adf7813f9519c [INFO] running `Command { std: "docker" "start" "-a" "f2e224d6586857a6f21ca728a5bfbc3468812e955e86510bd91adf7813f9519c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2e224d6586857a6f21ca728a5bfbc3468812e955e86510bd91adf7813f9519c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2e224d6586857a6f21ca728a5bfbc3468812e955e86510bd91adf7813f9519c", kill_on_drop: false }` [INFO] [stdout] f2e224d6586857a6f21ca728a5bfbc3468812e955e86510bd91adf7813f9519c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d654a130f9091e73ed3b6fc14b98edfc7ad8956e6aeb72837352fb18cb55430b [INFO] running `Command { std: "docker" "start" "-a" "d654a130f9091e73ed3b6fc14b98edfc7ad8956e6aeb72837352fb18cb55430b", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling xcfg-rs v0.3.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.72s [INFO] running `Command { std: "docker" "inspect" "d654a130f9091e73ed3b6fc14b98edfc7ad8956e6aeb72837352fb18cb55430b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d654a130f9091e73ed3b6fc14b98edfc7ad8956e6aeb72837352fb18cb55430b", kill_on_drop: false }` [INFO] [stdout] d654a130f9091e73ed3b6fc14b98edfc7ad8956e6aeb72837352fb18cb55430b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 545c5d8db3fd7a868f8455ab8db92db8e71b57cca95f9d6709c236b1c7b221da [INFO] running `Command { std: "docker" "start" "-a" "545c5d8db3fd7a868f8455ab8db92db8e71b57cca95f9d6709c236b1c7b221da", kill_on_drop: false }` [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling xcfg-rs v0.3.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.58s [INFO] running `Command { std: "docker" "inspect" "545c5d8db3fd7a868f8455ab8db92db8e71b57cca95f9d6709c236b1c7b221da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "545c5d8db3fd7a868f8455ab8db92db8e71b57cca95f9d6709c236b1c7b221da", kill_on_drop: false }` [INFO] [stdout] 545c5d8db3fd7a868f8455ab8db92db8e71b57cca95f9d6709c236b1c7b221da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 85436379af4ca653414bcfd02c800e7ff0dec547585563a7d7bc4e0daaa50619 [INFO] running `Command { std: "docker" "start" "-a" "85436379af4ca653414bcfd02c800e7ff0dec547585563a7d7bc4e0daaa50619", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xcfg-6e3c47da847bfe9f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test format::file_impl::tests::test_load_fmt ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests xcfg [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/format.rs - format::XCfg::load_or_default (line 274) ... FAILED [INFO] [stdout] test src/format.rs - format::XCfg::load (line 228) ... FAILED [INFO] [stdout] test src/format.rs - format::XCfg::fmt_to_string (line 367) ... FAILED [INFO] [stdout] test src/format.rs - format::XCfg::save (line 335) ... FAILED [INFO] [stdout] test src/lib.rs - (line 5) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/format.rs - format::XCfg::load_or_default (line 274) stdout ---- [INFO] [stdout] error: cannot find derive macro `XCfg` in this scope [INFO] [stdout] --> src/format.rs:278:10 [INFO] [stdout] | [INFO] [stdout] 278 | #[derive(XCfg, Serialize, Deserialize, PartialEq, Debug, Clone)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `XCfg` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/format.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | use xcfg::XCfg; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load_or_default` found for struct `Test` in the current scope [INFO] [stdout] --> src/format.rs:312:19 [INFO] [stdout] | [INFO] [stdout] 279 | pub struct Test { [INFO] [stdout] | --------------- function or associated item `load_or_default` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 312 | let mut f = Test::load_or_default(path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `Test` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load_or_default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `XCfg` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `Test` in the current scope [INFO] [stdout] --> src/format.rs:316:18 [INFO] [stdout] | [INFO] [stdout] 279 | pub struct Test { [INFO] [stdout] | --------------- function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 316 | assert_eq!(Test::load(path).unwrap().into_inner(), test); [INFO] [stdout] | ^^^^ function or associated item not found in `Test` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `XCfg` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/format.rs - format::XCfg::load (line 228) stdout ---- [INFO] [stdout] error: cannot find derive macro `XCfg` in this scope [INFO] [stdout] --> src/format.rs:232:10 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(XCfg, Serialize, Deserialize, PartialEq, Debug, Clone)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `XCfg` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/format.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | use xcfg::XCfg; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `Test` in the current scope [INFO] [stdout] --> src/format.rs:252:6 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct Test { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 252 | test.save(path).unwrap(); [INFO] [stdout] | ^^^^ method not found in `Test` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `save`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `XCfg` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `Test` in the current scope [INFO] [stdout] --> src/format.rs:253:18 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct Test { [INFO] [stdout] | --------------- function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 253 | assert_eq!(Test::load(path).unwrap().into_inner(), test); [INFO] [stdout] | ^^^^ function or associated item not found in `Test` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `XCfg` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/format.rs - format::XCfg::fmt_to_string (line 367) stdout ---- [INFO] [stdout] error: cannot find derive macro `XCfg` in this scope [INFO] [stdout] --> src/format.rs:371:10 [INFO] [stdout] | [INFO] [stdout] 371 | #[derive(XCfg, Serialize, Deserialize, PartialEq, Debug, Clone)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `XCfg` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/format.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 370 | use xcfg::{XCfg, Format}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fmt_to_string` found for struct `Test` in the current scope [INFO] [stdout] --> src/format.rs:394:17 [INFO] [stdout] | [INFO] [stdout] 372 | pub struct Test { [INFO] [stdout] | --------------- method `fmt_to_string` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 394 | assert_eq!(test.fmt_to_string(Format::Toml).unwrap(), right); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Test` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `fmt_to_string`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `XCfg` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/format.rs - format::XCfg::save (line 335) stdout ---- [INFO] [stdout] error: cannot find derive macro `XCfg` in this scope [INFO] [stdout] --> src/format.rs:339:10 [INFO] [stdout] | [INFO] [stdout] 339 | #[derive(XCfg, Serialize, Deserialize, PartialEq, Debug, Clone)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `XCfg` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/format.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | use xcfg::XCfg; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `Test` in the current scope [INFO] [stdout] --> src/format.rs:359:6 [INFO] [stdout] | [INFO] [stdout] 340 | pub struct Test { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 359 | test.save(path).unwrap(); [INFO] [stdout] | ^^^^ method not found in `Test` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `save`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `XCfg` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 5) stdout ---- [INFO] [stdout] error: cannot find derive macro `XCfg` in this scope [INFO] [stdout] --> src/lib.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(XCfg, Serialize, Deserialize, PartialEq, Debug, Clone)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `XCfg` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use xcfg::XCfg; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `Test` in the current scope [INFO] [stdout] --> src/lib.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Test { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 27 | test.save(path).unwrap(); [INFO] [stdout] | ^^^^ method not found in `Test` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `save`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `XCfg` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `Test` in the current scope [INFO] [stdout] --> src/lib.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Test { [INFO] [stdout] | --------------- function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 28 | assert_eq!(Test::load(path).unwrap().into_inner(), test); [INFO] [stdout] | ^^^^ function or associated item not found in `Test` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `XCfg` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/format.rs - format::XCfg::fmt_to_string (line 367) [INFO] [stdout] src/format.rs - format::XCfg::load (line 228) [INFO] [stdout] src/format.rs - format::XCfg::load_or_default (line 274) [INFO] [stdout] src/format.rs - format::XCfg::save (line 335) [INFO] [stdout] src/lib.rs - (line 5) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.33s; merged doctests compilation took 0.22s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "85436379af4ca653414bcfd02c800e7ff0dec547585563a7d7bc4e0daaa50619", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85436379af4ca653414bcfd02c800e7ff0dec547585563a7d7bc4e0daaa50619", kill_on_drop: false }` [INFO] [stdout] 85436379af4ca653414bcfd02c800e7ff0dec547585563a7d7bc4e0daaa50619