[INFO] fetching crate eskom_se_push-api 0.2.0...
[INFO] testing eskom_se_push-api-0.2.0 against 1.94.0 for beta-1.95-1
[INFO] extracting crate eskom_se_push-api 0.2.0 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate eskom_se_push-api 0.2.0 on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.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.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded futures-sink v0.3.25
[INFO] [stderr]   Downloaded futures-core v0.3.25
[INFO] [stderr]   Downloaded futures-io v0.3.26
[INFO] [stderr]   Downloaded futures-task v0.3.25
[INFO] [stderr]   Downloaded darling_macro v0.14.3
[INFO] [stderr]   Downloaded async-trait v0.1.64
[INFO] [stderr]   Downloaded cxxbridge-flags v1.0.89
[INFO] [stderr]   Downloaded cxxbridge-macro v1.0.89
[INFO] [stderr]   Downloaded cxx-build v1.0.89
[INFO] [stderr]   Downloaded darling_core v0.14.3
[INFO] [stderr]   Downloaded futures-util v0.3.25
[INFO] [stderr]   Downloaded darling v0.14.3
[INFO] [stderr]   Downloaded h2 v0.3.15
[INFO] [stderr]   Downloaded hyper v0.14.23
[INFO] [stderr]   Downloaded openssl-sys v0.9.80
[INFO] [stderr]   Downloaded futures-channel v0.3.25
[INFO] [stderr]   Downloaded openssl v0.10.45
[INFO] [stderr]   Downloaded security-framework v2.8.0
[INFO] [stderr]   Downloaded tokio v1.24.2
[INFO] [stderr]   Downloaded cxx v1.0.89
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 20ff0f3331f26a355c45198bae0d0a9fdf30348d078a4b0b60100e82a418c279
[INFO] running `Command { std: "docker" "start" "-a" "20ff0f3331f26a355c45198bae0d0a9fdf30348d078a4b0b60100e82a418c279", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "20ff0f3331f26a355c45198bae0d0a9fdf30348d078a4b0b60100e82a418c279", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "20ff0f3331f26a355c45198bae0d0a9fdf30348d078a4b0b60100e82a418c279", kill_on_drop: false }`
[INFO] [stdout] 20ff0f3331f26a355c45198bae0d0a9fdf30348d078a4b0b60100e82a418c279
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ae5b141e6e9a3b59c41da855dbc85cb329fac5927637618fd1839b002a2adc01
[INFO] running `Command { std: "docker" "start" "-a" "ae5b141e6e9a3b59c41da855dbc85cb329fac5927637618fd1839b002a2adc01", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.50
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling cc v1.0.78
[INFO] [stderr]    Compiling once_cell v1.17.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling itoa v1.0.5
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling tokio v1.24.2
[INFO] [stderr]    Compiling serde_derive v1.0.152
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling futures-task v0.3.25
[INFO] [stderr]    Compiling serde v1.0.152
[INFO] [stderr]    Compiling tracing-core v0.1.30
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling futures-util v0.3.25
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling openssl v0.10.45
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling futures-io v0.3.26
[INFO] [stderr]    Compiling futures-sink v0.3.25
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling ryu v1.0.12
[INFO] [stderr]    Compiling unicode-bidi v0.3.10
[INFO] [stderr]    Compiling serde_json v1.0.91
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling socket2 v0.4.7
[INFO] [stderr]    Compiling mio v0.8.5
[INFO] [stderr]    Compiling try-lock v0.2.4
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling rustls v0.20.8
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling miniz_oxide v0.6.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling async-trait v0.1.64
[INFO] [stderr]    Compiling thiserror v1.0.38
[INFO] [stderr]    Compiling openssl-sys v0.9.80
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling iana-time-zone v0.1.53
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling ipnet v2.7.1
[INFO] [stderr]    Compiling base64 v0.21.0
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling flate2 v1.0.25
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling webpki v0.22.0
[INFO] [stderr]    Compiling sct v0.7.0
[INFO] [stderr]    Compiling tokio-util v0.7.4
[INFO] [stderr]    Compiling webpki-roots v0.22.6
[INFO] [stderr]    Compiling h2 v0.3.15
[INFO] [stderr]    Compiling darling_core v0.14.3
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling thiserror-impl 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 hyper v0.14.23
[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-tls v0.5.0
[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 44.53s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.45
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "ae5b141e6e9a3b59c41da855dbc85cb329fac5927637618fd1839b002a2adc01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae5b141e6e9a3b59c41da855dbc85cb329fac5927637618fd1839b002a2adc01", kill_on_drop: false }`
[INFO] [stdout] ae5b141e6e9a3b59c41da855dbc85cb329fac5927637618fd1839b002a2adc01
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2f678a92708a3b44d7fd886b38157d90c699f0f77da31e6b7c0e92555b3554c6
[INFO] running `Command { std: "docker" "start" "-a" "2f678a92708a3b44d7fd886b38157d90c699f0f77da31e6b7c0e92555b3554c6", 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 2.68s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.45
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "2f678a92708a3b44d7fd886b38157d90c699f0f77da31e6b7c0e92555b3554c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f678a92708a3b44d7fd886b38157d90c699f0f77da31e6b7c0e92555b3554c6", kill_on_drop: false }`
[INFO] [stdout] 2f678a92708a3b44d7fd886b38157d90c699f0f77da31e6b7c0e92555b3554c6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] cd36a6bce9c3c5285329a093d5e285ec6ae5ae2330c57ba465cc9c22866e5f87
[INFO] running `Command { std: "docker" "start" "-a" "cd36a6bce9c3c5285329a093d5e285ec6ae5ae2330c57ba465cc9c22866e5f87", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.45
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/eskom_se_push_api-95e76d54e8ea0cb5)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test tests::it_works ... ok
[INFO] [stderr]    Doc-tests eskom_se_push_api
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test src/ureq_client.rs - ureq_client::handle_ureq_response (line 104) ... FAILED
[INFO] [stdout] test src/allowance.rs - allowance::AllowanceCheckURL (line 10) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 60) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 36) ... FAILED
[INFO] [stdout] test src/reqwest_blocking_client.rs - reqwest_blocking_client::handle_reqwest_response_blocking (line 130) ... FAILED
[INFO] [stdout] test src/area_info.rs - area_info::AreaInfoURL (line 11) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 13) ... 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/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] 105 | 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] 104 + 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] 107 | 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] 104 + 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] 108 | 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] 104 + 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] 108 | 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] 104 + 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/allowance.rs - allowance::AllowanceCheckURL (line 10) stdout ----
[INFO] [stdout] error: expected `;`, found `t`
[INFO] [stdout]   --> src/allowance.rs:11:37
[INFO] [stdout]    |
[INFO] [stdout] 11 | let t = AllowanceCheckURL::default()
[INFO] [stdout]    |                                     ^ help: add `;` here
[INFO] [stdout] 12 | // returns the url for built the endpoint
[INFO] [stdout] 13 | 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] 11 | let t = AllowanceCheckURL::default()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ use of undeclared type `AllowanceCheckURL`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 10 + 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 60) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `eskom_se_push_api::EskomAPI`
[INFO] [stdout]   --> src/lib.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | 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] 38 | 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/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] 131 | 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] 130 + 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] 133 | 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] 130 + use http::HeaderMap;
[INFO] [stdout]     |
[INFO] [stdout] 130 + use reqwest::header::HeaderMap;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `HeaderMap`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 133 - let mut headers = header::HeaderMap::new();
[INFO] [stdout] 133 + 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] 134 | 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] 130 + 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] 134 | 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] 130 + use http::HeaderValue;
[INFO] [stdout]     |
[INFO] [stdout] 130 + use reqwest::header::HeaderValue;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `HeaderValue`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 134 - headers.insert(TOKEN_KEY, header::HeaderValue::from_str(token).unwrap());
[INFO] [stdout] 134 + 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] 134 | 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] 138 | 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] 139 | 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] 130 + 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] 139 | 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] 130 + 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/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] 12 | let t = AllowanceCheckURL::default()
[INFO] [stdout]    |                                     ^ help: add `;` here
[INFO] [stdout] 13 | // returns the url for built the endpoint
[INFO] [stdout] 14 | 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] 12 | let t = AllowanceCheckURL::default()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ use of undeclared type `AllowanceCheckURL`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 11 + 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] 15 | 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/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] 130 | 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] 129 + 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] 132 | 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] 129 + use http::HeaderMap;
[INFO] [stdout]     |
[INFO] [stdout] 129 + use reqwest::header::HeaderMap;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `HeaderMap`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 132 - let mut headers = header::HeaderMap::new();
[INFO] [stdout] 132 + 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] 133 | 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] 129 + 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] 133 | 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] 129 + use http::HeaderValue;
[INFO] [stdout]     |
[INFO] [stdout] 129 + use reqwest::header::HeaderValue;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `HeaderValue`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 133 - headers.insert(TOKEN_KEY, header::HeaderValue::from_str(token).unwrap());
[INFO] [stdout] 133 + 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] 133 | 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] 137 | 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] 138 | 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] 129 + 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] 138 | 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] 129 + 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] 129 | 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] 137 | 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] 129 | 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] 138 | 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.26s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "cd36a6bce9c3c5285329a093d5e285ec6ae5ae2330c57ba465cc9c22866e5f87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd36a6bce9c3c5285329a093d5e285ec6ae5ae2330c57ba465cc9c22866e5f87", kill_on_drop: false }`
[INFO] [stdout] cd36a6bce9c3c5285329a093d5e285ec6ae5ae2330c57ba465cc9c22866e5f87
