[INFO] fetching crate rusty-keys 0.0.2... [INFO] checking rusty-keys-0.0.2 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate rusty-keys 0.0.2 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate rusty-keys 0.0.2 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rusty-keys 0.0.2 [INFO] finished tweaking crates.io crate rusty-keys 0.0.2 [INFO] tweaked toml for crates.io crate rusty-keys 0.0.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding libudev v0.2.0 (available: v0.3.0) [INFO] [stderr] Adding nix v0.5.1 (available: v0.29.0) [INFO] [stderr] Adding toml v0.4.10 (available: v0.8.19) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libudev v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0132d5c487b3a597c76bb6916e74ae4fd127e349a2685e1c9a0f1390c5ce868 [INFO] running `Command { std: "docker" "start" "-a" "b0132d5c487b3a597c76bb6916e74ae4fd127e349a2685e1c9a0f1390c5ce868", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0132d5c487b3a597c76bb6916e74ae4fd127e349a2685e1c9a0f1390c5ce868", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0132d5c487b3a597c76bb6916e74ae4fd127e349a2685e1c9a0f1390c5ce868", kill_on_drop: false }` [INFO] [stdout] b0132d5c487b3a597c76bb6916e74ae4fd127e349a2685e1c9a0f1390c5ce868 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa748822df071e2bf4e3a55c2a219175d17ef51ffeaf86d59ac87a7af083fa97 [INFO] running `Command { std: "docker" "start" "-a" "fa748822df071e2bf4e3a55c2a219175d17ef51ffeaf86d59ac87a7af083fa97", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Checking ioctl-sys v0.5.2 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking uinput-sys v0.1.7 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Checking rusty-keys v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/device/builder.rs:97:26 [INFO] [stdout] | [INFO] [stdout] 97 | ui_set_evbit(self.fd, EV_KEY as *const c_int)?; [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `*const i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found raw pointer `*const i32` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uinput-sys-0.1.7/src/lib.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | uin!(write ui_set_evbit with b'U', 100; c_int); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/device/builder.rs:97:26 [INFO] [stdout] | [INFO] [stdout] 97 | ui_set_evbit(self.fd, EV_KEY as *const c_int)?; [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `*const i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found raw pointer `*const i32` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uinput-sys-0.1.7/src/lib.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | uin!(write ui_set_evbit with b'U', 100; c_int); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/device/builder.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | ui_set_evbit(self.fd, EV_KEY as *const c_int)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/device/builder.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | ui_set_evbit(self.fd, EV_KEY as *const c_int)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/device/builder.rs:100:28 [INFO] [stdout] | [INFO] [stdout] 100 | ui_set_keybit(self.fd, *key_code)?; [INFO] [stdout] | ------------- ^^^^^^^^^ expected `i32`, found `*const i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found raw pointer `*const i32` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uinput-sys-0.1.7/src/lib.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | uin!(write ui_set_keybit with b'U', 101; c_int); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/device/builder.rs:100:28 [INFO] [stdout] | [INFO] [stdout] 100 | ui_set_keybit(self.fd, *key_code)?; [INFO] [stdout] | ------------- ^^^^^^^^^ expected `i32`, found `*const i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found raw pointer `*const i32` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uinput-sys-0.1.7/src/lib.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | uin!(write ui_set_keybit with b'U', 101; c_int); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/device/builder.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | ui_set_keybit(self.fd, *key_code)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/device/builder.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | ui_set_keybit(self.fd, *key_code)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/device/builder.rs:282:4 [INFO] [stdout] | [INFO] [stdout] 282 | try!(ui_dev_create(self.fd)); [INFO] [stdout] | ^^^^^----------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | this expression has type `i32` [INFO] [stdout] | expected `i32`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/device/builder.rs:282:4 [INFO] [stdout] | [INFO] [stdout] 282 | try!(ui_dev_create(self.fd)); [INFO] [stdout] | ^^^^^----------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | this expression has type `i32` [INFO] [stdout] | expected `i32`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/device/builder.rs:282:4 [INFO] [stdout] | [INFO] [stdout] 282 | try!(ui_dev_create(self.fd)); [INFO] [stdout] | ^^^^^----------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | this expression has type `i32` [INFO] [stdout] | expected `i32`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/device/builder.rs:282:4 [INFO] [stdout] | [INFO] [stdout] 282 | try!(ui_dev_create(self.fd)); [INFO] [stdout] | ^^^^^----------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | this expression has type `i32` [INFO] [stdout] | expected `i32`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for type `i32` in the current scope [INFO] [stdout] --> src/device/device.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | ui_dev_destroy(self.fd).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for type `i32` in the current scope [INFO] [stdout] --> src/device/device.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | ui_dev_destroy(self.fd).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-keys` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rusty-keys` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "fa748822df071e2bf4e3a55c2a219175d17ef51ffeaf86d59ac87a7af083fa97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa748822df071e2bf4e3a55c2a219175d17ef51ffeaf86d59ac87a7af083fa97", kill_on_drop: false }` [INFO] [stdout] fa748822df071e2bf4e3a55c2a219175d17ef51ffeaf86d59ac87a7af083fa97