[INFO] fetching crate my_country 0.1.16... [INFO] testing my_country-0.1.16 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate my_country 0.1.16 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate my_country 0.1.16 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate my_country 0.1.16 [INFO] tweaked toml for crates.io crate my_country 0.1.16 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate my_country 0.1.16 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate my_country 0.1.16 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" "+562dee4820c458d823175268e41601d4c060588a" "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 quote v1.0.44 [INFO] [stderr] Downloaded strum_macros v0.28.0 [INFO] [stderr] Downloaded strum v0.28.0 [INFO] [stderr] Downloaded zmij v1.0.21 [INFO] [stderr] Downloaded unsafe-libyaml v0.2.11 [INFO] [stderr] Downloaded page_size v0.6.0 [INFO] [stderr] Downloaded num-traits v0.2.19 [INFO] [stderr] Downloaded plotters-backend v0.3.7 [INFO] [stderr] Downloaded anes v0.1.6 [INFO] [stderr] Downloaded ciborium-ll v0.2.2 [INFO] [stderr] Downloaded serde_yaml v0.9.34+deprecated [INFO] [stderr] Downloaded half v2.7.1 [INFO] [stderr] Downloaded wasm-bindgen v0.2.114 [INFO] [stderr] Downloaded cc v1.2.56 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.114 [INFO] [stderr] Downloaded itertools v0.13.0 [INFO] [stderr] Downloaded autocfg v1.5.0 [INFO] [stderr] Downloaded regex v1.12.3 [INFO] [stderr] Downloaded zerocopy v0.8.40 [INFO] [stderr] Downloaded criterion v0.8.2 [INFO] [stderr] Downloaded plotters v0.3.7 [INFO] [stderr] Downloaded regex-automata v0.4.14 [INFO] [stderr] Downloaded indexmap v2.13.0 [INFO] [stderr] Downloaded alloca v0.4.0 [INFO] [stderr] Downloaded oorandom v11.1.5 [INFO] [stderr] Downloaded plotters-svg v0.3.7 [INFO] [stderr] Downloaded csv v1.4.0 [INFO] [stderr] Downloaded prettyplease v0.2.37 [INFO] [stderr] Downloaded rayon v1.11.0 [INFO] [stderr] Downloaded js-sys v0.3.91 [INFO] [stderr] Downloaded bumpalo v3.20.2 [INFO] [stderr] Downloaded crossbeam-deque v0.8.6 [INFO] [stderr] Downloaded ciborium v0.2.2 [INFO] [stderr] Downloaded rayon-core v1.13.0 [INFO] [stderr] Downloaded tinytemplate v1.2.1 [INFO] [stderr] Downloaded criterion-plot v0.8.2 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.18 [INFO] [stderr] Downloaded web-sys v0.3.91 [INFO] [stderr] Downloaded csv-core v0.1.13 [INFO] [stderr] Downloaded ciborium-io v0.2.2 [INFO] [stderr] Downloaded cast v0.3.0 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.114 [INFO] [stderr] Downloaded zerocopy-derive v0.8.40 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.114 [INFO] [stderr] Downloaded itoa v1.0.17 [INFO] [stderr] Downloaded ryu v1.0.23 [INFO] [stderr] Downloaded regex-syntax v0.8.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2d08ae536a0f77beccfe28c46eb716b7a205df94f4b82ddb2887cd2bfcb37af [INFO] running `Command { std: "docker" "start" "-a" "f2d08ae536a0f77beccfe28c46eb716b7a205df94f4b82ddb2887cd2bfcb37af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2d08ae536a0f77beccfe28c46eb716b7a205df94f4b82ddb2887cd2bfcb37af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2d08ae536a0f77beccfe28c46eb716b7a205df94f4b82ddb2887cd2bfcb37af", kill_on_drop: false }` [INFO] [stdout] f2d08ae536a0f77beccfe28c46eb716b7a205df94f4b82ddb2887cd2bfcb37af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42b4e2d8157c09b7f27691ade4b43103d45478aa146f8fa0309554f6d24da663 [INFO] running `Command { std: "docker" "start" "-a" "42b4e2d8157c09b7f27691ade4b43103d45478aa146f8fa0309554f6d24da663", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling colored v3.1.1 [INFO] [stderr] Compiling csv-core v0.1.13 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling csv v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling my_country v0.1.16 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.80s [INFO] running `Command { std: "docker" "inspect" "42b4e2d8157c09b7f27691ade4b43103d45478aa146f8fa0309554f6d24da663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42b4e2d8157c09b7f27691ade4b43103d45478aa146f8fa0309554f6d24da663", kill_on_drop: false }` [INFO] [stdout] 42b4e2d8157c09b7f27691ade4b43103d45478aa146f8fa0309554f6d24da663 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1719a3e3907433c89ea00a98192a02e572de20045cad2e296b7e94bdcd7e0d5 [INFO] running `Command { std: "docker" "start" "-a" "d1719a3e3907433c89ea00a98192a02e572de20045cad2e296b7e94bdcd7e0d5", kill_on_drop: false }` [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling zerocopy-derive v0.8.40 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling csv v1.4.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling clap_lex v1.0.0 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling clap_builder v4.5.60 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling page_size v0.6.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling alloca v0.4.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling my_country v0.1.16 (/opt/rustwide/workdir) [INFO] [stderr] Compiling criterion-plot v0.8.2 [INFO] [stderr] Compiling clap v4.5.60 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling criterion v0.8.2 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 29.18s [INFO] running `Command { std: "docker" "inspect" "d1719a3e3907433c89ea00a98192a02e572de20045cad2e296b7e94bdcd7e0d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1719a3e3907433c89ea00a98192a02e572de20045cad2e296b7e94bdcd7e0d5", kill_on_drop: false }` [INFO] [stdout] d1719a3e3907433c89ea00a98192a02e572de20045cad2e296b7e94bdcd7e0d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b81ceda88014e713720c753658f548ed408003a40ae3f3d2d25640376945088a [INFO] running `Command { std: "docker" "start" "-a" "b81ceda88014e713720c753658f548ed408003a40ae3f3d2d25640376945088a", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/my_country-30b16a3b6708e18c) [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-cf3bb40db04cbe10) [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_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 edge_case_tests::test_invalid_country_code ... 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_from_str ... ok [INFO] [stderr] Doc-tests my_country [INFO] [stdout] test iso_code_tests::test_alpha3 ... ok [INFO] [stdout] test iso_code_tests::test_alpha2 ... 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] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/../README.md - (line 113) ... FAILED [INFO] [stdout] test src/../README.md - (line 215) ... FAILED [INFO] [stdout] test src/../README.md - (line 267) ... FAILED [INFO] [stdout] test src/../README.md - (line 189) ... FAILED [INFO] [stdout] test src/../README.md - (line 249) ... FAILED [INFO] [stdout] test src/../README.md - (line 89) ... FAILED [INFO] [stdout] test src/../README.md - (line 47) ... FAILED [INFO] [stdout] test src/../README.md - (line 65) ... FAILED [INFO] [stdout] test src/../README.md - (line 145) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/../README.md - (line 113) stdout ---- [INFO] [stdout] error[E0599]: no method named `subdivision` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | 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 215) stdout ---- [INFO] [stdout] error[E0599]: no method named `subdivision` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:220:28 [INFO] [stdout] | [INFO] [stdout] 220 | 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 267) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `Country: serde::Serialize` is not satisfied [INFO] [stdout] --> src/../README.md:275:34 [INFO] [stdout] | [INFO] [stdout] 275 | let json = serde_json::to_string(&country).unwrap(); [INFO] [stdout] | --------------------- ^^^^^^^^ the trait `serde_core::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_core::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 129 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.149/src/ser.rs:2247:17 [INFO] [stdout] | [INFO] [stdout] 2245 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2246 | where [INFO] [stdout] 2247 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Country: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/../README.md:279:29 [INFO] [stdout] | [INFO] [stdout] 279 | let deserialized: Country = serde_json::from_str(&json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde_core::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_core::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 141 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.149/src/de.rs:2701:8 [INFO] [stdout] | [INFO] [stdout] 2699 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2700 | where [INFO] [stdout] 2701 | 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 189) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `my_country::Currency` [INFO] [stdout] --> src/../README.md:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | 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 249) stdout ---- [INFO] [stdout] error[E0599]: no method named `translation` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:255:27 [INFO] [stdout] | [INFO] [stdout] 255 | 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 89) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `my_country::Currency` [INFO] [stdout] --> src/../README.md:91:27 [INFO] [stdout] | [INFO] [stdout] 91 | 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:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | 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] ---- src/../README.md - (line 47) stdout ---- [INFO] [stdout] error[E0599]: no method named `iso_short_name` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | 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:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | 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 65) stdout ---- [INFO] [stdout] error[E0599]: no method named `region` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | 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:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | 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:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | 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:81:45 [INFO] [stdout] | [INFO] [stdout] 81 | 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:82:53 [INFO] [stdout] | [INFO] [stdout] 82 | 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 145) stdout ---- [INFO] [stdout] error[E0599]: no method named `numeric_code` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:153:38 [INFO] [stdout] | [INFO] [stdout] 153 | 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:156:36 [INFO] [stdout] | [INFO] [stdout] 156 | 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:157:35 [INFO] [stdout] | [INFO] [stdout] 157 | 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:158:44 [INFO] [stdout] | [INFO] [stdout] 158 | 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:161:35 [INFO] [stdout] | [INFO] [stdout] 161 | 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:162:34 [INFO] [stdout] | [INFO] [stdout] 162 | 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:163:37 [INFO] [stdout] | [INFO] [stdout] 163 | 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:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | 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/562dee4820c458d823175268e41601d4c060588a/library/core/src/cmp.rs:1465:4 [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `country_code` found for enum `Country` in the current scope [INFO] [stdout] --> src/../README.md:171:39 [INFO] [stdout] | [INFO] [stdout] 171 | 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:172:48 [INFO] [stdout] | [INFO] [stdout] 172 | 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:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | 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:176:50 [INFO] [stdout] | [INFO] [stdout] 176 | 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:180:30 [INFO] [stdout] | [INFO] [stdout] 180 | 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] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 113) [INFO] [stdout] src/../README.md - (line 145) [INFO] [stdout] src/../README.md - (line 189) [INFO] [stdout] src/../README.md - (line 215) [INFO] [stdout] src/../README.md - (line 249) [INFO] [stdout] src/../README.md - (line 267) [INFO] [stdout] src/../README.md - (line 47) [INFO] [stdout] src/../README.md - (line 65) [INFO] [stdout] src/../README.md - (line 89) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.53s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.12s; merged doctests compilation took 0.58s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b81ceda88014e713720c753658f548ed408003a40ae3f3d2d25640376945088a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b81ceda88014e713720c753658f548ed408003a40ae3f3d2d25640376945088a", kill_on_drop: false }` [INFO] [stdout] b81ceda88014e713720c753658f548ed408003a40ae3f3d2d25640376945088a