[INFO] fetching crate rocketchat-message 0.1.3... [INFO] testing rocketchat-message-0.1.3 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate rocketchat-message 0.1.3 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate rocketchat-message 0.1.3 [INFO] finished tweaking crates.io crate rocketchat-message 0.1.3 [INFO] tweaked toml for crates.io crate rocketchat-message 0.1.3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rocketchat-message 0.1.3 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 156 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1298619e99d0ebbdfacaf3d90c5f499d9d27c6c058c3d9826276ad60d2ea200 [INFO] running `Command { std: "docker" "start" "-a" "a1298619e99d0ebbdfacaf3d90c5f499d9d27c6c058c3d9826276ad60d2ea200", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1298619e99d0ebbdfacaf3d90c5f499d9d27c6c058c3d9826276ad60d2ea200", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1298619e99d0ebbdfacaf3d90c5f499d9d27c6c058c3d9826276ad60d2ea200", kill_on_drop: false }` [INFO] [stdout] a1298619e99d0ebbdfacaf3d90c5f499d9d27c6c058c3d9826276ad60d2ea200 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f89f1611dd946dee2b50ab06d84622c265b5c44a999d4db4dfa0889b854af56 [INFO] running `Command { std: "docker" "start" "-a" "0f89f1611dd946dee2b50ab06d84622c265b5c44a999d4db4dfa0889b854af56", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling rocketchat-message v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.34s [INFO] running `Command { std: "docker" "inspect" "0f89f1611dd946dee2b50ab06d84622c265b5c44a999d4db4dfa0889b854af56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f89f1611dd946dee2b50ab06d84622c265b5c44a999d4db4dfa0889b854af56", kill_on_drop: false }` [INFO] [stdout] 0f89f1611dd946dee2b50ab06d84622c265b5c44a999d4db4dfa0889b854af56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d438be0f010500d0cf416fc18c0a9a04e5991dc4f911613f9197e413892487e1 [INFO] running `Command { std: "docker" "start" "-a" "d438be0f010500d0cf416fc18c0a9a04e5991dc4f911613f9197e413892487e1", kill_on_drop: false }` [INFO] [stderr] Compiling rocketchat-message v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.98s [INFO] running `Command { std: "docker" "inspect" "d438be0f010500d0cf416fc18c0a9a04e5991dc4f911613f9197e413892487e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d438be0f010500d0cf416fc18c0a9a04e5991dc4f911613f9197e413892487e1", kill_on_drop: false }` [INFO] [stdout] d438be0f010500d0cf416fc18c0a9a04e5991dc4f911613f9197e413892487e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eb6a875ec1a9544eecb7e22d1f1f6e6082c56db7027976c12a7b7457728f4b9c [INFO] running `Command { std: "docker" "start" "-a" "eb6a875ec1a9544eecb7e22d1f1f6e6082c56db7027976c12a7b7457728f4b9c", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rocketchat_message-37417b9e2f17013c) [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 rocketchat_message [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test src/lib.rs - RocketChat::send_messages_sync (line 180) ... FAILED [INFO] [stdout] test src/lib.rs - RocketChatAttachment::new (line 274) ... FAILED [INFO] [stdout] test src/lib.rs - RocketChat::send_messages (line 161) ... FAILED [INFO] [stdout] test src/lib.rs - RocketChat::send_text_sync (line 95) ... FAILED [INFO] [stdout] test src/lib.rs - Field::set_short (line 241) ... FAILED [INFO] [stdout] test src/lib.rs - (line 6) ... FAILED [INFO] [stdout] test src/lib.rs - RocketChat::send_text (line 82) ... FAILED [INFO] [stdout] test src/lib.rs - Field::set_title (line 221) ... FAILED [INFO] [stdout] test src/lib.rs - RocketChatAttachment::set_author (line 313) ... FAILED [INFO] [stdout] test src/lib.rs - RocketChatAttachment::set_text (line 326) ... FAILED [INFO] [stdout] test src/lib.rs - RocketChatAttachment::set_color (line 303) ... FAILED [INFO] [stdout] test src/lib.rs - RocketChat::set_channel (line 70) ... FAILED [INFO] [stdout] test src/lib.rs - RocketChat::send_message (line 108) ... FAILED [INFO] [stdout] test src/lib.rs - RocketChatAttachment::set_image (line 336) ... FAILED [INFO] [stdout] test src/lib.rs - (line 31) ... FAILED [INFO] [stdout] test src/lib.rs - RocketChatMessage::set_attachments (line 407) ... FAILED [INFO] [stdout] test src/lib.rs - RocketChatAttachment::set_title (line 283) ... FAILED [INFO] [stdout] test src/lib.rs - RocketChatMessage::set_text (line 397) ... FAILED [INFO] [stdout] test src/lib.rs - Field::set_value (line 231) ... FAILED [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] test src/lib.rs - RocketChat::new (line 58) ... FAILED [INFO] [stdout] test src/lib.rs - RocketChatAttachment::set_fields (line 346) ... FAILED [INFO] [stdout] test src/lib.rs - Field::new (line 212) ... FAILED [INFO] [stdout] test src/lib.rs - RocketChat::send_message_sync (line 135) ... FAILED [INFO] [stdout] test src/lib.rs - RocketChatMessage::new (line 388) ... FAILED [INFO] [stdout] test src/lib.rs - RocketChatAttachment::set_title_link (line 293) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - RocketChat::send_messages_sync (line 180) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChat` [INFO] [stdout] --> src/lib.rs:181:14 [INFO] [stdout] | [INFO] [stdout] 181 | let client = RocketChat::new("ROCKET_CHAT_WEBHOOK_URL", "#channel"); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RocketChat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 180 + use rocketchat_message::RocketChat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChatMessage` [INFO] [stdout] --> src/lib.rs:184:4 [INFO] [stdout] | [INFO] [stdout] 184 | RocketChatMessage::new().set_text("Text"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatMessage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 180 + use rocketchat_message::RocketChatMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChatMessage` [INFO] [stdout] --> src/lib.rs:185:4 [INFO] [stdout] | [INFO] [stdout] 185 | RocketChatMessage::new().set_text("Text2"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatMessage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 180 + use rocketchat_message::RocketChatMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 - RocketChatAttachment::new (line 274) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChatAttachment` [INFO] [stdout] --> src/lib.rs:275:18 [INFO] [stdout] | [INFO] [stdout] 275 | let attachment = RocketChatAttachment::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatAttachment` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 274 + use rocketchat_message::RocketChatAttachment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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 - RocketChat::send_messages (line 161) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChat` [INFO] [stdout] --> src/lib.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | let client = RocketChat::new("ROCKET_CHAT_WEBHOOK_URL", "#channel"); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RocketChat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 161 + use rocketchat_message::RocketChat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChatMessage` [INFO] [stdout] --> src/lib.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | RocketChatMessage::new().set_text("Text"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatMessage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 161 + use rocketchat_message::RocketChatMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChatMessage` [INFO] [stdout] --> src/lib.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | RocketChatMessage::new().set_text("Text2"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatMessage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 161 + use rocketchat_message::RocketChatMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 161 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_161_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 169 | client.send_messages(msgs).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RocketChat::send_text_sync (line 95) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChat` [INFO] [stdout] --> src/lib.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 96 | let client = RocketChat::new("ROCKET_CHAT_WEBHOOK_URL", "#channel"); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RocketChat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 95 + use rocketchat_message::RocketChat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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 - Field::set_short (line 241) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/lib.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | let field = Field::new().set_short(true); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 241 + use rocketchat_message::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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 6) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChat` [INFO] [stdout] --> src/lib.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | let client = RocketChat::new("ROCKET_CHAT_WEBHOOK_URL", "#channel"); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RocketChat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use rocketchat_message::RocketChat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_6_0() { [INFO] [stdout] | --------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 9 | client.send_text("Text").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] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RocketChat::send_text (line 82) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChat` [INFO] [stdout] --> src/lib.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | let client = RocketChat::new("ROCKET_CHAT_WEBHOOK_URL", "#channel"); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RocketChat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 82 + use rocketchat_message::RocketChat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 82 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_82_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 85 | client.send_text("Text").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] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Field::set_title (line 221) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/lib.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | let field = Field::new().set_title("Title"); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 221 + use rocketchat_message::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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 - RocketChatAttachment::set_author (line 313) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChatAttachment` [INFO] [stdout] --> src/lib.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 314 | let attachment = RocketChatAttachment::new().set_author("Author Name", Some("ICON_URL")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatAttachment` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 313 + use rocketchat_message::RocketChatAttachment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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 - RocketChatAttachment::set_text (line 326) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChatAttachment` [INFO] [stdout] --> src/lib.rs:327:18 [INFO] [stdout] | [INFO] [stdout] 327 | let attachment = RocketChatAttachment::new().set_text("Text"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatAttachment` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 326 + use rocketchat_message::RocketChatAttachment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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 - RocketChatAttachment::set_color (line 303) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChatAttachment` [INFO] [stdout] --> src/lib.rs:304:18 [INFO] [stdout] | [INFO] [stdout] 304 | let attachment = RocketChatAttachment::new().set_color("#c97149"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatAttachment` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 303 + use rocketchat_message::RocketChatAttachment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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 - RocketChat::set_channel (line 70) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChat` [INFO] [stdout] --> src/lib.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | let mut client = RocketChat::new("ROCKET_CHAT_WEBHOOK_URL", "#channel"); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RocketChat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 70 + use rocketchat_message::RocketChat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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 - RocketChat::send_message (line 108) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChat` [INFO] [stdout] --> src/lib.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | let client = RocketChat::new("ROCKET_CHAT_WEBHOOK_URL", "#channel"); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RocketChat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 108 + use rocketchat_message::RocketChat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChatMessage` [INFO] [stdout] --> src/lib.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | let msg = RocketChatMessage::new().set_text("Text"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatMessage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 108 + use rocketchat_message::RocketChatMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:112:26 [INFO] [stdout] | [INFO] [stdout] 108 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_108_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 112 | client.send_message(msg).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RocketChatAttachment::set_image (line 336) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChatAttachment` [INFO] [stdout] --> src/lib.rs:337:18 [INFO] [stdout] | [INFO] [stdout] 337 | let attachment = RocketChatAttachment::new().set_image("IMAGE_URL"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatAttachment` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 336 + use rocketchat_message::RocketChatAttachment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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 31) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChat` [INFO] [stdout] --> src/lib.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | let client = RocketChat::new("ROCKET_CHAT_WEBHOOK_URL", "#channel"); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RocketChat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 + use rocketchat_message::RocketChat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChatMessage` [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | RocketChatMessage::new().set_text("Message1"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatMessage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 + use rocketchat_message::RocketChatMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChatMessage` [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | RocketChatMessage::new().set_text("Message2"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatMessage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 + use rocketchat_message::RocketChatMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 31 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_31_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 39 | client.send_messages(msgs).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RocketChatMessage::set_attachments (line 407) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/lib.rs:408:71 [INFO] [stdout] | [INFO] [stdout] 408 | let attachments = vec![RocketChatAttachment::new().set_title("Title")] [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 409 | let message = RocketChatMessage::new().set_attachments(attachments); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChatAttachment` [INFO] [stdout] --> src/lib.rs:408:24 [INFO] [stdout] | [INFO] [stdout] 408 | let attachments = vec![RocketChatAttachment::new().set_title("Title")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatAttachment` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 407 + use rocketchat_message::RocketChatAttachment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChatMessage` [INFO] [stdout] --> src/lib.rs:409:15 [INFO] [stdout] | [INFO] [stdout] 409 | let message = RocketChatMessage::new().set_attachments(attachments); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatMessage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 407 + use rocketchat_message::RocketChatMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 - RocketChatAttachment::set_title (line 283) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChatAttachment` [INFO] [stdout] --> src/lib.rs:284:18 [INFO] [stdout] | [INFO] [stdout] 284 | let attachment = RocketChatAttachment::new().set_title("Title"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatAttachment` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 283 + use rocketchat_message::RocketChatAttachment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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 - RocketChatMessage::set_text (line 397) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChatMessage` [INFO] [stdout] --> src/lib.rs:398:15 [INFO] [stdout] | [INFO] [stdout] 398 | let message = RocketChatMessage::new().set_text("Text"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatMessage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 397 + use rocketchat_message::RocketChatMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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 - Field::set_value (line 231) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/lib.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let field = Field::new().set_value("Value"); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 231 + use rocketchat_message::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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 14) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChat` [INFO] [stdout] --> src/lib.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | let client = RocketChat::new("ROCKET_CHAT_WEBHOOK_URL", "#channel"); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RocketChat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 + use rocketchat_message::RocketChat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChatMessage` [INFO] [stdout] --> src/lib.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | let msg = RocketChatMessage::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatMessage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 + use rocketchat_message::RocketChatMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChatAttachment` [INFO] [stdout] --> src/lib.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | .set_attachments(vec![RocketChatAttachment::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatAttachment` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 + use rocketchat_message::RocketChatAttachment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 14 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_14_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 26 | client.send_message(msg).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RocketChat::new (line 58) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChat` [INFO] [stdout] --> src/lib.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | let client = RocketChat::new("ROCKET_CHAT_WEBHOOK_URL", "#channel"); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RocketChat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 58 + use rocketchat_message::RocketChat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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 - RocketChatAttachment::set_fields (line 346) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChatAttachment` [INFO] [stdout] --> src/lib.rs:347:18 [INFO] [stdout] | [INFO] [stdout] 347 | let attachment = RocketChatAttachment::new().set_fields(vec![Field::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatAttachment` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 346 + use rocketchat_message::RocketChatAttachment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/lib.rs:347:62 [INFO] [stdout] | [INFO] [stdout] 347 | let attachment = RocketChatAttachment::new().set_fields(vec![Field::new() [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 346 + use rocketchat_message::Field; [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 - Field::new (line 212) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/lib.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let field = Field::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 212 + use rocketchat_message::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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 - RocketChat::send_message_sync (line 135) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChat` [INFO] [stdout] --> src/lib.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | let client = RocketChat::new("ROCKET_CHAT_WEBHOOK_URL", "#channel"); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RocketChat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 135 + use rocketchat_message::RocketChat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChatMessage` [INFO] [stdout] --> src/lib.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 137 | let msg = RocketChatMessage::new().set_text("Text"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatMessage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 135 + use rocketchat_message::RocketChatMessage; [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 - RocketChatMessage::new (line 388) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChatMessage` [INFO] [stdout] --> src/lib.rs:389:15 [INFO] [stdout] | [INFO] [stdout] 389 | let message = RocketChatMessage::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatMessage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 388 + use rocketchat_message::RocketChatMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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 - RocketChatAttachment::set_title_link (line 293) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RocketChatAttachment` [INFO] [stdout] --> src/lib.rs:294:18 [INFO] [stdout] | [INFO] [stdout] 294 | let attachment = RocketChatAttachment::new().set_title_link("https://google.fr"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatAttachment` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 293 + use rocketchat_message::RocketChatAttachment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 14) [INFO] [stdout] src/lib.rs - (line 31) [INFO] [stdout] src/lib.rs - (line 6) [INFO] [stdout] src/lib.rs - Field::new (line 212) [INFO] [stdout] src/lib.rs - Field::set_short (line 241) [INFO] [stdout] src/lib.rs - Field::set_title (line 221) [INFO] [stdout] src/lib.rs - Field::set_value (line 231) [INFO] [stdout] src/lib.rs - RocketChat::new (line 58) [INFO] [stdout] src/lib.rs - RocketChat::send_message (line 108) [INFO] [stdout] src/lib.rs - RocketChat::send_message_sync (line 135) [INFO] [stdout] src/lib.rs - RocketChat::send_messages (line 161) [INFO] [stdout] src/lib.rs - RocketChat::send_messages_sync (line 180) [INFO] [stdout] src/lib.rs - RocketChat::send_text (line 82) [INFO] [stdout] src/lib.rs - RocketChat::send_text_sync (line 95) [INFO] [stdout] src/lib.rs - RocketChat::set_channel (line 70) [INFO] [stdout] src/lib.rs - RocketChatAttachment::new (line 274) [INFO] [stdout] src/lib.rs - RocketChatAttachment::set_author (line 313) [INFO] [stdout] src/lib.rs - RocketChatAttachment::set_color (line 303) [INFO] [stdout] src/lib.rs - RocketChatAttachment::set_fields (line 346) [INFO] [stdout] src/lib.rs - RocketChatAttachment::set_image (line 336) [INFO] [stdout] src/lib.rs - RocketChatAttachment::set_text (line 326) [INFO] [stdout] src/lib.rs - RocketChatAttachment::set_title (line 283) [INFO] [stdout] src/lib.rs - RocketChatAttachment::set_title_link (line 293) [INFO] [stdout] src/lib.rs - RocketChatMessage::new (line 388) [INFO] [stdout] src/lib.rs - RocketChatMessage::set_attachments (line 407) [INFO] [stdout] src/lib.rs - RocketChatMessage::set_text (line 397) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 26 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.89s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "eb6a875ec1a9544eecb7e22d1f1f6e6082c56db7027976c12a7b7457728f4b9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb6a875ec1a9544eecb7e22d1f1f6e6082c56db7027976c12a7b7457728f4b9c", kill_on_drop: false }` [INFO] [stdout] eb6a875ec1a9544eecb7e22d1f1f6e6082c56db7027976c12a7b7457728f4b9c