[INFO] fetching crate menubar 0.0.1... [INFO] testing menubar-0.0.1 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate menubar 0.0.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate menubar 0.0.1 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate menubar 0.0.1 [INFO] finished tweaking crates.io crate menubar 0.0.1 [INFO] tweaked toml for crates.io crate menubar 0.0.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate menubar 0.0.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nom v6.1.0 [INFO] [stderr] Downloaded serde v1.0.122 [INFO] [stderr] Downloaded thread_local v1.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3e5d0c654c6f7a2c5d2b4f097c838d0d64c4142d9a9426951e7dff1773436d63 [INFO] running `Command { std: "docker" "start" "-a" "3e5d0c654c6f7a2c5d2b4f097c838d0d64c4142d9a9426951e7dff1773436d63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e5d0c654c6f7a2c5d2b4f097c838d0d64c4142d9a9426951e7dff1773436d63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e5d0c654c6f7a2c5d2b4f097c838d0d64c4142d9a9426951e7dff1773436d63", kill_on_drop: false }` [INFO] [stdout] 3e5d0c654c6f7a2c5d2b4f097c838d0d64c4142d9a9426951e7dff1773436d63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf69bf8049f550f6f2fd4447cffc2d94b543ff34186733cdc8257b53f461315c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cf69bf8049f550f6f2fd4447cffc2d94b543ff34186733cdc8257b53f461315c", kill_on_drop: false }` [INFO] [stderr] Compiling menubar v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "cf69bf8049f550f6f2fd4447cffc2d94b543ff34186733cdc8257b53f461315c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf69bf8049f550f6f2fd4447cffc2d94b543ff34186733cdc8257b53f461315c", kill_on_drop: false }` [INFO] [stdout] cf69bf8049f550f6f2fd4447cffc2d94b543ff34186733cdc8257b53f461315c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47b1454fc2847a3ee683434c242a7e32824ad39fd3a03799d9c596ea031d7dd2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "47b1454fc2847a3ee683434c242a7e32824ad39fd3a03799d9c596ea031d7dd2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling thread_local v1.1.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling nom v6.1.0 [INFO] [stderr] Compiling wayland-scanner v0.28.3 [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 andrew v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.28.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [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 nix v0.18.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [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 winit v0.25.0 [INFO] [stderr] Compiling menubar v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `objc` [INFO] [stdout] --> examples/plain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use objc::rc::autoreleasepool; [INFO] [stdout] | ^^^^ use of undeclared crate or module `objc` [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] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `menubar` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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] [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[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] [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] [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] [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] [INFO] [stdout] error[E0425]: cannot find function `autoreleasepool` in this scope [INFO] [stdout] --> examples/plain.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | autoreleasepool(|_| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `autoreleasepool` in this scope [INFO] [stdout] --> examples/plain.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | autoreleasepool(|_| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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[E0283]: type annotations needed [INFO] [stdout] --> examples/hello_world.rs:318:10 [INFO] [stdout] | [INFO] [stdout] 318 | .with_inner_size(winit::dpi::LogicalSize::new(800, 640)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: Pixel` found in the `winit` crate: [INFO] [stdout] - impl Pixel for i16; [INFO] [stdout] - impl Pixel for i32; [INFO] [stdout] - impl Pixel for i8; [INFO] [stdout] - impl Pixel for u16; [INFO] [stdout] and 2 more [INFO] [stdout] = note: required because of the requirements on the impl of `From>` for `Size` [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `LogicalSize<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> examples/hello_world.rs:408:22 [INFO] [stdout] | [INFO] [stdout] 408 | .with_inner_size(winit::dpi::LogicalSize::new(800, 640)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: Pixel` found in the `winit` crate: [INFO] [stdout] - impl Pixel for i16; [INFO] [stdout] - impl Pixel for i32; [INFO] [stdout] - impl Pixel for i8; [INFO] [stdout] - impl Pixel for u16; [INFO] [stdout] and 2 more [INFO] [stdout] = note: required because of the requirements on the impl of `From>` for `Size` [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `LogicalSize<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0423, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "47b1454fc2847a3ee683434c242a7e32824ad39fd3a03799d9c596ea031d7dd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47b1454fc2847a3ee683434c242a7e32824ad39fd3a03799d9c596ea031d7dd2", kill_on_drop: false }` [INFO] [stdout] 47b1454fc2847a3ee683434c242a7e32824ad39fd3a03799d9c596ea031d7dd2