[INFO] fetching crate did-utils 0.1.0... [INFO] testing did-utils-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate did-utils 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate did-utils 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate did-utils 0.1.0 [INFO] tweaked toml for crates.io crate did-utils 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate did-utils 0.1.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 did-utils 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded json-canon v0.1.3 [INFO] [stderr] Downloaded cc v1.2.0 [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] 57e33ac681e352fdce05da3fb3658057411bf0b9887d5f7868b1d696e6afb6f4 [INFO] running `Command { std: "docker" "start" "-a" "57e33ac681e352fdce05da3fb3658057411bf0b9887d5f7868b1d696e6afb6f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57e33ac681e352fdce05da3fb3658057411bf0b9887d5f7868b1d696e6afb6f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57e33ac681e352fdce05da3fb3658057411bf0b9887d5f7868b1d696e6afb6f4", kill_on_drop: false }` [INFO] [stdout] 57e33ac681e352fdce05da3fb3658057411bf0b9887d5f7868b1d696e6afb6f4 [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] 5a1ada386697b55437c998f7cdba1a3b7ba1e05097a777b461ddaf228ee2c2f7 [INFO] running `Command { std: "docker" "start" "-a" "5a1ada386697b55437c998f7cdba1a3b7ba1e05097a777b461ddaf228ee2c2f7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling cc v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling cpufeatures v0.2.15 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling ryu-js v0.2.2 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.13 [INFO] [stderr] Compiling data-encoding-macro v0.1.15 [INFO] [stderr] Compiling multibase v0.8.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling json-canon v0.1.3 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling url v2.5.3 [INFO] [stderr] Compiling did-utils v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `url` [INFO] [stdout] --> src/jwk/prm.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "url")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `url` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IssuerObject` is never constructed [INFO] [stdout] --> src/vc/model.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct IssuerObject { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CredentialSubjects` is never used [INFO] [stdout] --> src/vc/model.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | pub enum CredentialSubjects { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NameObject` is never constructed [INFO] [stdout] --> src/vc/model.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct NameObject { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DescriptionObject` is never constructed [INFO] [stdout] --> src/vc/model.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct DescriptionObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.32s [INFO] running `Command { std: "docker" "inspect" "5a1ada386697b55437c998f7cdba1a3b7ba1e05097a777b461ddaf228ee2c2f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a1ada386697b55437c998f7cdba1a3b7ba1e05097a777b461ddaf228ee2c2f7", kill_on_drop: false }` [INFO] [stdout] 5a1ada386697b55437c998f7cdba1a3b7ba1e05097a777b461ddaf228ee2c2f7 [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] 092668f100159c5109c3202f798dc11679fbfd3bc93b3afb386b58b066d9632f [INFO] running `Command { std: "docker" "start" "-a" "092668f100159c5109c3202f798dc11679fbfd3bc93b3afb386b58b066d9632f", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling value-bag v1.10.0 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling rustix v0.38.40 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling futures-lite v2.5.0 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling json-canon v0.1.3 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.13 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling data-encoding-macro v0.1.15 [INFO] [stderr] Compiling multibase v0.8.0 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling async-std v1.13.0 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling did-utils v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `url` [INFO] [stdout] --> src/jwk/prm.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "url")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `url` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `p256` [INFO] [stdout] --> src/jwk/jwk.rs:142:15 [INFO] [stdout] | [INFO] [stdout] 142 | #[cfg(feature = "p256")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `p256` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rsa` [INFO] [stdout] --> src/jwk/jwk.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 150 | #[cfg(feature = "rsa")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `rsa` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `p256` [INFO] [stdout] --> src/jwk/jwk.rs:312:15 [INFO] [stdout] | [INFO] [stdout] 312 | #[cfg(feature = "p256")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `p256` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rsa` [INFO] [stdout] --> src/jwk/jwk.rs:320:15 [INFO] [stdout] | [INFO] [stdout] 320 | #[cfg(feature = "rsa")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `rsa` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rsa` [INFO] [stdout] --> src/jwk/jwk.rs:404:15 [INFO] [stdout] | [INFO] [stdout] 404 | #[cfg(feature = "rsa")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `rsa` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `url` [INFO] [stdout] --> src/jwk/prm.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "url")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `url` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IssuerObject` is never constructed [INFO] [stdout] --> src/vc/model.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct IssuerObject { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CredentialSubjects` is never used [INFO] [stdout] --> src/vc/model.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | pub enum CredentialSubjects { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NameObject` is never constructed [INFO] [stdout] --> src/vc/model.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct NameObject { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DescriptionObject` is never constructed [INFO] [stdout] --> src/vc/model.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct DescriptionObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IssuerObject` is never constructed [INFO] [stdout] --> src/vc/model.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct IssuerObject { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CredentialSubjects` is never used [INFO] [stdout] --> src/vc/model.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | pub enum CredentialSubjects { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NameObject` is never constructed [INFO] [stdout] --> src/vc/model.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct NameObject { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DescriptionObject` is never constructed [INFO] [stdout] --> src/vc/model.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct DescriptionObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 31.76s [INFO] running `Command { std: "docker" "inspect" "092668f100159c5109c3202f798dc11679fbfd3bc93b3afb386b58b066d9632f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "092668f100159c5109c3202f798dc11679fbfd3bc93b3afb386b58b066d9632f", kill_on_drop: false }` [INFO] [stdout] 092668f100159c5109c3202f798dc11679fbfd3bc93b3afb386b58b066d9632f [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] e6e5b3f1ba695423915a7a025e0b8036c99df5b2a90d4a7ec5545c42e5bf9ec2 [INFO] running `Command { std: "docker" "start" "-a" "e6e5b3f1ba695423915a7a025e0b8036c99df5b2a90d4a7ec5545c42e5bf9ec2", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `url` [INFO] [stderr] --> src/jwk/prm.rs:30:11 [INFO] [stderr] | [INFO] [stderr] 30 | #[cfg(feature = "url")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `url` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `IssuerObject` is never constructed [INFO] [stderr] --> src/vc/model.rs:91:12 [INFO] [stderr] | [INFO] [stderr] 91 | pub struct IssuerObject { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: enum `CredentialSubjects` is never used [INFO] [stderr] --> src/vc/model.rs:103:10 [INFO] [stderr] | [INFO] [stderr] 103 | pub enum CredentialSubjects { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `NameObject` is never constructed [INFO] [stderr] --> src/vc/model.rs:139:12 [INFO] [stderr] | [INFO] [stderr] 139 | pub struct NameObject { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `DescriptionObject` is never constructed [INFO] [stderr] --> src/vc/model.rs:165:12 [INFO] [stderr] | [INFO] [stderr] 165 | pub struct DescriptionObject { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `p256` [INFO] [stderr] --> src/jwk/jwk.rs:142:15 [INFO] [stderr] | [INFO] [stderr] 142 | #[cfg(feature = "p256")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `p256` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `rsa` [INFO] [stderr] --> src/jwk/jwk.rs:150:15 [INFO] [stderr] | [INFO] [stderr] 150 | #[cfg(feature = "rsa")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `rsa` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `p256` [INFO] [stderr] --> src/jwk/jwk.rs:312:15 [INFO] [stderr] | [INFO] [stderr] 312 | #[cfg(feature = "p256")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `p256` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `rsa` [INFO] [stderr] --> src/jwk/jwk.rs:320:15 [INFO] [stderr] | [INFO] [stderr] 320 | #[cfg(feature = "rsa")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `rsa` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `rsa` [INFO] [stderr] --> src/jwk/jwk.rs:404:15 [INFO] [stderr] | [INFO] [stderr] 404 | #[cfg(feature = "rsa")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `rsa` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `url` [INFO] [stderr] --> src/jwk/prm.rs:30:11 [INFO] [stderr] | [INFO] [stderr] 30 | #[cfg(feature = "url")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `url` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `did-utils` (lib) generated 5 warnings [INFO] [stderr] warning: `did-utils` (lib test) generated 10 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/did_utils-3bde701169a52f92) [INFO] [stdout] [INFO] [stdout] running 124 tests [INFO] [stdout] test crypto::alg::tests::test_cannot_build_unsupported_jwk ... ok [INFO] [stdout] test crypto::alg::tests::test_decode_multikey_negative_cases ... ok [INFO] [stdout] test crypto::alg::tests::test_key_decompression_fails_on_invalid_key_length ... ok [INFO] [stdout] test crypto::alg::tests::test_can_build_secp256k1_jwk ... ok [INFO] [stdout] test crypto::ed25519::tests::test_ed25519_keypair_to_multikey ... ok [INFO] [stdout] test crypto::alg::tests::test_can_build_p256_jwk ... ok [INFO] [stdout] test crypto::sha256_hash::tests::test_sha256_hash ... ok [INFO] [stdout] test crypto::sha256_hash::tests::test_sha256_multihash ... ok [INFO] [stdout] test crypto::ed25519::tests::test_new_with_seed ... ok [INFO] [stdout] test crypto::alg::tests::test_decode_multikey ... ok [INFO] [stdout] test crypto::alg::tests::test_key_decompression_fails_on_invalid_sign_byte ... ok [INFO] [stdout] test crypto::x25519::tests::test_x25519_keypair_to_multikey ... ok [INFO] [stdout] test crypto::format::tests::test_conversion_x25519_jwk ... ok [INFO] [stdout] test didcore::tests::test_canonicalize_didcore_example_14 ... ok [INFO] [stdout] test crypto::x25519::tests::test_new_with_seed ... ok [INFO] [stdout] test crypto::x25519::tests::test_new ... ok [INFO] [stdout] test crypto::ed25519::tests::test_new ... ok [INFO] [stdout] test didcore::tests::test_canonicalize_didcore_example_09 ... ok [INFO] [stdout] test didcore::tests::test_canonicalize_didcore_example_11 ... ok [INFO] [stdout] test didcore::tests::test_canonicalize_didcore_example_12 ... ok [INFO] [stdout] test didcore::tests::test_canonicalize_didcore_example_12_2 ... ok [INFO] [stdout] test didcore::tests::test_canonicalize_didcore_example_13 ... ok [INFO] [stdout] test didcore::tests::test_canonicalize_didcore_example_18 ... ok [INFO] [stdout] test didcore::tests::test_canonicalize_didcore_example_19 ... ok [INFO] [stdout] test didcore::tests::test_canonicalize_didcore_example_16 ... ok [INFO] [stdout] test didcore::tests::test_canonicalize_didcore_example_17 ... ok [INFO] [stdout] test didcore::tests::test_canonicalize_didcore_example_12_1 ... ok [INFO] [stdout] test jwk::jwk::rfc8037::a2 ... ok [INFO] [stdout] test jwk::jwk::rfc7517::a1 ... ok [INFO] [stdout] test jwk::jwk::rfc8037::a6 ... ok [INFO] [stdout] test jwk::jwk::rfc8037::a7 ... ok [INFO] [stdout] test jwk::prm::tests::signing_algs ... ok [INFO] [stdout] test didcore::tests::test_canonicalize_didcore_example_20 ... ok [INFO] [stdout] test jwk::jwk::rfc7517::a2 ... ok [INFO] [stdout] test didkit::tests::test_document_new ... ok [INFO] [stdout] test jwk::jwk::rfc7517::b ... ok [INFO] [stdout] test didkit::tests::test_document_new_full ... ok [INFO] [stdout] test jwk::jwk::rfc8037::a1 ... ok [INFO] [stdout] test crypto::x25519::tests::test_encrypt_decrypt ... ok [INFO] [stdout] test didcore::tests::test_deserialize_verification_method ... ok [INFO] [stdout] test didcore::tests::test_canonicalize_didcore_example_01 ... ok [INFO] [stdout] test methods::key::method::tests::test_did_key_generation_from_given_jwk ... ok [INFO] [stdout] test methods::key::method::tests::test_did_key_generation ... ok [INFO] [stdout] test methods::peer::method::tests::test_did_peer_1_generation_fails_from_did_document_with_id ... ok [INFO] [stdout] test methods::peer::method::tests::test_did_peer_0_generation_from_given_jwk ... ok [INFO] [stdout] test methods::peer::method::tests::test_did_peer_0_generation_from_given_raw_public_key_bytes ... ok [INFO] [stdout] test methods::key::method::tests::test_did_key_expansion_fails_as_expected ... ok [INFO] [stdout] test methods::peer::method::tests::test_did_peer_1_generation_from_did_document ... ok [INFO] [stdout] test methods::key::method::tests::test_did_key_expansion_jsonwebkey ... ok [INFO] [stdout] test methods::key::method::tests::test_did_key_expansion_multikey ... ok [INFO] [stdout] test crypto::format::tests::test_conversion_ed25519_jwk ... ok [INFO] [stdout] test methods::key::method::tests::test_did_key_expansion_multikey_with_encryption_derivation ... ok [INFO] [stdout] test crypto::ed25519::tests::test_sign_verify ... ok [INFO] [stdout] test methods::key::method::tests::test_did_key_generation_from_given_raw_public_key_bytes ... ok [INFO] [stdout] test methods::peer::method::tests::test_did_peer_2_generation ... ok [INFO] [stdout] test methods::peer::method::tests::test_did_peer_2_generation_should_err_on_empty_key_and_service_args ... ok [INFO] [stdout] test methods::peer::method::tests::test_did_peer_2_generation_should_err_on_key_associated_with_service_purpose ... ok [INFO] [stdout] test methods::peer::method::tests::test_did_peer_2_generation_with_services ... ok [INFO] [stdout] test methods::peer::method::tests::test_did_peer_3_generation ... ok [INFO] [stdout] test crypto::format::tests::test_conversion_ed25519_jwk_with_external_signature ... ok [INFO] [stdout] test methods::peer::method::tests::test_did_peer_3_generation_fails_on_non_did_peer_2_arg ... ok [INFO] [stdout] test methods::peer::method::tests::test_did_peer_4_generation_fails_from_did_document_with_id ... ok [INFO] [stdout] test methods::peer::method::tests::test_did_peer_4_shortening_fails_on_invalid_hash_in_long_peer_did ... ok [INFO] [stdout] test methods::peer::method::tests::test_did_peer_4_shortening_fails_on_malformed_long_peer_did ... ok [INFO] [stdout] test methods::peer::method::tests::test_did_peer_4_generation ... ok [INFO] [stdout] test methods::peer::method::tests::test_did_peer_4_shortening ... ok [INFO] [stdout] test methods::peer::method::tests::test_did_peer_2_generation_with_service ... ok [INFO] [stdout] test methods::peer::method::tests::test_did_peer_4_shortening_fails_on_non_did_peer_4_arg ... ok [INFO] [stdout] test methods::key::resolver::tests::test_dereferencing_did_key_url ... ok [INFO] [stdout] test methods::peer::method::tests::test_expand_did_peer_0_fails_for_regex_mismatch ... ok [INFO] [stdout] test methods::peer::method::tests::test_expand_did_peer_0_fails_on_too_long_did ... ok [INFO] [stdout] test methods::peer::method::tests::test_expand_did_peer_0_fails_on_malformed_dids ... ok [INFO] [stdout] test methods::key::resolver::tests::test_did_key_resolution_fails_as_expected ... ok [INFO] [stdout] test methods::peer::method::tests::test_expand_did_peer_0_jwk_format ... ok [INFO] [stdout] test methods::peer::method::tests::test_expand_did_peer_0_v1 ... ok [INFO] [stdout] test methods::key::resolver::tests::test_did_key_resolution_with_encryption_derivation ... ok [INFO] [stdout] test methods::peer::method::tests::test_expand_fails_on_non_did_peer ... ok [INFO] [stdout] test methods::peer::method::tests::test_expand_did_peer_4 ... ok [INFO] [stdout] test methods::peer::util::tests::test_abbreviate_service_for_did_peer_2 ... ok [INFO] [stdout] test methods::peer::resolver::tests::test_did_peer_resolution_fails_on_unsupported_peer_did_submethod ... ok [INFO] [stdout] test methods::peer::method::tests::test_expand_did_peer_0_v2 ... ok [INFO] [stdout] test methods::peer::method::tests::test_expand_did_peer_2_jwk_format ... ok [INFO] [stdout] test methods::peer::resolver::tests::test_did_peer_resolution ... ok [INFO] [stdout] test methods::peer::resolver::tests::test_did_peer_resolution_fails_on_invalid_did ... ok [INFO] [stdout] test methods::peer::method::tests::test_expand_fails_on_unsupported_did_peer ... ok [INFO] [stdout] test methods::peer::util::tests::test_reverse_abbreviate_service_for_did_peer_2_errs_on_malformed_service ... ok [INFO] [stdout] test methods::peer::util::tests::test_validate_input_document_not_empty ... ok [INFO] [stdout] test methods::peer::util::tests::test_reverse_abbreviate_service_for_did_peer_2 ... ok [INFO] [stdout] test methods::peer::util::tests::test_non_relative_references ... ok [INFO] [stdout] test methods::peer::util::tests::test_validate_input_document_empty ... ok [INFO] [stdout] test methods::peer::util::tests::test_abbreviate_service_for_did_peer_2_with_pushed_boundaries ... ok [INFO] [stdout] test methods::peer::util::tests::test_validate_input_document_with_id ... ok [INFO] [stdout] test methods::resolution::tests::test_dereference_did_document_primary_resource_duplicate_key ... ok [INFO] [stdout] test methods::resolution::tests::test_dereference_did_document_primary_resource_with_fragment ... ok [INFO] [stdout] test methods::resolution::tests::test_dereference_did_document_primary_resource ... ok [INFO] [stdout] test methods::peer::util::tests::test_all_relative_ids_and_references ... ok [INFO] [stdout] test methods::peer::util::tests::test_mixed_relative_and_non_relative ... ok [INFO] [stdout] test methods::peer::method::tests::test_expand_did_peer_2 ... ok [INFO] [stdout] test methods::peer::util::tests::test_non_relative_ids ... ok [INFO] [stdout] test methods::resolution::tests::test_dereference_did_document_primary_resource_with_neither_query_nor_fragment ... ok [INFO] [stdout] test methods::resolution::tests::test_dereference_did_document_primary_resource_with_no_service_parameter ... ok [INFO] [stdout] test methods::resolution::tests::test_dereference_did_document_primary_resource_with_relative_ref ... ok [INFO] [stdout] test methods::resolution::tests::test_dereference_did_document_primary_resource_with_relative_ref_and_fragment ... ok [INFO] [stdout] test methods::resolution::tests::test_dereference_did_document_primary_resource_with_unappendable_fragment ... ok [INFO] [stdout] test methods::resolution::tests::test_dereference_did_document_primary_resource_with_unappendable_relative_ref ... ok [INFO] [stdout] test methods::resolution::tests::test_dereference_did_document_secondary_resource_duplicate_key ... ok [INFO] [stdout] test methods::resolution::tests::test_dereference_did_document_secondary_resource ... ok [INFO] [stdout] test methods::resolution::tests::test_dereference_did_document_secondary_resource_not_found ... ok [INFO] [stdout] test methods::peer::method::tests::test_expand_did_peer_2_fails_on_malformed_encoded_service ... ok [INFO] [stdout] test methods::web::resolver::tests::test_parse_did_web_url ... ok [INFO] [stdout] test proof::model::tests::test_add_proofs_to_secured_document ... ok [INFO] [stdout] test proof::model::tests::test_create_serialize_proof ... ok [INFO] [stdout] test vc::model::tests::test_vp_with_proof ... ok [INFO] [stdout] test vc::model::tests::test_vc ... ok [INFO] [stdout] test vc::model::tests::test_vp ... ok [INFO] [stdout] test proof::model::tests::test_add_proof_to_unsecure_document ... ok [INFO] [stdout] test vc::model::tests::test_vc_with_proof ... ok [INFO] [stdout] test methods::utils::tests::test_did_url_parsing ... ok [INFO] [stdout] test methods::utils::tests::test_did_url_parsing_fails_as_expected ... ok [INFO] [stdout] test methods::resolution::tests::test_dereferencing_did_url ... ok [INFO] [stdout] test methods::web::resolver::tests::resolves_document ... ok [INFO] [stdout] test proof::eddsa_jcs_2022::tests::test_create_verify_proof ... ok [INFO] [stdout] test vc::model::tests::test_vc_verify_vc_proof ... ok [INFO] [stdout] test methods::resolution::tests::test_dereference_did_document_primary_resource_not_found ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 124 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] Doc-tests did_utils [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/methods/mod.rs - methods (line 14) ... ok [INFO] [stdout] test src/methods/mod.rs - methods (line 48) ... ok [INFO] [stdout] test src/methods/mod.rs - methods (line 27) ... ok [INFO] [stdout] test src/crypto/sha256_hash.rs - crypto::sha256_hash::sha256_multihash (line 28) ... ok [INFO] [stdout] test src/lib.rs - (line 23) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.20s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e6e5b3f1ba695423915a7a025e0b8036c99df5b2a90d4a7ec5545c42e5bf9ec2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6e5b3f1ba695423915a7a025e0b8036c99df5b2a90d4a7ec5545c42e5bf9ec2", kill_on_drop: false }` [INFO] [stdout] e6e5b3f1ba695423915a7a025e0b8036c99df5b2a90d4a7ec5545c42e5bf9ec2