[INFO] fetching crate pam-client 0.3.0... [INFO] testing pam-client-0.3.0 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate pam-client 0.3.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate pam-client 0.3.0 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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] a7c118e7e05fd00083d949254b1ac07fce38e6e3cb5cac9c01647e0890d30ad2 [INFO] running `Command { std: "docker" "start" "-a" "a7c118e7e05fd00083d949254b1ac07fce38e6e3cb5cac9c01647e0890d30ad2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7c118e7e05fd00083d949254b1ac07fce38e6e3cb5cac9c01647e0890d30ad2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7c118e7e05fd00083d949254b1ac07fce38e6e3cb5cac9c01647e0890d30ad2", kill_on_drop: false }` [INFO] [stdout] a7c118e7e05fd00083d949254b1ac07fce38e6e3cb5cac9c01647e0890d30ad2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a07244d2aef23a53ca3c6fd23b8da6972228d5338338f2753d581ee70139f574 [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" "a07244d2aef23a53ca3c6fd23b8da6972228d5338338f2753d581ee70139f574", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v1.2.0 [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 quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.7.1 [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" "a07244d2aef23a53ca3c6fd23b8da6972228d5338338f2753d581ee70139f574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a07244d2aef23a53ca3c6fd23b8da6972228d5338338f2753d581ee70139f574", kill_on_drop: false }` [INFO] [stdout] a07244d2aef23a53ca3c6fd23b8da6972228d5338338f2753d581ee70139f574