[INFO] fetching crate squalo 0.1.6... [INFO] testing squalo-0.1.6 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate squalo 0.1.6 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate squalo 0.1.6 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-tungstenite v0.13.1 [INFO] [stderr] Downloaded polipo v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa7c865e237d5a645c7645380c963f3ce441a0d329a4cece0da87d862e1b0028 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fa7c865e237d5a645c7645380c963f3ce441a0d329a4cece0da87d862e1b0028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa7c865e237d5a645c7645380c963f3ce441a0d329a4cece0da87d862e1b0028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa7c865e237d5a645c7645380c963f3ce441a0d329a4cece0da87d862e1b0028", kill_on_drop: false }` [INFO] [stdout] fa7c865e237d5a645c7645380c963f3ce441a0d329a4cece0da87d862e1b0028 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 221dc96d69c49403b32a702f9baed633fc151a4f031856aa9ba168aaf377dada [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "221dc96d69c49403b32a702f9baed633fc151a4f031856aa9ba168aaf377dada", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling polling v2.0.3 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling tungstenite v0.13.0 [INFO] [stderr] Compiling async-io v1.4.1 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling async-tls v0.11.0 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling async-tungstenite v0.13.1 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling hyper v0.14.8 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.3 [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 1m 30s [INFO] running `Command { std: "docker" "inspect" "221dc96d69c49403b32a702f9baed633fc151a4f031856aa9ba168aaf377dada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "221dc96d69c49403b32a702f9baed633fc151a4f031856aa9ba168aaf377dada", kill_on_drop: false }` [INFO] [stdout] 221dc96d69c49403b32a702f9baed633fc151a4f031856aa9ba168aaf377dada [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5ba04f42d9c9bc018f88885ce7e75fc5861a4b3ad39557c7d8abce9d864f0ea [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d5ba04f42d9c9bc018f88885ce7e75fc5861a4b3ad39557c7d8abce9d864f0ea", kill_on_drop: false }` [INFO] [stderr] Compiling squalo v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.52s [INFO] running `Command { std: "docker" "inspect" "d5ba04f42d9c9bc018f88885ce7e75fc5861a4b3ad39557c7d8abce9d864f0ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5ba04f42d9c9bc018f88885ce7e75fc5861a4b3ad39557c7d8abce9d864f0ea", kill_on_drop: false }` [INFO] [stdout] d5ba04f42d9c9bc018f88885ce7e75fc5861a4b3ad39557c7d8abce9d864f0ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c76102d8c479976676b4363a78ddd5e045059cc61e1d5d08a953bb0ef8109d01 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c76102d8c479976676b4363a78ddd5e045059cc61e1d5d08a953bb0ef8109d01", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/squalo-783c13b65f39c29b) [INFO] [stdout] [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] [stderr] Doc-tests squalo [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - (line 66) ... FAILED [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 41) ... FAILED [INFO] [stdout] test src/lib.rs - (line 80) ... FAILED [INFO] [stdout] test src/lib.rs - (line 29) ... ok [INFO] [stdout] test src/lib.rs - (line 60) ... ok [INFO] [stdout] test src/lib.rs - (line 35) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 3 | use futures_channel::mpsc::UnboundedReceiver; [INFO] [stdout] | [INFO] [stdout] 3 | 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 52) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:53:1 [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 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] ---- 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] 3 | use futures_channel::mpsc::UnboundedSender; [INFO] [stdout] | [INFO] [stdout] 3 | 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] [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 6.84s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "c76102d8c479976676b4363a78ddd5e045059cc61e1d5d08a953bb0ef8109d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c76102d8c479976676b4363a78ddd5e045059cc61e1d5d08a953bb0ef8109d01", kill_on_drop: false }` [INFO] [stdout] c76102d8c479976676b4363a78ddd5e045059cc61e1d5d08a953bb0ef8109d01