[INFO] fetching crate nominatim 0.3.5... [INFO] testing nominatim-0.3.5 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate nominatim 0.3.5 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate nominatim 0.3.5 [INFO] finished tweaking crates.io crate nominatim 0.3.5 [INFO] tweaked toml for crates.io crate nominatim 0.3.5 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nominatim 0.3.5 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 nominatim 0.3.5 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded form_urlencoded v1.2.0 [INFO] [stderr] Downloaded windows-targets v0.48.1 [INFO] [stderr] Downloaded futures-macro v0.3.28 [INFO] [stderr] Downloaded futures-core v0.3.28 [INFO] [stderr] Downloaded itoa v1.0.8 [INFO] [stderr] Downloaded hyper-rustls v0.24.1 [INFO] [stderr] Downloaded futures-channel v0.3.28 [INFO] [stderr] Downloaded ipnet v2.8.0 [INFO] [stderr] Downloaded tracing-core v0.1.31 [INFO] [stderr] Downloaded http v0.2.9 [INFO] [stderr] Downloaded tokio-util v0.7.8 [INFO] [stderr] Downloaded mio v0.8.8 [INFO] [stderr] Downloaded serde_json v1.0.102 [INFO] [stderr] Downloaded futures-util v0.3.28 [INFO] [stderr] Downloaded h2 v0.3.20 [INFO] [stderr] Downloaded hyper v0.14.27 [INFO] [stderr] Downloaded wasm-bindgen v0.2.87 [INFO] [stderr] Downloaded reqwest v0.11.18 [INFO] [stderr] Downloaded webpki-roots v0.22.6 [INFO] [stderr] Downloaded openssl v0.10.55 [INFO] [stderr] Downloaded object v0.31.1 [INFO] [stderr] Downloaded syn v2.0.26 [INFO] [stderr] Downloaded rustix v0.37.23 [INFO] [stderr] Downloaded gimli v0.27.3 [INFO] [stderr] Downloaded idna v0.4.0 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.48.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.48.0 [INFO] [stderr] Downloaded unicode-normalization v0.1.22 [INFO] [stderr] Downloaded openssl-sys v0.9.90 [INFO] [stderr] Downloaded security-framework v2.9.1 [INFO] [stderr] Downloaded serde v1.0.171 [INFO] [stderr] Downloaded tracing v0.1.37 [INFO] [stderr] Downloaded base64 v0.21.2 [INFO] [stderr] Downloaded js-sys v0.3.64 [INFO] [stderr] Downloaded bumpalo v3.13.0 [INFO] [stderr] Downloaded cc v1.0.79 [INFO] [stderr] Downloaded memchr v2.5.0 [INFO] [stderr] Downloaded backtrace v0.3.68 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.48.0 [INFO] [stderr] Downloaded io-lifetimes v1.0.11 [INFO] [stderr] Downloaded tokio v1.29.1 [INFO] [stderr] Downloaded libc v0.2.147 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.48.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.48.0 [INFO] [stderr] Downloaded web-sys v0.3.64 [INFO] [stderr] Downloaded windows_i686_msvc v0.48.0 [INFO] [stderr] Downloaded once_cell v1.18.0 [INFO] [stderr] Downloaded serde_derive v1.0.171 [INFO] [stderr] Downloaded addr2line v0.20.0 [INFO] [stderr] Downloaded miniz_oxide v0.7.1 [INFO] [stderr] Downloaded bytes v1.4.0 [INFO] [stderr] Downloaded socket2 v0.4.9 [INFO] [stderr] Downloaded unicode-ident v1.0.11 [INFO] [stderr] Downloaded linux-raw-sys v0.3.8 [INFO] [stderr] Downloaded ryu v1.0.14 [INFO] [stderr] Downloaded tempfile v3.6.0 [INFO] [stderr] Downloaded native-tls v0.2.11 [INFO] [stderr] Downloaded tokio-rustls v0.24.1 [INFO] [stderr] Downloaded windows_i686_gnu v0.48.0 [INFO] [stderr] Downloaded log v0.4.19 [INFO] [stderr] Downloaded smallvec v1.11.0 [INFO] [stderr] Downloaded parking_lot_core v0.9.8 [INFO] [stderr] Downloaded pin-project-lite v0.2.10 [INFO] [stderr] Downloaded proc-macro2 v1.0.64 [INFO] [stderr] Downloaded quote v1.0.29 [INFO] [stderr] Downloaded unicode-bidi v0.3.13 [INFO] [stderr] Downloaded futures-task v0.3.28 [INFO] [stderr] Downloaded slab v0.4.8 [INFO] [stderr] Downloaded rustls-pemfile v1.0.3 [INFO] [stderr] Downloaded schannel v0.1.22 [INFO] [stderr] Downloaded security-framework-sys v2.9.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.87 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.87 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Downloaded pkg-config v0.3.27 [INFO] [stderr] Downloaded tokio-macros v2.1.0 [INFO] [stderr] Downloaded core-foundation-sys v0.8.4 [INFO] [stderr] Downloaded encoding_rs v0.8.32 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.87 [INFO] [stderr] Downloaded try-lock v0.2.4 [INFO] [stderr] Downloaded errno-dragonfly v0.1.2 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.37 [INFO] [stderr] Downloaded hermit-abi v0.3.2 [INFO] [stderr] Downloaded url v2.4.0 [INFO] [stderr] Downloaded futures-sink v0.3.28 [INFO] [stderr] Downloaded http-body v0.4.5 [INFO] [stderr] Downloaded errno v0.3.1 [INFO] [stderr] Downloaded lock_api v0.4.10 [INFO] [stderr] Downloaded percent-encoding v2.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 2f7718d22c832200dab8f1ab904488ed56648a24cb8f7704830cc963b64e8dc2 [INFO] running `Command { std: "docker" "start" "-a" "2f7718d22c832200dab8f1ab904488ed56648a24cb8f7704830cc963b64e8dc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f7718d22c832200dab8f1ab904488ed56648a24cb8f7704830cc963b64e8dc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f7718d22c832200dab8f1ab904488ed56648a24cb8f7704830cc963b64e8dc2", kill_on_drop: false }` [INFO] [stdout] 2f7718d22c832200dab8f1ab904488ed56648a24cb8f7704830cc963b64e8dc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] cc3c71718c61dd062c1eee8687eab2b0c67a56906f390fd9517a370fe9d5a40a [INFO] running `Command { std: "docker" "start" "-a" "cc3c71718c61dd062c1eee8687eab2b0c67a56906f390fd9517a370fe9d5a40a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling itoa v1.0.8 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling syn v2.0.26 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling serde_json v1.0.102 [INFO] [stderr] Compiling ryu v1.0.14 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.171 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling reqwest v0.11.18 [INFO] [stderr] Compiling nominatim v0.3.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.55 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "cc3c71718c61dd062c1eee8687eab2b0c67a56906f390fd9517a370fe9d5a40a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc3c71718c61dd062c1eee8687eab2b0c67a56906f390fd9517a370fe9d5a40a", kill_on_drop: false }` [INFO] [stdout] cc3c71718c61dd062c1eee8687eab2b0c67a56906f390fd9517a370fe9d5a40a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 77f64a90f57a2c237a97092cd57931becbfe706b4570cb1b5dc4c18de8747148 [INFO] running `Command { std: "docker" "start" "-a" "77f64a90f57a2c237a97092cd57931becbfe706b4570cb1b5dc4c18de8747148", kill_on_drop: false }` [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.18 [INFO] [stderr] Compiling nominatim v0.3.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 28.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.55 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "77f64a90f57a2c237a97092cd57931becbfe706b4570cb1b5dc4c18de8747148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77f64a90f57a2c237a97092cd57931becbfe706b4570cb1b5dc4c18de8747148", kill_on_drop: false }` [INFO] [stdout] 77f64a90f57a2c237a97092cd57931becbfe706b4570cb1b5dc4c18de8747148 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 94ab7534e9b9978504a014a890c98615989e9adfd202893f81a3c42ae2209cf4 [INFO] running `Command { std: "docker" "start" "-a" "94ab7534e9b9978504a014a890c98615989e9adfd202893f81a3c42ae2209cf4", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.55 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nominatim-70c334b0804cdac1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests nominatim [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 src/lib.rs - (line 115) ... FAILED [INFO] [stdout] test src/lib.rs - (line 66) ... FAILED [INFO] [stdout] test src/lib.rs - (line 42) ... FAILED [INFO] [stdout] test src/lib.rs - (line 28) ... FAILED [INFO] [stdout] test src/lib.rs - (line 80) ... FAILED [INFO] [stdout] test src/lib.rs - (line 56) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 21) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 33) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 71) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 14) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 115) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `License` [INFO] [stdout] --> src/lib.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | MIT License [INFO] [stdout] | ^^^^^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 66) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `of` [INFO] [stdout] --> src/lib.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | Statue of Liberty, Flagpole Plaza, Manhattan Community Board 1, Manhattan, New York County, City of New York, New York, 10004, Unite... [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 42) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `of` [INFO] [stdout] --> src/lib.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | Statue of Liberty, Flagpole Plaza, Manhattan Community Board 1, Manhattan, New York County, City of New York, New York, 10004, Unite... [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 28) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `OK` in this scope [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | OK [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:561:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named tuple variant `Ok` defined here [INFO] [stdout] help: a tuple variant with a similar name exists (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 29 - OK [INFO] [stdout] 29 + Ok [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 80) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `,` [INFO] [stdout] --> src/lib.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | Manchester, Greater Manchester, England, United Kingdom [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 56) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/lib.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let reverse_search = client [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 56 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_56_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 59 | .await [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 21) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/lib.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | let status = client.status().await.unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/lib.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | println!("{}", client.status().await.unwrap()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_21_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] 22 | let status = client.status().await.unwrap(); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_21_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 24 | println!("{}", client.status().await.unwrap()); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 33) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/lib.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let search_results = client.search("statue of liberty").await.unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:34:57 [INFO] [stdout] | [INFO] [stdout] 33 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_33_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] 34 | let search_results = client.search("statue of liberty").await.unwrap(); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 71) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/lib.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | let lookup_results = client.lookup(vec!["R146656", "W50637691"]).await.unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:72:66 [INFO] [stdout] | [INFO] [stdout] 71 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_71_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] 72 | let lookup_results = client.lookup(vec!["R146656", "W50637691"]).await.unwrap(); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Client` in this scope [INFO] [stdout] --> src/lib.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | let client = Client::new(IdentificationMethod::from_user_agent( [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 14 + use nominatim::Client; [INFO] [stdout] | [INFO] [stdout] 14 + use reqwest::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `IdentificationMethod` in this scope [INFO] [stdout] --> src/lib.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | let client = Client::new(IdentificationMethod::from_user_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `IdentificationMethod` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 14 + use nominatim::IdentificationMethod; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 115) [INFO] [stdout] src/lib.rs - (line 14) [INFO] [stdout] src/lib.rs - (line 21) [INFO] [stdout] src/lib.rs - (line 28) [INFO] [stdout] src/lib.rs - (line 33) [INFO] [stdout] src/lib.rs - (line 42) [INFO] [stdout] src/lib.rs - (line 56) [INFO] [stdout] src/lib.rs - (line 66) [INFO] [stdout] src/lib.rs - (line 71) [INFO] [stdout] src/lib.rs - (line 80) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.44s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "94ab7534e9b9978504a014a890c98615989e9adfd202893f81a3c42ae2209cf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94ab7534e9b9978504a014a890c98615989e9adfd202893f81a3c42ae2209cf4", kill_on_drop: false }` [INFO] [stdout] 94ab7534e9b9978504a014a890c98615989e9adfd202893f81a3c42ae2209cf4