[INFO] fetching crate systray2 0.5.0... [INFO] checking systray2-0.5.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate systray2 0.5.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate systray2 0.5.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate systray2 0.5.0 [INFO] finished tweaking crates.io crate systray2 0.5.0 [INFO] tweaked toml for crates.io crate systray2 0.5.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate systray2 0.5.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58ae4037706228a81889f1621fa15328c77390891c0c8b7ea2c49b4429a297e7 [INFO] running `Command { std: "docker" "start" "-a" "58ae4037706228a81889f1621fa15328c77390891c0c8b7ea2c49b4429a297e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58ae4037706228a81889f1621fa15328c77390891c0c8b7ea2c49b4429a297e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58ae4037706228a81889f1621fa15328c77390891c0c8b7ea2c49b4429a297e7", kill_on_drop: false }` [INFO] [stdout] 58ae4037706228a81889f1621fa15328c77390891c0c8b7ea2c49b4429a297e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c751a52487c39cff4d8b7e1727598b3fcdd82f6bb45d82271f13b8d96319beb6 [INFO] running `Command { std: "docker" "start" "-a" "c751a52487c39cff4d8b7e1727598b3fcdd82f6bb45d82271f13b8d96319beb6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling libc v0.2.96 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bindgen v0.52.0 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling gtk v0.9.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling system-deps v1.3.2 [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 gdk-sys v0.10.0 [INFO] [stderr] Compiling atk-sys v0.10.0 [INFO] [stderr] Compiling gtk-sys v0.10.0 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Compiling libappindicator-sys v0.5.0 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking glib v0.10.3 [INFO] [stderr] Checking libappindicator v0.5.2 [INFO] [stderr] Checking systray2 v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api/linux/mod.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | type Callback = Box<(Fn(&GtkSystrayApp) -> () + 'static)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&GtkSystrayApp) -> () + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api/linux/mod.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | type Callback = Box<(Fn(&GtkSystrayApp) -> () + 'static)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&GtkSystrayApp) -> () + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/api/linux/mod.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Err(e) = gtk::init() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_idx` [INFO] [stdout] --> src/api/linux/mod.rs:80:38 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn add_menu_separator(&self, item_idx: u32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource` [INFO] [stdout] --> src/api/linux/mod.rs:164:42 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn set_icon_from_resource(&self, resource: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tooltip` [INFO] [stdout] --> src/api/linux/mod.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn set_tooltip(&self, tooltip: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tooltip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/api/linux/mod.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Err(e) = gtk::init() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_idx` [INFO] [stdout] --> src/api/linux/mod.rs:80:38 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn add_menu_separator(&self, item_idx: u32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource` [INFO] [stdout] --> src/api/linux/mod.rs:164:42 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn set_icon_from_resource(&self, resource: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tooltip` [INFO] [stdout] --> src/api/linux/mod.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn set_tooltip(&self, tooltip: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tooltip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mid` [INFO] [stdout] --> src/api/linux/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | mid: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> src/api/linux/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | title: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tooltip` [INFO] [stdout] --> src/api/linux/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | tooltip: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `disabled` [INFO] [stdout] --> src/api/linux/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | disabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `checked` [INFO] [stdout] --> src/api/linux/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | checked: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Callback` [INFO] [stdout] --> src/api/linux/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | type Callback = Box<(Fn(&GtkSystrayApp) -> () + 'static)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `gtk_loop` [INFO] [stdout] --> src/api/linux/mod.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | gtk_loop: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mid` [INFO] [stdout] --> src/api/linux/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | mid: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> src/api/linux/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | title: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tooltip` [INFO] [stdout] --> src/api/linux/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | tooltip: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `disabled` [INFO] [stdout] --> src/api/linux/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | disabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `checked` [INFO] [stdout] --> src/api/linux/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | checked: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Callback` [INFO] [stdout] --> src/api/linux/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | type Callback = Box<(Fn(&GtkSystrayApp) -> () + 'static)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `gtk_loop` [INFO] [stdout] --> src/api/linux/mod.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | gtk_loop: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/api/linux/mod.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | tx.send(Ok(())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/api/linux/mod.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | tx.send(Err(e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/api/linux/mod.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | tx.send(Ok(())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/api/linux/mod.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | tx.send(Err(e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 46s [INFO] running `Command { std: "docker" "inspect" "c751a52487c39cff4d8b7e1727598b3fcdd82f6bb45d82271f13b8d96319beb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c751a52487c39cff4d8b7e1727598b3fcdd82f6bb45d82271f13b8d96319beb6", kill_on_drop: false }` [INFO] [stdout] c751a52487c39cff4d8b7e1727598b3fcdd82f6bb45d82271f13b8d96319beb6