[INFO] fetching crate systray2 0.5.0... [INFO] checking systray2-0.5.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate systray2 0.5.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate systray2 0.5.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-9/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23858670d676b3449800f54ecfd01f264d7b3dca03d4d52b6c1fa5442bbdc0a1 [INFO] running `Command { std: "docker" "start" "-a" "23858670d676b3449800f54ecfd01f264d7b3dca03d4d52b6c1fa5442bbdc0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23858670d676b3449800f54ecfd01f264d7b3dca03d4d52b6c1fa5442bbdc0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23858670d676b3449800f54ecfd01f264d7b3dca03d4d52b6c1fa5442bbdc0a1", kill_on_drop: false }` [INFO] [stdout] 23858670d676b3449800f54ecfd01f264d7b3dca03d4d52b6c1fa5442bbdc0a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 899695c9dd8603c93e8dfbfd0722bd54c216c00ae3b4af63afe1730e7541cb7b [INFO] running `Command { std: "docker" "start" "-a" "899695c9dd8603c93e8dfbfd0722bd54c216c00ae3b4af63afe1730e7541cb7b", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling libc v0.2.96 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bindgen v0.52.0 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking memchr v2.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.9 [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 cairo-sys-rs v0.10.0 [INFO] [stderr] Compiling pango-sys 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] Compiling pango v0.9.1 [INFO] [stderr] Compiling libappindicator-sys v0.5.0 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Compiling gtk v0.9.2 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking glib v0.10.3 [INFO] [stderr] Checking futures v0.3.15 [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: 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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 46s [INFO] running `Command { std: "docker" "inspect" "899695c9dd8603c93e8dfbfd0722bd54c216c00ae3b4af63afe1730e7541cb7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "899695c9dd8603c93e8dfbfd0722bd54c216c00ae3b4af63afe1730e7541cb7b", kill_on_drop: false }` [INFO] [stdout] 899695c9dd8603c93e8dfbfd0722bd54c216c00ae3b4af63afe1730e7541cb7b