rust-tdlib 0.4.3

TDlib (Telegram Database library) client
Documentation
Build #788076 2023-04-09 20:47:15
# rustc version
rustc 1.70.0-nightly (af06dce64 2023-04-08)# docs.rs version
docsrs 0.6.0 (e3e044be 2023-03-31)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/rust-tdlib-0.4.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/rust-tdlib-0.4.3/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6ef671f6951f6f7b82eaf49ad0b3b99466e493f2d9d82dd96208252612681f61" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20230408-1.70.0-nightly-af06dce64\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] e6db318eab940a8e1660853e538b1583f744322edfb12ae996e660d0eac80c4b
[INFO] running `Command { std: "docker" "start" "-a" "e6db318eab940a8e1660853e538b1583f744322edfb12ae996e660d0eac80c4b", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: handle_auth_state, auth_bot, read_updates, main
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op
[INFO] [stderr]  Documenting rust-tdlib v0.4.3 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `crate::client::client::Client`
[INFO] [stderr]  --> src/lib.rs:8:28
[INFO] [stderr]   |
[INFO] [stderr] 8 | //! 4. create new [Client](crate::client::client::Client) with [ClientBuilder](crate::client::client::ClientBuilder).
[INFO] [stderr]   |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `client` in module `client`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `crate::client::client::ClientBuilder`
[INFO] [stderr]  --> src/lib.rs:8:80
[INFO] [stderr]   |
[INFO] [stderr] 8 | //! 4. create new [Client](crate::client::client::Client) with [ClientBuilder](crate::client::client::ClientBuilder).
[INFO] [stderr]   |                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `client` in module `client`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `crate::client::worker::Worker::auth_client`
[INFO] [stderr]  --> src/lib.rs:9:20
[INFO] [stderr]   |
[INFO] [stderr] 9 | //! 5. [Authorize](crate::client::worker::Worker::auth_client) it with worker.
[INFO] [stderr]   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the struct `Worker` has no field or associated item named `auth_client`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `crate::client::client::AuthStateHandler`
[INFO] [stderr]   --> src/client/worker.rs:70:28
[INFO] [stderr]    |
[INFO] [stderr] 70 |     /// [AuthStateHandler](crate::client::client::AuthStateHandler) allows you to handle particular "auth states", such as [WaitPassword]...
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `client` in module `client`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `crate::client::worker::Worker::auth_client`
[INFO] [stderr]    --> src/client/worker.rs:143:123
[INFO] [stderr]     |
[INFO] [stderr] 143 | ...h_client](crate::client::worker::Worker::auth_client).
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the struct `Worker` has no field or associated item named `auth_client`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `crate::types::authorization_state::AuthorizationState`
[INFO] [stderr]    --> src/client/worker.rs:210:89
[INFO] [stderr]     |
[INFO] [stderr] 210 | ...zationState](crate::types::authorization_state::AuthorizationState) on which it happened.
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `authorization_state` in module `types`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `crate::types::authorization_state::AuthorizationState`
[INFO] [stderr]    --> src/client/worker.rs:229:158
[INFO] [stderr]     |
[INFO] [stderr] 229 | ...zationState)[crate::types::authorization_state::AuthorizationState] when error occured.
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `authorization_state` in module `types`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Api::send_message`
[INFO] [stderr]    --> src/client/mod.rs:173:20
[INFO] [stderr]     |
[INFO] [stderr] 173 | /// [send_message](Api::send_message), [download_file](Api::download_file), [search_chats](Api::search_chats) and so on.
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^ no item named `Api` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Api::download_file`
[INFO] [stderr]    --> src/client/mod.rs:173:56
[INFO] [stderr]     |
[INFO] [stderr] 173 | /// [send_message](Api::send_message), [download_file](Api::download_file), [search_chats](Api::search_chats) and so on.
[INFO] [stderr]     |                                                        ^^^^^^^^^^^^^^^^^^ no item named `Api` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Api::search_chats`
[INFO] [stderr]    --> src/client/mod.rs:173:92
[INFO] [stderr]     |
[INFO] [stderr] 173 | /// [send_message](Api::send_message), [download_file](Api::download_file), [search_chats](Api::search_chats) and so on.
[INFO] [stderr]     |                                                                                            ^^^^^^^^^^^^^^^^^ no item named `Api` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `crate::types::authorization_state::AuthorizationState`
[INFO] [stderr]    --> src/client/mod.rs:272:57
[INFO] [stderr]     |
[INFO] [stderr] 272 |     /// If you want to receive all (AuthorizationState)[crate::types::authorization_state::AuthorizationState] changes
[INFO] [stderr]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `authorization_state` in module `types`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `crate::client::client::ConsoleAuthStateHandler`
[INFO] [stderr]   --> src/client/worker.rs:43:72
[INFO] [stderr]    |
[INFO] [stderr] 43 |     /// Provides default implementation with [ConsoleAuthStateHandler](crate::client::client::ConsoleAuthStateHandler)
[INFO] [stderr]    |                                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `client` in module `client`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/client/mod.rs:333:43
[INFO] [stderr]     |
[INFO] [stderr] 333 | /// Methods documentation can be found in https://core.telegram.org/tdlib/docs/td__api_8h.html
[INFO] [stderr]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://core.telegram.org/tdlib/docs/td__api_8h.html>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr]     = note: `#[warn(rustdoc::bare_urls)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `bot`
[INFO] [stderr]   --> src/types/create_new_sticker_set.rs:21:105
[INFO] [stderr]    |
[INFO] [stderr] 21 |     /// Sticker set name. Can contain only English letters, digits and underscores. Must end with *"_by_<bot username>"* (*<bot_username>...
[INFO] [stderr]    |                                                                                                         ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/types/device_token.rs:7:250
[INFO] [stderr]   |
[INFO] [stderr] 7 | ...ta must be uploaded at https://my.telegram.org
[INFO] [stderr]   |                           ^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://my.telegram.org>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/types/device_token.rs:10:250
[INFO] [stderr]    |
[INFO] [stderr] 10 | ...ta must be uploaded at https://my.telegram.org
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://my.telegram.org>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/types/get_option.rs:5:89
[INFO] [stderr]   |
[INFO] [stderr] 5 | ...ns on https://core.telegram.org/tdlib/options.) Can be called before authorization
[INFO] [stderr]   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://core.telegram.org/tdlib/options.>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/types/input_sticker.rs:70:103
[INFO] [stderr]    |
[INFO] [stderr] 70 | ...k files are supported. See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements
[INFO] [stderr]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://core.telegram.org/animated_stickers#technical-requirements>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/types/language_pack_info.rs:29:63
[INFO] [stderr]    |
[INFO] [stderr] 29 | ...ly plural forms. See https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html for more info
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/types/language_pack_string_value.rs:26:110
[INFO] [stderr]    |
[INFO] [stderr] 26 | ...ect it mentions. See https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html for more info
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/types/language_pack_string_value.rs:207:106
[INFO] [stderr]     |
[INFO] [stderr] 207 | ...ect it mentions. See https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html for more info
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/types/option_value.rs:17:93
[INFO] [stderr]    |
[INFO] [stderr] 17 | ...ns on https://core.telegram.org/tdlib/options.) Can be called before authorization
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://core.telegram.org/tdlib/options.>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `cite`
[INFO] [stderr]   --> src/types/page_block_caption.rs:17:37
[INFO] [stderr]    |
[INFO] [stderr] 17 |     /// Block credit (like HTML tag <cite>)
[INFO] [stderr]    |                                     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/types/phone_number_authentication_settings.rs:25:207
[INFO] [stderr]    |
[INFO] [stderr] 25 | ...ntication code from the SMS. See https://developers.google.com/identity/sms-retriever/ for more details
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://developers.google.com/identity/sms-retriever/>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/types/photo_size.rs:13:25
[INFO] [stderr]    |
[INFO] [stderr] 13 |     /// Image type (see https://core.telegram.org/constructor/photoSize)
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://core.telegram.org/constructor/photoSize>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/types/send_bot_start_message.rs:21:71
[INFO] [stderr]    |
[INFO] [stderr] 21 |     /// A hidden parameter sent to the bot for deep linking purposes (https://core.telegram.org/bots#deep-linking)
[INFO] [stderr]    |                                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://core.telegram.org/bots#deep-linking>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/types/set_option.rs:5:74
[INFO] [stderr]   |
[INFO] [stderr] 5 | ...ns on https://core.telegram.org/tdlib/options.) Only writable options can be set. Can be called before authorization
[INFO] [stderr]   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://core.telegram.org/tdlib/options.>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/types/tdlib_parameters.rs:41:82
[INFO] [stderr]    |
[INFO] [stderr] 41 |     /// Application identifier for Telegram API access, which can be obtained at https://my.telegram.org
[INFO] [stderr]    |                                                                                  ^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://my.telegram.org>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/types/tdlib_parameters.rs:45:87
[INFO] [stderr]    |
[INFO] [stderr] 45 |     /// Application identifier hash for Telegram API access, which can be obtained at https://my.telegram.org
[INFO] [stderr]    |                                                                                       ^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://my.telegram.org>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/types/user_type.rs:17:20
[INFO] [stderr]    |
[INFO] [stderr] 17 |     /// A bot (see https://core.telegram.org/bots)
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://core.telegram.org/bots>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/types/user_type.rs:72:16
[INFO] [stderr]    |
[INFO] [stderr] 72 | /// A bot (see https://core.telegram.org/bots)
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://core.telegram.org/bots>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-tdlib` (lib doc) generated 31 warnings (run `cargo fix --lib -p rust-tdlib` to apply 17 suggestions)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 38.11s
[INFO] running `Command { std: "docker" "inspect" "e6db318eab940a8e1660853e538b1583f744322edfb12ae996e660d0eac80c4b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6db318eab940a8e1660853e538b1583f744322edfb12ae996e660d0eac80c4b", kill_on_drop: false }`
[INFO] [stdout] e6db318eab940a8e1660853e538b1583f744322edfb12ae996e660d0eac80c4b