[INFO] crate pcsclite-sys 0.1.2 is already in cache [INFO] checking pcsclite-sys-0.1.2 against try#d7b51666469c792a8a3f40849607739bae1e705e for pr-71665 [INFO] extracting crate pcsclite-sys 0.1.2 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate pcsclite-sys 0.1.2 on toolchain d7b51666469c792a8a3f40849607739bae1e705e [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "read-manifest" "--manifest-path" "Cargo.toml"` [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-1/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 261e5284d079ca2ecc90b4ee63db0695eb75011b3289a977fe2f6cb819750e27 [INFO] running `"docker" "start" "-a" "261e5284d079ca2ecc90b4ee63db0695eb75011b3289a977fe2f6cb819750e27"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling pcsclite-sys v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/lib.rs:260:45 [INFO] [stderr] | [INFO] [stderr] 260 | pub const MAX_BUFFER_SIZE_EXTENDED: usize = (4 + 3 + (1<<16) + 3 + 2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/lib.rs:260:45 [INFO] [stderr] | [INFO] [stderr] 260 | pub const MAX_BUFFER_SIZE_EXTENDED: usize = (4 + 3 + (1<<16) + 3 + 2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stderr] --> src/lib.rs:313:13 [INFO] [stderr] | [INFO] [stderr] 313 | &g_rgSCardT0Pci as *const SCARD_IO_REQUEST as *const c_void, [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of extern static [INFO] [stderr] | [INFO] [stderr] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stderr] [INFO] [stderr] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stderr] --> src/lib.rs:314:13 [INFO] [stderr] | [INFO] [stderr] 314 | &g_rgSCardT1Pci as *const SCARD_IO_REQUEST as *const c_void, [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of extern static [INFO] [stderr] | [INFO] [stderr] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stderr] [INFO] [stderr] error[E0133]: use of extern static is unsafe and requires unsafe function or block [INFO] [stderr] --> src/lib.rs:315:13 [INFO] [stderr] | [INFO] [stderr] 315 | &g_rgSCardRawPci as *const SCARD_IO_REQUEST as *const c_void, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of extern static [INFO] [stderr] | [INFO] [stderr] = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0133`. [INFO] [stderr] error: could not compile `pcsclite-sys`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "261e5284d079ca2ecc90b4ee63db0695eb75011b3289a977fe2f6cb819750e27"` [INFO] running `"docker" "rm" "-f" "261e5284d079ca2ecc90b4ee63db0695eb75011b3289a977fe2f6cb819750e27"` [INFO] [stdout] 261e5284d079ca2ecc90b4ee63db0695eb75011b3289a977fe2f6cb819750e27