[INFO] fetching crate nfd 0.0.4... [INFO] checking nfd-0.0.4 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate nfd 0.0.4 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate nfd 0.0.4 [INFO] finished tweaking crates.io crate nfd 0.0.4 [INFO] tweaked toml for crates.io crate nfd 0.0.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nfd 0.0.4 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87a377ad2f0d76afca0b40d3422f2db9474958619fccb66d94a44a9b0e54895e [INFO] running `Command { std: "docker" "start" "-a" "87a377ad2f0d76afca0b40d3422f2db9474958619fccb66d94a44a9b0e54895e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87a377ad2f0d76afca0b40d3422f2db9474958619fccb66d94a44a9b0e54895e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87a377ad2f0d76afca0b40d3422f2db9474958619fccb66d94a44a9b0e54895e", kill_on_drop: false }` [INFO] [stdout] 87a377ad2f0d76afca0b40d3422f2db9474958619fccb66d94a44a9b0e54895e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80bbbc1b647eb51964870253848ffe7723330e628ac8e7ddd44a77b140c18469 [INFO] running `Command { std: "docker" "start" "-a" "80bbbc1b647eb51964870253848ffe7723330e628ac8e7ddd44a77b140c18469", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling nfd v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> build.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | concat!("nativefiledialog/src/", $suf); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 37 | cfg.include(nfd!("include")); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `nfd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> build.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | concat!("nativefiledialog/src/", $suf); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 38 | cfg.file(nfd!("nfd_common.c")); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `nfd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> build.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | concat!("nativefiledialog/src/", $suf); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 41 | cfg.file(nfd!("nfd_cocoa.m")); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `nfd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> build.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | concat!("nativefiledialog/src/", $suf); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 46 | cfg.file(nfd!("nfd_win.cpp")); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `nfd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> build.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | concat!("nativefiledialog/src/", $suf); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 71 | cfg.file(nfd!("nfd_gtk.c")); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `nfd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let mut cfg = gcc::Config::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | let mut cfg = gcc::Config::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [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] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:121:35 [INFO] [stdout] | [INFO] [stdout] 121 | filter_list_cstring = try!(CString::new(fl_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:129:36 [INFO] [stdout] | [INFO] [stdout] 129 | default_path_cstring = try!(CString::new(dp_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:121:35 [INFO] [stdout] | [INFO] [stdout] 121 | filter_list_cstring = try!(CString::new(fl_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:129:36 [INFO] [stdout] | [INFO] [stdout] 129 | default_path_cstring = try!(CString::new(dp_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:26:48 [INFO] [stdout] | [INFO] [stdout] 26 | NFDError::NulError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | NFDError::Utf8Error(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:26:48 [INFO] [stdout] | [INFO] [stdout] 26 | NFDError::NulError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | NFDError::Utf8Error(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn filter(&'a mut self, filter: &'a str) -> &mut DialogBuilder { [INFO] [stdout] | ^^ ^^ ------------------ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 65 | pub fn filter(&'a mut self, filter: &'a str) -> &'a mut DialogBuilder<'a> { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn default_path(&'a mut self, path: &'a str) -> &mut DialogBuilder { [INFO] [stdout] | ^^ ^^ ------------------ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 70 | pub fn default_path(&'a mut self, path: &'a str) -> &'a mut DialogBuilder<'a> { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn filter(&'a mut self, filter: &'a str) -> &mut DialogBuilder { [INFO] [stdout] | ^^ ^^ ------------------ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 65 | pub fn filter(&'a mut self, filter: &'a str) -> &'a mut DialogBuilder<'a> { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn default_path(&'a mut self, path: &'a str) -> &mut DialogBuilder { [INFO] [stdout] | ^^ ^^ ------------------ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 70 | pub fn default_path(&'a mut self, path: &'a str) -> &'a mut DialogBuilder<'a> { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/open_multiple.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 7 | panic!("{}", e); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 7 - panic!(e); [INFO] [stdout] 7 + std::panic::panic_any(e); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/builder_open_jpg.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 7 | panic!("{}", e); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 7 - panic!(e); [INFO] [stdout] 7 + std::panic::panic_any(e); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/pick_folder.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 30 | panic!("{}", e); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 30 - panic!(e); [INFO] [stdout] 30 + std::panic::panic_any(e); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/example.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 29 | panic!("{}", e); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 29 - panic!(e); [INFO] [stdout] 29 + std::panic::panic_any(e); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.01s [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] running `Command { std: "docker" "inspect" "80bbbc1b647eb51964870253848ffe7723330e628ac8e7ddd44a77b140c18469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80bbbc1b647eb51964870253848ffe7723330e628ac8e7ddd44a77b140c18469", kill_on_drop: false }` [INFO] [stdout] 80bbbc1b647eb51964870253848ffe7723330e628ac8e7ddd44a77b140c18469