[INFO] fetching crate bhmdoc 0.2.0... [INFO] testing bhmdoc-0.2.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate bhmdoc 0.2.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate bhmdoc 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate bhmdoc 0.2.0 [INFO] tweaked toml for crates.io crate bhmdoc 0.2.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bhmdoc 0.2.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 bhmdoc 0.2.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 bhx5chain v0.2.0 [INFO] [stderr] Downloaded bh-jws-utils v0.3.0 [INFO] [stderr] Downloaded coset v0.3.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 8f0935bea31dd36773a2c566c32043b79bfdea47a220f9183922db92baac7e56 [INFO] running `Command { std: "docker" "start" "-a" "8f0935bea31dd36773a2c566c32043b79bfdea47a220f9183922db92baac7e56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f0935bea31dd36773a2c566c32043b79bfdea47a220f9183922db92baac7e56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f0935bea31dd36773a2c566c32043b79bfdea47a220f9183922db92baac7e56", kill_on_drop: false }` [INFO] [stdout] 8f0935bea31dd36773a2c566c32043b79bfdea47a220f9183922db92baac7e56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 2e148f5b44c29872a3b277102b264f7104ffed539aea1383c1216c50c29548d1 [INFO] running `Command { std: "docker" "start" "-a" "2e148f5b44c29872a3b277102b264f7104ffed539aea1383c1216c50c29548d1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling range-traits v0.3.2 [INFO] [stderr] Compiling utf8-decode v1.0.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling cc-traits v2.0.0 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling btree-slab v0.6.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling abnf-core v0.5.0 [INFO] [stderr] Compiling abnf v0.13.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pct-str v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling btree-range-map v0.7.2 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling coset v0.3.8 [INFO] [stderr] Compiling static-regular-grammar v2.0.2 [INFO] [stderr] Compiling bherror v0.1.0 [INFO] [stderr] Compiling jwt v0.16.0 [INFO] [stderr] Compiling iref-core v3.2.2 [INFO] [stderr] Compiling iref v3.2.2 [INFO] [stderr] Compiling bhx5chain v0.2.0 [INFO] [stderr] Compiling bh-jws-utils v0.3.0 [INFO] [stderr] Compiling bhmdoc v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn claims(&self) -> (&DocType, BorrowedClaims) { [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 192 | pub fn claims(&self) -> (&DocType, BorrowedClaims<'_>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/data_retrieval/device_retrieval/response.rs:307:19 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn claims(&self) -> BorrowedClaims { [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] 307 | pub fn claims(&self) -> BorrowedClaims<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/data_retrieval/device_retrieval/response.rs:382:15 [INFO] [stdout] | [INFO] [stdout] 382 | fn claims(&self) -> BorrowedClaims { [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] 382 | fn claims(&self) -> BorrowedClaims<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/data_retrieval/device_retrieval/response.rs:593:19 [INFO] [stdout] | [INFO] [stdout] 593 | pub fn claims(&self) -> BorrowedClaims { [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] 593 | pub fn claims(&self) -> BorrowedClaims<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/data_retrieval/device_retrieval/response.rs:657:19 [INFO] [stdout] | [INFO] [stdout] 657 | pub fn claims(&self) -> BorrowedClaims { [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] 657 | pub fn claims(&self) -> BorrowedClaims<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.60s [INFO] running `Command { std: "docker" "inspect" "2e148f5b44c29872a3b277102b264f7104ffed539aea1383c1216c50c29548d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e148f5b44c29872a3b277102b264f7104ffed539aea1383c1216c50c29548d1", kill_on_drop: false }` [INFO] [stdout] 2e148f5b44c29872a3b277102b264f7104ffed539aea1383c1216c50c29548d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 67bd2085e0d24623202c0dd6792f458c48bb5925a254c1187f9d188b170822b2 [INFO] running `Command { std: "docker" "start" "-a" "67bd2085e0d24623202c0dd6792f458c48bb5925a254c1187f9d188b170822b2", kill_on_drop: false }` [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn claims(&self) -> (&DocType, BorrowedClaims) { [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 192 | pub fn claims(&self) -> (&DocType, BorrowedClaims<'_>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/data_retrieval/device_retrieval/response.rs:307:19 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn claims(&self) -> BorrowedClaims { [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] 307 | pub fn claims(&self) -> BorrowedClaims<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/data_retrieval/device_retrieval/response.rs:382:15 [INFO] [stdout] | [INFO] [stdout] 382 | fn claims(&self) -> BorrowedClaims { [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] 382 | fn claims(&self) -> BorrowedClaims<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/data_retrieval/device_retrieval/response.rs:593:19 [INFO] [stdout] | [INFO] [stdout] 593 | pub fn claims(&self) -> BorrowedClaims { [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] 593 | pub fn claims(&self) -> BorrowedClaims<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/data_retrieval/device_retrieval/response.rs:657:19 [INFO] [stdout] | [INFO] [stdout] 657 | pub fn claims(&self) -> BorrowedClaims { [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] 657 | pub fn claims(&self) -> BorrowedClaims<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bhmdoc v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn claims(&self) -> (&DocType, BorrowedClaims) { [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 192 | pub fn claims(&self) -> (&DocType, BorrowedClaims<'_>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/data_retrieval/device_retrieval/response.rs:307:19 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn claims(&self) -> BorrowedClaims { [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] 307 | pub fn claims(&self) -> BorrowedClaims<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/data_retrieval/device_retrieval/response.rs:382:15 [INFO] [stdout] | [INFO] [stdout] 382 | fn claims(&self) -> BorrowedClaims { [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] 382 | fn claims(&self) -> BorrowedClaims<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/data_retrieval/device_retrieval/response.rs:593:19 [INFO] [stdout] | [INFO] [stdout] 593 | pub fn claims(&self) -> BorrowedClaims { [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] 593 | pub fn claims(&self) -> BorrowedClaims<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/data_retrieval/device_retrieval/response.rs:657:19 [INFO] [stdout] | [INFO] [stdout] 657 | pub fn claims(&self) -> BorrowedClaims { [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] 657 | pub fn claims(&self) -> BorrowedClaims<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.33s [INFO] running `Command { std: "docker" "inspect" "67bd2085e0d24623202c0dd6792f458c48bb5925a254c1187f9d188b170822b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67bd2085e0d24623202c0dd6792f458c48bb5925a254c1187f9d188b170822b2", kill_on_drop: false }` [INFO] [stdout] 67bd2085e0d24623202c0dd6792f458c48bb5925a254c1187f9d188b170822b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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", kill_on_drop: false }` [INFO] [stdout] 408a8a80229a595a75afd701f50c6c4fa9a8f1e289d923a790108d4b1348ce3c [INFO] running `Command { std: "docker" "start" "-a" "408a8a80229a595a75afd701f50c6c4fa9a8f1e289d923a790108d4b1348ce3c", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/device.rs:192:19 [INFO] [stderr] | [INFO] [stderr] 192 | pub fn claims(&self) -> (&DocType, BorrowedClaims) { [INFO] [stderr] | ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 192 | pub fn claims(&self) -> (&DocType, BorrowedClaims<'_>) { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/models/data_retrieval/device_retrieval/response.rs:307:19 [INFO] [stderr] | [INFO] [stderr] 307 | pub fn claims(&self) -> BorrowedClaims { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 307 | pub fn claims(&self) -> BorrowedClaims<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/models/data_retrieval/device_retrieval/response.rs:382:15 [INFO] [stderr] | [INFO] [stderr] 382 | fn claims(&self) -> BorrowedClaims { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 382 | fn claims(&self) -> BorrowedClaims<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/models/data_retrieval/device_retrieval/response.rs:593:19 [INFO] [stderr] | [INFO] [stderr] 593 | pub fn claims(&self) -> BorrowedClaims { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 593 | pub fn claims(&self) -> BorrowedClaims<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/models/data_retrieval/device_retrieval/response.rs:657:19 [INFO] [stderr] | [INFO] [stderr] 657 | pub fn claims(&self) -> BorrowedClaims { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 657 | pub fn claims(&self) -> BorrowedClaims<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `bhmdoc` (lib) generated 5 warnings (run `cargo fix --lib -p bhmdoc` to apply 5 suggestions) [INFO] [stderr] warning: `bhmdoc` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bhmdoc-b23dad203e941c22) [INFO] [stdout] [INFO] [stdout] running 51 tests [INFO] [stdout] test device::tests::test_verify_issued_parse_fail ... ok [INFO] [stdout] test models::data_retrieval::device_retrieval::device_auth::tests::test_oid4vp_handover_serialization ... ok [INFO] [stdout] test models::data_retrieval::device_retrieval::device_auth::tests::test_session_transcript_serialization ... ok [INFO] [stdout] test issuer::tests::test_issue ... ok [INFO] [stdout] test issuer::tests::test_issue_mdl ... ok [INFO] [stdout] test device::tests::test_verify_issued_success ... ok [INFO] [stdout] test models::data_retrieval::device_retrieval::issuer_auth::tests::create_issuer_auth ... ok [INFO] [stdout] test device::tests::test_present_no_matching_claims_successful ... ok [INFO] [stdout] test device::tests::test_present_no_target_documents_successful ... ok [INFO] [stdout] test device::tests::test_verify_issued_invalid_doc_type_fails ... ok [INFO] [stdout] test device::tests::test_presentation_verifies_successfully ... ok [INFO] [stdout] test device::tests::test_present_not_yet_valid_credential_fails ... ok [INFO] [stdout] test device::tests::test_verify_issued_expired_fails ... ok [INFO] [stdout] test device::tests::test_present_no_matching_documents_successful ... ok [INFO] [stdout] test device::tests::test_verify_issued_not_yet_valid_success ... ok [INFO] [stdout] test device::tests::test_present_successful ... ok [INFO] [stdout] test device::tests::test_present_expired_credential_fails ... ok [INFO] [stdout] test models::data_retrieval::device_retrieval::response::tests::issuer_signed_from_base64_with_padding ... ok [INFO] [stdout] test models::data_retrieval::device_retrieval::response::tests::device_response_from_base64 ... ok [INFO] [stdout] test models::data_retrieval::device_retrieval::issuer_auth::tests::verify_issuer_auth ... ok [INFO] [stdout] test models::data_retrieval::device_retrieval::response::tests::test_document_verify_device_signature_invalid_mdoc_generated_nonce ... ok [INFO] [stdout] test device::tests::test_present_check_device_key ... ok [INFO] [stdout] test models::data_retrieval::device_retrieval::issuer_auth::tests::load_third_party_issuer_auth ... ok [INFO] [stdout] test models::tests::test_datetime ... ok [INFO] [stdout] test models::tests::test_third_party_tdate_workaround ... ok [INFO] [stdout] test models::data_retrieval::device_retrieval::response::tests::reordered_fields_in_issuer_signed_item_bytes_produce_different_digest ... ok [INFO] [stdout] test models::data_retrieval::device_retrieval::response::tests::test_document_verify_device_signature_missing_verifier ... ok [INFO] [stdout] test utils::base64::tests::test_base64_url_decode_invalid_input ... ok [INFO] [stdout] test models::data_retrieval::device_retrieval::response::tests::test_document_verify_device_signature_invalid_nonce ... ok [INFO] [stdout] test models::issue::tests::serialize_issuer_signed_static ... ok [INFO] [stdout] test utils::base64::tests::test_base64_url_encode_binary_data ... ok [INFO] [stdout] test models::data_retrieval::device_retrieval::response::tests::test_document_verify_device_signature_with_invalid_keys ... ok [INFO] [stdout] test models::data_retrieval::device_retrieval::issuer_auth::tests::validate_issuer_auth ... ok [INFO] [stdout] test utils::coset::tests::cose_key_from_ec_jwk ... ok [INFO] [stdout] test models::data_retrieval::device_retrieval::response::tests::test_document_verify_device_signature_invalid_response_uri ... ok [INFO] [stdout] test models::data_retrieval::device_retrieval::response::tests::test_response ... ok [INFO] [stdout] test models::tests::test_cbor ... ok [INFO] [stdout] test utils::base64::tests::test_base64_url_decode_binary_data ... ok [INFO] [stdout] test utils::base64::tests::test_base64_url_decode ... ok [INFO] [stdout] test utils::base64::tests::test_base64_url_decode_padded_input ... ok [INFO] [stdout] test utils::base64::tests::test_base64_url_encode ... ok [INFO] [stdout] test utils::coset::tests::cose_key_from_rsa_jwk ... ok [INFO] [stdout] test models::data_retrieval::device_retrieval::response::tests::test_document_verify_device_signature_invalid_client_id ... ok [INFO] [stdout] test device::tests::test_present_non_existent_claims_successful ... ok [INFO] [stdout] test utils::rand::tests::test_generate_salt ... ok [INFO] [stdout] test models::data_retrieval::device_retrieval::response::tests::test_document_verify_device_signature ... ok [INFO] [stdout] test models::data_retrieval::device_retrieval::response::tests::test_device_response_to_from_base64_cbor ... ok [INFO] [stdout] test verifier::tests::test_verify_successful_no_trust ... ok [INFO] [stdout] test models::data_retrieval::device_retrieval::issuer_auth::tests::issuer_auth_x5chain_trust ... ok [INFO] [stdout] test verifier::tests::test_verify_successful_with_trust ... ok [INFO] [stdout] test verifier::tests::test_verify_fails_issuer_not_trusted ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 51 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Running unittests examples/full_flow.rs (/opt/rustwide/target/debug/examples/full_flow-755ca1f591af154b) [INFO] [stdout] Claim: {NameSpace("org.iso.18013.5.1"): {DataElementIdentifier("given_name"): DataElementValue(Text("John")), DataElementIdentifier("family_name"): DataElementValue(Text("Doe")), DataElementIdentifier("expiry_date"): DataElementValue(Tag(1004, Text("2029-01-01")))}} [INFO] [stderr] Doc-tests bhmdoc [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 52) ... ignored [INFO] [stdout] test src/lib.rs - (line 88) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "408a8a80229a595a75afd701f50c6c4fa9a8f1e289d923a790108d4b1348ce3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "408a8a80229a595a75afd701f50c6c4fa9a8f1e289d923a790108d4b1348ce3c", kill_on_drop: false }` [INFO] [stdout] 408a8a80229a595a75afd701f50c6c4fa9a8f1e289d923a790108d4b1348ce3c