[INFO] fetching crate breadx 0.1.11... [INFO] checking breadx-0.1.11 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate breadx 0.1.11 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate breadx 0.1.11 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate breadx 0.1.11 [INFO] finished tweaking crates.io crate breadx 0.1.11 [INFO] tweaked toml for crates.io crate breadx 0.1.11 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate breadx 0.1.11 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 377f81d015bb83b18a9a74e5bb13491e6a4b917042b2785689e9d1640ce88ea7 [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" "377f81d015bb83b18a9a74e5bb13491e6a4b917042b2785689e9d1640ce88ea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "377f81d015bb83b18a9a74e5bb13491e6a4b917042b2785689e9d1640ce88ea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "377f81d015bb83b18a9a74e5bb13491e6a4b917042b2785689e9d1640ce88ea7", kill_on_drop: false }` [INFO] [stdout] 377f81d015bb83b18a9a74e5bb13491e6a4b917042b2785689e9d1640ce88ea7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 8f37fbf43126446145e29b7b1010d04bef586df6576e0904147e99e94ef7e469 [INFO] running `Command { std: "docker" "start" "-a" "8f37fbf43126446145e29b7b1010d04bef586df6576e0904147e99e94ef7e469", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking fastrand v1.4.0 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Checking vec-arena v1.0.0 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ahash v0.4.6 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking ref_slice v1.2.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking cty v0.2.1 [INFO] [stderr] Checking easy-parallel v3.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking async-lock v2.3.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Checking futures-lite v1.11.2 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Checking async-fs v1.5.0 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking nix v0.19.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking async-io v1.3.1 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Checking async-net v1.5.0 [INFO] [stderr] Checking async-process v1.0.1 [INFO] [stderr] Checking smol v1.2.5 [INFO] [stderr] Checking breadx v0.1.11 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `async_io` [INFO] [stdout] --> examples/async.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use async_io::Timer; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `async_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures_lite` [INFO] [stdout] --> examples/async.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use futures_lite::{future, FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_lite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `XidType` [INFO] [stdout] --> examples/basic.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | WindowClass, WindowParameters, XidType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_io` [INFO] [stdout] --> examples/async.rs:188:25 [INFO] [stdout] | [INFO] [stdout] 188 | .each(0..2, |_| async_io::block_on(ex.run(shutdown.recv()))) [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `async_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_io` [INFO] [stdout] --> examples/async.rs:190:23 [INFO] [stdout] | [INFO] [stdout] 190 | let res = async_io::block_on(entry(&ex)); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `async_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_visual_configs_immediate` found for struct `breadx::Display` in the current scope [INFO] [stdout] --> examples/glx_testing.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | let cfg = conn.get_visual_configs_immediate(conn.default_screen_index())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `breadx::Display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_fb_configs_immediate` found for struct `breadx::Display` in the current scope [INFO] [stdout] --> examples/glx_testing.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | let cfg = conn.get_fb_configs_immediate(conn.default_screen_index())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `breadx::Display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/glx_testing.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 41 | / loop { [INFO] [stdout] 42 | | let ev = conn.wait_for_event()?; [INFO] [stdout] 43 | | println!("{:?}", ev); [INFO] [stdout] 44 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 45 | [INFO] [stdout] 46 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_async` found for struct `breadx::Display` in the current scope [INFO] [stdout] --> examples/async.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | let mut conn = DisplayConnection::create_async(None, None).await?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `breadx::Display` [INFO] [stdout] | help: there is an associated function with a similar name: `create_gc` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `breadx` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `or` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> examples/async.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | .or(async { MainLoopDirective::ProcessingEvent(conn.wait_for_event_async().await) }) [INFO] [stdout] | ^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 6 | use smol::future::FutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/async.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | 0, [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/async.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | let win = conn [INFO] [stdout] | _______________^ [INFO] [stdout] 60 | | .create_simple_window_async( [INFO] [stdout] 61 | | conn.default_screen().root, [INFO] [stdout] 62 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 69 | | ) [INFO] [stdout] 70 | | .await?; [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/async.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | 0, [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/async.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | let win = conn [INFO] [stdout] | _______________^ [INFO] [stdout] 60 | | .create_simple_window_async( [INFO] [stdout] 61 | | conn.default_screen().root, [INFO] [stdout] 62 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 69 | | ) [INFO] [stdout] 70 | | .await?; [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> examples/async.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | 0, [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> examples/async.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | let win = conn [INFO] [stdout] | _______________^ [INFO] [stdout] 60 | | .create_simple_window_async( [INFO] [stdout] 61 | | conn.default_screen().root, [INFO] [stdout] 62 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 69 | | ) [INFO] [stdout] 70 | | .await?; [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8f37fbf43126446145e29b7b1010d04bef586df6576e0904147e99e94ef7e469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f37fbf43126446145e29b7b1010d04bef586df6576e0904147e99e94ef7e469", kill_on_drop: false }` [INFO] [stdout] 8f37fbf43126446145e29b7b1010d04bef586df6576e0904147e99e94ef7e469