[INFO] crate pcsclite-sys 0.1.2 is already in cache [INFO] checking pcsclite-sys-0.1.2 against try#e6563ac70cbfd3196492061900e9e9793e065e4d for pr-69410 [INFO] extracting crate pcsclite-sys 0.1.2 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate pcsclite-sys 0.1.2 on toolchain e6563ac70cbfd3196492061900e9e9793e065e4d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e6563ac70cbfd3196492061900e9e9793e065e4d" "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-12/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+e6563ac70cbfd3196492061900e9e9793e065e4d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e6563ac70cbfd3196492061900e9e9793e065e4d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "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" "+e6563ac70cbfd3196492061900e9e9793e065e4d" "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] def9d86c59cb35ba6afa4651e23ce92a06aae581af57c49a5101a9f2f5a97678 [INFO] running `"docker" "start" "-a" "def9d86c59cb35ba6afa4651e23ce92a06aae581af57c49a5101a9f2f5a97678"` [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] 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] 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: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 [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] error: build failed [INFO] running `"docker" "inspect" "def9d86c59cb35ba6afa4651e23ce92a06aae581af57c49a5101a9f2f5a97678"` [INFO] running `"docker" "rm" "-f" "def9d86c59cb35ba6afa4651e23ce92a06aae581af57c49a5101a9f2f5a97678"` [INFO] [stdout] def9d86c59cb35ba6afa4651e23ce92a06aae581af57c49a5101a9f2f5a97678