locale 0.2.2

Library for basic localisation. Warning: Major rewrite pending for 0.3!
Documentation
Build #1422457 2024-10-26T16:03:23.321654+00:00
# rustc version
rustc 1.84.0-nightly (c1db4dc24 2024-10-25)# docs.rs version
docsrs 0.6.0 (83e30f05 2024-10-25)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/locale-0.2.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/locale-0.2.2/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" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241025-1.84.0-nightly-c1db4dc24\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/i686-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] 4a14752fa798c7298adba6271df2b0e95a909ae3f296d5ab662ef5ba4aad2b1a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4a14752fa798c7298adba6271df2b0e95a909ae3f296d5ab662ef5ba4aad2b1a", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stderr]   --> src/linux/langinfo.rs:14:29
[INFO] [stderr]    |
[INFO] [stderr] 14 |     unsafe fn decode(&self, *const ::libc::c_char, Option<&IConv>) -> Self::Type;
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: *const ::libc::c_char`
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stderr]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stderr]    = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stderr]   --> src/linux/langinfo.rs:14:52
[INFO] [stderr]    |
[INFO] [stderr] 14 |     unsafe fn decode(&self, *const ::libc::c_char, Option<&IConv>) -> Self::Type;
[INFO] [stderr]    |                                                    ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Option<&IConv>`
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stderr]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/linux/mod.rs:24:20
[INFO] [stderr]    |
[INFO] [stderr] 24 |         let cloc = try!(CString::new(locale));
[INFO] [stderr]    |                    ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/linux/mod.rs:39:20
[INFO] [stderr]    |
[INFO] [stderr] 39 |         let cloc = try!(CString::new(locale));
[INFO] [stderr]    |                    ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]    --> src/linux/mod.rs:100:19
[INFO] [stderr]     |
[INFO] [stderr] 100 |         let cto = try!(::std::ffi::CString::new(to));
[INFO] [stderr]     |                   ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]    --> src/linux/mod.rs:101:21
[INFO] [stderr]     |
[INFO] [stderr] 101 |         let cfrom = try!(::std::ffi::CString::new(from));
[INFO] [stderr]     |                     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]    --> src/linux/mod.rs:211:19
[INFO] [stderr]     |
[INFO] [stderr] 211 |         let loc = try!(CLocale::new(locale));
[INFO] [stderr]     |                   ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/macos/mod.rs:76:35
[INFO] [stderr]    |
[INFO] [stderr] 76 |         let file = BufReader::new(try!(File::open(&path)));
[INFO] [stderr]    |                                   ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/macos/mod.rs:93:35
[INFO] [stderr]    |
[INFO] [stderr] 93 |         let file = BufReader::new(try!(File::open(&path)));
[INFO] [stderr]    |                                   ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `long_day_names` is never read
[INFO] [stderr]    --> src/lib.rs:198:5
[INFO] [stderr]     |
[INFO] [stderr] 194 | pub struct Time {
[INFO] [stderr]     |            ---- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 198 |     long_day_names: Vec<String>,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Time` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `locale` (lib) generated 10 warnings (run `cargo fix --lib -p locale` to apply 2 suggestions)
[INFO] [stderr]     Scraping locale v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting locale v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.72s
[INFO] [stderr]    Generated /opt/rustwide/target/i686-unknown-linux-gnu/doc/locale/index.html
[INFO] running `Command { std: "docker" "inspect" "4a14752fa798c7298adba6271df2b0e95a909ae3f296d5ab662ef5ba4aad2b1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a14752fa798c7298adba6271df2b0e95a909ae3f296d5ab662ef5ba4aad2b1a", kill_on_drop: false }`
[INFO] [stdout] 4a14752fa798c7298adba6271df2b0e95a909ae3f296d5ab662ef5ba4aad2b1a