[INFO] fetching crate efi 0.2.1... [INFO] checking efi-0.2.1 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate efi 0.2.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate efi 0.2.1 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate efi 0.2.1 [INFO] finished tweaking crates.io crate efi 0.2.1 [INFO] tweaked toml for crates.io crate efi 0.2.1 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate crates.io crate efi 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 108ff796255383051b2740e9a5f200171ab0fc7a154d7b6f835d76a327492f24 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "108ff796255383051b2740e9a5f200171ab0fc7a154d7b6f835d76a327492f24"` [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Checking efi v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0463]: can't find crate for `matches` [INFO] [stderr] --> src/net/dns/mod.rs:16:27 [INFO] [stderr] | [INFO] [stderr] 16 | #[cfg(test)] #[macro_use] extern crate matches; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0463`. [INFO] [stderr] error: could not compile `efi`. [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] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/ffi/pxebc.rs:176:9 [INFO] [stderr] | [INFO] [stderr] 176 | (self.BitField >> 8) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi/console.rs:67:29 [INFO] [stderr] | [INFO] [stderr] 67 | pub const EFI_CYAN: UINTN = (EFI_BLUE | EFI_GREEN); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi/console.rs:69:32 [INFO] [stderr] | [INFO] [stderr] 69 | pub const EFI_MAGENTA: UINTN = (EFI_BLUE | EFI_RED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi/console.rs:70:30 [INFO] [stderr] | [INFO] [stderr] 70 | pub const EFI_BROWN: UINTN = (EFI_GREEN | EFI_RED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi/console.rs:71:34 [INFO] [stderr] | [INFO] [stderr] 71 | pub const EFI_LIGHTGRAY: UINTN = (EFI_BLUE | EFI_GREEN | EFI_RED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi/console.rs:73:33 [INFO] [stderr] | [INFO] [stderr] 73 | pub const EFI_DARKGRAY: UINTN = (EFI_BRIGHT); [INFO] [stderr] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi/console.rs:74:34 [INFO] [stderr] | [INFO] [stderr] 74 | pub const EFI_LIGHTBLUE: UINTN = (EFI_BLUE | EFI_BRIGHT); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi/console.rs:75:35 [INFO] [stderr] | [INFO] [stderr] 75 | pub const EFI_LIGHTGREEN: UINTN = (EFI_GREEN | EFI_BRIGHT); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi/console.rs:76:34 [INFO] [stderr] | [INFO] [stderr] 76 | pub const EFI_LIGHTCYAN: UINTN = (EFI_CYAN | EFI_BRIGHT); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi/console.rs:77:33 [INFO] [stderr] | [INFO] [stderr] 77 | pub const EFI_LIGHTRED: UINTN = (EFI_RED | EFI_BRIGHT); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi/console.rs:78:37 [INFO] [stderr] | [INFO] [stderr] 78 | pub const EFI_LIGHTMAGENTA: UINTN = (EFI_MAGENTA | EFI_BRIGHT); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi/console.rs:79:31 [INFO] [stderr] | [INFO] [stderr] 79 | pub const EFI_YELLOW: UINTN = (EFI_BROWN | EFI_BRIGHT); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi/console.rs:80:30 [INFO] [stderr] | [INFO] [stderr] 80 | pub const EFI_WHITE: UINTN = (EFI_BLUE | EFI_GREEN | EFI_RED | EFI_BRIGHT); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi/console.rs:87:40 [INFO] [stderr] | [INFO] [stderr] 87 | pub const EFI_BACKGROUND_CYAN: UINTN = (EFI_BACKGROUND_BLUE | EFI_BACKGROUND_GREEN); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi/console.rs:89:43 [INFO] [stderr] | [INFO] [stderr] 89 | pub const EFI_BACKGROUND_MAGENTA: UINTN = (EFI_BACKGROUND_BLUE | EFI_BACKGROUND_RED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi/console.rs:90:41 [INFO] [stderr] | [INFO] [stderr] 90 | pub const EFI_BACKGROUND_BROWN: UINTN = (EFI_BACKGROUND_GREEN | EFI_BACKGROUND_RED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi/console.rs:91:45 [INFO] [stderr] | [INFO] [stderr] 91 | pub const EFI_BACKGROUND_LIGHTGRAY: UINTN = (EFI_BACKGROUND_BLUE | EFI_BACKGROUND_GREEN | EFI_BACKGROUND_RED); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi/mod.rs:26:51 [INFO] [stderr] | [INFO] [stderr] 26 | pub const EFI_2_31_SYSTEM_TABLE_REVISION: UINTN = ((2<<16) | (31)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi/mod.rs:27:51 [INFO] [stderr] | [INFO] [stderr] 27 | pub const EFI_2_30_SYSTEM_TABLE_REVISION: UINTN = ((2<<16) | (30)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi/mod.rs:28:51 [INFO] [stderr] | [INFO] [stderr] 28 | pub const EFI_2_20_SYSTEM_TABLE_REVISION: UINTN = ((2<<16) | (20)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi/mod.rs:29:51 [INFO] [stderr] | [INFO] [stderr] 29 | pub const EFI_2_10_SYSTEM_TABLE_REVISION: UINTN = ((2<<16) | (10)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi/mod.rs:30:51 [INFO] [stderr] | [INFO] [stderr] 30 | pub const EFI_2_00_SYSTEM_TABLE_REVISION: UINTN = ((2<<16) | (00)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi/mod.rs:31:51 [INFO] [stderr] | [INFO] [stderr] 31 | pub const EFI_1_10_SYSTEM_TABLE_REVISION: UINTN = ((1<<16) | (10)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/ffi/mod.rs:32:51 [INFO] [stderr] | [INFO] [stderr] 32 | pub const EFI_1_02_SYSTEM_TABLE_REVISION: UINTN = ((1<<16) | (02)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `usize` is invalid [INFO] [stderr] --> src/console.rs:382:28 [INFO] [stderr] | [INFO] [stderr] 382 | let five_percent = (expected_utf16_buf_size as f32 * 0.05) as usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 24 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `efi`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "108ff796255383051b2740e9a5f200171ab0fc7a154d7b6f835d76a327492f24"` [INFO] running `"docker" "rm" "-f" "108ff796255383051b2740e9a5f200171ab0fc7a154d7b6f835d76a327492f24"` [INFO] [stdout] 108ff796255383051b2740e9a5f200171ab0fc7a154d7b6f835d76a327492f24