[INFO] fetching crate eskom_se_push-api 0.2.0...
[INFO] testing eskom_se_push-api-0.2.0 against 1.93.0 for beta-1.94-1
[INFO] extracting crate eskom_se_push-api 0.2.0 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate eskom_se_push-api 0.2.0
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate eskom_se_push-api 0.2.0
[INFO] tweaked toml for crates.io crate eskom_se_push-api 0.2.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate eskom_se_push-api 0.2.0 on toolchain 1.93.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.93.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate eskom_se_push-api 0.2.0 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" "+1.93.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.33
[INFO] [stderr]   Downloaded iana-time-zone v0.1.53
[INFO] [stderr]   Downloaded darling_macro v0.14.3
[INFO] [stderr]   Downloaded link-cplusplus v1.0.8
[INFO] [stderr]   Downloaded cxxbridge-flags v1.0.89
[INFO] [stderr]   Downloaded scratch v1.0.3
[INFO] [stderr]   Downloaded darling v0.14.3
[INFO] [stderr]   Downloaded iana-time-zone-haiku v0.1.1
[INFO] [stderr]   Downloaded darling_core v0.14.3
[INFO] [stderr]   Downloaded cxxbridge-macro v1.0.89
[INFO] [stderr]   Downloaded security-framework v2.8.0
[INFO] [stderr]   Downloaded cxx-build v1.0.89
[INFO] [stderr]   Downloaded chrono v0.4.23
[INFO] [stderr]   Downloaded hyper v0.14.23
[INFO] [stderr]   Downloaded cxx v1.0.89
[INFO] [stderr]   Downloaded encoding_rs v0.8.31
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4c854a324fb545fee580d88e81bc235c3ccfcc16dc94c52850e5e51317b50bef
[INFO] running `Command { std: "docker" "start" "-a" "4c854a324fb545fee580d88e81bc235c3ccfcc16dc94c52850e5e51317b50bef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4c854a324fb545fee580d88e81bc235c3ccfcc16dc94c52850e5e51317b50bef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c854a324fb545fee580d88e81bc235c3ccfcc16dc94c52850e5e51317b50bef", kill_on_drop: false }`
[INFO] [stdout] 4c854a324fb545fee580d88e81bc235c3ccfcc16dc94c52850e5e51317b50bef
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2269b9c4cb20388e5ea62c1b6b48b77054fa8d9ce71037ec46371c7009454514
[INFO] running `Command { std: "docker" "start" "-a" "2269b9c4cb20388e5ea62c1b6b48b77054fa8d9ce71037ec46371c7009454514", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling once_cell v1.17.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]    Compiling tokio v1.24.2
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling socket2 v0.4.7
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling futures-util v0.3.25
[INFO] [stderr]    Compiling openssl v0.10.45
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling futures-io v0.3.26
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling futures-sink v0.3.25
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling tracing-core v0.1.30
[INFO] [stderr]    Compiling try-lock v0.2.4
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling openssl-sys v0.9.80
[INFO] [stderr]    Compiling mio v0.8.5
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling miniz_oxide v0.6.2
[INFO] [stderr]    Compiling async-trait v0.1.64
[INFO] [stderr]    Compiling base64 v0.21.0
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling ipnet v2.7.1
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling iana-time-zone v0.1.53
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling flate2 v1.0.25
[INFO] [stderr]    Compiling rustls v0.20.8
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling webpki v0.22.0
[INFO] [stderr]    Compiling sct v0.7.0
[INFO] [stderr]    Compiling webpki-roots v0.22.6
[INFO] [stderr]    Compiling darling_core v0.14.3
[INFO] [stderr]    Compiling tokio-util v0.7.4
[INFO] [stderr]    Compiling serde_derive v1.0.152
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.38
[INFO] [stderr]    Compiling h2 v0.3.15
[INFO] [stderr]    Compiling thiserror v1.0.38
[INFO] [stderr]    Compiling darling_macro v0.14.3
[INFO] [stderr]    Compiling darling v0.14.3
[INFO] [stderr]    Compiling derive_builder_core v0.12.0
[INFO] [stderr]    Compiling derive_builder_macro v0.12.0
[INFO] [stderr]    Compiling derive_builder v0.12.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling hyper v0.14.23
[INFO] [stderr]    Compiling serde v1.0.152
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling serde_json v1.0.91
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.23
[INFO] [stderr]    Compiling reqwest v0.11.14
[INFO] [stderr]    Compiling ureq v2.6.2
[INFO] [stderr]    Compiling eskom_se_push-api v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.72s
[INFO] running `Command { std: "docker" "inspect" "2269b9c4cb20388e5ea62c1b6b48b77054fa8d9ce71037ec46371c7009454514", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2269b9c4cb20388e5ea62c1b6b48b77054fa8d9ce71037ec46371c7009454514", kill_on_drop: false }`
[INFO] [stdout] 2269b9c4cb20388e5ea62c1b6b48b77054fa8d9ce71037ec46371c7009454514
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f675a547427ef10ef762b87e59bb06b8cb99010f4f91d4cf8456cdeb0841b5ac
[INFO] running `Command { std: "docker" "start" "-a" "f675a547427ef10ef762b87e59bb06b8cb99010f4f91d4cf8456cdeb0841b5ac", kill_on_drop: false }`
[INFO] [stderr]    Compiling eskom_se_push-api v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.58s
[INFO] running `Command { std: "docker" "inspect" "f675a547427ef10ef762b87e59bb06b8cb99010f4f91d4cf8456cdeb0841b5ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f675a547427ef10ef762b87e59bb06b8cb99010f4f91d4cf8456cdeb0841b5ac", kill_on_drop: false }`
[INFO] [stdout] f675a547427ef10ef762b87e59bb06b8cb99010f4f91d4cf8456cdeb0841b5ac
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1c1ad5009a2a9b1ad8747a68321216f20bab55712cdd4d87fddf69a194614ece
[INFO] running `Command { std: "docker" "start" "-a" "1c1ad5009a2a9b1ad8747a68321216f20bab55712cdd4d87fddf69a194614ece", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/eskom_se_push_api-87ad514ea3e60456)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr]    Doc-tests eskom_se_push_api
[INFO] [stdout] test tests::it_works ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test src/area_info.rs - area_info::AreaInfoURL (line 11) ... FAILED
[INFO] [stdout] test src/allowance.rs - allowance::AllowanceCheckURL (line 10) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 13) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 36) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 60) ... FAILED
[INFO] [stdout] test src/ureq_client.rs - ureq_client::handle_ureq_response (line 104) ... FAILED
[INFO] [stdout] test src/reqwest_blocking_client.rs - reqwest_blocking_client::handle_reqwest_response_blocking (line 130) ... FAILED
[INFO] [stdout] test src/reqwest_async_client.rs - reqwest_async_client::handle_reqwest_response (line 129) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/area_info.rs - area_info::AreaInfoURL (line 11) stdout ----
[INFO] [stdout] error: expected `;`, found `t`
[INFO] [stdout]  --> src/area_info.rs:12:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | let t = AllowanceCheckURL::default()
[INFO] [stdout]   |                                     ^ help: add `;` here
[INFO] [stdout] 4 | // returns the url for built the endpoint
[INFO] [stdout] 5 | t.url().unwrap()
[INFO] [stdout]   | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AllowanceCheckURL`
[INFO] [stdout]  --> src/area_info.rs:12:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | let t = AllowanceCheckURL::default()
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^ use of undeclared type `AllowanceCheckURL`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use eskom_se_push_api::allowance::AllowanceCheckURL;
[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] ---- src/allowance.rs - allowance::AllowanceCheckURL (line 10) stdout ----
[INFO] [stdout] error: expected `;`, found `t`
[INFO] [stdout]  --> src/allowance.rs:11:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | let t = AllowanceCheckURL::default()
[INFO] [stdout]   |                                     ^ help: add `;` here
[INFO] [stdout] 4 | // returns the url for built the endpoint
[INFO] [stdout] 5 | t.url().unwrap()
[INFO] [stdout]   | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AllowanceCheckURL`
[INFO] [stdout]  --> src/allowance.rs:11:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | let t = AllowanceCheckURL::default()
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^ use of undeclared type `AllowanceCheckURL`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use eskom_se_push_api::allowance::AllowanceCheckURL;
[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] ---- src/lib.rs - (line 13) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `eskom_se_push_api::EskomAPI`
[INFO] [stdout]  --> src/lib.rs:15:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use eskom_se_push_api::EskomAPI;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `EskomAPI` 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/lib.rs - (line 36) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `eskom_se_push_api::EskomAPI`
[INFO] [stdout]  --> src/lib.rs:38:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use eskom_se_push_api::EskomAPI;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `EskomAPI` 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/lib.rs - (line 60) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `eskom_se_push_api::EskomAPI`
[INFO] [stdout]  --> src/lib.rs:62:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use eskom_se_push_api::EskomAPI;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `EskomAPI` 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/ureq_client.rs - ureq_client::handle_ureq_response (line 104) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EskomStatusUrlBuilder`
[INFO] [stdout]  --> src/ureq_client.rs:105:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | let statusUrl = EskomStatusUrlBuilder::default().build().unwrap();
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EskomStatusUrlBuilder`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use eskom_se_push_api::status::EskomStatusUrlBuilder;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TOKEN_KEY` in this scope
[INFO] [stdout]  --> src/ureq_client.rs:107:70
[INFO] [stdout]   |
[INFO] [stdout] 5 | let api_response  = ureq::get(statusUrl.url().unwrap().as_str()).set(TOKEN_KEY, "YOUR-TOKEN").call();
[INFO] [stdout]   |                                                                      ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]   |
[INFO] [stdout] 2 + use eskom_se_push_api::constants::TOKEN_KEY;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `handle_ureq_response` in this scope
[INFO] [stdout]  --> src/ureq_client.rs:108:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | let response = handle_ureq_response::<EskomStatus>(api_response);
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use eskom_se_push_api::ureq_client::handle_ureq_response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `EskomStatus` in this scope
[INFO] [stdout]  --> src/ureq_client.rs:108:39
[INFO] [stdout]   |
[INFO] [stdout] 6 | let response = handle_ureq_response::<EskomStatus>(api_response);
[INFO] [stdout]   |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use eskom_se_push_api::status::EskomStatus;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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/reqwest_blocking_client.rs - reqwest_blocking_client::handle_reqwest_response_blocking (line 130) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EskomStatusUrlBuilder`
[INFO] [stdout]  --> src/reqwest_blocking_client.rs:131:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | let statusUrl = EskomStatusUrlBuilder::default().build().unwrap();
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EskomStatusUrlBuilder`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use eskom_se_push_api::status::EskomStatusUrlBuilder;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `header`
[INFO] [stdout]  --> src/reqwest_blocking_client.rs:133:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | let mut headers = header::HeaderMap::new();
[INFO] [stdout]   |                   ^^^^^^ use of unresolved module or unlinked crate `header`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `header`, use `cargo add header` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 2 + use http::HeaderMap;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use reqwest::header::HeaderMap;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `HeaderMap`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 5 - let mut headers = header::HeaderMap::new();
[INFO] [stdout] 5 + let mut headers = HeaderMap::new();
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TOKEN_KEY` in this scope
[INFO] [stdout]  --> src/reqwest_blocking_client.rs:134:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | headers.insert(TOKEN_KEY, header::HeaderValue::from_str(token).unwrap());
[INFO] [stdout]   |                ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]   |
[INFO] [stdout] 2 + use eskom_se_push_api::constants::TOKEN_KEY;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `header`
[INFO] [stdout]  --> src/reqwest_blocking_client.rs:134:27
[INFO] [stdout]   |
[INFO] [stdout] 6 | headers.insert(TOKEN_KEY, header::HeaderValue::from_str(token).unwrap());
[INFO] [stdout]   |                           ^^^^^^ use of unresolved module or unlinked crate `header`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `header`, use `cargo add header` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 2 + use http::HeaderValue;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use reqwest::header::HeaderValue;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `HeaderValue`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 6 - headers.insert(TOKEN_KEY, header::HeaderValue::from_str(token).unwrap());
[INFO] [stdout] 6 + headers.insert(TOKEN_KEY, HeaderValue::from_str(token).unwrap());
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `token` in this scope
[INFO] [stdout]  --> src/reqwest_blocking_client.rs:134:57
[INFO] [stdout]   |
[INFO] [stdout] 6 | headers.insert(TOKEN_KEY, header::HeaderValue::from_str(token).unwrap());
[INFO] [stdout]   |                                                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `url_endpoint` in this scope
[INFO] [stdout]   --> src/reqwest_blocking_client.rs:138:31
[INFO] [stdout]    |
[INFO] [stdout] 10 | let api_response = client.get(url_endpoint.as_str()).send();
[INFO] [stdout]    |                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `handle_ureq_response` in this scope
[INFO] [stdout]   --> src/reqwest_blocking_client.rs:139:16
[INFO] [stdout]    |
[INFO] [stdout] 11 | let response = handle_ureq_response::<EskomStatus>(api_response);
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  2 + use eskom_se_push_api::ureq_client::handle_ureq_response;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `EskomStatus` in this scope
[INFO] [stdout]   --> src/reqwest_blocking_client.rs:139:39
[INFO] [stdout]    |
[INFO] [stdout] 11 | let response = handle_ureq_response::<EskomStatus>(api_response);
[INFO] [stdout]    |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use eskom_se_push_api::status::EskomStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 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/reqwest_async_client.rs - reqwest_async_client::handle_reqwest_response (line 129) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EskomStatusUrlBuilder`
[INFO] [stdout]  --> src/reqwest_async_client.rs:130:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | let statusUrl = EskomStatusUrlBuilder::default().build().unwrap();
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EskomStatusUrlBuilder`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use eskom_se_push_api::status::EskomStatusUrlBuilder;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `header`
[INFO] [stdout]  --> src/reqwest_async_client.rs:132:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | let mut headers = header::HeaderMap::new();
[INFO] [stdout]   |                   ^^^^^^ use of unresolved module or unlinked crate `header`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `header`, use `cargo add header` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 2 + use http::HeaderMap;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use reqwest::header::HeaderMap;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `HeaderMap`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 5 - let mut headers = header::HeaderMap::new();
[INFO] [stdout] 5 + let mut headers = HeaderMap::new();
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TOKEN_KEY` in this scope
[INFO] [stdout]  --> src/reqwest_async_client.rs:133:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | headers.insert(TOKEN_KEY, header::HeaderValue::from_str(token).unwrap());
[INFO] [stdout]   |                ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]   |
[INFO] [stdout] 2 + use eskom_se_push_api::constants::TOKEN_KEY;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `header`
[INFO] [stdout]  --> src/reqwest_async_client.rs:133:27
[INFO] [stdout]   |
[INFO] [stdout] 6 | headers.insert(TOKEN_KEY, header::HeaderValue::from_str(token).unwrap());
[INFO] [stdout]   |                           ^^^^^^ use of unresolved module or unlinked crate `header`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `header`, use `cargo add header` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 2 + use http::HeaderValue;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use reqwest::header::HeaderValue;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `HeaderValue`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 6 - headers.insert(TOKEN_KEY, header::HeaderValue::from_str(token).unwrap());
[INFO] [stdout] 6 + headers.insert(TOKEN_KEY, HeaderValue::from_str(token).unwrap());
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `token` in this scope
[INFO] [stdout]  --> src/reqwest_async_client.rs:133:57
[INFO] [stdout]   |
[INFO] [stdout] 6 | headers.insert(TOKEN_KEY, header::HeaderValue::from_str(token).unwrap());
[INFO] [stdout]   |                                                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `url_endpoint` in this scope
[INFO] [stdout]   --> src/reqwest_async_client.rs:137:31
[INFO] [stdout]    |
[INFO] [stdout] 10 | let api_response = client.get(url_endpoint.as_str()).send().await;
[INFO] [stdout]    |                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `handle_ureq_response` in this scope
[INFO] [stdout]   --> src/reqwest_async_client.rs:138:16
[INFO] [stdout]    |
[INFO] [stdout] 11 | let response = handle_ureq_response::<EskomStatus>(api_response).await;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  2 + use eskom_se_push_api::ureq_client::handle_ureq_response;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `EskomStatus` in this scope
[INFO] [stdout]   --> src/reqwest_async_client.rs:138:39
[INFO] [stdout]    |
[INFO] [stdout] 11 | let response = handle_ureq_response::<EskomStatus>(api_response).await;
[INFO] [stdout]    |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use eskom_se_push_api::status::EskomStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/reqwest_async_client.rs:137:61
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reqwest_async_client_rs_129_0() {
[INFO] [stdout]    |                                      ---------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | let api_response = client.get(url_endpoint.as_str()).send().await;
[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/reqwest_async_client.rs:138:66
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reqwest_async_client_rs_129_0() {
[INFO] [stdout]    |                                      ---------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 | let response = handle_ureq_response::<EskomStatus>(api_response).await;
[INFO] [stdout]    |                                                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/allowance.rs - allowance::AllowanceCheckURL (line 10)
[INFO] [stdout]     src/area_info.rs - area_info::AreaInfoURL (line 11)
[INFO] [stdout]     src/lib.rs - (line 13)
[INFO] [stdout]     src/lib.rs - (line 36)
[INFO] [stdout]     src/lib.rs - (line 60)
[INFO] [stdout]     src/reqwest_async_client.rs - reqwest_async_client::handle_reqwest_response (line 129)
[INFO] [stdout]     src/reqwest_blocking_client.rs - reqwest_blocking_client::handle_reqwest_response_blocking (line 130)
[INFO] [stdout]     src/ureq_client.rs - ureq_client::handle_ureq_response (line 104)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "1c1ad5009a2a9b1ad8747a68321216f20bab55712cdd4d87fddf69a194614ece", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c1ad5009a2a9b1ad8747a68321216f20bab55712cdd4d87fddf69a194614ece", kill_on_drop: false }`
[INFO] [stdout] 1c1ad5009a2a9b1ad8747a68321216f20bab55712cdd4d87fddf69a194614ece
