[INFO] fetching crate pcsclite-sys 0.1.2... [INFO] checking pcsclite-sys-0.1.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate pcsclite-sys 0.1.2 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate pcsclite-sys 0.1.2 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pcsclite-sys 0.1.2 [INFO] finished tweaking crates.io crate pcsclite-sys 0.1.2 [INFO] tweaked toml for crates.io crate pcsclite-sys 0.1.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5577f249442a71621bca19917376c3bc76646bab23c8d5ff575cb43c095e1733 [INFO] running `Command { std: "docker" "start" "-a" "5577f249442a71621bca19917376c3bc76646bab23c8d5ff575cb43c095e1733", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5577f249442a71621bca19917376c3bc76646bab23c8d5ff575cb43c095e1733", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5577f249442a71621bca19917376c3bc76646bab23c8d5ff575cb43c095e1733", kill_on_drop: false }` [INFO] [stdout] 5577f249442a71621bca19917376c3bc76646bab23c8d5ff575cb43c095e1733 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 842aa06b4099f2cf403547c31201c4b4b10ee3107a4afe65c11a81fb2f5ef4ff [INFO] running `Command { std: "docker" "start" "-a" "842aa06b4099f2cf403547c31201c4b4b10ee3107a4afe65c11a81fb2f5ef4ff", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling pcsclite-sys v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:260:45 [INFO] [stdout] | [INFO] [stdout] 260 | pub const MAX_BUFFER_SIZE_EXTENDED: usize = (4 + 3 + (1<<16) + 3 + 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 260 - pub const MAX_BUFFER_SIZE_EXTENDED: usize = (4 + 3 + (1<<16) + 3 + 2); [INFO] [stdout] 260 + pub const MAX_BUFFER_SIZE_EXTENDED: usize = 4 + 3 + (1<<16) + 3 + 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:260:45 [INFO] [stdout] | [INFO] [stdout] 260 | pub const MAX_BUFFER_SIZE_EXTENDED: usize = (4 + 3 + (1<<16) + 3 + 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 260 - pub const MAX_BUFFER_SIZE_EXTENDED: usize = (4 + 3 + (1<<16) + 3 + 2); [INFO] [stdout] 260 + pub const MAX_BUFFER_SIZE_EXTENDED: usize = 4 + 3 + (1<<16) + 3 + 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/lib.rs:313:14 [INFO] [stdout] | [INFO] [stdout] 313 | &g_rgSCardT0Pci as *const SCARD_IO_REQUEST as *const c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/lib.rs:314:14 [INFO] [stdout] | [INFO] [stdout] 314 | &g_rgSCardT1Pci as *const SCARD_IO_REQUEST as *const c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stdout] --> src/lib.rs:315:14 [INFO] [stdout] | [INFO] [stdout] 315 | &g_rgSCardRawPci as *const SCARD_IO_REQUEST as *const c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of extern static [INFO] [stdout] | [INFO] [stdout] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pcsclite-sys` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "842aa06b4099f2cf403547c31201c4b4b10ee3107a4afe65c11a81fb2f5ef4ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "842aa06b4099f2cf403547c31201c4b4b10ee3107a4afe65c11a81fb2f5ef4ff", kill_on_drop: false }` [INFO] [stdout] 842aa06b4099f2cf403547c31201c4b4b10ee3107a4afe65c11a81fb2f5ef4ff