rust-tdlib 0.4.1

TDlib (Telegram Database library) client
Documentation
Build #612405 2022-08-16T21:00:14.190310+00:00
# rustc version
rustc 1.65.0-nightly (40336865f 2022-08-15)
# docs.rs version
docsrs 0.6.0 (24bf3b2 2022-08-08)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/rust-tdlib-0.4.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/rust-tdlib-0.4.1/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/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\", \"-20220815-1.65.0-nightly-40336865f\", \"--static-root-path\", \"/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--extern-html-root-takes-precedence\"]" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-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] 568a5507eaf7cca184b1123e542fd3c1a7de6c51f0baea9f25da2352861902fb
[INFO] running `Command { std: "docker" "start" "-a" "568a5507eaf7cca184b1123e542fd3c1a7de6c51f0baea9f25da2352861902fb", kill_on_drop: false }`
[INFO] [stderr]  Documenting rust-tdlib v0.4.1 (/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:69:28
[INFO] [stderr]    |
[INFO] [stderr] 69 |     /// [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:142:123
[INFO] [stderr]     |
[INFO] [stderr] 142 | ...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:209:89
[INFO] [stderr]     |
[INFO] [stderr] 209 | ...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:228:158
[INFO] [stderr]     |
[INFO] [stderr] 228 | ...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:46:20
[INFO] [stderr]    |
[INFO] [stderr] 46 | /// [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:46:56
[INFO] [stderr]    |
[INFO] [stderr] 46 | /// [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:46:92
[INFO] [stderr]    |
[INFO] [stderr] 46 | /// [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:139:57
[INFO] [stderr]     |
[INFO] [stderr] 139 |     /// 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:42:72
[INFO] [stderr]    |
[INFO] [stderr] 42 |     /// 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:184:43
[INFO] [stderr]     |
[INFO] [stderr] 184 | /// 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: `#[warn(rustdoc::bare_urls)]` on by default
[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: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:75:103
[INFO] [stderr]    |
[INFO] [stderr] 75 | ...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:25:110
[INFO] [stderr]    |
[INFO] [stderr] 25 | ...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:212:106
[INFO] [stderr]     |
[INFO] [stderr] 212 | ...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:16:93
[INFO] [stderr]    |
[INFO] [stderr] 16 | ...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/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:16:20
[INFO] [stderr]    |
[INFO] [stderr] 16 |     /// 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:77:16
[INFO] [stderr]    |
[INFO] [stderr] 77 | /// 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 29 warnings
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 38.34s
[INFO] running `Command { std: "docker" "inspect" "568a5507eaf7cca184b1123e542fd3c1a7de6c51f0baea9f25da2352861902fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "568a5507eaf7cca184b1123e542fd3c1a7de6c51f0baea9f25da2352861902fb", kill_on_drop: false }`
[INFO] [stdout] 568a5507eaf7cca184b1123e542fd3c1a7de6c51f0baea9f25da2352861902fb