[INFO] fetching crate my_country 0.1.9... [INFO] testing my_country-0.1.9 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate my_country 0.1.9 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate my_country 0.1.9 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c33ffc11bb2e1914a321d36a1e05ff630918b813d2e19b0fe45f6737e7c5d45 [INFO] running `Command { std: "docker" "start" "-a" "5c33ffc11bb2e1914a321d36a1e05ff630918b813d2e19b0fe45f6737e7c5d45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c33ffc11bb2e1914a321d36a1e05ff630918b813d2e19b0fe45f6737e7c5d45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c33ffc11bb2e1914a321d36a1e05ff630918b813d2e19b0fe45f6737e7c5d45", kill_on_drop: false }` [INFO] [stdout] 5c33ffc11bb2e1914a321d36a1e05ff630918b813d2e19b0fe45f6737e7c5d45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b11676eefaea24a85d45486c0066ff6642aa77913b9875127744ab7a948fefc [INFO] running `Command { std: "docker" "start" "-a" "6b11676eefaea24a85d45486c0066ff6642aa77913b9875127744ab7a948fefc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling prettyplease v0.2.33 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [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_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 14.18s [INFO] running `Command { std: "docker" "inspect" "6b11676eefaea24a85d45486c0066ff6642aa77913b9875127744ab7a948fefc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b11676eefaea24a85d45486c0066ff6642aa77913b9875127744ab7a948fefc", kill_on_drop: false }` [INFO] [stdout] 6b11676eefaea24a85d45486c0066ff6642aa77913b9875127744ab7a948fefc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6392bf685a2fa8954bcac2dc6cbf3eac35e0855025e0f2be8141a2aa76c8e318 [INFO] running `Command { std: "docker" "start" "-a" "6392bf685a2fa8954bcac2dc6cbf3eac35e0855025e0f2be8141a2aa76c8e318", kill_on_drop: false }` [INFO] [stderr] Compiling half v2.5.0 [INFO] [stderr] Compiling clap_builder v4.5.32 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling anes v0.1.6 [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 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 10.13s [INFO] running `Command { std: "docker" "inspect" "6392bf685a2fa8954bcac2dc6cbf3eac35e0855025e0f2be8141a2aa76c8e318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6392bf685a2fa8954bcac2dc6cbf3eac35e0855025e0f2be8141a2aa76c8e318", kill_on_drop: false }` [INFO] [stdout] 6392bf685a2fa8954bcac2dc6cbf3eac35e0855025e0f2be8141a2aa76c8e318 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e39085e6cb60f90a5810c166589d40d27262552055b365c13d7df4f26f3d0ec1 [INFO] running `Command { std: "docker" "start" "-a" "e39085e6cb60f90a5810c166589d40d27262552055b365c13d7df4f26f3d0ec1", 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] [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] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-4d1be65ef2c9fdf3) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test country_core_tests::test_country_creation ... ok [INFO] [stdout] test country_core_tests::test_country_from_str ... ok [INFO] [stdout] test country_core_tests::test_country_to_str ... ok [INFO] [stdout] test country_core_tests::test_country_from_alpha3 ... ok [INFO] [stdout] test country_core_tests::test_country_to_string ... ok [INFO] [stdout] test country_core_tests::test_parse_error ... ok [INFO] [stdout] test iso_code_tests::test_alpha2 ... ok [INFO] [stdout] test iso_code_tests::test_alpha3 ... ok [INFO] [stdout] test edge_case_tests::test_invalid_country_code ... ok [INFO] [stdout] test edge_case_tests::test_error_display ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests my_country [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/../README.md - (line 268) ... FAILED [INFO] [stdout] test src/../README.md - (line 286) ... FAILED [INFO] [stdout] test src/../README.md - (line 234) ... FAILED [INFO] [stdout] test src/../README.md - (line 84) ... FAILED [INFO] [stdout] test src/../README.md - (line 164) ... FAILED [INFO] [stdout] test src/../README.md - (line 66) ... FAILED [INFO] [stdout] test src/../README.md - (line 208) ... FAILED [INFO] [stdout] test src/../README.md - (line 132) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/../README.md - (line 108) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 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 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 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 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/b83b707f97d809763b7861afa7638871f3339a33/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 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 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 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 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.45s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.88s; merged doctests compilation took 0.42s [INFO] running `Command { std: "docker" "inspect" "e39085e6cb60f90a5810c166589d40d27262552055b365c13d7df4f26f3d0ec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e39085e6cb60f90a5810c166589d40d27262552055b365c13d7df4f26f3d0ec1", kill_on_drop: false }` [INFO] [stdout] e39085e6cb60f90a5810c166589d40d27262552055b365c13d7df4f26f3d0ec1