[INFO] fetching crate desfire 0.2.0-alpha3... [INFO] testing desfire-0.2.0-alpha3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate desfire 0.2.0-alpha3 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate desfire 0.2.0-alpha3 [INFO] finished tweaking crates.io crate desfire 0.2.0-alpha3 [INFO] tweaked toml for crates.io crate desfire 0.2.0-alpha3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate desfire 0.2.0-alpha3 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 55 packages to latest compatible versions [INFO] [stderr] Adding aes v0.7.5 (available: v0.8.4) [INFO] [stderr] Adding block-modes v0.8.1 (available: v0.9.1) [INFO] [stderr] Adding des v0.7.0 (available: v0.8.1) [INFO] [stderr] Adding hex-literal v0.3.4 (available: v1.0.0) [INFO] [stderr] Adding mockall v0.11.4 (available: v0.13.1) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] [stderr] Adding simple-error v0.2.3 (available: v0.3.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple-error v0.2.3 [INFO] [stderr] Downloaded pcsc-sys v1.3.0 [INFO] [stderr] Downloaded pcsc v2.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5724d4cec7d564f86876ce2eb060ef5bfd32da0cbf6efe95f981a11fb89273e5 [INFO] running `Command { std: "docker" "start" "-a" "5724d4cec7d564f86876ce2eb060ef5bfd32da0cbf6efe95f981a11fb89273e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5724d4cec7d564f86876ce2eb060ef5bfd32da0cbf6efe95f981a11fb89273e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5724d4cec7d564f86876ce2eb060ef5bfd32da0cbf6efe95f981a11fb89273e5", kill_on_drop: false }` [INFO] [stdout] 5724d4cec7d564f86876ce2eb060ef5bfd32da0cbf6efe95f981a11fb89273e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f1b55baf2a2877cb9d243a35ee434e7c373da0e1ec1217f1a9e318c578390bdb [INFO] running `Command { std: "docker" "start" "-a" "f1b55baf2a2877cb9d243a35ee434e7c373da0e1ec1217f1a9e318c578390bdb", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling simple-error v0.2.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling des v0.7.0 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling desfire v0.2.0-alpha3 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/desfire/mod.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Copy, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ChangeApplicationKey` [INFO] [stdout] 6 | pub enum ChangeApplicationKey { [INFO] [stdout] | -------------------- `ChangeApplicationKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/iso7816_4/apdustatuswords.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_APDUStatusWord` [INFO] [stdout] 4 | #[repr(u16)] [INFO] [stdout] 5 | pub enum APDUStatusWord { [INFO] [stdout] | -------------- `APDUStatusWord` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/iso7816_4/apdustatuswords.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | #[derive(FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_APDUStatusWord2` [INFO] [stdout] 131 | #[repr(u8)] [INFO] [stdout] 132 | pub enum APDUStatusWord2 { [INFO] [stdout] | --------------- `APDUStatusWord2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (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 8.34s [INFO] running `Command { std: "docker" "inspect" "f1b55baf2a2877cb9d243a35ee434e7c373da0e1ec1217f1a9e318c578390bdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1b55baf2a2877cb9d243a35ee434e7c373da0e1ec1217f1a9e318c578390bdb", kill_on_drop: false }` [INFO] [stdout] f1b55baf2a2877cb9d243a35ee434e7c373da0e1ec1217f1a9e318c578390bdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c207dc2bbb3e43647d5b388d69bf9f95ca965c27e7acb7aa6f2d8601197a0ab2 [INFO] running `Command { std: "docker" "start" "-a" "c207dc2bbb3e43647d5b388d69bf9f95ca965c27e7acb7aa6f2d8601197a0ab2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling fragile v2.0.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling pcsc-sys v1.3.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] error: failed to run custom build command for `pcsc-sys v1.3.0` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/pcsc-sys-f1261f7a8d7038a2/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-env-changed=LIBPCSCLITE_NO_PKG_CONFIG [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64-unknown-linux-musl [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64_unknown_linux_musl [INFO] [stderr] cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-musl [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_musl [INFO] [stderr] cargo:rerun-if-env-changed=TARGET_PKG_CONFIG [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-musl [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_musl [INFO] [stderr] cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR [INFO] [stderr] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] Could not find a PCSC library. [INFO] [stderr] For the target OS `linux`, I tried to use pkg-config to find libpcsclite. [INFO] [stderr] The error given is: pkg-config has not been configured to support cross-compilation. [INFO] [stderr] [INFO] [stderr] Install a sysroot for the target platform and configure it via [INFO] [stderr] PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATH, or install a [INFO] [stderr] cross-compiling wrapper for pkg-config and set it via [INFO] [stderr] PKG_CONFIG environment variable. [INFO] [stderr] If you are using Debian (or a derivative), try: [INFO] [stderr] [INFO] [stderr] $ sudo apt install pkgconf libpcsclite-dev [INFO] [stderr] [INFO] [stderr] If you are using Arch (or a derivative), try: [INFO] [stderr] [INFO] [stderr] $ sudo pacman -S pkgconf pcsclite [INFO] [stderr] [INFO] [stderr] If you are using Fedora (or a derivative), try: [INFO] [stderr] [INFO] [stderr] $ sudo dnf install pkgconf pcsc-lite-devel [INFO] [stderr] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "c207dc2bbb3e43647d5b388d69bf9f95ca965c27e7acb7aa6f2d8601197a0ab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c207dc2bbb3e43647d5b388d69bf9f95ca965c27e7acb7aa6f2d8601197a0ab2", kill_on_drop: false }` [INFO] [stdout] c207dc2bbb3e43647d5b388d69bf9f95ca965c27e7acb7aa6f2d8601197a0ab2