[INFO] fetching crate polipo 0.2.5... [INFO] testing polipo-0.2.5 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate polipo 0.2.5 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate polipo 0.2.5 [INFO] finished tweaking crates.io crate polipo 0.2.5 [INFO] tweaked toml for crates.io crate polipo 0.2.5 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate polipo 0.2.5 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 183 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding hmac v0.10.1 (available: v0.13.0) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.13.2) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.11.0) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 243eae2174807d815f71f5f0f7ed041fa13d1cde152ec374d0f53b47ea7e8d75 [INFO] running `Command { std: "docker" "start" "-a" "243eae2174807d815f71f5f0f7ed041fa13d1cde152ec374d0f53b47ea7e8d75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "243eae2174807d815f71f5f0f7ed041fa13d1cde152ec374d0f53b47ea7e8d75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "243eae2174807d815f71f5f0f7ed041fa13d1cde152ec374d0f53b47ea7e8d75", kill_on_drop: false }` [INFO] [stdout] 243eae2174807d815f71f5f0f7ed041fa13d1cde152ec374d0f53b47ea7e8d75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8612d1fde0fdce7ce5cf7ca791f0523bf319bc7dc7fb2f4abbf09b1769fef9f [INFO] running `Command { std: "docker" "start" "-a" "a8612d1fde0fdce7ce5cf7ca791f0523bf319bc7dc7fb2f4abbf09b1769fef9f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling openssl v0.10.78 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling typenum v1.20.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.114 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.52.1 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling polipo v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/config.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { KRAKEN_API_KEY.to_string() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/config.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { KRAKEN_API_SECRET.to_owned() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.42s [INFO] running `Command { std: "docker" "inspect" "a8612d1fde0fdce7ce5cf7ca791f0523bf319bc7dc7fb2f4abbf09b1769fef9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8612d1fde0fdce7ce5cf7ca791f0523bf319bc7dc7fb2f4abbf09b1769fef9f", kill_on_drop: false }` [INFO] [stdout] a8612d1fde0fdce7ce5cf7ca791f0523bf319bc7dc7fb2f4abbf09b1769fef9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0fcb71ddf42b13d9ab0e623c3542dc8bfa32c395c5d53f3ae1c397b30c09186 [INFO] running `Command { std: "docker" "start" "-a" "a0fcb71ddf42b13d9ab0e623c3542dc8bfa32c395c5d53f3ae1c397b30c09186", kill_on_drop: false }` [INFO] [stderr] Compiling polipo v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/config.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { KRAKEN_API_KEY.to_string() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/config.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { KRAKEN_API_SECRET.to_owned() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/config.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { KRAKEN_API_KEY.to_string() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/config.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { KRAKEN_API_SECRET.to_owned() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.21s [INFO] running `Command { std: "docker" "inspect" "a0fcb71ddf42b13d9ab0e623c3542dc8bfa32c395c5d53f3ae1c397b30c09186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0fcb71ddf42b13d9ab0e623c3542dc8bfa32c395c5d53f3ae1c397b30c09186", kill_on_drop: false }` [INFO] [stdout] a0fcb71ddf42b13d9ab0e623c3542dc8bfa32c395c5d53f3ae1c397b30c09186 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 12df1222e5661679252dbfabcdf1a2cede04d27c448c237a0f0595f4a37d07a9 [INFO] running `Command { std: "docker" "start" "-a" "12df1222e5661679252dbfabcdf1a2cede04d27c448c237a0f0595f4a37d07a9", kill_on_drop: false }` [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/config.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 16 | unsafe { KRAKEN_API_KEY.to_string() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/config.rs:26:14 [INFO] [stderr] | [INFO] [stderr] 26 | unsafe { KRAKEN_API_SECRET.to_owned() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `polipo` (lib) generated 2 warnings [INFO] [stderr] warning: `polipo` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/polipo-924535abc538a37c) [INFO] [stdout] [INFO] [stderr] Doc-tests polipo [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 37) ... FAILED [INFO] [stdout] test src/lib.rs - (line 48) ... FAILED [INFO] [stdout] test src/lib.rs - (line 64) ... FAILED [INFO] [stdout] test src/lib.rs - (line 26) ... ok [INFO] [stdout] test src/lib.rs - (line 32) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 37) stdout ---- [INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments [INFO] [stdout] --> src/lib.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | polipo::set_kraken_api_credentials(api_key: String, api_secret: String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if `polipo::set_kraken_api_credentials` is a struct, use braces as delimiters [INFO] [stdout] | [INFO] [stdout] 39 - polipo::set_kraken_api_credentials(api_key: String, api_secret: String); [INFO] [stdout] 39 + polipo::set_kraken_api_credentials { api_key: String, api_secret: String }; [INFO] [stdout] | [INFO] [stdout] help: if `polipo::set_kraken_api_credentials` is a function, use the arguments directly [INFO] [stdout] | [INFO] [stdout] 39 - polipo::set_kraken_api_credentials(api_key: String, api_secret: String); [INFO] [stdout] 39 + polipo::set_kraken_api_credentials(String, String); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 48) stdout ---- [INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments [INFO] [stdout] --> src/lib.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | polipo::get_kraken_api_response(method: String, url_encoded_body: String).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if `polipo::get_kraken_api_response` is a struct, use braces as delimiters [INFO] [stdout] | [INFO] [stdout] 50 - polipo::get_kraken_api_response(method: String, url_encoded_body: String).await; [INFO] [stdout] 50 + polipo::get_kraken_api_response { method: String, url_encoded_body: String }.await; [INFO] [stdout] | [INFO] [stdout] help: if `polipo::get_kraken_api_response` is a function, use the arguments directly [INFO] [stdout] | [INFO] [stdout] 50 - polipo::get_kraken_api_response(method: String, url_encoded_body: String).await; [INFO] [stdout] 50 + polipo::get_kraken_api_response(String, String).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:50:75 [INFO] [stdout] | [INFO] [stdout] 49 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_48_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] 50 | polipo::get_kraken_api_response(method: String, url_encoded_body: String).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 64) stdout ---- [INFO] [stdout] error[E0254]: the name `polipo` is defined multiple times [INFO] [stdout] --> src/lib.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | extern crate r#polipo; [INFO] [stdout] | ---------------------- previous import of the extern crate `polipo` here [INFO] [stdout] 66 | use polipo; [INFO] [stdout] | ^^^^^^ `polipo` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `polipo` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0254`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 37) [INFO] [stdout] src/lib.rs - (line 48) [INFO] [stdout] src/lib.rs - (line 64) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.21s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "12df1222e5661679252dbfabcdf1a2cede04d27c448c237a0f0595f4a37d07a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12df1222e5661679252dbfabcdf1a2cede04d27c448c237a0f0595f4a37d07a9", kill_on_drop: false }` [INFO] [stdout] 12df1222e5661679252dbfabcdf1a2cede04d27c448c237a0f0595f4a37d07a9