# rustc version rustc 1.89.0-nightly (2eef47813 2025-05-22)
# docs.rs version docsrs 0.6.0 (1b7fbadb 2025-05-22)
# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/nfd-0.0.4/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/nfd-0.0.4/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250522-1.89.0-nightly-2eef47813\", \"--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}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu" "--config" "build.rustdocflags=[\"-Zmetrics-dir=/opt/rustwide/target/metrics\"]", 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] 525f281a4b0d5032262219d905c7fd6377c12f6bf9f244bba7ecefe7c17ac1e7 [INFO] running `Command { std: "docker" "start" "-a" "525f281a4b0d5032262219d905c7fd6377c12f6bf9f244bba7ecefe7c17ac1e7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> build.rs:29:47 [INFO] [stderr] | [INFO] [stderr] 29 | concat!("nativefiledialog/src/", $suf); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 37 | cfg.include(nfd!("include")); [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813> [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = note: this warning originates in the macro `nfd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> build.rs:29:47 [INFO] [stderr] | [INFO] [stderr] 29 | concat!("nativefiledialog/src/", $suf); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 38 | cfg.file(nfd!("nfd_common.c")); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813> [INFO] [stderr] = note: this warning originates in the macro `nfd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> build.rs:29:47 [INFO] [stderr] | [INFO] [stderr] 29 | concat!("nativefiledialog/src/", $suf); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 41 | cfg.file(nfd!("nfd_cocoa.m")); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813> [INFO] [stderr] = note: this warning originates in the macro `nfd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> build.rs:29:47 [INFO] [stderr] | [INFO] [stderr] 29 | concat!("nativefiledialog/src/", $suf); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 46 | cfg.file(nfd!("nfd_win.cpp")); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813> [INFO] [stderr] = note: this warning originates in the macro `nfd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> build.rs:29:47 [INFO] [stderr] | [INFO] [stderr] 29 | concat!("nativefiledialog/src/", $suf); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 71 | cfg.file(nfd!("nfd_gtk.c")); [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813> [INFO] [stderr] = note: this warning originates in the macro `nfd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stderr] --> build.rs:34:24 [INFO] [stderr] | [INFO] [stderr] 34 | let mut cfg = gcc::Config::new(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stderr] --> build.rs:34:32 [INFO] [stderr] | [INFO] [stderr] 34 | let mut cfg = gcc::Config::new(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `nfd` (build script) generated 7 warnings [INFO] [stderr] warning: nfd@0.0.4: nativefiledialog/src/nfd_gtk.c: In function 'AddFiltersToDialog': [INFO] [stderr] warning: nfd@0.0.4: nativefiledialog/src/nfd_gtk.c:54:59: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 254 [-Wformat-truncation=] [INFO] [stderr] warning: nfd@0.0.4: 54 | snprintf( typebufWildcard, NFD_MAX_STRLEN, "*.%s", typebuf ); [INFO] [stderr] warning: nfd@0.0.4: | ^~ ~~~~~~~ [INFO] [stderr] warning: nfd@0.0.4: nativefiledialog/src/nfd_gtk.c:54:13: note: 'snprintf' output between 3 and 258 bytes into a destination of size 256 [INFO] [stderr] warning: nfd@0.0.4: 54 | snprintf( typebufWildcard, NFD_MAX_STRLEN, "*.%s", typebuf ); [INFO] [stderr] warning: nfd@0.0.4: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/lib.rs:65:53 [INFO] [stderr] | [INFO] [stderr] 55 | impl<'a> DialogBuilder<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 65 | pub fn filter(&'a mut self, filter: &'a str) -> &mut DialogBuilder { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/lib.rs:65:58 [INFO] [stderr] | [INFO] [stderr] 55 | impl<'a> DialogBuilder<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 65 | pub fn filter(&'a mut self, filter: &'a str) -> &mut DialogBuilder { [INFO] [stderr] | ^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/lib.rs:70:57 [INFO] [stderr] | [INFO] [stderr] 55 | impl<'a> DialogBuilder<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 70 | pub fn default_path(&'a mut self, path: &'a str) -> &mut DialogBuilder { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/lib.rs:70:62 [INFO] [stderr] | [INFO] [stderr] 55 | impl<'a> DialogBuilder<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 70 | pub fn default_path(&'a mut self, path: &'a str) -> &mut DialogBuilder { [INFO] [stderr] | ^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:121:35 [INFO] [stderr] | [INFO] [stderr] 121 | filter_list_cstring = try!(CString::new(fl_str)); [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/lib.rs:129:36 [INFO] [stderr] | [INFO] [stderr] 129 | default_path_cstring = try!(CString::new(dp_str)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:26:48 [INFO] [stderr] | [INFO] [stderr] 26 | NFDError::NulError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:28:49 [INFO] [stderr] | [INFO] [stderr] 28 | NFDError::Utf8Error(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `nfd` (lib) generated 8 warnings [INFO] [stderr] Scraping nfd v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Documenting nfd v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nfd v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/nfd/index.html [INFO] running `Command { std: "docker" "inspect" "525f281a4b0d5032262219d905c7fd6377c12f6bf9f244bba7ecefe7c17ac1e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "525f281a4b0d5032262219d905c7fd6377c12f6bf9f244bba7ecefe7c17ac1e7", kill_on_drop: false }` [INFO] [stdout] 525f281a4b0d5032262219d905c7fd6377c12f6bf9f244bba7ecefe7c17ac1e7