[INFO] fetching crate nfd 0.0.4... [INFO] testing nfd-0.0.4 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate nfd 0.0.4 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate nfd 0.0.4 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1952e3e1bf9a608b8bf169a11b7c8c1bf81bc235e8e29a150fce4570dd64497f [INFO] running `Command { std: "docker" "start" "-a" "1952e3e1bf9a608b8bf169a11b7c8c1bf81bc235e8e29a150fce4570dd64497f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1952e3e1bf9a608b8bf169a11b7c8c1bf81bc235e8e29a150fce4570dd64497f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1952e3e1bf9a608b8bf169a11b7c8c1bf81bc235e8e29a150fce4570dd64497f", kill_on_drop: false }` [INFO] [stdout] 1952e3e1bf9a608b8bf169a11b7c8c1bf81bc235e8e29a150fce4570dd64497f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce7aae9f8827189c54159fcb0e2e9ab71ceb254be24bbcbc64bb72119b81fdc4 [INFO] running `Command { std: "docker" "start" "-a" "ce7aae9f8827189c54159fcb0e2e9ab71ceb254be24bbcbc64bb72119b81fdc4", kill_on_drop: false }` [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] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [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] 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] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: nativefiledialog/src/nfd_gtk.c: In function 'AddFiltersToDialog': [INFO] [stderr] warning: 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: 54 | snprintf( typebufWildcard, NFD_MAX_STRLEN, "*.%s", typebuf ); [INFO] [stderr] warning: | ^~ ~~~~~~~ [INFO] [stderr] warning: nativefiledialog/src/nfd_gtk.c:54:13: note: 'snprintf' output between 3 and 258 bytes into a destination of size 256 [INFO] [stderr] warning: 54 | snprintf( typebufWildcard, NFD_MAX_STRLEN, "*.%s", typebuf ); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [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 associated function `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 associated function `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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.77s [INFO] running `Command { std: "docker" "inspect" "ce7aae9f8827189c54159fcb0e2e9ab71ceb254be24bbcbc64bb72119b81fdc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce7aae9f8827189c54159fcb0e2e9ab71ceb254be24bbcbc64bb72119b81fdc4", kill_on_drop: false }` [INFO] [stdout] ce7aae9f8827189c54159fcb0e2e9ab71ceb254be24bbcbc64bb72119b81fdc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46d8e75de7ca0c5a2f9461a86cdd58cd450f0a09f26cc0e3f62a7b8f82896da4 [INFO] running `Command { std: "docker" "start" "-a" "46d8e75de7ca0c5a2f9461a86cdd58cd450f0a09f26cc0e3f62a7b8f82896da4", kill_on_drop: false }` [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] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [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] [stderr] warning: nativefiledialog/src/nfd_gtk.c: In function 'AddFiltersToDialog': [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] [stderr] warning: 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] [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] [stderr] warning: 54 | snprintf( typebufWildcard, NFD_MAX_STRLEN, "*.%s", typebuf ); [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] [stderr] warning: | ^~ ~~~~~~~ [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] [stderr] warning: nativefiledialog/src/nfd_gtk.c:54:13: note: 'snprintf' output between 3 and 258 bytes into a destination of size 256 [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] [stderr] warning: 54 | snprintf( typebufWildcard, NFD_MAX_STRLEN, "*.%s", typebuf ); [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: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nfd v0.0.4 (/opt/rustwide/workdir) [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 associated function `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 associated function `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: 4 warnings emitted [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: `#[warn(non_fmt_panics)]` on by default [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] 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 | 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: `#[warn(non_fmt_panics)]` on by default [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] 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 | 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: `#[warn(non_fmt_panics)]` on by default [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] 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 | std::panic::panic_any(e); [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: 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: `#[warn(non_fmt_panics)]` on by default [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] 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 | std::panic::panic_any(e); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "46d8e75de7ca0c5a2f9461a86cdd58cd450f0a09f26cc0e3f62a7b8f82896da4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46d8e75de7ca0c5a2f9461a86cdd58cd450f0a09f26cc0e3f62a7b8f82896da4", kill_on_drop: false }` [INFO] [stdout] 46d8e75de7ca0c5a2f9461a86cdd58cd450f0a09f26cc0e3f62a7b8f82896da4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7e80d42b401bd28fa7ec8d369fe12cc604ee5e5f2e723d5242ebe017cf2d3442 [INFO] running `Command { std: "docker" "start" "-a" "7e80d42b401bd28fa7ec8d369fe12cc604ee5e5f2e723d5242ebe017cf2d3442", kill_on_drop: false }` [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] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [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 [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 [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 [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 [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 [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: nativefiledialog/src/nfd_gtk.c: In function 'AddFiltersToDialog': [INFO] [stderr] warning: 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: 54 | snprintf( typebufWildcard, NFD_MAX_STRLEN, "*.%s", typebuf ); [INFO] [stderr] warning: | ^~ ~~~~~~~ [INFO] [stderr] warning: nativefiledialog/src/nfd_gtk.c:54:13: note: 'snprintf' output between 3 and 258 bytes into a destination of size 256 [INFO] [stderr] warning: 54 | snprintf( typebufWildcard, NFD_MAX_STRLEN, "*.%s", typebuf ); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [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 associated function `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 associated function `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 4 warnings [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> examples/example.rs:29:16 [INFO] [stderr] | [INFO] [stderr] 29 | panic!(e); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 29 | panic!("{}", e); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 29 | std::panic::panic_any(e); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: `nfd` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: `nfd` (example "example") generated 1 warning [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> examples/pick_folder.rs:30:16 [INFO] [stderr] | [INFO] [stderr] 30 | panic!(e); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 30 | panic!("{}", e); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 30 | std::panic::panic_any(e); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> examples/builder_open_jpg.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(e); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 7 | panic!("{}", e); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 7 | std::panic::panic_any(e); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> examples/open_multiple.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(e); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 7 | panic!("{}", e); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 7 | std::panic::panic_any(e); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: `nfd` (example "pick_folder") generated 1 warning [INFO] [stderr] warning: `nfd` (example "builder_open_jpg") generated 1 warning [INFO] [stderr] warning: `nfd` (example "open_multiple") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/nfd-134fb6bd9b832d48) [INFO] [stdout] [INFO] [stderr] Doc-tests nfd [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7e80d42b401bd28fa7ec8d369fe12cc604ee5e5f2e723d5242ebe017cf2d3442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e80d42b401bd28fa7ec8d369fe12cc604ee5e5f2e723d5242ebe017cf2d3442", kill_on_drop: false }` [INFO] [stdout] 7e80d42b401bd28fa7ec8d369fe12cc604ee5e5f2e723d5242ebe017cf2d3442