[INFO] fetching crate pam-client 0.3.0... [INFO] testing pam-client-0.3.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate pam-client 0.3.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate pam-client 0.3.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pam-client 0.3.0 [INFO] finished tweaking crates.io crate pam-client 0.3.0 [INFO] tweaked toml for crates.io crate pam-client 0.3.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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] 9355f94079aa4fe357bf3875663610d0d93f7fe46aef3bc51e6d1f2538f83d77 [INFO] running `Command { std: "docker" "start" "-a" "9355f94079aa4fe357bf3875663610d0d93f7fe46aef3bc51e6d1f2538f83d77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9355f94079aa4fe357bf3875663610d0d93f7fe46aef3bc51e6d1f2538f83d77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9355f94079aa4fe357bf3875663610d0d93f7fe46aef3bc51e6d1f2538f83d77", kill_on_drop: false }` [INFO] [stdout] 9355f94079aa4fe357bf3875663610d0d93f7fe46aef3bc51e6d1f2538f83d77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--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] a4ccf594ab31b25bbc6a4198ed03fd63db20c200c9e1a9bf44222eea20bf5bc5 [INFO] running `Command { std: "docker" "start" "-a" "a4ccf594ab31b25bbc6a4198ed03fd63db20c200c9e1a9bf44222eea20bf5bc5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling rpassword v5.0.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling enum-repr v0.2.6 [INFO] [stderr] Compiling pam-sys v1.0.0-alpha3 [INFO] [stderr] Compiling pam-client v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi.rs:185:4 [INFO] [stdout] | [INFO] [stdout] 182 | match message.msg_style as c_uint { [INFO] [stdout] | --------------------------- this expression has type `u32` [INFO] [stdout] ... [INFO] [stdout] 185 | pam_sys::PAM_BINARY_PROMPT => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi.rs:197:6 [INFO] [stdout] | [INFO] [stdout] 196 | let result = match message.msg_style as c_uint { [INFO] [stdout] | --------------------------- this expression has type `u32` [INFO] [stdout] 197 | pam_sys::PAM_PROMPT_ECHO_ON => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi.rs:201:6 [INFO] [stdout] | [INFO] [stdout] 196 | let result = match message.msg_style as c_uint { [INFO] [stdout] | --------------------------- this expression has type `u32` [INFO] [stdout] ... [INFO] [stdout] 201 | pam_sys::PAM_PROMPT_ECHO_OFF => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi.rs:205:6 [INFO] [stdout] | [INFO] [stdout] 196 | let result = match message.msg_style as c_uint { [INFO] [stdout] | --------------------------- this expression has type `u32` [INFO] [stdout] ... [INFO] [stdout] 205 | pam_sys::PAM_TEXT_INFO => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi.rs:210:6 [INFO] [stdout] | [INFO] [stdout] 196 | let result = match message.msg_style as c_uint { [INFO] [stdout] | --------------------------- this expression has type `u32` [INFO] [stdout] ... [INFO] [stdout] 210 | pam_sys::PAM_ERROR_MSG => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ffi.rs:216:6 [INFO] [stdout] | [INFO] [stdout] 196 | let result = match message.msg_style as c_uint { [INFO] [stdout] | --------------------------- this expression has type `u32` [INFO] [stdout] ... [INFO] [stdout] 216 | pam_sys::PAM_RADIO_TYPE => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pam-client` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a4ccf594ab31b25bbc6a4198ed03fd63db20c200c9e1a9bf44222eea20bf5bc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4ccf594ab31b25bbc6a4198ed03fd63db20c200c9e1a9bf44222eea20bf5bc5", kill_on_drop: false }` [INFO] [stdout] a4ccf594ab31b25bbc6a4198ed03fd63db20c200c9e1a9bf44222eea20bf5bc5