[INFO] fetching crate trayicon 0.2.0... [INFO] checking trayicon-0.2.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate trayicon 0.2.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate trayicon 0.2.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate trayicon 0.2.0 [INFO] finished tweaking crates.io crate trayicon 0.2.0 [INFO] tweaked toml for crates.io crate trayicon 0.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb23e4d2a980b662a872c6290fc66a6d7bde262e5ff5de61c052fff916d1f462 [INFO] running `Command { std: "docker" "start" "-a" "bb23e4d2a980b662a872c6290fc66a6d7bde262e5ff5de61c052fff916d1f462", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb23e4d2a980b662a872c6290fc66a6d7bde262e5ff5de61c052fff916d1f462", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb23e4d2a980b662a872c6290fc66a6d7bde262e5ff5de61c052fff916d1f462", kill_on_drop: false }` [INFO] [stdout] bb23e4d2a980b662a872c6290fc66a6d7bde262e5ff5de61c052fff916d1f462 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f554fe76d4a38ee15b3986bc4295510eb28626d9ec8324eb6b3dc24ee941ee04 [INFO] running `Command { std: "docker" "start" "-a" "f554fe76d4a38ee15b3986bc4295510eb28626d9ec8324eb6b3dc24ee941ee04", kill_on_drop: false }` [INFO] [stderr] Checking trayicon v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::sys` [INFO] [stdout] --> src/lib.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) use crate::sys::{ [INFO] [stdout] | ^^^ could not find `sys` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod sys; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `windows` feature [INFO] [stdout] --> src/lib.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(target_os = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::sys` [INFO] [stdout] --> src/lib.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) use crate::sys::{ [INFO] [stdout] | ^^^ could not find `sys` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod sys; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `windows` feature [INFO] [stdout] --> src/lib.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(target_os = "windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IconBase` [INFO] [stdout] --> src/icon.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Error, IconBase}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IconBase` [INFO] [stdout] --> src/icon.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Error, IconBase}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `&Option` [INFO] [stdout] --> src/menubuilder.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 13 | icon: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `&Option` [INFO] [stdout] --> src/menubuilder.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 20 | icon: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `&Option` [INFO] [stdout] --> src/menubuilder.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 27 | icon: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `&Option` [INFO] [stdout] --> src/menubuilder.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 13 | icon: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `&Option` [INFO] [stdout] --> src/menubuilder.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 20 | icon: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `&Option` [INFO] [stdout] --> src/menubuilder.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 27 | icon: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/trayicon.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | if self.builder.icon.as_ref() == Ok(icon) { [INFO] [stdout] | ^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/icon.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Icon { [INFO] [stdout] | --------------- doesn't satisfy `Icon: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Icon: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/trayicon.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | if self.builder.icon.as_ref() == Ok(icon) { [INFO] [stdout] | ^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/icon.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Icon { [INFO] [stdout] | --------------- doesn't satisfy `Icon: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Icon: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrayIconBase` [INFO] [stdout] --> src/trayicon.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Error, Icon, MenuBuilder, TrayIconBase, TrayIconBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrayIconBase` [INFO] [stdout] --> src/trayicon.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Error, Icon, MenuBuilder, TrayIconBase, TrayIconBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0369, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0369, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trayicon` (lib) due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `trayicon` (lib test) due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f554fe76d4a38ee15b3986bc4295510eb28626d9ec8324eb6b3dc24ee941ee04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f554fe76d4a38ee15b3986bc4295510eb28626d9ec8324eb6b3dc24ee941ee04", kill_on_drop: false }` [INFO] [stdout] f554fe76d4a38ee15b3986bc4295510eb28626d9ec8324eb6b3dc24ee941ee04