[INFO] fetching crate my_country 0.1.9... [INFO] testing my_country-0.1.9 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate my_country 0.1.9 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate my_country 0.1.9 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate my_country 0.1.9 [INFO] tweaked toml for crates.io crate my_country 0.1.9 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate my_country 0.1.9 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] crate crates.io crate my_country 0.1.9 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 33f9ea1639cabbdd9f17859e5bad61b68a13eaec512bd5b3f83b80490e2aacb6 [INFO] running `Command { std: "docker" "start" "-a" "33f9ea1639cabbdd9f17859e5bad61b68a13eaec512bd5b3f83b80490e2aacb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33f9ea1639cabbdd9f17859e5bad61b68a13eaec512bd5b3f83b80490e2aacb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33f9ea1639cabbdd9f17859e5bad61b68a13eaec512bd5b3f83b80490e2aacb6", kill_on_drop: false }` [INFO] [stdout] 33f9ea1639cabbdd9f17859e5bad61b68a13eaec512bd5b3f83b80490e2aacb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 3129e77a186ea15ddd2ff78db0e295a1aed598083eac5503c91849a50da997ad [INFO] running `Command { std: "docker" "start" "-a" "3129e77a186ea15ddd2ff78db0e295a1aed598083eac5503c91849a50da997ad", kill_on_drop: false }` [INFO] [stderr] Compiling prettyplease v0.2.33 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling my_country v0.1.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.47s [INFO] running `Command { std: "docker" "inspect" "3129e77a186ea15ddd2ff78db0e295a1aed598083eac5503c91849a50da997ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3129e77a186ea15ddd2ff78db0e295a1aed598083eac5503c91849a50da997ad", kill_on_drop: false }` [INFO] [stdout] 3129e77a186ea15ddd2ff78db0e295a1aed598083eac5503c91849a50da997ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] d9592993be1c74375ad886f3377747f676bfe6cf776f8435ce5ec0b2ec8ace00 [INFO] running `Command { std: "docker" "start" "-a" "d9592993be1c74375ad886f3377747f676bfe6cf776f8435ce5ec0b2ec8ace00", kill_on_drop: false }` [INFO] [stderr] Compiling half v2.5.0 [INFO] [stderr] Compiling clap_builder v4.5.32 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling my_country v0.1.9 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling clap v4.5.32 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.6.0 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 19.02s [INFO] running `Command { std: "docker" "inspect" "d9592993be1c74375ad886f3377747f676bfe6cf776f8435ce5ec0b2ec8ace00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9592993be1c74375ad886f3377747f676bfe6cf776f8435ce5ec0b2ec8ace00", kill_on_drop: false }` [INFO] [stdout] d9592993be1c74375ad886f3377747f676bfe6cf776f8435ce5ec0b2ec8ace00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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", kill_on_drop: false }` [INFO] [stdout] 2f3e6cdb2f425952270b10bf22143d00aa1ef08923267ee0a88f6befdd167359 [INFO] running `Command { std: "docker" "start" "-a" "2f3e6cdb2f425952270b10bf22143d00aa1ef08923267ee0a88f6befdd167359", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/my_country-73cd70970b0bade2) [INFO] [stdout] [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-4d1be65ef2c9fdf3) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test country_core_tests::test_country_from_alpha3 ... ok [INFO] [stdout] test country_core_tests::test_country_creation ... ok [INFO] [stdout] test edge_case_tests::test_invalid_country_code ... ok [INFO] [stdout] test country_core_tests::test_country_from_str ... ok [INFO] [stdout] test iso_code_tests::test_alpha2 ... ok [INFO] [stdout] test country_core_tests::test_parse_error ... ok [INFO] [stdout] test country_core_tests::test_country_to_str ... ok [INFO] [stdout] test edge_case_tests::test_error_display ... ok [INFO] [stdout] test country_core_tests::test_country_to_string ... ok [INFO] [stdout] test iso_code_tests::test_alpha3 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests my_country [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/../README.md - (line 132) ... FAILED [INFO] [stdout] test src/../README.md - (line 286) ... FAILED [INFO] [stdout] test src/../README.md - (line 268) ... FAILED [INFO] [stdout] test src/../README.md - (line 66) ... FAILED [INFO] [stdout] test src/../README.md - (line 164) ... FAILED [INFO] [stdout] test src/../README.md - (line 208) ... FAILED [INFO] [stdout] test src/../README.md - (line 84) ... FAILED [INFO] [stdout] test src/../README.md - (line 234) ... FAILED [INFO] [stdout] test src/../README.md - (line 108) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/../README.md - (line 132) stdout ---- [INFO] [stdout] error[E0599]: no method named `subdivision` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:139:23 [INFO] [stdout] | [INFO] [stdout] 10 | for subdivision in us.subdivision() { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Country` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 286) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `Country: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/../README.md:294:34 [INFO] [stdout] | [INFO] [stdout] 11 | let json = serde_json::to_string(&country).unwrap(); [INFO] [stdout] | --------------------- ^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `Country` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Country` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 131 others [INFO] [stdout] note: required by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/ser.rs:2239:17 [INFO] [stdout] | [INFO] [stdout] 2237 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2238 | where [INFO] [stdout] 2239 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Country: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/../README.md:298:29 [INFO] [stdout] | [INFO] [stdout] 15 | let deserialized: Country = serde_json::from_str(&json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `Country` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Country` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 142 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 268) stdout ---- [INFO] [stdout] error[E0599]: no method named `translation` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:274:27 [INFO] [stdout] | [INFO] [stdout] 9 | let translation = country.translation(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Country` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 66) stdout ---- [INFO] [stdout] error[E0599]: no method named `iso_short_name` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:72:38 [INFO] [stdout] | [INFO] [stdout] 9 | println!("Country name: {}", country.iso_short_name()); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Country` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `currency_code` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:73:34 [INFO] [stdout] | [INFO] [stdout] 10 | println!("Currency: {}", country.currency_code().name()); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Country` [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/../README.md - (line 164) stdout ---- [INFO] [stdout] error[E0599]: no method named `numeric_code` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:172:38 [INFO] [stdout] | [INFO] [stdout] 11 | println!("Numeric code: {}", country.numeric_code()); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Country` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iso_short_name` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:175:36 [INFO] [stdout] | [INFO] [stdout] 14 | println!("Short name: {}", country.iso_short_name()); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Country` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iso_long_name` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:176:35 [INFO] [stdout] | [INFO] [stdout] 15 | println!("Long name: {}", country.iso_long_name()); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Country` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unofficial_names` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:177:44 [INFO] [stdout] | [INFO] [stdout] 16 | println!("Unofficial names: {:?}", country.unofficial_names()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `Country` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `continent` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:180:35 [INFO] [stdout] | [INFO] [stdout] 19 | println!("Continent: {}", country.continent()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Country` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `region` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:181:34 [INFO] [stdout] | [INFO] [stdout] 20 | println!("Region: {:?}", country.region()); [INFO] [stdout] | ^^^^^^ method not found in `Country` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `subregion` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:182:37 [INFO] [stdout] | [INFO] [stdout] 21 | println!("Subregion: {:?}", country.subregion()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Country` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `geo` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:185:19 [INFO] [stdout] | [INFO] [stdout] 24 | let geo = country.geo(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `ge` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/cmp.rs:1441:5 [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `country_code` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:190:39 [INFO] [stdout] | [INFO] [stdout] 29 | println!("Country code: +{}", country.country_code()); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Country` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `international_prefix` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:191:48 [INFO] [stdout] | [INFO] [stdout] 30 | println!("International prefix: {:?}", country.international_prefix()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `Country` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `postal_code` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:194:12 [INFO] [stdout] | [INFO] [stdout] 33 | if country.postal_code() { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Country` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `postal_code_format` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:195:50 [INFO] [stdout] | [INFO] [stdout] 34 | println!("Postal code format: {:?}", country.postal_code_format()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `Country` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `emoji_flag` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:199:30 [INFO] [stdout] | [INFO] [stdout] 38 | println!("Flag: {}", country.emoji_flag()); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Country` [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 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/../README.md - (line 208) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `my_country::Currency` [INFO] [stdout] --> src/../README.md:210:5 [INFO] [stdout] | [INFO] [stdout] 5 | use my_country::Currency; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Currency` in the root [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 84) stdout ---- [INFO] [stdout] error[E0599]: no method named `region` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:91:30 [INFO] [stdout] | [INFO] [stdout] 10 | println!("US region: {}", us.region().unwrap_or("Unknown")); [INFO] [stdout] | ^^^^^^ method not found in `Country` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `continent` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:92:33 [INFO] [stdout] | [INFO] [stdout] 11 | println!("US continent: {}", us.continent()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Country` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `g7_member` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:95:24 [INFO] [stdout] | [INFO] [stdout] 14 | if let Some(true) = us.g7_member() { [INFO] [stdout] | ^^^^^^^^^ method not found in `Country` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `country_code` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:100:45 [INFO] [stdout] | [INFO] [stdout] 19 | println!("Country code for the US: +{}", us.country_code()); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Country` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `national_number_lengths` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:101:53 [INFO] [stdout] | [INFO] [stdout] 20 | println!("Phone number lengths in the US: {:?}", us.national_number_lengths()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `Country` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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/../README.md - (line 234) stdout ---- [INFO] [stdout] error[E0599]: no method named `subdivision` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:239:28 [INFO] [stdout] | [INFO] [stdout] 8 | let subdivisions = country.subdivision(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Country` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 108) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `my_country::Currency` [INFO] [stdout] --> src/../README.md:110:27 [INFO] [stdout] | [INFO] [stdout] 5 | use my_country::{Country, Currency}; [INFO] [stdout] | ^^^^^^^^ no `Currency` in the root [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `currency_code` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:121:15 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(us.currency_code(), Currency::USD); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Country` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 108) [INFO] [stdout] src/../README.md - (line 132) [INFO] [stdout] src/../README.md - (line 164) [INFO] [stdout] src/../README.md - (line 208) [INFO] [stdout] src/../README.md - (line 234) [INFO] [stdout] src/../README.md - (line 268) [INFO] [stdout] src/../README.md - (line 286) [INFO] [stdout] src/../README.md - (line 66) [INFO] [stdout] src/../README.md - (line 84) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.60s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.11s; merged doctests compilation took 0.50s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "2f3e6cdb2f425952270b10bf22143d00aa1ef08923267ee0a88f6befdd167359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f3e6cdb2f425952270b10bf22143d00aa1ef08923267ee0a88f6befdd167359", kill_on_drop: false }` [INFO] [stdout] 2f3e6cdb2f425952270b10bf22143d00aa1ef08923267ee0a88f6befdd167359