[INFO] cloning repository https://github.com/Aurailus/Scout [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aurailus/Scout" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAurailus%2FScout", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAurailus%2FScout'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d98d3bd8ed942b763cc3ecba8de258e333dacfa9 [INFO] checking Aurailus/Scout/d98d3bd8ed942b763cc3ecba8de258e333dacfa9 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAurailus%2FScout" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Aurailus/Scout on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Aurailus/Scout [INFO] finished tweaking git repo https://github.com/Aurailus/Scout [INFO] tweaked toml for git repo https://github.com/Aurailus/Scout written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Aurailus/Scout already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff2994865128184fe66302da731aadf5e98cb9b914ea7af75ee10f964bf94800 [INFO] running `Command { std: "docker" "start" "-a" "ff2994865128184fe66302da731aadf5e98cb9b914ea7af75ee10f964bf94800", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff2994865128184fe66302da731aadf5e98cb9b914ea7af75ee10f964bf94800", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff2994865128184fe66302da731aadf5e98cb9b914ea7af75ee10f964bf94800", kill_on_drop: false }` [INFO] [stdout] ff2994865128184fe66302da731aadf5e98cb9b914ea7af75ee10f964bf94800 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 587b4a99982c96bea0e62b19ab3835bf64eaa4a04500ee6c19185775b88c8c41 [INFO] running `Command { std: "docker" "start" "-a" "587b4a99982c96bea0e62b19ab3835bf64eaa4a04500ee6c19185775b88c8c41", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling scout-core v0.0.1 (/opt/rustwide/workdir/core) [INFO] [stderr] Checking convert_case v0.4.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling gtk v0.9.2 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking shell-words v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking system_shutdown v3.0.0 [INFO] [stderr] Checking colorsys v0.6.3 [INFO] [stderr] Checking opener v0.4.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Checking freedesktop_entry_parser v1.1.2 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Compiling glib-sys v0.10.1 [INFO] [stderr] Compiling gobject-sys v0.10.0 [INFO] [stderr] Compiling gio-sys v0.10.1 [INFO] [stderr] Compiling pango-sys v0.10.0 [INFO] [stderr] Compiling cairo-sys-rs v0.10.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.10.0 [INFO] [stderr] Compiling atk-sys v0.10.0 [INFO] [stderr] Compiling gdk-sys v0.10.0 [INFO] [stderr] Compiling gtk-sys v0.10.0 [INFO] [stderr] Checking glib v0.10.3 [INFO] [stdout] warning: `extern` fn uses type `Shared>`, which is not FFI-safe [INFO] [stdout] --> core/src/lib.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | pub register: unsafe extern "C" fn(Shared>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> core/src/shared.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Shared { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> core/src/shared.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | write!(f, "{}", self.deref()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Shared` does not implement `Deref`, so calling `deref` on `&Shared` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 119 - write!(f, "{}", self.deref()) [INFO] [stdout] 119 + write!(f, "{}", self) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Shared`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Clone)] [INFO] [stdout] 18 | pub struct Shared { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> core/src/shared.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | write!(f, "{:?}", self.deref()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Shared` does not implement `Deref`, so calling `deref` on `&Shared` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 126 - write!(f, "{:?}", self.deref()) [INFO] [stdout] 126 + write!(f, "{:?}", self) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Shared`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Clone)] [INFO] [stdout] 18 | pub struct Shared { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Shared>`, which is not FFI-safe [INFO] [stdout] --> core/src/lib.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | pub register: unsafe extern "C" fn(Shared>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> core/src/shared.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Shared { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> core/src/shared.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | write!(f, "{}", self.deref()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Shared` does not implement `Deref`, so calling `deref` on `&Shared` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 119 - write!(f, "{}", self.deref()) [INFO] [stdout] 119 + write!(f, "{}", self) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Shared`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Clone)] [INFO] [stdout] 18 | pub struct Shared { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> core/src/shared.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | write!(f, "{:?}", self.deref()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Shared` does not implement `Deref`, so calling `deref` on `&Shared` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 126 - write!(f, "{:?}", self.deref()) [INFO] [stdout] 126 + write!(f, "{:?}", self) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Shared`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Clone)] [INFO] [stdout] 18 | pub struct Shared { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking scout v0.0.1 (/opt/rustwide/workdir/app) [INFO] [stderr] Checking scout_plugin_application v0.0.1 (/opt/rustwide/workdir/plugins/application) [INFO] [stderr] Checking scout_plugin_directory v0.0.1 (/opt/rustwide/workdir/plugins/directory) [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prefs_page::*` [INFO] [stdout] --> app/src/window/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use prefs_page::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `about::*` [INFO] [stdout] --> app/src/window/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use about::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prefs::*` [INFO] [stdout] --> app/src/window/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use prefs::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `plugin_bindings::*` [INFO] [stdout] --> app/src/plugin/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use plugin_bindings::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prefs_page::*` [INFO] [stdout] --> app/src/window/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use prefs_page::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `about::*` [INFO] [stdout] --> app/src/window/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use about::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prefs::*` [INFO] [stdout] --> app/src/window/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use prefs::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `plugin_bindings::*` [INFO] [stdout] --> app/src/plugin/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use plugin_bindings::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `gdk_pixbuf::Pixbuf` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> plugins/application/src/result.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 88 | let theme = gtk::IconTheme::get_default().unwrap(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | gtk::Image::from_pixbuf(Some(&find_from_file().unwrap_or_else(|_| find_in_theme().unwrap_or_else(|_| find_default())))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bindings` is never read [INFO] [stdout] --> plugins/directory/src/lib.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DirectoryPlugin { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 9 | bindings: Shared>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `icon` and `path_str` are never read [INFO] [stdout] --> plugins/directory/src/result.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DirectoryResult { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 14 | icon: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | path_str: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DirectoryResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bindings` is never read [INFO] [stdout] --> plugins/application/src/lib.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ApplicationPlugin { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 13 | bindings: Shared>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `actions` is never read [INFO] [stdout] --> plugins/application/src/result.rs:52:2 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct ApplicationResult { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | actions: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scout_plugin_application` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `gdk_pixbuf::Pixbuf` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> plugins/application/src/result.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 88 | let theme = gtk::IconTheme::get_default().unwrap(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | gtk::Image::from_pixbuf(Some(&find_from_file().unwrap_or_else(|_| find_in_theme().unwrap_or_else(|_| find_default())))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bindings` is never read [INFO] [stdout] --> plugins/directory/src/lib.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DirectoryPlugin { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 9 | bindings: Shared>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `icon` and `path_str` are never read [INFO] [stdout] --> plugins/directory/src/result.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DirectoryResult { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 14 | icon: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | path_str: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DirectoryResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bindings` is never read [INFO] [stdout] --> plugins/application/src/lib.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ApplicationPlugin { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 13 | bindings: Shared>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `actions` is never read [INFO] [stdout] --> plugins/application/src/result.rs:52:2 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct ApplicationResult { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | actions: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scout_plugin_application` (lib) due to 2 previous errors; 2 warnings emitted [INFO] [stdout] error: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> app/src/window/window.rs:330:30 [INFO] [stdout] | [INFO] [stdout] 329 | let screen = window.get_screen().unwrap(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 330 | if let Some(ref visual) = screen.get_rgba_visual() { window.set_visual(Some(visual)); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> app/src/window/window.rs:330:30 [INFO] [stdout] | [INFO] [stdout] 329 | let screen = window.get_screen().unwrap(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 330 | if let Some(ref visual) = screen.get_rgba_visual() { window.set_visual(Some(visual)); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> app/src/window/window.rs:369:3 [INFO] [stdout] | [INFO] [stdout] 369 | drop(self); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut window::window::Window` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 369 - drop(self); [INFO] [stdout] 369 + let _ = self; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> app/src/window/window.rs:369:3 [INFO] [stdout] | [INFO] [stdout] 369 | drop(self); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut window::window::Window` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 369 - drop(self); [INFO] [stdout] 369 + let _ = self; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scout` (bin "scout" test) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] error: could not compile `scout` (bin "scout") due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "587b4a99982c96bea0e62b19ab3835bf64eaa4a04500ee6c19185775b88c8c41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "587b4a99982c96bea0e62b19ab3835bf64eaa4a04500ee6c19185775b88c8c41", kill_on_drop: false }` [INFO] [stdout] 587b4a99982c96bea0e62b19ab3835bf64eaa4a04500ee6c19185775b88c8c41