[INFO] cloning repository https://github.com/GetproRecrutement/rocketchat-message
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GetproRecrutement/rocketchat-message" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGetproRecrutement%2Frocketchat-message", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGetproRecrutement%2Frocketchat-message'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5c55307991a61c34ec431783b82c8351cdf05f65
[INFO] testing GetproRecrutement/rocketchat-message against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGetproRecrutement%2Frocketchat-message" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/GetproRecrutement/rocketchat-message on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/GetproRecrutement/rocketchat-message
[INFO] finished tweaking git repo https://github.com/GetproRecrutement/rocketchat-message
[INFO] tweaked toml for git repo https://github.com/GetproRecrutement/rocketchat-message written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/GetproRecrutement/rocketchat-message already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 59bdca721752ce2c2e2c17b8043f0f06db3cc9f4388df82e7e5f7887eda504f2
[INFO] running `Command { std: "docker" "start" "-a" "59bdca721752ce2c2e2c17b8043f0f06db3cc9f4388df82e7e5f7887eda504f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "59bdca721752ce2c2e2c17b8043f0f06db3cc9f4388df82e7e5f7887eda504f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "59bdca721752ce2c2e2c17b8043f0f06db3cc9f4388df82e7e5f7887eda504f2", kill_on_drop: false }`
[INFO] [stdout] 59bdca721752ce2c2e2c17b8043f0f06db3cc9f4388df82e7e5f7887eda504f2
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c7f3e3d99e72959648b14c33490873f11bf647015ac7e1099aea5c49f1dbf710
[INFO] running `Command { std: "docker" "start" "-a" "c7f3e3d99e72959648b14c33490873f11bf647015ac7e1099aea5c49f1dbf710", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling once_cell v1.12.0
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling itoa v1.0.2
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling openssl v0.10.40
[INFO] [stderr]    Compiling tracing-core v0.1.28
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling hashbrown v0.12.1
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling futures-io v0.3.21
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling slab v0.4.6
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling tracing v0.1.35
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling mio v0.8.4
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling ryu v1.0.10
[INFO] [stderr]    Compiling anyhow v1.0.58
[INFO] [stderr]    Compiling ipnet v2.5.0
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling openssl-sys v0.9.74
[INFO] [stderr]    Compiling tokio v1.19.2
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.20
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling tokio-util v0.7.3
[INFO] [stderr]    Compiling h2 v0.3.13
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling hyper v0.14.19
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.11
[INFO] [stderr]    Compiling rocketchat-message v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.51s
[INFO] running `Command { std: "docker" "inspect" "c7f3e3d99e72959648b14c33490873f11bf647015ac7e1099aea5c49f1dbf710", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7f3e3d99e72959648b14c33490873f11bf647015ac7e1099aea5c49f1dbf710", kill_on_drop: false }`
[INFO] [stdout] c7f3e3d99e72959648b14c33490873f11bf647015ac7e1099aea5c49f1dbf710
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a81168b64973f3ddcf3a1e68a79cdb130725869f74625b80810d77d952237844
[INFO] running `Command { std: "docker" "start" "-a" "a81168b64973f3ddcf3a1e68a79cdb130725869f74625b80810d77d952237844", 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.32s
[INFO] running `Command { std: "docker" "inspect" "a81168b64973f3ddcf3a1e68a79cdb130725869f74625b80810d77d952237844", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a81168b64973f3ddcf3a1e68a79cdb130725869f74625b80810d77d952237844", kill_on_drop: false }`
[INFO] [stdout] a81168b64973f3ddcf3a1e68a79cdb130725869f74625b80810d77d952237844
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bcd63ef54076de921c217315453ad383af4000a9adc8150f0122ef4bffe339b6
[INFO] running `Command { std: "docker" "start" "-a" "bcd63ef54076de921c217315453ad383af4000a9adc8150f0122ef4bffe339b6", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rocketchat_message-2257bce828629c9f)
[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_text (line 82) ... FAILED
[INFO] [stdout] test src/lib.rs - Field::set_title (line 221) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 6) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 31) ... FAILED
[INFO] [stdout] test src/lib.rs - Field::set_value (line 231) ... FAILED
[INFO] [stdout] test src/lib.rs - Field::set_short (line 241) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChat::new (line 58) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChat::send_message_sync (line 135) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 14) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChat::send_message (line 108) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChatAttachment::new (line 274) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChat::set_channel (line 70) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChat::send_messages (line 161) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChatAttachment::set_author (line 313) ... FAILED
[INFO] [stdout] test src/lib.rs - Field::new (line 212) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChat::send_text_sync (line 95) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChatAttachment::set_image (line 336) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChatMessage::new (line 388) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChat::send_messages_sync (line 180) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChatAttachment::set_text (line 326) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChatAttachment::set_title_link (line 293) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChatAttachment::set_color (line 303) ... 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 - RocketChatAttachment::set_fields (line 346) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChatMessage::set_attachments (line 407) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] 3 | 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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_82_0() {
[INFO] [stdout]   |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 | 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] 3 | 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] 2 + 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] 3 | 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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_6_0() {
[INFO] [stdout]   |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 | 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 - (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] 3 | 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] 2 + 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] 6 |     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] 2 + 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] 7 |     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] 2 + 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] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_31_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | 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 - 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] 3 | 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] 2 + 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 - 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] 3 | 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] 2 + 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::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] 3 | 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] 2 + 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_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] 3 | 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] 2 + 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] 4 | 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] 2 + 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 - (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] 3 | 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] 2 + 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] 5 | let msg = RocketChatMessage::new()
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatMessage`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 7 |     .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] 2 + 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] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_14_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 14 | 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::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] 3 | 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] 2 + 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] 4 | 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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_108_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 | 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::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] 3 | let attachment = RocketChatAttachment::new();
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatAttachment`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 3 | 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] 2 + 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_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] 3 | 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] 2 + 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] 6 |    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] 2 + 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] 7 |    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] 2 + 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] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_161_0() {
[INFO] [stdout]    |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | 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 - 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] 3 | 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] 2 + 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 - 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] 3 | let field = Field::new();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Field`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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_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] 3 | 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] 2 + 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_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] 3 | 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] 2 + 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::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] 3 | let message = RocketChatMessage::new();
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatMessage`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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 - 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] 3 | 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] 2 + 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] 6 |    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] 2 + 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] 7 |    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] 2 + 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_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] 3 | 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] 2 + 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_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] 3 | 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] 2 + 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] 3 | 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] 2 + 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_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] 3 | 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] 2 + 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] 3 | 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] 2 + 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_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] 3 | 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] 2 + 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] 3 | 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] 2 + 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 - RocketChatMessage::set_attachments (line 407) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]  --> src/lib.rs:408:71
[INFO] [stdout]   |
[INFO] [stdout] 3 | let attachments = vec![RocketChatAttachment::new().set_title("Title")]
[INFO] [stdout]   |                                                                       ^ help: add `;` here
[INFO] [stdout] 4 | 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] 3 | 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] 2 + 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] 4 | 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] 2 + 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] 
[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.28s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "bcd63ef54076de921c217315453ad383af4000a9adc8150f0122ef4bffe339b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bcd63ef54076de921c217315453ad383af4000a9adc8150f0122ef4bffe339b6", kill_on_drop: false }`
[INFO] [stdout] bcd63ef54076de921c217315453ad383af4000a9adc8150f0122ef4bffe339b6
[INFO] testing GetproRecrutement/rocketchat-message against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGetproRecrutement%2Frocketchat-message" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/GetproRecrutement/rocketchat-message on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/GetproRecrutement/rocketchat-message
[INFO] finished tweaking git repo https://github.com/GetproRecrutement/rocketchat-message
[INFO] tweaked toml for git repo https://github.com/GetproRecrutement/rocketchat-message written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/GetproRecrutement/rocketchat-message already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 72bbcbb20b7db7ac58e384986cc7d30ccbf62b07cd56e11143b255c1a2e32666
[INFO] running `Command { std: "docker" "start" "-a" "72bbcbb20b7db7ac58e384986cc7d30ccbf62b07cd56e11143b255c1a2e32666", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "72bbcbb20b7db7ac58e384986cc7d30ccbf62b07cd56e11143b255c1a2e32666", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72bbcbb20b7db7ac58e384986cc7d30ccbf62b07cd56e11143b255c1a2e32666", kill_on_drop: false }`
[INFO] [stdout] 72bbcbb20b7db7ac58e384986cc7d30ccbf62b07cd56e11143b255c1a2e32666
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 66ff217b4e3f3cc2d0626826c45cee8f16df5b0a32f258620b0fdc5367a65432
[INFO] running `Command { std: "docker" "start" "-a" "66ff217b4e3f3cc2d0626826c45cee8f16df5b0a32f258620b0fdc5367a65432", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling once_cell v1.12.0
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling itoa v1.0.2
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.40
[INFO] [stderr]    Compiling tracing-core v0.1.28
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling slab v0.4.6
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling hashbrown v0.12.1
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling futures-io v0.3.21
[INFO] [stderr]    Compiling tracing v0.1.35
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling ryu v1.0.10
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling mio v0.8.4
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling anyhow v1.0.58
[INFO] [stderr]    Compiling ipnet v2.5.0
[INFO] [stderr]    Compiling openssl-sys v0.9.74
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling tokio v1.19.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.20
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling tokio-util v0.7.3
[INFO] [stderr]    Compiling h2 v0.3.13
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling hyper v0.14.19
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.11
[INFO] [stderr]    Compiling rocketchat-message v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.61s
[INFO] running `Command { std: "docker" "inspect" "66ff217b4e3f3cc2d0626826c45cee8f16df5b0a32f258620b0fdc5367a65432", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "66ff217b4e3f3cc2d0626826c45cee8f16df5b0a32f258620b0fdc5367a65432", kill_on_drop: false }`
[INFO] [stdout] 66ff217b4e3f3cc2d0626826c45cee8f16df5b0a32f258620b0fdc5367a65432
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f9e614520dd32e987394a6412bcc842220472daba590f16153ca4bb9f12d0ff0
[INFO] running `Command { std: "docker" "start" "-a" "f9e614520dd32e987394a6412bcc842220472daba590f16153ca4bb9f12d0ff0", 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.48s
[INFO] running `Command { std: "docker" "inspect" "f9e614520dd32e987394a6412bcc842220472daba590f16153ca4bb9f12d0ff0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9e614520dd32e987394a6412bcc842220472daba590f16153ca4bb9f12d0ff0", kill_on_drop: false }`
[INFO] [stdout] f9e614520dd32e987394a6412bcc842220472daba590f16153ca4bb9f12d0ff0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5079a1057e493552c1529c3037d333b1ac5284645b26300c706866a239bafe46
[INFO] running `Command { std: "docker" "start" "-a" "5079a1057e493552c1529c3037d333b1ac5284645b26300c706866a239bafe46", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rocketchat_message-2257bce828629c9f)
[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_message_sync (line 135) ... 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_messages_sync (line 180) ... FAILED
[INFO] [stdout] test src/lib.rs - Field::set_value (line 231) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 6) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChat::set_channel (line 70) ... FAILED
[INFO] [stdout] test src/lib.rs - Field::new (line 212) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 31) ... FAILED
[INFO] [stdout] test src/lib.rs - Field::set_title (line 221) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChat::send_message (line 108) ... FAILED
[INFO] [stdout] test src/lib.rs - Field::set_short (line 241) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 14) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChat::send_text_sync (line 95) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChat::send_text (line 82) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChatAttachment::set_color (line 303) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChat::new (line 58) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChatAttachment::set_image (line 336) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChatAttachment::set_author (line 313) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChatAttachment::set_fields (line 346) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChatAttachment::set_title (line 283) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChatAttachment::set_title_link (line 293) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChatMessage::set_text (line 397) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChatMessage::new (line 388) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChatAttachment::set_text (line 326) ... FAILED
[INFO] [stdout] test src/lib.rs - RocketChatMessage::set_attachments (line 407) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] 3 | 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] 2 + 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] 4 | 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] 2 + 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 - 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] 3 | let attachment = RocketChatAttachment::new();
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatAttachment`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 3 | 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] 2 + 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] 6 |    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] 2 + 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] 7 |    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] 2 + 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] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_161_0() {
[INFO] [stdout]    |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | 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_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] 3 | 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] 2 + 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] 6 |    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] 2 + 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] 7 |    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] 2 + 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 - 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] 3 | 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] 2 + 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] 3 | 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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_6_0() {
[INFO] [stdout]   |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 | 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::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] 3 | 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] 2 + 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::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] 3 | let field = Field::new();
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Field`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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 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] 3 | 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] 2 + 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] 6 |     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] 2 + 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] 7 |     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] 2 + 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] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_31_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | 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 - 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] 3 | 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] 2 + 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 (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] 3 | 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] 2 + 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] 4 | 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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_108_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 | 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 - 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] 3 | 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] 2 + 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] 3 | 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] 2 + 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] 5 | let msg = RocketChatMessage::new()
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatMessage`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 7 |     .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] 2 + 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] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_14_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 14 | 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::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] 3 | 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] 2 + 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_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] 3 | 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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_82_0() {
[INFO] [stdout]   |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 | 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 - 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] 3 | 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] 2 + 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::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] 3 | 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] 2 + 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_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] 3 | 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] 2 + 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_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] 3 | 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] 2 + 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_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] 3 | 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] 2 + 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] 3 | 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] 2 + 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 - 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] 3 | 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] 2 + 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_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] 3 | 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] 2 + 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] 3 | 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] 2 + 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 - 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] 3 | let message = RocketChatMessage::new();
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^ use of undeclared type `RocketChatMessage`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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_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] 3 | 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] 2 + 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_attachments (line 407) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]  --> src/lib.rs:408:71
[INFO] [stdout]   |
[INFO] [stdout] 3 | let attachments = vec![RocketChatAttachment::new().set_title("Title")]
[INFO] [stdout]   |                                                                       ^ help: add `;` here
[INFO] [stdout] 4 | 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] 3 | 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] 2 + 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] 4 | 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] 2 + 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] 
[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.21s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "5079a1057e493552c1529c3037d333b1ac5284645b26300c706866a239bafe46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5079a1057e493552c1529c3037d333b1ac5284645b26300c706866a239bafe46", kill_on_drop: false }`
[INFO] [stdout] 5079a1057e493552c1529c3037d333b1ac5284645b26300c706866a239bafe46
