[INFO] cloning repository https://github.com/ngd9026/nextgendid [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ngd9026/nextgendid" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngd9026%2Fnextgendid", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngd9026%2Fnextgendid'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37be22f56a00338eddd560031d94abf7c9ddf7b3 [INFO] checking ngd9026/nextgendid against master#ba7e63b63871a429533c189adbfb1d9a6337e000 for pr-135331-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngd9026%2Fnextgendid" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ngd9026/nextgendid [INFO] finished tweaking git repo https://github.com/ngd9026/nextgendid [INFO] tweaked toml for git repo https://github.com/ngd9026/nextgendid written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ngd9026/nextgendid on toolchain ba7e63b63871a429533c189adbfb1d9a6337e000 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba7e63b63871a429533c189adbfb1d9a6337e000" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ngd9026/nextgendid 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" "+ba7e63b63871a429533c189adbfb1d9a6337e000" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+ba7e63b63871a429533c189adbfb1d9a6337e000" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cfe32acb668502b00551d4ca5b38453f4bd8124801730c318eb750a159c371f [INFO] running `Command { std: "docker" "start" "-a" "5cfe32acb668502b00551d4ca5b38453f4bd8124801730c318eb750a159c371f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cfe32acb668502b00551d4ca5b38453f4bd8124801730c318eb750a159c371f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cfe32acb668502b00551d4ca5b38453f4bd8124801730c318eb750a159c371f", kill_on_drop: false }` [INFO] [stdout] 5cfe32acb668502b00551d4ca5b38453f4bd8124801730c318eb750a159c371f [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+ba7e63b63871a429533c189adbfb1d9a6337e000" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a063c3e07db5f9835b82ac12a957e8e6206c998affb2149dd6e38a3c34e0480 [INFO] running `Command { std: "docker" "start" "-a" "4a063c3e07db5f9835b82ac12a957e8e6206c998affb2149dd6e38a3c34e0480", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking nextgendid v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/system_setup.rs:235:1 [INFO] [stdout] | [INFO] [stdout] 235 | / /// ------------------------------------------------------------------------- [INFO] [stdout] 236 | | /// Global State [INFO] [stdout] 237 | | /// ------------------------------------------------------------------------- [INFO] [stdout] | |_----------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::OsRng` [INFO] [stdout] --> src/credential_issuance.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::rngs::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngCore` [INFO] [stdout] --> src/credential_issuance.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/app_credential.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/app_credential.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/credential_issuance.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let g = RISTRETTO_BASEPOINT_POINT; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/system_setup.rs:235:1 [INFO] [stdout] | [INFO] [stdout] 235 | / /// ------------------------------------------------------------------------- [INFO] [stdout] 236 | | /// Global State [INFO] [stdout] 237 | | /// ------------------------------------------------------------------------- [INFO] [stdout] | |_----------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/credential_issuance.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | token: &Token, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zk_proof` [INFO] [stdout] --> src/credential_issuance.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | zk_proof: &ZKProof, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zk_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::OsRng` [INFO] [stdout] --> src/credential_issuance.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::rngs::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngCore` [INFO] [stdout] --> src/credential_issuance.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/app_credential.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/app_credential.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_i` [INFO] [stdout] --> src/app_credential.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | a_i: Vec, // All user attributes. [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_a_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/app_credential.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | l: u64, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phi` [INFO] [stdout] --> src/app_credential.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | phi: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_phi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token_dedup` and `token_usage` are never read [INFO] [stdout] --> src/system_setup.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct CredentialPublicParams { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 128 | pub aggregate_pk: RistrettoPoint, [INFO] [stdout] 129 | pub token_dedup: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 130 | pub token_usage: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cm_k` is never read [INFO] [stdout] --> src/credential_issuance.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct BlindRequest { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 15 | pub cm: RistrettoPoint, [INFO] [stdout] 16 | pub cm_k: RistrettoPoint, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zkpok` is never used [INFO] [stdout] --> src/app_credential.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn zkpok(_data: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mac` is never read [INFO] [stdout] --> src/app_credential.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct AuthRequest { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 158 | pub mac: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tau` is never read [INFO] [stdout] --> src/app_credential.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 163 | pub struct Credential { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 164 | pub tau: RistrettoPoint, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A_l` should have a snake case name [INFO] [stdout] --> src/app_credential.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | A_l: Vec, // Subset of attributes for the application. [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `a_l` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A_l` should have a snake case name [INFO] [stdout] --> src/app_credential.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | let A_l = a_i.clone(); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `a_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/credential_issuance.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let g = RISTRETTO_BASEPOINT_POINT; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/credential_issuance.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | token: &Token, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zk_proof` [INFO] [stdout] --> src/credential_issuance.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | zk_proof: &ZKProof, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zk_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_i` [INFO] [stdout] --> src/app_credential.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | a_i: Vec, // All user attributes. [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_a_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/app_credential.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | l: u64, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phi` [INFO] [stdout] --> src/app_credential.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | phi: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_phi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token_dedup` and `token_usage` are never read [INFO] [stdout] --> src/system_setup.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct CredentialPublicParams { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 128 | pub aggregate_pk: RistrettoPoint, [INFO] [stdout] 129 | pub token_dedup: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 130 | pub token_usage: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cm_k` is never read [INFO] [stdout] --> src/credential_issuance.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct BlindRequest { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 15 | pub cm: RistrettoPoint, [INFO] [stdout] 16 | pub cm_k: RistrettoPoint, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zkpok` is never used [INFO] [stdout] --> src/app_credential.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn zkpok(_data: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mac` is never read [INFO] [stdout] --> src/app_credential.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct AuthRequest { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 158 | pub mac: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tau` is never read [INFO] [stdout] --> src/app_credential.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 163 | pub struct Credential { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 164 | pub tau: RistrettoPoint, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A_l` should have a snake case name [INFO] [stdout] --> src/app_credential.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | A_l: Vec, // Subset of attributes for the application. [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `a_l` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A_l` should have a snake case name [INFO] [stdout] --> src/app_credential.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | let A_l = a_i.clone(); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `a_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.85s [INFO] running `Command { std: "docker" "inspect" "4a063c3e07db5f9835b82ac12a957e8e6206c998affb2149dd6e38a3c34e0480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a063c3e07db5f9835b82ac12a957e8e6206c998affb2149dd6e38a3c34e0480", kill_on_drop: false }` [INFO] [stdout] 4a063c3e07db5f9835b82ac12a957e8e6206c998affb2149dd6e38a3c34e0480