[INFO] fetching crate what3words 0.1.1... [INFO] testing what3words-0.1.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate what3words 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate what3words 0.1.1 [INFO] finished tweaking crates.io crate what3words 0.1.1 [INFO] tweaked toml for crates.io crate what3words 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate what3words 0.1.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate what3words 0.1.1 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44a6c0d1ea5f2de03fe0fc2d9da1edad9545c9d1501c1bca08047e15180bbf14 [INFO] running `Command { std: "docker" "start" "-a" "44a6c0d1ea5f2de03fe0fc2d9da1edad9545c9d1501c1bca08047e15180bbf14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44a6c0d1ea5f2de03fe0fc2d9da1edad9545c9d1501c1bca08047e15180bbf14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44a6c0d1ea5f2de03fe0fc2d9da1edad9545c9d1501c1bca08047e15180bbf14", kill_on_drop: false }` [INFO] [stdout] 44a6c0d1ea5f2de03fe0fc2d9da1edad9545c9d1501c1bca08047e15180bbf14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d74262415d1ec2681dd1cddcb697c874fcfe1791eeaf52b9c0454515fea3ad6 [INFO] running `Command { std: "docker" "start" "-a" "7d74262415d1ec2681dd1cddcb697c874fcfe1791eeaf52b9c0454515fea3ad6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling openssl v0.10.59 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling openssl-sys v0.9.95 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling h2 v0.3.21 [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 reqwest v0.11.22 [INFO] [stderr] Compiling what3words v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.70s [INFO] running `Command { std: "docker" "inspect" "7d74262415d1ec2681dd1cddcb697c874fcfe1791eeaf52b9c0454515fea3ad6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d74262415d1ec2681dd1cddcb697c874fcfe1791eeaf52b9c0454515fea3ad6", kill_on_drop: false }` [INFO] [stdout] 7d74262415d1ec2681dd1cddcb697c874fcfe1791eeaf52b9c0454515fea3ad6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7342dec9759933ca5ebeb1535f86dc621e5760654da26b95349f2230a740a523 [INFO] running `Command { std: "docker" "start" "-a" "7342dec9759933ca5ebeb1535f86dc621e5760654da26b95349f2230a740a523", kill_on_drop: false }` [INFO] [stderr] Compiling what3words v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "7342dec9759933ca5ebeb1535f86dc621e5760654da26b95349f2230a740a523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7342dec9759933ca5ebeb1535f86dc621e5760654da26b95349f2230a740a523", kill_on_drop: false }` [INFO] [stdout] 7342dec9759933ca5ebeb1535f86dc621e5760654da26b95349f2230a740a523 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4efed83f187a140e4bac087f3f6793b664935b05f2ca81079c2cb46d6dc638fd [INFO] running `Command { std: "docker" "start" "-a" "4efed83f187a140e4bac087f3f6793b664935b05f2ca81079c2cb46d6dc638fd", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/what3words-84e0674dbdc6da0b) [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test_parsing_url ... ok [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-0202e1a7b1b45681) [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_bounding_box_to_string ... ok [INFO] [stdout] test test_circle_to_string ... ok [INFO] [stdout] test test_polygon_to_string ... ok [INFO] [stdout] test test_coordinates_to_string ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests what3words [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test src/lib.rs - W3WClient::autosuggest (line 295) ... FAILED [INFO] [stdout] test src/lib.rs - W3WClient::convert_to_3wa_json (line 121) ... FAILED [INFO] [stdout] test src/lib.rs - W3WClient::convert_to_3wa_json (line 111) ... FAILED [INFO] [stdout] test src/lib.rs - W3WClient::autosuggest (line 338) ... FAILED [INFO] [stdout] test src/lib.rs - W3WClient::convert_to_coordinates (line 164) ... FAILED [INFO] [stdout] test src/lib.rs - W3WClient::convert_to_coordinates_and_get_coordinate (line 214) ... FAILED [INFO] [stdout] test src/lib.rs - W3WClient::autosuggest (line 269) ... FAILED [INFO] [stdout] test src/lib.rs - W3WClient::available_languages (line 241) ... FAILED [INFO] [stdout] test src/lib.rs - W3WClient::autosuggest_json (line 428) ... FAILED [INFO] [stdout] test src/lib.rs - W3WClient::convert_to_3wa_string (line 142) ... FAILED [INFO] [stdout] test src/lib.rs - W3WClient::autosuggest (line 320) ... FAILED [INFO] [stdout] test src/lib.rs - W3WClient::grid_section (line 448) ... FAILED [INFO] [stdout] test src/lib.rs - W3WClient::autosuggest (line 279) ... FAILED [INFO] [stdout] test src/lib.rs - W3WClient::available_languages_json (line 254) ... FAILED [INFO] [stdout] test src/lib.rs - W3WClient::new (line 53) ... FAILED [INFO] [stdout] test src/lib.rs - W3WClient::autosuggest (line 363) ... FAILED [INFO] [stdout] test src/lib.rs - W3WClient::convert_to_coordinates_json (line 192) ... FAILED [INFO] [stdout] test src/lib.rs - W3WClient::convert_to_3wa (line 76) ... FAILED [INFO] [stdout] test src/lib.rs - W3WClient::grid_section_json (line 485) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - W3WClient::autosuggest (line 295) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Coordinate` in this scope [INFO] [stdout] --> src/lib.rs:296:19 [INFO] [stdout] | [INFO] [stdout] 296 | let coordinates = Coordinate{ [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 295 + use what3words::Coordinate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Circle` in this scope [INFO] [stdout] --> src/lib.rs:300:14 [INFO] [stdout] | [INFO] [stdout] 300 | let circle = Circle { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 295 + use what3words::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AutoSuggestOptions` in this scope [INFO] [stdout] --> src/lib.rs:304:15 [INFO] [stdout] | [INFO] [stdout] 304 | let options = AutoSuggestOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 295 + use what3words::AutoSuggestOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `w3_client` in this scope [INFO] [stdout] --> src/lib.rs:308:24 [INFO] [stdout] | [INFO] [stdout] 308 | let autosuggest_resp = w3_client.autosuggest(incomplete_three_words, &options); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `incomplete_three_words` in this scope [INFO] [stdout] --> src/lib.rs:308:46 [INFO] [stdout] | [INFO] [stdout] 308 | let autosuggest_resp = w3_client.autosuggest(incomplete_three_words, &options); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - W3WClient::convert_to_3wa_json (line 121) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/lib.rs:125:2 [INFO] [stdout] | [INFO] [stdout] 125 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 126 | let resp_json = w3_client.convert_to_3wa_json(&coordinate, &options); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ConvertTo3WAOptions` in this scope [INFO] [stdout] --> src/lib.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | let options = ConvertTo3WAOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 121 + use what3words::ConvertTo3WAOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `w3_client` in this scope [INFO] [stdout] --> src/lib.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let resp_json = w3_client.convert_to_3wa_json(&coordinate, &options); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `coordinate` in this scope [INFO] [stdout] --> src/lib.rs:126:48 [INFO] [stdout] | [INFO] [stdout] 126 | let resp_json = w3_client.convert_to_3wa_json(&coordinate, &options); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - W3WClient::convert_to_3wa_json (line 111) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/lib.rs:115:2 [INFO] [stdout] | [INFO] [stdout] 115 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 116 | let resp_json = w3_client.convert_to_3wa_json(&coordinate, &ConvertTo3WAOptions::default()); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Coordinate` in this scope [INFO] [stdout] --> src/lib.rs:112:18 [INFO] [stdout] | [INFO] [stdout] 112 | let coordinate = Coordinate { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 111 + use what3words::Coordinate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `w3_client` in this scope [INFO] [stdout] --> src/lib.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let resp_json = w3_client.convert_to_3wa_json(&coordinate, &ConvertTo3WAOptions::default()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConvertTo3WAOptions` [INFO] [stdout] --> src/lib.rs:116:61 [INFO] [stdout] | [INFO] [stdout] 116 | let resp_json = w3_client.convert_to_3wa_json(&coordinate, &ConvertTo3WAOptions::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `ConvertTo3WAOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 111 + use what3words::ConvertTo3WAOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - W3WClient::autosuggest (line 338) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Coordinate` in this scope [INFO] [stdout] --> src/lib.rs:339:21 [INFO] [stdout] | [INFO] [stdout] 339 | let coordinate_sw = Coordinate { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 338 + use what3words::Coordinate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Coordinate` in this scope [INFO] [stdout] --> src/lib.rs:343:21 [INFO] [stdout] | [INFO] [stdout] 343 | let coordinate_ne = Coordinate { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 338 + use what3words::Coordinate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BoundingBox` in this scope [INFO] [stdout] --> src/lib.rs:347:20 [INFO] [stdout] | [INFO] [stdout] 347 | let bounding_box = BoundingBox { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 338 + use what3words::BoundingBox; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AutoSuggestOptions` in this scope [INFO] [stdout] --> src/lib.rs:351:15 [INFO] [stdout] | [INFO] [stdout] 351 | let options = AutoSuggestOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 338 + use what3words::AutoSuggestOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `w3_client` in this scope [INFO] [stdout] --> src/lib.rs:355:12 [INFO] [stdout] | [INFO] [stdout] 355 | let resp = w3_client.autosuggest_json(incomplete_three_words, &options); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `incomplete_three_words` in this scope [INFO] [stdout] --> src/lib.rs:355:39 [INFO] [stdout] | [INFO] [stdout] 355 | let resp = w3_client.autosuggest_json(incomplete_three_words, &options); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - W3WClient::convert_to_coordinates (line 164) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `w3_client` in this scope [INFO] [stdout] --> src/lib.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | let resp = w3_client.convert_to_coordinates(three_word_address, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConvertToCoordinatesOptions` [INFO] [stdout] --> src/lib.rs:167:1 [INFO] [stdout] | [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] 167 | ConvertToCoordinatesOptions::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ConvertToCoordinatesOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 164 + use what3words::ConvertToCoordinatesOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - W3WClient::convert_to_coordinates_and_get_coordinate (line 214) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `w3_client` in this scope [INFO] [stdout] --> src/lib.rs:216:23 [INFO] [stdout] | [INFO] [stdout] 216 | let resp_coordinate = w3_client.convert_to_coordinates_and_get_coordinate(three_word_address, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConvertToCoordinatesOptions` [INFO] [stdout] --> src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | ConvertToCoordinatesOptions::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ConvertToCoordinatesOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 214 + use what3words::ConvertToCoordinatesOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - W3WClient::autosuggest (line 269) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `w3_client` in this scope [INFO] [stdout] --> src/lib.rs:271:24 [INFO] [stdout] | [INFO] [stdout] 271 | let autosuggest_resp = w3_client.autosuggest(incomplete_three_words, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AutoSuggestOptions` [INFO] [stdout] --> src/lib.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | AutoSuggestOptions::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `AutoSuggestOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 269 + use what3words::AutoSuggestOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - W3WClient::available_languages (line 241) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `w3_client` in this scope [INFO] [stdout] --> src/lib.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | let languages_resp = w3_client.available_languages(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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 - W3WClient::autosuggest_json (line 428) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `w3_client` in this scope [INFO] [stdout] --> src/lib.rs:430:24 [INFO] [stdout] | [INFO] [stdout] 430 | let autosuggest_resp = w3_client.autosuggest_json(incomplete_three_words, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AutoSuggestOptions` [INFO] [stdout] --> src/lib.rs:431:1 [INFO] [stdout] | [INFO] [stdout] 431 | AutoSuggestOptions::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `AutoSuggestOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 428 + use what3words::AutoSuggestOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - W3WClient::convert_to_3wa_string (line 142) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/lib.rs:146:2 [INFO] [stdout] | [INFO] [stdout] 146 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 147 | let resp_string = w3_client.convert_to_3wa_string(&coordinate, [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Coordinate` in this scope [INFO] [stdout] --> src/lib.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | let coordinate = Coordinate { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 142 + use what3words::Coordinate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `w3_client` in this scope [INFO] [stdout] --> src/lib.rs:147:19 [INFO] [stdout] | [INFO] [stdout] 147 | let resp_string = w3_client.convert_to_3wa_string(&coordinate, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConvertTo3WAOptions` [INFO] [stdout] --> src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | ConvertTo3WAOptions::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `ConvertTo3WAOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 142 + use what3words::ConvertTo3WAOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - W3WClient::autosuggest (line 320) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AutoSuggestOptions` in this scope [INFO] [stdout] --> src/lib.rs:322:15 [INFO] [stdout] | [INFO] [stdout] 322 | let options = AutoSuggestOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 320 + use what3words::AutoSuggestOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `w3_client` in this scope [INFO] [stdout] --> src/lib.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | let resp = w3_client.autosuggest_json(incomplete_three_words, &options); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `incomplete_three_words` in this scope [INFO] [stdout] --> src/lib.rs:326:39 [INFO] [stdout] | [INFO] [stdout] 326 | let resp = w3_client.autosuggest_json(incomplete_three_words, &options); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - W3WClient::grid_section (line 448) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Coordinate` in this scope [INFO] [stdout] --> src/lib.rs:449:21 [INFO] [stdout] | [INFO] [stdout] 449 | let coordinate_sw = Coordinate { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 448 + use what3words::Coordinate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Coordinate` in this scope [INFO] [stdout] --> src/lib.rs:453:21 [INFO] [stdout] | [INFO] [stdout] 453 | let coordinate_ne = Coordinate { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 448 + use what3words::Coordinate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BoundingBox` in this scope [INFO] [stdout] --> src/lib.rs:457:20 [INFO] [stdout] | [INFO] [stdout] 457 | let bounding_box = BoundingBox { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 448 + use what3words::BoundingBox; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `w3_client` in this scope [INFO] [stdout] --> src/lib.rs:461:12 [INFO] [stdout] | [INFO] [stdout] 461 | let resp = w3_client.grid_section(&bounding_box, GridSectionOptions::default()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GridSectionOptions` [INFO] [stdout] --> src/lib.rs:461:50 [INFO] [stdout] | [INFO] [stdout] 461 | let resp = w3_client.grid_section(&bounding_box, GridSectionOptions::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `GridSectionOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 448 + use what3words::GridSectionOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - W3WClient::autosuggest (line 279) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Coordinate` in this scope [INFO] [stdout] --> src/lib.rs:280:19 [INFO] [stdout] | [INFO] [stdout] 280 | let coordinates = Coordinate{ [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 279 + use what3words::Coordinate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AutoSuggestOptions` in this scope [INFO] [stdout] --> src/lib.rs:284:15 [INFO] [stdout] | [INFO] [stdout] 284 | let options = AutoSuggestOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 279 + use what3words::AutoSuggestOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `w3_client` in this scope [INFO] [stdout] --> src/lib.rs:288:24 [INFO] [stdout] | [INFO] [stdout] 288 | let autosuggest_resp = w3_client.autosuggest(incomplete_three_words, &options); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `incomplete_three_words` in this scope [INFO] [stdout] --> src/lib.rs:288:46 [INFO] [stdout] | [INFO] [stdout] 288 | let autosuggest_resp = w3_client.autosuggest(incomplete_three_words, &options); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - W3WClient::available_languages_json (line 254) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `w3_client` in this scope [INFO] [stdout] --> src/lib.rs:255:22 [INFO] [stdout] | [INFO] [stdout] 255 | let languages_resp = w3_client.available_languages_json(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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 - W3WClient::new (line 53) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `W3WClient` [INFO] [stdout] --> src/lib.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let w3_client = W3WClient::new("your_api_key"); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `W3WClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 53 + use what3words::W3WClient; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - W3WClient::autosuggest (line 363) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Coordinate` in this scope [INFO] [stdout] --> src/lib.rs:364:20 [INFO] [stdout] | [INFO] [stdout] 364 | let coordinates1 = Coordinate { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 363 + use what3words::Coordinate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Coordinate` in this scope [INFO] [stdout] --> src/lib.rs:368:20 [INFO] [stdout] | [INFO] [stdout] 368 | let coordinates2 = Coordinate { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 363 + use what3words::Coordinate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Coordinate` in this scope [INFO] [stdout] --> src/lib.rs:372:20 [INFO] [stdout] | [INFO] [stdout] 372 | let coordinates3 = Coordinate { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 363 + use what3words::Coordinate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Polygon` in this scope [INFO] [stdout] --> src/lib.rs:376:14 [INFO] [stdout] | [INFO] [stdout] 376 | let polygon: Polygon = Polygon { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 363 + use what3words::Polygon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Polygon` in this scope [INFO] [stdout] --> src/lib.rs:376:24 [INFO] [stdout] | [INFO] [stdout] 376 | let polygon: Polygon = Polygon { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 363 + use what3words::Polygon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AutoSuggestOptions` in this scope [INFO] [stdout] --> src/lib.rs:379:15 [INFO] [stdout] | [INFO] [stdout] 379 | let options = AutoSuggestOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 363 + use what3words::AutoSuggestOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `w3_client` in this scope [INFO] [stdout] --> src/lib.rs:383:12 [INFO] [stdout] | [INFO] [stdout] 383 | let resp = w3_client.autosuggest_json(incomplete_three_words, &options); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `incomplete_three_words` in this scope [INFO] [stdout] --> src/lib.rs:383:39 [INFO] [stdout] | [INFO] [stdout] 383 | let resp = w3_client.autosuggest_json(incomplete_three_words, &options); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - W3WClient::convert_to_coordinates_json (line 192) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/lib.rs:197:2 [INFO] [stdout] | [INFO] [stdout] 197 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 198 | let resp_json = w3_client.convert_to_coordinates_json(three_word_address, &options)?; [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ConvertToCoordinatesOptions` in this scope [INFO] [stdout] --> src/lib.rs:194:15 [INFO] [stdout] | [INFO] [stdout] 194 | let options = ConvertToCoordinatesOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 192 + use what3words::ConvertToCoordinatesOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `w3_client` in this scope [INFO] [stdout] --> src/lib.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | let resp_json = w3_client.convert_to_coordinates_json(three_word_address, &options)?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - W3WClient::convert_to_3wa (line 76) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/lib.rs:80:2 [INFO] [stdout] | [INFO] [stdout] 80 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 81 | let resp = w3_client.convert_to_3wa(&coordinate, &ConvertTo3WAOptions::default()); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Coordinate` in this scope [INFO] [stdout] --> src/lib.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | let coordinate = Coordinate { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 + use what3words::Coordinate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `w3_client` in this scope [INFO] [stdout] --> src/lib.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | let resp = w3_client.convert_to_3wa(&coordinate, &ConvertTo3WAOptions::default()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConvertTo3WAOptions` [INFO] [stdout] --> src/lib.rs:81:51 [INFO] [stdout] | [INFO] [stdout] 81 | let resp = w3_client.convert_to_3wa(&coordinate, &ConvertTo3WAOptions::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `ConvertTo3WAOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 + use what3words::ConvertTo3WAOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - W3WClient::grid_section_json (line 485) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Coordinate` in this scope [INFO] [stdout] --> src/lib.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | let coordinate_sw = Coordinate { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 485 + use what3words::Coordinate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Coordinate` in this scope [INFO] [stdout] --> src/lib.rs:490:21 [INFO] [stdout] | [INFO] [stdout] 490 | let coordinate_ne = Coordinate { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 485 + use what3words::Coordinate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BoundingBox` in this scope [INFO] [stdout] --> src/lib.rs:494:20 [INFO] [stdout] | [INFO] [stdout] 494 | let bounding_box = BoundingBox { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 485 + use what3words::BoundingBox; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `w3_client` in this scope [INFO] [stdout] --> src/lib.rs:498:17 [INFO] [stdout] | [INFO] [stdout] 498 | let resp_json = w3_client.grid_section_json(&bounding_box, GridSectionOptions::default()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GridSectionOptions` [INFO] [stdout] --> src/lib.rs:498:60 [INFO] [stdout] | [INFO] [stdout] 498 | let resp_json = w3_client.grid_section_json(&bounding_box, GridSectionOptions::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `GridSectionOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 485 + use what3words::GridSectionOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - W3WClient::autosuggest (line 269) [INFO] [stdout] src/lib.rs - W3WClient::autosuggest (line 279) [INFO] [stdout] src/lib.rs - W3WClient::autosuggest (line 295) [INFO] [stdout] src/lib.rs - W3WClient::autosuggest (line 320) [INFO] [stdout] src/lib.rs - W3WClient::autosuggest (line 338) [INFO] [stdout] src/lib.rs - W3WClient::autosuggest (line 363) [INFO] [stdout] src/lib.rs - W3WClient::autosuggest_json (line 428) [INFO] [stdout] src/lib.rs - W3WClient::available_languages (line 241) [INFO] [stdout] src/lib.rs - W3WClient::available_languages_json (line 254) [INFO] [stdout] src/lib.rs - W3WClient::convert_to_3wa (line 76) [INFO] [stdout] src/lib.rs - W3WClient::convert_to_3wa_json (line 111) [INFO] [stdout] src/lib.rs - W3WClient::convert_to_3wa_json (line 121) [INFO] [stdout] src/lib.rs - W3WClient::convert_to_3wa_string (line 142) [INFO] [stdout] src/lib.rs - W3WClient::convert_to_coordinates (line 164) [INFO] [stdout] src/lib.rs - W3WClient::convert_to_coordinates_and_get_coordinate (line 214) [INFO] [stdout] src/lib.rs - W3WClient::convert_to_coordinates_json (line 192) [INFO] [stdout] src/lib.rs - W3WClient::grid_section (line 448) [INFO] [stdout] src/lib.rs - W3WClient::grid_section_json (line 485) [INFO] [stdout] src/lib.rs - W3WClient::new (line 53) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 19 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.59s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4efed83f187a140e4bac087f3f6793b664935b05f2ca81079c2cb46d6dc638fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4efed83f187a140e4bac087f3f6793b664935b05f2ca81079c2cb46d6dc638fd", kill_on_drop: false }` [INFO] [stdout] 4efed83f187a140e4bac087f3f6793b664935b05f2ca81079c2cb46d6dc638fd