[INFO] fetching crate libgcrypt-sys 0.7.0... [INFO] checking libgcrypt-sys-0.7.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate libgcrypt-sys 0.7.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate libgcrypt-sys 0.7.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libgcrypt-sys 0.7.0 [INFO] finished tweaking crates.io crate libgcrypt-sys 0.7.0 [INFO] tweaked toml for crates.io crate libgcrypt-sys 0.7.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding libgpg-error-sys v0.5.2 (latest: v0.6.1) [INFO] [stderr] Adding winreg v0.7.0 (latest: v0.52.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63b01acea5e5e6166d68b33a95dbf141b4a526928a4c0e7667ea77685a543be6 [INFO] running `Command { std: "docker" "start" "-a" "63b01acea5e5e6166d68b33a95dbf141b4a526928a4c0e7667ea77685a543be6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63b01acea5e5e6166d68b33a95dbf141b4a526928a4c0e7667ea77685a543be6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63b01acea5e5e6166d68b33a95dbf141b4a526928a4c0e7667ea77685a543be6", kill_on_drop: false }` [INFO] [stdout] 63b01acea5e5e6166d68b33a95dbf141b4a526928a4c0e7667ea77685a543be6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3aa3f3b3f81f1acb3c4d1bb780e8253b4cc73daefa532cbdfae7c78d37b9df7 [INFO] running `Command { std: "docker" "start" "-a" "d3aa3f3b3f81f1acb3c4d1bb780e8253b4cc73daefa532cbdfae7c78d37b9df7", kill_on_drop: false }` [INFO] [stderr] Compiling libgpg-error-sys v0.5.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libgcrypt-sys v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `ctest` [INFO] [stdout] --> lib.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(not(ctest))] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [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(ctest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ctest)");` 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: `ctest` [INFO] [stdout] --> consts.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(not(ctest))] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [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(ctest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ctest)");` 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: `ctest` [INFO] [stdout] --> consts.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(not(ctest))] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [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(ctest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ctest)");` 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: `ctest` [INFO] [stdout] --> consts.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(not(ctest))] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [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(ctest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ctest)");` 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: unnecessary parentheses around assigned value [INFO] [stdout] --> consts.rs:175:40 [INFO] [stdout] | [INFO] [stdout] 175 | pub const GCRY_GCM_BLOCK_LEN: c_uint = (128 / 8); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 175 - pub const GCRY_GCM_BLOCK_LEN: c_uint = (128 / 8); [INFO] [stdout] 175 + pub const GCRY_GCM_BLOCK_LEN: c_uint = 128 / 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> consts.rs:176:40 [INFO] [stdout] | [INFO] [stdout] 176 | pub const GCRY_CCM_BLOCK_LEN: c_uint = (128 / 8); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 176 - pub const GCRY_CCM_BLOCK_LEN: c_uint = (128 / 8); [INFO] [stdout] 176 + pub const GCRY_CCM_BLOCK_LEN: c_uint = 128 / 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> consts.rs:177:40 [INFO] [stdout] | [INFO] [stdout] 177 | pub const GCRY_OCB_BLOCK_LEN: c_uint = (128 / 8); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 177 - pub const GCRY_OCB_BLOCK_LEN: c_uint = (128 / 8); [INFO] [stdout] 177 + pub const GCRY_OCB_BLOCK_LEN: c_uint = 128 / 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> consts.rs:308:44 [INFO] [stdout] | [INFO] [stdout] 308 | pub const GCRY_PRIME_FLAG_SECRET: c_uint = (1 << 0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 308 - pub const GCRY_PRIME_FLAG_SECRET: c_uint = (1 << 0); [INFO] [stdout] 308 + pub const GCRY_PRIME_FLAG_SECRET: c_uint = 1 << 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> consts.rs:309:52 [INFO] [stdout] | [INFO] [stdout] 309 | pub const GCRY_PRIME_FLAG_SPECIAL_FACTOR: c_uint = (1 << 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 309 - pub const GCRY_PRIME_FLAG_SPECIAL_FACTOR: c_uint = (1 << 1); [INFO] [stdout] 309 + pub const GCRY_PRIME_FLAG_SPECIAL_FACTOR: c_uint = 1 << 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ctest` [INFO] [stdout] --> lib.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(not(ctest))] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [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(ctest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ctest)");` 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: `ctest` [INFO] [stdout] --> consts.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(not(ctest))] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [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(ctest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ctest)");` 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: `ctest` [INFO] [stdout] --> consts.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(not(ctest))] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [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(ctest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ctest)");` 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: `ctest` [INFO] [stdout] --> consts.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(not(ctest))] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [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(ctest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ctest)");` 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: unnecessary parentheses around assigned value [INFO] [stdout] --> consts.rs:175:40 [INFO] [stdout] | [INFO] [stdout] 175 | pub const GCRY_GCM_BLOCK_LEN: c_uint = (128 / 8); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 175 - pub const GCRY_GCM_BLOCK_LEN: c_uint = (128 / 8); [INFO] [stdout] 175 + pub const GCRY_GCM_BLOCK_LEN: c_uint = 128 / 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> consts.rs:176:40 [INFO] [stdout] | [INFO] [stdout] 176 | pub const GCRY_CCM_BLOCK_LEN: c_uint = (128 / 8); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 176 - pub const GCRY_CCM_BLOCK_LEN: c_uint = (128 / 8); [INFO] [stdout] 176 + pub const GCRY_CCM_BLOCK_LEN: c_uint = 128 / 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> consts.rs:177:40 [INFO] [stdout] | [INFO] [stdout] 177 | pub const GCRY_OCB_BLOCK_LEN: c_uint = (128 / 8); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 177 - pub const GCRY_OCB_BLOCK_LEN: c_uint = (128 / 8); [INFO] [stdout] 177 + pub const GCRY_OCB_BLOCK_LEN: c_uint = 128 / 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> consts.rs:308:44 [INFO] [stdout] | [INFO] [stdout] 308 | pub const GCRY_PRIME_FLAG_SECRET: c_uint = (1 << 0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 308 - pub const GCRY_PRIME_FLAG_SECRET: c_uint = (1 << 0); [INFO] [stdout] 308 + pub const GCRY_PRIME_FLAG_SECRET: c_uint = 1 << 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> consts.rs:309:52 [INFO] [stdout] | [INFO] [stdout] 309 | pub const GCRY_PRIME_FLAG_SPECIAL_FACTOR: c_uint = (1 << 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 309 - pub const GCRY_PRIME_FLAG_SPECIAL_FACTOR: c_uint = (1 << 1); [INFO] [stdout] 309 + pub const GCRY_PRIME_FLAG_SPECIAL_FACTOR: c_uint = 1 << 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.81s [INFO] running `Command { std: "docker" "inspect" "d3aa3f3b3f81f1acb3c4d1bb780e8253b4cc73daefa532cbdfae7c78d37b9df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3aa3f3b3f81f1acb3c4d1bb780e8253b4cc73daefa532cbdfae7c78d37b9df7", kill_on_drop: false }` [INFO] [stdout] d3aa3f3b3f81f1acb3c4d1bb780e8253b4cc73daefa532cbdfae7c78d37b9df7