[INFO] fetching crate libgatekeeper-sys 0.6.0...
[INFO] testing libgatekeeper-sys-0.6.0 against beta-2025-10-28 for beta-1.92-2
[INFO] extracting crate libgatekeeper-sys 0.6.0 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate libgatekeeper-sys 0.6.0
[INFO] finished tweaking crates.io crate libgatekeeper-sys 0.6.0
[INFO] tweaked toml for crates.io crate libgatekeeper-sys 0.6.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate libgatekeeper-sys 0.6.0 on toolchain beta-2025-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate libgatekeeper-sys 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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dafec477f7f419987ff7ee92491b8af8f44f2d9000d49363301497e1636394f5
[INFO] running `Command { std: "docker" "start" "-a" "dafec477f7f419987ff7ee92491b8af8f44f2d9000d49363301497e1636394f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dafec477f7f419987ff7ee92491b8af8f44f2d9000d49363301497e1636394f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dafec477f7f419987ff7ee92491b8af8f44f2d9000d49363301497e1636394f5", kill_on_drop: false }`
[INFO] [stdout] dafec477f7f419987ff7ee92491b8af8f44f2d9000d49363301497e1636394f5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2340ab493f801a53e8eb7d7bf49940eb91e307a3e5f7085811b4d264dd3e7a12
[INFO] running `Command { std: "docker" "start" "-a" "2340ab493f801a53e8eb7d7bf49940eb91e307a3e5f7085811b4d264dd3e7a12", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling openssl v0.10.41
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling once_cell v1.13.1
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling apdu-core v0.3.0
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling openssl-sys v0.9.75
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling libgatekeeper-sys v0.6.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:57:30
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn gatekeeper_device(&mut self, conn_str: String) -> Option<NfcDevice> {
[INFO] [stdout]    |                              ^^^^^^^^^ the lifetime is elided here  ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:1:9
[INFO] [stdout]    |
[INFO] [stdout]  1 | #![deny(warnings)]
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(warnings)]`
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn gatekeeper_device(&mut self, conn_str: String) -> Option<NfcDevice<'_>> {
[INFO] [stdout]    |                                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn inner_device(&self, conn_str: String) -> Option<NfcDeviceInner> {
[INFO] [stdout]    |                     ^^^^^ the lifetime is elided here  ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn inner_device(&self, conn_str: String) -> Option<NfcDeviceInner<'_>> {
[INFO] [stdout]    |                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:130:22
[INFO] [stdout]     |
[INFO] [stdout] 130 |     pub fn first_tag(&self) -> Option<FreefareNfcTag> {
[INFO] [stdout]     |                      ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 130 |     pub fn first_tag(&self) -> Option<FreefareNfcTag<'_>> {
[INFO] [stdout]     |                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.44s
[INFO] running `Command { std: "docker" "inspect" "2340ab493f801a53e8eb7d7bf49940eb91e307a3e5f7085811b4d264dd3e7a12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2340ab493f801a53e8eb7d7bf49940eb91e307a3e5f7085811b4d264dd3e7a12", kill_on_drop: false }`
[INFO] [stdout] 2340ab493f801a53e8eb7d7bf49940eb91e307a3e5f7085811b4d264dd3e7a12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fdb5c11f6c27adae1b285eca35902b43470f66ece8c99855ff92e3c82c5d0870
[INFO] running `Command { std: "docker" "start" "-a" "fdb5c11f6c27adae1b285eca35902b43470f66ece8c99855ff92e3c82c5d0870", kill_on_drop: false }`
[INFO] [stderr]    Compiling libgatekeeper-sys v0.6.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:57:30
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn gatekeeper_device(&mut self, conn_str: String) -> Option<NfcDevice> {
[INFO] [stdout]    |                              ^^^^^^^^^ the lifetime is elided here  ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:1:9
[INFO] [stdout]    |
[INFO] [stdout]  1 | #![deny(warnings)]
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(warnings)]`
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn gatekeeper_device(&mut self, conn_str: String) -> Option<NfcDevice<'_>> {
[INFO] [stdout]    |                                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn inner_device(&self, conn_str: String) -> Option<NfcDeviceInner> {
[INFO] [stdout]    |                     ^^^^^ the lifetime is elided here  ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn inner_device(&self, conn_str: String) -> Option<NfcDeviceInner<'_>> {
[INFO] [stdout]    |                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:130:22
[INFO] [stdout]     |
[INFO] [stdout] 130 |     pub fn first_tag(&self) -> Option<FreefareNfcTag> {
[INFO] [stdout]     |                      ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 130 |     pub fn first_tag(&self) -> Option<FreefareNfcTag<'_>> {
[INFO] [stdout]     |                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]  --> examples/issue_tag.rs:7:36
[INFO] [stdout]   |
[INFO] [stdout] 7 |         Err(e) => println!("{}", e.description()),
[INFO] [stdout]   |                                    ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied
[INFO] [stdout]   --> examples/issue_tag_unsafe.rs:63:28
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let issue_result = issue_tag(tag, system_secret.as_ptr(), realms as *mut _, 1);
[INFO] [stdout]    |                            ^^^^^^^^^                                                - argument #4 of type `*mut *mut c_void` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/ffi.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub fn issue_tag(
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let issue_result = issue_tag(tag, system_secret.as_ptr(), realms as *mut _, /* *mut *mut c_void */, 1);
[INFO] [stdout]    |                                                                                     +++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> examples/issue_tag_unsafe.rs:70:35
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let authenticate_result = authenticate_tag(tag, realm);
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^------------ argument #3 of type `*mut u8` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/ffi.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn authenticate_tag(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let authenticate_result = authenticate_tag(tag, realm, /* *mut u8 */);
[INFO] [stdout]    |                                                              +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0606]: casting `&mut *mut c_void` as `*mut i8` is invalid
[INFO] [stdout]   --> examples/issue_tag_unsafe.rs:63:67
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let issue_result = issue_tag(tag, system_secret.as_ptr(), realms as *mut _, 1);
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0606.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libgatekeeper-sys` (example "issue_tag_unsafe") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> examples/issue_tag.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut device = nfc.gatekeeper_device().ok_or("failed to open NFC device")?;
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^-- argument #1 of type `String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn gatekeeper_device(&mut self, conn_str: String) -> Option<NfcDevice> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut device = nfc.gatekeeper_device(/* String */).ok_or("failed to open NFC device")?;
[INFO] [stdout]    |                                            ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 10 arguments but 8 arguments were supplied
[INFO] [stdout]    --> examples/issue_tag.rs:15:21
[INFO] [stdout]     |
[INFO] [stdout]  15 |       let mut realm = Realm::new(0, "Door",
[INFO] [stdout]     |  _____________________^^^^^^^^^^-
[INFO] [stdout]  16 | |         "7c5d9984-8392-4dce-8dc1-75791fa6bf31",
[INFO] [stdout]  17 | |         "c789aef4d156b9e1a23bcbe66742b4eb",
[INFO] [stdout]  18 | |         "53e49fedce8a1fad6be924cb51f79bfe",
[INFO] [stdout] ...   |
[INFO] [stdout]  21 | |         "-----BEGIN EC PRIVATE KEY-----\nMIGkAgEBBDCYfNkZFFqtgPRwxWy3SWfNvznHO0V5CNOlysmE3jXOGtO/99XpmKx4\nAsPFrMm6iragBwYFK4EEACKhZANiAA...
[INFO] [stdout]  22 | |     ).ok_or("failed to create realm")?;
[INFO] [stdout]     | |_____- two arguments of type `&str` and `&str` are missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:470:12
[INFO] [stdout]     |
[INFO] [stdout] 470 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] help: provide the arguments
[INFO] [stdout]     |
[INFO] [stdout]  15 -     let mut realm = Realm::new(0, "Door",
[INFO] [stdout]  16 -         "7c5d9984-8392-4dce-8dc1-75791fa6bf31",
[INFO] [stdout]  17 -         "c789aef4d156b9e1a23bcbe66742b4eb",
[INFO] [stdout]  18 -         "53e49fedce8a1fad6be924cb51f79bfe",
[INFO] [stdout]  19 -         "96e874711115cde3ca530c9a15c4838a",
[INFO] [stdout]  20 -         "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEUSCSsyBgHLLs9d5+p+cTGljR9aeFZ19D\ngBkuomyNPEy2rYI/0g9jeftRkkRXlZNQG/jk8PNtKuYoq4cKTYnMiZEiIcHq6fRi\nusrdYdkrS2iau+xENfzkkouvYJwarMtu\n-----END PUBLIC KEY-----\n",
[INFO] [stdout]  21 -         "-----BEGIN EC PRIVATE KEY-----\nMIGkAgEBBDCYfNkZFFqtgPRwxWy3SWfNvznHO0V5CNOlysmE3jXOGtO/99XpmKx4\nAsPFrMm6iragBwYFK4EEACKhZANiAARRIJKzIGAcsuz13n6n5xMaWNH1p4VnX0OA\nGS6ibI08TLatgj/SD2N5+1GSRFeVk1Ab+OTw820q5iirhwpNicyJkSIhwerp9GK6\nyt1h2StLaJq77EQ1/OSSi69gnBqsy24=\n-----END EC PRIVATE KEY-----\n",
[INFO] [stdout]  22 -     ).ok_or("failed to create realm")?;
[INFO] [stdout]  15 +     let mut realm = Realm::new(0, "Door", "7c5d9984-8392-4dce-8dc1-75791fa6bf31", "c789aef4d156b9e1a23bcbe66742b4eb", "53e49fedce8a1fad6be924cb51f79bfe", "96e874711115cde3ca530c9a15c4838a", "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEUSCSsyBgHLLs9d5+p+cTGljR9aeFZ19D\ngBkuomyNPEy2rYI/0g9jeftRkkRXlZNQG/jk8PNtKuYoq4cKTYnMiZEiIcHq6fRi\nusrdYdkrS2iau+xENfzkkouvYJwarMtu\n-----END PUBLIC KEY-----\n", "-----BEGIN EC PRIVATE KEY-----\nMIGkAgEBBDCYfNkZFFqtgPRwxWy3SWfNvznHO0V5CNOlysmE3jXOGtO/99XpmKx4\nAsPFrMm6iragBwYFK4EEACKhZANiAARRIJKzIGAcsuz13n6n5xMaWNH1p4VnX0OA\nGS6ibI08TLatgj/SD2N5+1GSRFeVk1Ab+OTw820q5iirhwpNicyJkSIhwerp9GK6\nyt1h2StLaJq77EQ1/OSSi69gnBqsy24=\n-----END EC PRIVATE KEY-----\n", /* &str */, /* &str */).ok_or("failed to create realm")?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> examples/read_tag.rs:7:10
[INFO] [stdout]    |
[INFO] [stdout]  7 |         .gatekeeper_device()
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^-- argument #1 of type `String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn gatekeeper_device(&mut self, conn_str: String) -> Option<NfcDevice> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout]  7 |         .gatekeeper_device(/* String */)
[INFO] [stdout]    |                            ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libgatekeeper-sys` (example "read_tag") due to 1 previous error
[INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]    --> examples/issue_tag.rs:24:9
[INFO] [stdout]     |
[INFO] [stdout]  24 |     tag.issue("cdfc36ef1b3d87a81a4114cb75459e27", &mut realm)
[INFO] [stdout]     |         ^^^^^------------------------------------------------ argument #3 of type `Vec<&mut Realm>` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: expected `Option<&str>`, found `&mut Realm`
[INFO] [stdout]    --> examples/issue_tag.rs:24:51
[INFO] [stdout]     |
[INFO] [stdout]  24 |     tag.issue("cdfc36ef1b3d87a81a4114cb75459e27", &mut realm)
[INFO] [stdout]     |                                                   ^^^^^^^^^^
[INFO] [stdout]     = note:           expected enum `Option<&str>`
[INFO] [stdout]             found mutable reference `&mut Realm`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:414:12
[INFO] [stdout]     |
[INFO] [stdout] 414 |     pub fn issue(
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout]  24 -     tag.issue("cdfc36ef1b3d87a81a4114cb75459e27", &mut realm)
[INFO] [stdout]  24 +     tag.issue("cdfc36ef1b3d87a81a4114cb75459e27", /* Option<&str> */, /* Vec<&mut Realm> */)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `authenticate` found for struct `FreefareNfcTag<'a>` in the current scope
[INFO] [stdout]    --> examples/issue_tag.rs:29:9
[INFO] [stdout]     |
[INFO] [stdout]  29 |     tag.authenticate(&mut realm)
[INFO] [stdout]     |         ^^^^^^^^^^^^ method not found in `FreefareNfcTag<'_>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/lib.rs:334:8
[INFO] [stdout]     |
[INFO] [stdout] 334 |     fn authenticate(
[INFO] [stdout]     |        ------------ the method is available for `FreefareNfcTag<'_>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `NfcTag` which provides `authenticate` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use libgatekeeper_sys::NfcTag;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libgatekeeper-sys` (example "issue_tag") due to 4 previous errors; 1 warning emitted
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:57:30
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn gatekeeper_device(&mut self, conn_str: String) -> Option<NfcDevice> {
[INFO] [stdout]    |                              ^^^^^^^^^ the lifetime is elided here  ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:1:9
[INFO] [stdout]    |
[INFO] [stdout]  1 | #![deny(warnings)]
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(warnings)]`
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn gatekeeper_device(&mut self, conn_str: String) -> Option<NfcDevice<'_>> {
[INFO] [stdout]    |                                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn inner_device(&self, conn_str: String) -> Option<NfcDeviceInner> {
[INFO] [stdout]    |                     ^^^^^ the lifetime is elided here  ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn inner_device(&self, conn_str: String) -> Option<NfcDeviceInner<'_>> {
[INFO] [stdout]    |                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:130:22
[INFO] [stdout]     |
[INFO] [stdout] 130 |     pub fn first_tag(&self) -> Option<FreefareNfcTag> {
[INFO] [stdout]     |                      ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 130 |     pub fn first_tag(&self) -> Option<FreefareNfcTag<'_>> {
[INFO] [stdout]     |                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustc3FLjIi/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lgatekeeper" "-lnfc" "-lfreefare" "-Wl,-Bstatic" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{librand-95c51c1e10522d60,librand_chacha-0d2c9fa3308f5ede,libppv_lite86-f1eaae57f9caf7a8,librand_core-958d1f42cd136c13,libgetrandom-d97040a40d713a42,libopenssl-4f520126e6aa5c6a,libonce_cell-b61aedf27d87d1d3,libbitflags-dde12b0d7d495b50,libforeign_types-ce5d663d7c32e748,libforeign_types_shared-47b443a4583fd949,libcfg_if-3e7fc4e38d4a72b5,libopenssl_sys-505ab6aea09cdce1,liblibc-4b24f2ffd62d31b0,libapdu_core-b972637f95d868e9}.rlib" "<sysroot>/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" "-lssl" "-lcrypto" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc3FLjIi/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libgatekeeper_sys-9ca237e83aa89e39" "-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: unable to find library -lgatekeeper
[INFO] [stdout]           rust-lld: error: unable to find library -lnfc
[INFO] [stdout]           rust-lld: error: unable to find library -lfreefare
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libgatekeeper-sys` (lib test) due to 1 previous error; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "fdb5c11f6c27adae1b285eca35902b43470f66ece8c99855ff92e3c82c5d0870", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fdb5c11f6c27adae1b285eca35902b43470f66ece8c99855ff92e3c82c5d0870", kill_on_drop: false }`
[INFO] [stdout] fdb5c11f6c27adae1b285eca35902b43470f66ece8c99855ff92e3c82c5d0870
