[INFO] fetching crate menubar 0.0.2... [INFO] checking menubar-0.0.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate menubar 0.0.2 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate menubar 0.0.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-cursor v0.28.3 [INFO] [stderr] Downloaded malloc_buf v1.0.0 [INFO] [stderr] Downloaded wayland-commons v0.28.3 [INFO] [stderr] Downloaded wayland-scanner v0.28.3 [INFO] [stderr] Downloaded log v0.4.13 [INFO] [stderr] Downloaded objc2-foundation v0.2.0-alpha.2 [INFO] [stderr] Downloaded env_logger v0.8.2 [INFO] [stderr] Downloaded serde v1.0.122 [INFO] [stderr] Downloaded nom v6.1.0 [INFO] [stderr] Downloaded wayland-protocols v0.28.3 [INFO] [stderr] Downloaded wayland-client v0.28.3 [INFO] [stderr] Downloaded mio-misc v1.0.0 [INFO] [stderr] Downloaded wayland-sys v0.28.3 [INFO] [stderr] Downloaded objc2-encode v2.0.0-beta.0 [INFO] [stderr] Downloaded objc-sys v0.1.0 [INFO] [stderr] Downloaded block-sys v0.0.1 [INFO] [stderr] Downloaded block2 v0.2.0-alpha.1 [INFO] [stderr] Downloaded objc2 v0.3.0-alpha.4 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57e3602a92efc9e2ca5bd1d027bc0763e7c5cc06c10022a022d3ac45ca558050 [INFO] running `Command { std: "docker" "start" "-a" "57e3602a92efc9e2ca5bd1d027bc0763e7c5cc06c10022a022d3ac45ca558050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57e3602a92efc9e2ca5bd1d027bc0763e7c5cc06c10022a022d3ac45ca558050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57e3602a92efc9e2ca5bd1d027bc0763e7c5cc06c10022a022d3ac45ca558050", kill_on_drop: false }` [INFO] [stdout] 57e3602a92efc9e2ca5bd1d027bc0763e7c5cc06c10022a022d3ac45ca558050 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f099640504d78c1649009f6ed9dee24e5f45e15fda537d7b46df4451592b947 [INFO] running `Command { std: "docker" "start" "-a" "0f099640504d78c1649009f6ed9dee24e5f45e15fda537d7b46df4451592b947", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling wayland-sys v0.28.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling wayland-scanner v0.28.3 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Compiling nom v6.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking thread_local v1.1.2 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling wayland-client v0.28.3 [INFO] [stderr] Compiling wayland-protocols v0.28.3 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking mio-misc v1.0.0 [INFO] [stderr] Checking menubar v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Checking wayland-commons v0.28.3 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking wayland-cursor v0.28.3 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] error: could not compile `menubar` (example "macos_possible_api") due to 1 previous error [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [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: 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] [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] 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] [stderr] error: could not compile `menubar` (example "hello_world") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "0f099640504d78c1649009f6ed9dee24e5f45e15fda537d7b46df4451592b947", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f099640504d78c1649009f6ed9dee24e5f45e15fda537d7b46df4451592b947", kill_on_drop: false }` [INFO] [stdout] 0f099640504d78c1649009f6ed9dee24e5f45e15fda537d7b46df4451592b947