[INFO] fetching crate nfc1 0.6.0... [INFO] testing nfc1-0.6.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate nfc1 0.6.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate nfc1 0.6.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate nfc1 0.6.0 [INFO] tweaked toml for crates.io crate nfc1 0.6.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nfc1 0.6.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nfc1 0.6.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded usb-compat-01-sys v0.2.6 [INFO] [stderr] Downloaded mrtd1 v0.1.2 [INFO] [stderr] Downloaded nfc1 v0.5.2 [INFO] [stderr] Downloaded iso7816-tlv v0.4.4 [INFO] [stderr] Downloaded find-winsdk v0.2.0 [INFO] [stderr] Downloaded libusb1-sys v0.5.0 [INFO] [stderr] Downloaded nfc1-sys v0.3.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09dcbe6bcbaeca636b5942df6b2cb83987da885aa32fd8dff8a1a2f522628119 [INFO] running `Command { std: "docker" "start" "-a" "09dcbe6bcbaeca636b5942df6b2cb83987da885aa32fd8dff8a1a2f522628119", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09dcbe6bcbaeca636b5942df6b2cb83987da885aa32fd8dff8a1a2f522628119", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09dcbe6bcbaeca636b5942df6b2cb83987da885aa32fd8dff8a1a2f522628119", kill_on_drop: false }` [INFO] [stdout] 09dcbe6bcbaeca636b5942df6b2cb83987da885aa32fd8dff8a1a2f522628119 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9204a9ea0e0430dbb7d623a1eaad6a29b1bd80a6f7f778339daed386374aee9a [INFO] running `Command { std: "docker" "start" "-a" "9204a9ea0e0430dbb7d623a1eaad6a29b1bd80a6f7f778339daed386374aee9a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling libloading v0.8.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling libusb1-sys v0.5.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling usb-compat-01-sys v0.2.6 [INFO] [stderr] Compiling nfc1-sys v0.3.9 [INFO] [stderr] Compiling nfc1 v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.50s [INFO] running `Command { std: "docker" "inspect" "9204a9ea0e0430dbb7d623a1eaad6a29b1bd80a6f7f778339daed386374aee9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9204a9ea0e0430dbb7d623a1eaad6a29b1bd80a6f7f778339daed386374aee9a", kill_on_drop: false }` [INFO] [stdout] 9204a9ea0e0430dbb7d623a1eaad6a29b1bd80a6f7f778339daed386374aee9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a3aa7936edd40dd25b28d1726dcb674177c042a465ca8d882af7faa98fcd350 [INFO] running `Command { std: "docker" "start" "-a" "3a3aa7936edd40dd25b28d1726dcb674177c042a465ca8d882af7faa98fcd350", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling libloading v0.8.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling iso7816-tlv v0.4.4 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling des v0.8.1 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling usb-compat-01-sys v0.2.6 [INFO] [stderr] Compiling nfc1-sys v0.3.9 [INFO] [stderr] Compiling nfc1 v0.5.2 [INFO] [stderr] Compiling nfc1 v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling mrtd1 v0.1.2 [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> examples/dl533n_cs_test_capabilities.rs:88:74 [INFO] [stdout] | [INFO] [stdout] 88 | fn dl533n_connect<'a>(context: &'a mut nfc1::Context) -> BoxResult> { [INFO] [stdout] | ^^^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/workdir/src/device.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Device { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pn53x_write_register` found for mutable reference `&mut Device` in the current scope [INFO] [stdout] --> examples/dl533n_cs_test_capabilities.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | device.pn53x_write_register(0xfff7, 0b00000001, 0x01)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pn53x_write_register` found for mutable reference `&mut Device` in the current scope [INFO] [stdout] --> examples/dl533n_cs_test_capabilities.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | device.pn53x_write_register(0xfff7, 0b00000001, 0x00)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pn53x_write_register` found for mutable reference `&mut Device` in the current scope [INFO] [stdout] --> examples/dl533n_cs_test_capabilities.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | device.pn53x_write_register(0xffb0, 0b00100000, 0x20)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pn53x_write_register` found for mutable reference `&mut Device` in the current scope [INFO] [stdout] --> examples/dl533n_cs_test_capabilities.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | device.pn53x_write_register(0xffb0, 0b00100000, 0x00)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pn53x_write_register` found for mutable reference `&mut Device` in the current scope [INFO] [stdout] --> examples/dl533n_cs_test_capabilities.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | device.pn53x_write_register(0xffb0, 0b00010000, 0x10)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pn53x_write_register` found for mutable reference `&mut Device` in the current scope [INFO] [stdout] --> examples/dl533n_cs_test_capabilities.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | device.pn53x_write_register(0xffb0, 0b00010000, 0x00)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pn53x_write_register` found for mutable reference `&mut Device` in the current scope [INFO] [stdout] --> examples/dl533n_cs_test_capabilities.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | device.pn53x_write_register(0xffb0, 0xff, 0x00)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pn53x_write_register` found for mutable reference `&mut Device` in the current scope [INFO] [stdout] --> examples/dl533n_cs_test_capabilities.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | device.pn53x_write_register(0xfff7, 0xff, 0x00)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pn53x_write_register` found for mutable reference `&mut Device` in the current scope [INFO] [stdout] --> examples/dl533n_cs_test_capabilities.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | device.pn53x_write_register(0x6106, 0xff, 0x1b)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/read_mrtd.rs:68:48 [INFO] [stdout] | [INFO] [stdout] 68 | let mut bac_res = mrtd1::auth::bac::handshake(&mut device, &mrz)?; [INFO] [stdout] | --------------------------- ^^^^^^^^^^^ expected `&mut Device<'_>`, found `&mut Device` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `nfc1` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/workdir/src/device.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Device { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the found type `Device` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-0.5.2/src/device.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Device<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this is the expected type `nfc1::device::Device` [INFO] [stdout] | [INFO] [stdout] ::: examples/read_mrtd.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use mrtd1::mrz::normalize_mrz_string; [INFO] [stdout] | ----- one version of crate `nfc1` used here, as a dependency of crate `mrtd1` [INFO] [stdout] ... [INFO] [stdout] 28 | let mut context = nfc1::Context::new()?; [INFO] [stdout] | ---- one version of crate `nfc1` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrtd1-0.1.2/src/auth/bac.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn handshake(device: &mut nfc1::Device, mrz: &Mrz) -> BoxResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/read_mrtd.rs:73:42 [INFO] [stdout] | [INFO] [stdout] 73 | let contents = mrtd1::files::read_file(&mut device, &bac_res.ks_mac, &bac_res.ks_enc, &mut bac_res.ssc, file)?; [INFO] [stdout] | ----------------------- ^^^^^^^^^^^ expected `&mut Device<'_>`, found `&mut Device` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `nfc1` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/workdir/src/device.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Device { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the found type `Device` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-0.5.2/src/device.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Device<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this is the expected type `nfc1::device::Device` [INFO] [stdout] | [INFO] [stdout] ::: examples/read_mrtd.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use mrtd1::mrz::normalize_mrz_string; [INFO] [stdout] | ----- one version of crate `nfc1` used here, as a dependency of crate `mrtd1` [INFO] [stdout] ... [INFO] [stdout] 28 | let mut context = nfc1::Context::new()?; [INFO] [stdout] | ---- one version of crate `nfc1` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrtd1-0.1.2/src/files/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn read_file(device: &mut nfc1::Device, ks_mac: &[u8], ks_enc: &[u8], ssc: &mut u64, file: &File) -> BoxResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcfo1UBv/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libnfc1-0d8a7b2176d9f21b,libnfc1_sys-53212f0c61bf13cf}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-ludev" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcfo1UBv/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/nfc1-sys-a0b76fb8b87c420f/out/build/libnfc" "-L" "/opt/rustwide/target/debug/build/libusb1-sys-15d54ba0d5dc42f6/out" "-L" "/opt/rustwide/target/debug/build/usb-compat-01-sys-369d81bed0c91d5e/out" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/list_readers-430514b5781a6825" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: usb_bulk_read [INFO] [stdout] >>> referenced by acr122_usb.c:223 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:223) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_bulk_read) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by pn53x_usb.c:99 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/pn53x_usb.c:99) [INFO] [stdout] >>> pn53x_usb.c.o:(pn53x_usb_bulk_read) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_bulk_write [INFO] [stdout] >>> referenced by acr122_usb.c:241 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:241) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_bulk_write) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by acr122_usb.c:245 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:245) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_bulk_write) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by pn53x_usb.c:113 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/pn53x_usb.c:113) [INFO] [stdout] >>> pn53x_usb.c.o:(pn53x_usb_bulk_write) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced 1 more times [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_get_busses [INFO] [stdout] >>> referenced by acr122_usb.c:310 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:310) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_scan) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by acr122_usb.c:407 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:407) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_open) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by pn53x_usb.c:302 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/pn53x_usb.c:302) [INFO] [stdout] >>> pn53x_usb.c.o:(pn53x_usb_scan) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced 1 more times [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_open [INFO] [stdout] >>> referenced by acr122_usb.c:328 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:328) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_scan) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by acr122_usb.c:420 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:420) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_open) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by pn53x_usb.c:326 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/pn53x_usb.c:326) [INFO] [stdout] >>> pn53x_usb.c.o:(pn53x_usb_scan) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced 1 more times [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_close [INFO] [stdout] >>> referenced by acr122_usb.c:335 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:335) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_scan) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by acr122_usb.c:430 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:430) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_open) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by acr122_usb.c:440 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:440) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_open) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced 8 more times [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_get_string_simple [INFO] [stdout] >>> referenced by acr122_usb.c:365 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:365) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_get_usb_device_name) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by acr122_usb.c:368 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:368) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_get_usb_device_name) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by pn53x_usb.c:371 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/pn53x_usb.c:371) [INFO] [stdout] >>> pn53x_usb.c.o:(pn53x_usb_get_usb_device_name) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced 1 more times [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_reset [INFO] [stdout] >>> referenced by acr122_usb.c:423 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:423) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_open) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_claim_interface [INFO] [stdout] >>> referenced by acr122_usb.c:427 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:427) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_open) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by pn53x_usb.c:451 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/pn53x_usb.c:451) [INFO] [stdout] >>> pn53x_usb.c.o:(pn53x_usb_open) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_set_altinterface [INFO] [stdout] >>> referenced by acr122_usb.c:437 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:437) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_open) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_release_interface [INFO] [stdout] >>> referenced by acr122_usb.c:500 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:500) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_close) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by pn53x_usb.c:547 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/pn53x_usb.c:547) [INFO] [stdout] >>> pn53x_usb.c.o:(pn53x_usb_close) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_init [INFO] [stdout] >>> referenced by usbbus.c:58 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/buses/usbbus.c:58) [INFO] [stdout] >>> usbbus.c.o:(usb_prepare) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_find_busses [INFO] [stdout] >>> referenced by usbbus.c:66 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/buses/usbbus.c:66) [INFO] [stdout] >>> usbbus.c.o:(usb_prepare) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_find_devices [INFO] [stdout] >>> referenced by usbbus.c:73 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/buses/usbbus.c:73) [INFO] [stdout] >>> usbbus.c.o:(usb_prepare) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_set_configuration [INFO] [stdout] >>> referenced by pn53x_usb.c:331 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/pn53x_usb.c:331) [INFO] [stdout] >>> pn53x_usb.c.o:(pn53x_usb_scan) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by pn53x_usb.c:440 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/pn53x_usb.c:440) [INFO] [stdout] >>> pn53x_usb.c.o:(pn53x_usb_open) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nfc1` (example "list_readers") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `nfc1` (example "read_mrtd") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0107, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nfc1` (example "dl533n_cs_test_capabilities") due to 10 previous errors [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustckk1JDp/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libnfc1-0d8a7b2176d9f21b,libnfc1_sys-53212f0c61bf13cf}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-ludev" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustckk1JDp/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/nfc1-sys-a0b76fb8b87c420f/out/build/libnfc" "-L" "/opt/rustwide/target/debug/build/libusb1-sys-15d54ba0d5dc42f6/out" "-L" "/opt/rustwide/target/debug/build/usb-compat-01-sys-369d81bed0c91d5e/out" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/detect_magic_target-5edbcd66fba8aaf0" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: usb_bulk_read [INFO] [stdout] >>> referenced by acr122_usb.c:223 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:223) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_bulk_read) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by pn53x_usb.c:99 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/pn53x_usb.c:99) [INFO] [stdout] >>> pn53x_usb.c.o:(pn53x_usb_bulk_read) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_bulk_write [INFO] [stdout] >>> referenced by acr122_usb.c:241 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:241) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_bulk_write) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by acr122_usb.c:245 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:245) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_bulk_write) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by pn53x_usb.c:113 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/pn53x_usb.c:113) [INFO] [stdout] >>> pn53x_usb.c.o:(pn53x_usb_bulk_write) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced 1 more times [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_get_busses [INFO] [stdout] >>> referenced by acr122_usb.c:310 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:310) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_scan) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by acr122_usb.c:407 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:407) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_open) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by pn53x_usb.c:302 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/pn53x_usb.c:302) [INFO] [stdout] >>> pn53x_usb.c.o:(pn53x_usb_scan) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced 1 more times [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_open [INFO] [stdout] >>> referenced by acr122_usb.c:328 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:328) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_scan) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by acr122_usb.c:420 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:420) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_open) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by pn53x_usb.c:326 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/pn53x_usb.c:326) [INFO] [stdout] >>> pn53x_usb.c.o:(pn53x_usb_scan) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced 1 more times [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_close [INFO] [stdout] >>> referenced by acr122_usb.c:335 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:335) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_scan) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by acr122_usb.c:430 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:430) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_open) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by acr122_usb.c:440 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:440) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_open) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced 8 more times [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_get_string_simple [INFO] [stdout] >>> referenced by acr122_usb.c:365 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:365) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_get_usb_device_name) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by acr122_usb.c:368 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:368) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_get_usb_device_name) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by pn53x_usb.c:371 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/pn53x_usb.c:371) [INFO] [stdout] >>> pn53x_usb.c.o:(pn53x_usb_get_usb_device_name) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced 1 more times [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_reset [INFO] [stdout] >>> referenced by acr122_usb.c:423 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:423) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_open) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_claim_interface [INFO] [stdout] >>> referenced by acr122_usb.c:427 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:427) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_open) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by pn53x_usb.c:451 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/pn53x_usb.c:451) [INFO] [stdout] >>> pn53x_usb.c.o:(pn53x_usb_open) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_set_altinterface [INFO] [stdout] >>> referenced by acr122_usb.c:437 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:437) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_open) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_release_interface [INFO] [stdout] >>> referenced by acr122_usb.c:500 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/acr122_usb.c:500) [INFO] [stdout] >>> acr122_usb.c.o:(acr122_usb_close) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by pn53x_usb.c:547 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/pn53x_usb.c:547) [INFO] [stdout] >>> pn53x_usb.c.o:(pn53x_usb_close) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_set_configuration [INFO] [stdout] >>> referenced by pn53x_usb.c:331 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/pn53x_usb.c:331) [INFO] [stdout] >>> pn53x_usb.c.o:(pn53x_usb_scan) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] >>> referenced by pn53x_usb.c:440 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/drivers/pn53x_usb.c:440) [INFO] [stdout] >>> pn53x_usb.c.o:(pn53x_usb_open) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_init [INFO] [stdout] >>> referenced by usbbus.c:58 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/buses/usbbus.c:58) [INFO] [stdout] >>> usbbus.c.o:(usb_prepare) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_find_busses [INFO] [stdout] >>> referenced by usbbus.c:66 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/buses/usbbus.c:66) [INFO] [stdout] >>> usbbus.c.o:(usb_prepare) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: usb_find_devices [INFO] [stdout] >>> referenced by usbbus.c:73 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nfc1-sys-0.3.9/vendor/nfc/libnfc/buses/usbbus.c:73) [INFO] [stdout] >>> usbbus.c.o:(usb_prepare) in archive /opt/rustwide/target/debug/deps/libnfc1_sys-53212f0c61bf13cf.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nfc1` (example "detect_magic_target") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "3a3aa7936edd40dd25b28d1726dcb674177c042a465ca8d882af7faa98fcd350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a3aa7936edd40dd25b28d1726dcb674177c042a465ca8d882af7faa98fcd350", kill_on_drop: false }` [INFO] [stdout] 3a3aa7936edd40dd25b28d1726dcb674177c042a465ca8d882af7faa98fcd350