[INFO] fetching crate squalo 0.1.6... [INFO] testing squalo-0.1.6 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate squalo 0.1.6 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate squalo 0.1.6 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate squalo 0.1.6 [INFO] finished tweaking crates.io crate squalo 0.1.6 [INFO] tweaked toml for crates.io crate squalo 0.1.6 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e655cad6133f67e4a88cd9185fb5f38cd84269f50c7506f297c57ab487d2b20 [INFO] running `Command { std: "docker" "start" "-a" "7e655cad6133f67e4a88cd9185fb5f38cd84269f50c7506f297c57ab487d2b20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e655cad6133f67e4a88cd9185fb5f38cd84269f50c7506f297c57ab487d2b20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e655cad6133f67e4a88cd9185fb5f38cd84269f50c7506f297c57ab487d2b20", kill_on_drop: false }` [INFO] [stdout] 7e655cad6133f67e4a88cd9185fb5f38cd84269f50c7506f297c57ab487d2b20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6563eca67d80a4da3648681e5134f5ef933530860412e3b2e239bbc6dd8c6e55 [INFO] running `Command { std: "docker" "start" "-a" "6563eca67d80a4da3648681e5134f5ef933530860412e3b2e239bbc6dd8c6e55", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling async-task v4.2.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling ipnet v2.4.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.25 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.5.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling blocking v1.2.0 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling ctor v0.1.22 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.13.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling async-global-executor v2.0.4 [INFO] [stderr] Compiling async-std v1.11.0 [INFO] [stderr] Compiling async-tls v0.11.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling async-tungstenite v0.13.1 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling polipo v0.2.5 [INFO] [stderr] Compiling squalo v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.72s [INFO] running `Command { std: "docker" "inspect" "6563eca67d80a4da3648681e5134f5ef933530860412e3b2e239bbc6dd8c6e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6563eca67d80a4da3648681e5134f5ef933530860412e3b2e239bbc6dd8c6e55", kill_on_drop: false }` [INFO] [stdout] 6563eca67d80a4da3648681e5134f5ef933530860412e3b2e239bbc6dd8c6e55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2dbb3f3ded5542d361d3b96b3562cfc26a9521db8406adfe218d3bcc7f71d072 [INFO] running `Command { std: "docker" "start" "-a" "2dbb3f3ded5542d361d3b96b3562cfc26a9521db8406adfe218d3bcc7f71d072", kill_on_drop: false }` [INFO] [stderr] Compiling squalo v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.74s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/squalo-c43481076fe51510) [INFO] running `Command { std: "docker" "inspect" "2dbb3f3ded5542d361d3b96b3562cfc26a9521db8406adfe218d3bcc7f71d072", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dbb3f3ded5542d361d3b96b3562cfc26a9521db8406adfe218d3bcc7f71d072", kill_on_drop: false }` [INFO] [stdout] 2dbb3f3ded5542d361d3b96b3562cfc26a9521db8406adfe218d3bcc7f71d072 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 29cda0d0d0c4229b310dd5776d35ce0537f506252be564d52a25b2c9983876f2 [INFO] running `Command { std: "docker" "start" "-a" "29cda0d0d0c4229b310dd5776d35ce0537f506252be564d52a25b2c9983876f2", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/squalo-c43481076fe51510) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests squalo [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 8 tests [INFO] [stdout] test src/lib.rs - (line 52) ... FAILED [INFO] [stdout] test src/lib.rs - (line 90) ... FAILED [INFO] [stdout] test src/lib.rs - (line 66) ... FAILED [INFO] [stdout] test src/lib.rs - (line 80) ... FAILED [INFO] [stdout] test src/lib.rs - (line 41) ... FAILED [INFO] [stdout] test src/lib.rs - (line 29) ... ok [INFO] [stdout] test src/lib.rs - (line 35) ... ok [INFO] [stdout] test src/lib.rs - (line 60) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 52) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_52_0() { [INFO] [stdout] | ----------------------------- this is not `async` [INFO] [stdout] 4 | squalo::get_websockets_token().await; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [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 90) stdout ---- [INFO] [stdout] error[E0254]: the name `squalo` is defined multiple times [INFO] [stdout] --> src/lib.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate r#squalo; [INFO] [stdout] | ---------------------- previous import of the extern crate `squalo` here [INFO] [stdout] 3 | use squalo; [INFO] [stdout] | ^^^^^^ `squalo` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `squalo` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] error: aborting due to 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] ---- src/lib.rs - (line 66) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `callback` in this scope [INFO] [stdout] --> src/lib.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 4 | squalo::attach_websockets_stream(callback: fn(String), stream_type: String, receiver: UnboundedReceiver); [INFO] [stdout] | ^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `stream_type` in this scope [INFO] [stdout] --> src/lib.rs:67:56 [INFO] [stdout] | [INFO] [stdout] 4 | squalo::attach_websockets_stream(callback: fn(String), stream_type: String, receiver: UnboundedReceiver); [INFO] [stdout] | ^^^^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `receiver` in this scope [INFO] [stdout] --> src/lib.rs:67:77 [INFO] [stdout] | [INFO] [stdout] 4 | squalo::attach_websockets_stream(callback: fn(String), stream_type: String, receiver: UnboundedReceiver); [INFO] [stdout] | ^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UnboundedReceiver` in this scope [INFO] [stdout] --> src/lib.rs:67:87 [INFO] [stdout] | [INFO] [stdout] 4 | squalo::attach_websockets_stream(callback: fn(String), stream_type: String, receiver: UnboundedReceiver); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use futures_channel::mpsc::UnboundedReceiver; [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::mpsc::UnboundedReceiver; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/lib.rs:67:105 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_66_0() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 4 | squalo::attach_websockets_stream(callback: fn(String), stream_type: String, receiver: UnboundedReceiver); [INFO] [stdout] | ^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, 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 - (line 80) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `transmitter` in this scope [INFO] [stdout] --> src/lib.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 4 | squalo::send_message(transmitter: UnboundedSender, payload: String); [INFO] [stdout] | ^^^^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UnboundedSender` in this scope [INFO] [stdout] --> src/lib.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 4 | squalo::send_message(transmitter: UnboundedSender, payload: String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use futures_channel::mpsc::UnboundedSender; [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::mpsc::UnboundedSender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/lib.rs:81:51 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_80_0() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 4 | squalo::send_message(transmitter: UnboundedSender, payload: String); [INFO] [stdout] | ^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `payload` in this scope [INFO] [stdout] --> src/lib.rs:81:61 [INFO] [stdout] | [INFO] [stdout] 4 | squalo::send_message(transmitter: UnboundedSender, payload: String); [INFO] [stdout] | ^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, 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 - (line 41) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `api_key` in this scope [INFO] [stdout] --> src/lib.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 4 | squalo::set_kraken_api_credentials(api_key: String, api_secret: String); [INFO] [stdout] | ^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `api_secret` in this scope [INFO] [stdout] --> src/lib.rs:42:53 [INFO] [stdout] | [INFO] [stdout] 4 | squalo::set_kraken_api_credentials(api_key: String, api_secret: String); [INFO] [stdout] | ^^^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 41) [INFO] [stdout] src/lib.rs - (line 52) [INFO] [stdout] src/lib.rs - (line 66) [INFO] [stdout] src/lib.rs - (line 80) [INFO] [stdout] src/lib.rs - (line 90) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.17s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "29cda0d0d0c4229b310dd5776d35ce0537f506252be564d52a25b2c9983876f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29cda0d0d0c4229b310dd5776d35ce0537f506252be564d52a25b2c9983876f2", kill_on_drop: false }` [INFO] [stdout] 29cda0d0d0c4229b310dd5776d35ce0537f506252be564d52a25b2c9983876f2