[INFO] fetching crate icao-9303 0.1.0... [INFO] documenting icao-9303-0.1.0 against master#8afe9ff1caa97654c31fb8c259dac9fdf67d6302 for pr-151918 [INFO] extracting crate icao-9303 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate icao-9303 0.1.0 [INFO] finished tweaking crates.io crate icao-9303 0.1.0 [INFO] tweaked toml for crates.io crate icao-9303 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate icao-9303 0.1.0 on toolchain 8afe9ff1caa97654c31fb8c259dac9fdf67d6302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8afe9ff1caa97654c31fb8c259dac9fdf67d6302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate icao-9303 0.1.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" "+8afe9ff1caa97654c31fb8c259dac9fdf67d6302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cpufeatures v0.2.14 [INFO] [stderr] Downloaded flagset v0.4.6 [INFO] [stderr] Downloaded der_derive v0.7.3 [INFO] [stderr] Downloaded serde_derive v1.0.210 [INFO] [stderr] Downloaded pkg-config v0.3.31 [INFO] [stderr] Downloaded ruint-macro v1.2.1 [INFO] [stderr] Downloaded argh_shared v0.1.12 [INFO] [stderr] Downloaded inout v0.1.3 [INFO] [stderr] Downloaded dbl v0.3.2 [INFO] [stderr] Downloaded ark-ff-asm v0.3.0 [INFO] [stderr] Downloaded argh v0.1.12 [INFO] [stderr] Downloaded semver-parser v0.10.2 [INFO] [stderr] Downloaded anyhow v1.0.89 [INFO] [stderr] Downloaded des v0.8.1 [INFO] [stderr] Downloaded ark-ff v0.3.0 [INFO] [stderr] Downloaded x509-cert v0.2.5 [INFO] [stderr] Downloaded pest v2.7.13 [INFO] [stderr] Downloaded cms v0.2.3 [INFO] [stderr] Downloaded blake3 v1.5.4 [INFO] [stderr] Downloaded syn v2.0.77 [INFO] [stderr] Downloaded ruint v1.12.3 [INFO] [stderr] Downloaded serde_json v1.0.128 [INFO] [stderr] Downloaded parity-scale-codec v3.6.12 [INFO] [stderr] Downloaded proptest v1.5.0 [INFO] [stderr] Downloaded indexmap v2.5.0 [INFO] [stderr] Downloaded uint v0.9.5 [INFO] [stderr] Downloaded ark-std v0.3.0 [INFO] [stderr] Downloaded semver v0.11.0 [INFO] [stderr] Downloaded auto_impl v1.2.0 [INFO] [stderr] Downloaded fastrlp v0.3.1 [INFO] [stderr] Downloaded cc v1.1.21 [INFO] [stderr] Downloaded serde v1.0.210 [INFO] [stderr] Downloaded argh_derive v0.1.12 [INFO] [stderr] Downloaded cmac v0.7.2 [INFO] [stderr] Downloaded alloy-rlp v0.3.8 [INFO] [stderr] Downloaded ark-ff-macros v0.3.0 [INFO] [stderr] Downloaded semver v1.0.23 [INFO] [stderr] Downloaded impl-trait-for-tuples v0.2.2 [INFO] [stderr] Downloaded parity-scale-codec-derive v3.6.12 [INFO] [stderr] Downloaded impl-codec v0.6.0 [INFO] [stderr] Downloaded hex-literal v0.4.1 [INFO] [stderr] Downloaded rustc_version v0.3.3 [INFO] [stderr] Downloaded ark-serialize v0.3.0 [INFO] [stderr] Downloaded crunchy v0.2.2 [INFO] [stderr] Downloaded primitive-types v0.12.2 [INFO] [stderr] Downloaded cbc-mac v0.1.1 [INFO] [stderr] Downloaded crc v3.2.1 [INFO] [stderr] Downloaded rand_xorshift v0.3.0 [INFO] [stderr] Downloaded rlp v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+8afe9ff1caa97654c31fb8c259dac9fdf67d6302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f22e7a72d66f65c2b32d60e8d45f10c21970e7661116b209814ec5dc424b52d3 [INFO] running `Command { std: "docker" "start" "-a" "f22e7a72d66f65c2b32d60e8d45f10c21970e7661116b209814ec5dc424b52d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f22e7a72d66f65c2b32d60e8d45f10c21970e7661116b209814ec5dc424b52d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f22e7a72d66f65c2b32d60e8d45f10c21970e7661116b209814ec5dc424b52d3", kill_on_drop: false }` [INFO] [stdout] f22e7a72d66f65c2b32d60e8d45f10c21970e7661116b209814ec5dc424b52d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+8afe9ff1caa97654c31fb8c259dac9fdf67d6302" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8aa0864b6a7b687a8497177c75a969abfd377b2aa5065cc43bbde0f9098aca39 [INFO] running `Command { std: "docker" "start" "-a" "8aa0864b6a7b687a8497177c75a969abfd377b2aa5065cc43bbde0f9098aca39", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Checking flagset v0.4.6 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling rusb v0.9.4 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking dbl v0.3.2 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling libusb1-sys v0.7.0 [INFO] [stderr] Compiling blake3 v1.5.4 [INFO] [stderr] Checking des v0.8.1 [INFO] [stderr] Checking cmac v0.7.2 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking cbc-mac v0.1.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling der_derive v0.7.3 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking x509-cert v0.2.5 [INFO] [stderr] Checking ruint v1.12.3 [INFO] [stderr] Checking cms v0.2.3 [INFO] [stderr] Checking argh_shared v0.1.12 [INFO] [stderr] Compiling argh_derive v0.1.12 [INFO] [stderr] Checking argh v0.1.12 [INFO] [stderr] Checking icao-9303 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Documenting icao-9303 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `hex_literal::hex` [INFO] [stdout] --> src/crypto/named_curves.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use {der::asn1::ObjectIdentifier as Oid, hex_literal::hex}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/emrtd/chip_authentication.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 34 | let ec_params = todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 40 | let curve = EllipticCurve::from_parameters(&ec_params)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/emrtd/chip_authentication.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn chip_authenticate(&mut self, rng: impl CryptoRng + RngCore) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ec_params` [INFO] [stdout] --> src/emrtd/chip_authentication.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let ec_params = todo!(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ec_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/emrtd/pace.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn pace(&mut self, rng: impl CryptoRng + RngCore, mrz: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_pi` [INFO] [stdout] --> src/emrtd/pace.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let k_pi = kdf_128(&k[..], KDF_PACE); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_k_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/nfc/proxmark3/mod.rs:225:27 [INFO] [stdout] | [INFO] [stdout] 225 | let (status, cmd, mut response) = self.receive_response()?; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ID_SEC_P192R1` is never used [INFO] [stdout] --> src/crypto/named_curves.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const ID_SEC_P192R1: Oid = Oid::new_unwrap("1.2.840.10045.3.1.1"); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ID_SEC_P224R1` is never used [INFO] [stdout] --> src/crypto/named_curves.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const ID_SEC_P224R1: Oid = Oid::new_unwrap("1.3.132.0.33"); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ID_SEC_P256R1` is never used [INFO] [stdout] --> src/crypto/named_curves.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const ID_SEC_P256R1: Oid = Oid::new_unwrap("1.2.840.10045.3.1.7"); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ID_SEC_P384R1` is never used [INFO] [stdout] --> src/crypto/named_curves.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const ID_SEC_P384R1: Oid = Oid::new_unwrap("1.3.132.0.34"); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ID_SEC_P521R1` is never used [INFO] [stdout] --> src/crypto/named_curves.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const ID_SEC_P521R1: Oid = Oid::new_unwrap("1.3.132.0.35"); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ID_BRAINPOOL_P192R1` is never used [INFO] [stdout] --> src/crypto/named_curves.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const ID_BRAINPOOL_P192R1: Oid = Oid::new_unwrap("1.3.36.3.3.2.8.1.1.3"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ID_BRAINPOOL_P224R1` is never used [INFO] [stdout] --> src/crypto/named_curves.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const ID_BRAINPOOL_P224R1: Oid = Oid::new_unwrap("1.3.36.3.3.2.8.1.1.5"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ID_BRAINPOOL_P256R1` is never used [INFO] [stdout] --> src/crypto/named_curves.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const ID_BRAINPOOL_P256R1: Oid = Oid::new_unwrap("1.3.36.3.3.2.8.1.1.7"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ID_BRAINPOOL_P320R1` is never used [INFO] [stdout] --> src/crypto/named_curves.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const ID_BRAINPOOL_P320R1: Oid = Oid::new_unwrap("1.3.36.3.3.2.8.1.1.9"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ID_BRAINPOOL_P384R1` is never used [INFO] [stdout] --> src/crypto/named_curves.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const ID_BRAINPOOL_P384R1: Oid = Oid::new_unwrap("1.3.36.3.3.2.8.1.1.11"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ID_BRAINPOOL_P512R1` is never used [INFO] [stdout] --> src/crypto/named_curves.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const ID_BRAINPOOL_P512R1: Oid = Oid::new_unwrap("1.3.36.3.3.2.8.1.1.13"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMRTD_TRAVEL_AID` is never used [INFO] [stdout] --> src/emrtd/files/file_id.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const EMRTD_TRAVEL_AID: &[u8] = &[0xA0, 0x00, 0x00, 0x02, 0x47, 0x20, 0x01]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMRTD_VISA_AID` is never used [INFO] [stdout] --> src/emrtd/files/file_id.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const EMRTD_VISA_AID: &[u8] = &[0xA0, 0x00, 0x00, 0x02, 0x47, 0x20, 0x02]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMRTD_BIOMETRICS_AID` is never used [INFO] [stdout] --> src/emrtd/files/file_id.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const EMRTD_BIOMETRICS_AID: &[u8] = &[0xA0, 0x00, 0x00, 0x02, 0x47, 0x20, 0x03]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `standardized_parameters` is never used [INFO] [stdout] --> src/emrtd/pace.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn standardized_parameters(id: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DebugPrintString`, `NotAck`, and `QuitSession` are never constructed [INFO] [stdout] --> src/nfc/proxmark3/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum Command { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 20 | DebugPrintString = 0x0100, // Used for error responses. [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | [INFO] [stdout] 22 | NotAck = 0x00FE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | QuitSession = 0x0113, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UndefinedError` and `InvalidArgument` are never constructed [INFO] [stdout] --> src/nfc/proxmark3/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 36 | Success = 0, [INFO] [stdout] 37 | UndefinedError = -1, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 38 | InvalidArgument = -2, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> src/nfc/proxmark3/mod.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 50 | trait Connection { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 53 | fn close(self) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> src/nfc/proxmark3/mod.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Proxmark3 { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn close(mut self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/crypto/elliptic_curve.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn a(&self) -> PrimeFieldElement { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 116 | pub fn a(&self) -> PrimeFieldElement<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/crypto/elliptic_curve.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn b(&self) -> PrimeFieldElement { [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] 120 | pub fn b(&self) -> PrimeFieldElement<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/crypto/elliptic_curve.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn generator(&self) -> EllipticCurvePoint { [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] 124 | pub fn generator(&self) -> EllipticCurvePoint<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/crypto/elliptic_curve.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn pt_infinity(&self) -> EllipticCurvePoint { [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] 128 | pub fn pt_infinity(&self) -> EllipticCurvePoint<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/crypto/elliptic_curve.rs:148:26 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn pt_from_monty(&self, monty: EcMonty) -> Result { [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] 148 | pub fn pt_from_monty(&self, monty: EcMonty) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/crypto/elliptic_curve.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn pt_from_bytes(&self, bytes: &[u8]) -> Result { [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] 159 | pub fn pt_from_bytes(&self, bytes: &[u8]) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/crypto/elliptic_curve.rs:228:14 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn x(&self) -> Option { [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] 228 | pub fn x(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/crypto/elliptic_curve.rs:235:14 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn y(&self) -> Option { [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] 235 | pub fn y(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/crypto/prime_field.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn zero(&self) -> PrimeFieldElement { [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] 78 | pub fn zero(&self) -> PrimeFieldElement<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/crypto/prime_field.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn one(&self) -> PrimeFieldElement { [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] 85 | pub fn one(&self) -> PrimeFieldElement<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/crypto/prime_field.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn el_from_u64(&self, value: u64) -> PrimeFieldElement { [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] 93 | pub fn el_from_u64(&self, value: u64) -> PrimeFieldElement<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/crypto/prime_field.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn el_from_uint(&self, value: Uint) -> PrimeFieldElement { [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] 98 | pub fn el_from_uint(&self, value: Uint) -> PrimeFieldElement<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/crypto/prime_field.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn el_from_monty(&self, value: Uint) -> PrimeFieldElement { [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] 108 | pub fn el_from_monty(&self, value: Uint) -> PrimeFieldElement<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/crypto/prime_field.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn random_nonzero(&self, mut rng: impl CryptoRng + RngCore) -> PrimeFieldElement { [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] 114 | pub fn random_nonzero(&self, mut rng: impl CryptoRng + RngCore) -> PrimeFieldElement<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/crypto/prime_field.rs:135:34 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn os2fe>(&self, os: T) -> PrimeFieldElement { [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] 135 | pub fn os2fe>(&self, os: T) -> PrimeFieldElement<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/iso7816/mod.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn parse_apdu(apdu: &[u8]) -> Result { [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] 56 | pub fn parse_apdu(apdu: &[u8]) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `OrderedSet` [INFO] [stdout] --> src/asn1/mod.rs:11:55 [INFO] [stdout] | [INFO] [stdout] 11 | //! have two wayss of encoding 'no parameters') and [`OrderedSet`]. [INFO] [stdout] | ^^^^^^^^^^ no item named `OrderedSet` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.42s [INFO] [stderr] Generated /opt/rustwide/target/doc/icao_9303/index.html and 2 other files [INFO] running `Command { std: "docker" "inspect" "8aa0864b6a7b687a8497177c75a969abfd377b2aa5065cc43bbde0f9098aca39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aa0864b6a7b687a8497177c75a969abfd377b2aa5065cc43bbde0f9098aca39", kill_on_drop: false }` [INFO] [stdout] 8aa0864b6a7b687a8497177c75a969abfd377b2aa5065cc43bbde0f9098aca39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+8afe9ff1caa97654c31fb8c259dac9fdf67d6302" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--document-private-items\"]" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fda0bdaf5902b01305d7866f8bd78df1bcfecbbbb6d1088ef51d9faffccd26a [INFO] running `Command { std: "docker" "start" "-a" "8fda0bdaf5902b01305d7866f8bd78df1bcfecbbbb6d1088ef51d9faffccd26a", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Documenting icao-9303 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unresolved link to `OrderedSet` [INFO] [stdout] --> src/asn1/mod.rs:11:55 [INFO] [stdout] | [INFO] [stdout] 11 | //! have two wayss of encoding 'no parameters') and [`OrderedSet`]. [INFO] [stdout] | ^^^^^^^^^^ no item named `OrderedSet` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.75s [INFO] [stderr] Generated /opt/rustwide/target/doc/icao_9303/index.html [INFO] running `Command { std: "docker" "inspect" "8fda0bdaf5902b01305d7866f8bd78df1bcfecbbbb6d1088ef51d9faffccd26a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fda0bdaf5902b01305d7866f8bd78df1bcfecbbbb6d1088ef51d9faffccd26a", kill_on_drop: false }` [INFO] [stdout] 8fda0bdaf5902b01305d7866f8bd78df1bcfecbbbb6d1088ef51d9faffccd26a