[INFO] fetching crate menubar 0.0.2...
[INFO] testing menubar-0.0.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8
[INFO] extracting crate menubar 0.0.2 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate menubar 0.0.2
[INFO] finished tweaking crates.io crate menubar 0.0.2
[INFO] tweaked toml for crates.io crate menubar 0.0.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate menubar 0.0.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate menubar 0.0.2 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0047e9873b87ed9b60706b143a742a1e06f832c0d1f4f8bda03d9c19301322cd
[INFO] running `Command { std: "docker" "start" "-a" "0047e9873b87ed9b60706b143a742a1e06f832c0d1f4f8bda03d9c19301322cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0047e9873b87ed9b60706b143a742a1e06f832c0d1f4f8bda03d9c19301322cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0047e9873b87ed9b60706b143a742a1e06f832c0d1f4f8bda03d9c19301322cd", kill_on_drop: false }`
[INFO] [stdout] 0047e9873b87ed9b60706b143a742a1e06f832c0d1f4f8bda03d9c19301322cd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 72950a2143b2ce89fe5f7c4cd0e19128f9752f8a5e3885d57b8d7bb8605c023e
[INFO] running `Command { std: "docker" "start" "-a" "72950a2143b2ce89fe5f7c4cd0e19128f9752f8a5e3885d57b8d7bb8605c023e", kill_on_drop: false }`
[INFO] [stderr]    Compiling menubar v0.0.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] running `Command { std: "docker" "inspect" "72950a2143b2ce89fe5f7c4cd0e19128f9752f8a5e3885d57b8d7bb8605c023e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72950a2143b2ce89fe5f7c4cd0e19128f9752f8a5e3885d57b8d7bb8605c023e", kill_on_drop: false }`
[INFO] [stdout] 72950a2143b2ce89fe5f7c4cd0e19128f9752f8a5e3885d57b8d7bb8605c023e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c4d977a2c22753ea4edd15f2bed7072ee944b8199de8dd6860b8a330383a7eae
[INFO] running `Command { std: "docker" "start" "-a" "c4d977a2c22753ea4edd15f2bed7072ee944b8199de8dd6860b8a330383a7eae", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.82
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling once_cell v1.5.2
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling log v0.4.13
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling libloading v0.6.7
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling ttf-parser v0.6.2
[INFO] [stderr]    Compiling scoped-tls v1.0.0
[INFO] [stderr]    Compiling ab_glyph_rasterizer v0.1.4
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling dlib v0.4.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling instant v0.1.9
[INFO] [stderr]    Compiling xdg v2.2.0
[INFO] [stderr]    Compiling lock_api v0.4.2
[INFO] [stderr]    Compiling thread_local v1.1.2
[INFO] [stderr]    Compiling regex-syntax v0.6.22
[INFO] [stderr]    Compiling winit v0.25.0
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling nom v6.1.0
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling wayland-sys v0.28.3
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling quote v1.0.8
[INFO] [stderr]    Compiling owned_ttf_parser v0.6.0
[INFO] [stderr]    Compiling wayland-scanner v0.28.3
[INFO] [stderr]    Compiling rusttype v0.9.2
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling crossbeam-channel v0.4.4
[INFO] [stderr]    Compiling andrew v0.3.1
[INFO] [stderr]    Compiling regex v1.4.3
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling mio v0.7.7
[INFO] [stderr]    Compiling memmap2 v0.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.2
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling crossbeam v0.7.3
[INFO] [stderr]    Compiling wayland-client v0.28.3
[INFO] [stderr]    Compiling wayland-protocols v0.28.3
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling xcursor v0.3.3
[INFO] [stderr]    Compiling env_logger v0.8.2
[INFO] [stderr]    Compiling mio-misc v1.0.0
[INFO] [stderr]    Compiling wayland-commons v0.28.3
[INFO] [stderr]    Compiling calloop v0.6.5
[INFO] [stderr]    Compiling wayland-cursor v0.28.3
[INFO] [stderr]    Compiling smithay-client-toolkit v0.12.3
[INFO] [stderr]    Compiling menubar v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `objc`
[INFO] [stdout]  --> examples/plain.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use objc::rc::autoreleasepool;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `objc`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `objc`, use `cargo add objc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `macos` in `platform`
[INFO] [stdout]    --> examples/hello_world.rs:314:55
[INFO] [stdout]     |
[INFO] [stdout] 314 |     event_loop.set_activation_policy(winit::platform::macos::ActivationPolicy::Regular);
[INFO] [stdout]     |                                                       ^^^^^ could not find `macos` in `platform`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.25.0/src/platform/mod.rs:20:9
[INFO] [stdout]     |
[INFO] [stdout]  20 | pub mod macos;
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.25.0/src/platform/macos.rs:1:8
[INFO] [stdout]     |
[INFO] [stdout]   1 | #![cfg(target_os = "macos")]
[INFO] [stdout]     |        ------------------- the item is gated behind the `macos` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found crate `menubar`
[INFO] [stdout]    --> examples/hello_world.rs:334:45
[INFO] [stdout]     |
[INFO] [stdout] 334 |     let menubar = std::cell::Cell::new(Some(menubar));
[INFO] [stdout]     |                                             ^^^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_activation_policy` found for struct `winit::event_loop::EventLoop<()>` in the current scope
[INFO] [stdout]    --> examples/hello_world.rs:314:16
[INFO] [stdout]     |
[INFO] [stdout] 314 |     event_loop.set_activation_policy(winit::platform::macos::ActivationPolicy::Regular);
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^ method not found in `winit::event_loop::EventLoop<()>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `menubar::macos`
[INFO] [stdout]   --> examples/macos_possible_api.rs:2:14
[INFO] [stdout]    |
[INFO] [stdout]  2 | use menubar::macos::{Menu, MenuBar, MenuItem};
[INFO] [stdout]    |              ^^^^^ could not find `macos` in `menubar`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[cfg(target_os = "macos")]
[INFO] [stdout]    |       ------------------- the item is gated behind the `macos` feature
[INFO] [stdout] 12 | pub mod macos;
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> examples/macos_possible_api.rs:10:27
[INFO] [stdout]    |
[INFO] [stdout] 10 |     menu_bar.add("File", |menu| {
[INFO] [stdout]    |                           ^^^^
[INFO] [stdout] 11 |         menu.add(MenuItem::new("New File", "CMD+N", None));
[INFO] [stdout]    |         ---- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 10 |     menu_bar.add("File", |menu: /* Type */| {
[INFO] [stdout]    |                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `menubar` (example "macos_possible_api") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `menubar` (example "hello_world") due to 3 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Menu`
[INFO] [stdout]  --> examples/plain.rs:7:24
[INFO] [stdout]   |
[INFO] [stdout] 7 |         let mut menu = Menu::new();
[INFO] [stdout]   |                        ^^^^ use of undeclared type `Menu`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> examples/plain.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[cfg(target_os = "macos")]
[INFO] [stdout]   |       ------------------- the item is gated behind the `macos` feature
[INFO] [stdout] 2 | use menubar::macos::{Menu, MenuItem};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] help: there is an enum variant `winit::platform::unix::XWindowType::Menu`; try using the variant's enum
[INFO] [stdout]   |
[INFO] [stdout] 7 -         let mut menu = Menu::new();
[INFO] [stdout] 7 +         let mut menu = winit::platform::unix::XWindowType::new();
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MenuItem`
[INFO] [stdout]  --> examples/plain.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 |         menu.add(MenuItem::new("item 1", "a", None));
[INFO] [stdout]   |                  ^^^^^^^^ use of undeclared type `MenuItem`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> examples/plain.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[cfg(target_os = "macos")]
[INFO] [stdout]   |       ------------------- the item is gated behind the `macos` feature
[INFO] [stdout] 2 | use menubar::macos::{Menu, MenuItem};
[INFO] [stdout]   |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MenuItem`
[INFO] [stdout]  --> examples/plain.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 |         menu.add(MenuItem::new_separator());
[INFO] [stdout]   |                  ^^^^^^^^ use of undeclared type `MenuItem`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> examples/plain.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[cfg(target_os = "macos")]
[INFO] [stdout]   |       ------------------- the item is gated behind the `macos` feature
[INFO] [stdout] 2 | use menubar::macos::{Menu, MenuItem};
[INFO] [stdout]   |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MenuItem`
[INFO] [stdout]   --> examples/plain.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |         menu.add(MenuItem::new("item 2", "a", None));
[INFO] [stdout]    |                  ^^^^^^^^ use of undeclared type `MenuItem`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> examples/plain.rs:2:28
[INFO] [stdout]    |
[INFO] [stdout]  1 | #[cfg(target_os = "macos")]
[INFO] [stdout]    |       ------------------- the item is gated behind the `macos` feature
[INFO] [stdout]  2 | use menubar::macos::{Menu, MenuItem};
[INFO] [stdout]    |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MenuItem`
[INFO] [stdout]   --> examples/plain.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         MenuItem::new_separator();
[INFO] [stdout]    |         ^^^^^^^^ use of undeclared type `MenuItem`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> examples/plain.rs:2:28
[INFO] [stdout]    |
[INFO] [stdout]  1 | #[cfg(target_os = "macos")]
[INFO] [stdout]    |       ------------------- the item is gated behind the `macos` feature
[INFO] [stdout]  2 | use menubar::macos::{Menu, MenuItem};
[INFO] [stdout]    |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `menubar` (example "plain") due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "c4d977a2c22753ea4edd15f2bed7072ee944b8199de8dd6860b8a330383a7eae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4d977a2c22753ea4edd15f2bed7072ee944b8199de8dd6860b8a330383a7eae", kill_on_drop: false }`
[INFO] [stdout] c4d977a2c22753ea4edd15f2bed7072ee944b8199de8dd6860b8a330383a7eae
