[INFO] cloning repository https://github.com/coastalwhite/libpam-sys [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/coastalwhite/libpam-sys" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoastalwhite%2Flibpam-sys", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoastalwhite%2Flibpam-sys'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c33b0ec91fc32435864d752eb665479cc4e6d6e9 [INFO] checking coastalwhite/libpam-sys against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoastalwhite%2Flibpam-sys" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/coastalwhite/libpam-sys [INFO] finished tweaking git repo https://github.com/coastalwhite/libpam-sys [INFO] tweaked toml for git repo https://github.com/coastalwhite/libpam-sys written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/coastalwhite/libpam-sys on toolchain 95813608313bff49cfc1afc393a946a3c085b772 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/coastalwhite/libpam-sys already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf407e6ab8fe08a0cc8cad19c6e2659d3cef4c94ddce6080bb56e05c6560bdf3 [INFO] running `Command { std: "docker" "start" "-a" "cf407e6ab8fe08a0cc8cad19c6e2659d3cef4c94ddce6080bb56e05c6560bdf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf407e6ab8fe08a0cc8cad19c6e2659d3cef4c94ddce6080bb56e05c6560bdf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf407e6ab8fe08a0cc8cad19c6e2659d3cef4c94ddce6080bb56e05c6560bdf3", kill_on_drop: false }` [INFO] [stdout] cf407e6ab8fe08a0cc8cad19c6e2659d3cef4c94ddce6080bb56e05c6560bdf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7029e7b9f3f6cd8c61942e3d9e300c09e3ec145c4eccc9b1a39a2f09a56bc69 [INFO] running `Command { std: "docker" "start" "-a" "b7029e7b9f3f6cd8c61942e3d9e300c09e3ec145c4eccc9b1a39a2f09a56bc69", kill_on_drop: false }` [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling libpam-sys v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: libpam-sys@0.1.0: No explicit PAM implementation given. Attempting to detect implementation. [INFO] [stderr] warning: libpam-sys@0.1.0: Detected implementation: `Linux-PAM`. [INFO] [stderr] warning: libpam-sys@0.1.0: Assuming implementation: `Linux-PAM` [INFO] [stdout] warning: unexpected `cfg` condition name: `pam_impl` [INFO] [stdout] --> src/lib.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(not(any(pam_impl = "linux-pam", pam_impl = "openpam")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(pam_impl, values("linux-pam"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(pam_impl, values(\"linux-pam\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `pam_impl` [INFO] [stdout] --> src/lib.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(not(any(pam_impl = "linux-pam", pam_impl = "openpam")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(pam_impl, values("openpam"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(pam_impl, values(\"openpam\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `pam_impl` [INFO] [stdout] --> src/lib.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | if cfg!(pam_impl = "linux-pam") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | / reexport_based_on_features! { [INFO] [stdout] 154 | | // XSSO 5.2 PAM Status Codes [INFO] [stdout] 155 | | [INFO] [stdout] 156 | | /// Successful function return [INFO] [stdout] ... | [INFO] [stdout] 327 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(pam_impl, values("linux-pam"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(pam_impl, values(\"linux-pam\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `reexport_based_on_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `pam_impl` [INFO] [stdout] --> src/lib.rs:142:32 [INFO] [stdout] | [INFO] [stdout] 142 | } else if cfg!(pam_impl = "openpam") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | / reexport_based_on_features! { [INFO] [stdout] 154 | | // XSSO 5.2 PAM Status Codes [INFO] [stdout] 155 | | [INFO] [stdout] 156 | | /// Successful function return [INFO] [stdout] ... | [INFO] [stdout] 327 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(pam_impl, values("openpam"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(pam_impl, values(\"openpam\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `reexport_based_on_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `pam_impl` [INFO] [stdout] --> src/lib.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(not(any(pam_impl = "linux-pam", pam_impl = "openpam")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(pam_impl, values("linux-pam"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(pam_impl, values(\"linux-pam\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `pam_impl` [INFO] [stdout] --> src/lib.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(not(any(pam_impl = "linux-pam", pam_impl = "openpam")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(pam_impl, values("openpam"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(pam_impl, values(\"openpam\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `pam_impl` [INFO] [stdout] --> src/lib.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | if cfg!(pam_impl = "linux-pam") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | / reexport_based_on_features! { [INFO] [stdout] 154 | | // XSSO 5.2 PAM Status Codes [INFO] [stdout] 155 | | [INFO] [stdout] 156 | | /// Successful function return [INFO] [stdout] ... | [INFO] [stdout] 327 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(pam_impl, values("linux-pam"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(pam_impl, values(\"linux-pam\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `reexport_based_on_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `pam_impl` [INFO] [stdout] --> src/lib.rs:142:32 [INFO] [stdout] | [INFO] [stdout] 142 | } else if cfg!(pam_impl = "openpam") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | / reexport_based_on_features! { [INFO] [stdout] 154 | | // XSSO 5.2 PAM Status Codes [INFO] [stdout] 155 | | [INFO] [stdout] 156 | | /// Successful function return [INFO] [stdout] ... | [INFO] [stdout] 327 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(pam_impl, values("openpam"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(pam_impl, values(\"openpam\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `reexport_based_on_features` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `Command { std: "docker" "inspect" "b7029e7b9f3f6cd8c61942e3d9e300c09e3ec145c4eccc9b1a39a2f09a56bc69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7029e7b9f3f6cd8c61942e3d9e300c09e3ec145c4eccc9b1a39a2f09a56bc69", kill_on_drop: false }` [INFO] [stdout] b7029e7b9f3f6cd8c61942e3d9e300c09e3ec145c4eccc9b1a39a2f09a56bc69