[INFO] cloning repository https://github.com/pheely/jwt_issuer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pheely/jwt_issuer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpheely%2Fjwt_issuer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpheely%2Fjwt_issuer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff86fb5357f5c108ea00635f2bb358db20e5f010 [INFO] testing pheely/jwt_issuer against master#23949593103d03a82c7ebc2e84434ce6c6edc561 for pr-115235 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpheely%2Fjwt_issuer" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pheely/jwt_issuer on toolchain 23949593103d03a82c7ebc2e84434ce6c6edc561 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pheely/jwt_issuer [INFO] finished tweaking git repo https://github.com/pheely/jwt_issuer [INFO] tweaked toml for git repo https://github.com/pheely/jwt_issuer written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pheely/jwt_issuer 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" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded der v0.7.6 [INFO] [stderr] Downloaded hmac-sha256 v1.1.7 [INFO] [stderr] Downloaded hmac-sha1-compact v1.1.4 [INFO] [stderr] Downloaded hmac-sha512 v1.1.5 [INFO] [stderr] Downloaded jwt-simple v0.11.5 [INFO] [stderr] Downloaded p256 v0.13.2 [INFO] [stderr] Downloaded sec1 v0.7.2 [INFO] [stderr] Downloaded ecdsa v0.16.7 [INFO] [stderr] Downloaded rsa v0.7.2 [INFO] [stderr] Downloaded coarsetime v0.1.23 [INFO] [stderr] Downloaded binstring v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d6668211ee6f429903052169f9880bf02f3db2d6211e141bcc83b35225b1ee0 [INFO] running `Command { std: "docker" "start" "-a" "3d6668211ee6f429903052169f9880bf02f3db2d6211e141bcc83b35225b1ee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d6668211ee6f429903052169f9880bf02f3db2d6211e141bcc83b35225b1ee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d6668211ee6f429903052169f9880bf02f3db2d6211e141bcc83b35225b1ee0", kill_on_drop: false }` [INFO] [stdout] 3d6668211ee6f429903052169f9880bf02f3db2d6211e141bcc83b35225b1ee0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e518776bd4fe144d0fa474771cff04e476a4992120873babc14fc0c775c2015c [INFO] running `Command { std: "docker" "start" "-a" "e518776bd4fe144d0fa474771cff04e476a4992120873babc14fc0c775c2015c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling const-oid v0.9.2 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling cpufeatures v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling der v0.7.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling pem-rfc7468 v0.6.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling der v0.6.1 [INFO] [stderr] Compiling bytestring v1.3.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling zstd-safe v6.0.5+zstd.1.5.4 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling spki v0.7.2 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling crypto-bigint v0.5.2 [INFO] [stderr] Compiling sec1 v0.7.2 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling zstd-sys v2.0.8+zstd.1.5.5 [INFO] [stderr] Compiling signature v2.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.2 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling elliptic-curve v0.13.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling time-macros v0.2.9 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling brotli-decompressor v2.3.4 [INFO] [stderr] Compiling ecdsa v0.16.7 [INFO] [stderr] Compiling primeorder v0.13.2 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling flate2 v1.0.26 [INFO] [stderr] Compiling pkcs1 v0.4.1 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling ct-codecs v1.1.1 [INFO] [stderr] Compiling time v0.3.22 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling rsa v0.7.2 [INFO] [stderr] Compiling ed25519-compact v2.0.4 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling k256 v0.13.1 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling p384 v0.13.0 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling hmac-sha256 v1.1.7 [INFO] [stderr] Compiling hmac-sha512 v1.1.5 [INFO] [stderr] Compiling coarsetime v0.1.23 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling actix-rt v2.8.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling binstring v0.1.1 [INFO] [stderr] Compiling hmac-sha1-compact v1.1.4 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling uuid v1.3.4 [INFO] [stderr] Compiling actix-server v2.2.0 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling actix-codec v0.5.1 [INFO] [stderr] Compiling h2 v0.3.19 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling actix-web-codegen v4.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling zstd v0.12.3+zstd.1.5.2 [INFO] [stderr] Compiling actix-http v3.3.1 [INFO] [stderr] Compiling jwt-simple v0.11.5 [INFO] [stderr] Compiling actix-web v4.3.1 [INFO] [stderr] Compiling jwt_issuer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: structure field `auditTrackingId` should have a snake case name [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | auditTrackingId: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `audit_tracking_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tokenName` should have a snake case name [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | tokenName: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `token_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `authGrantId` should have a snake case name [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | authGrantId: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `auth_grant_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `REDIRECT_URL` is never used [INFO] [stdout] --> src/main.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | static REDIRECT_URL: &str = "/sso/"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `AUDIENCE` is never used [INFO] [stdout] --> src/main.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | static AUDIENCE: &str = "/sso/oauth2/realms/root/realms/api/access_token"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CLIENT_ASSERTION_TYPE` is never used [INFO] [stdout] --> src/main.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | static CLIENT_ASSERTION_TYPE: &str = "urn:ietf:params:oauth:client-assertion-type:jwt-bearer"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `grant_type`, `redirect_uri`, and `client_assertion_type` are never read [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct ClientPayload { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 27 | grant_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | redirect_uri: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | scope: String, [INFO] [stdout] 30 | client_assertion_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientPayload` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.42s [INFO] running `Command { std: "docker" "inspect" "e518776bd4fe144d0fa474771cff04e476a4992120873babc14fc0c775c2015c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e518776bd4fe144d0fa474771cff04e476a4992120873babc14fc0c775c2015c", kill_on_drop: false }` [INFO] [stdout] e518776bd4fe144d0fa474771cff04e476a4992120873babc14fc0c775c2015c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] baf8b0e10ff569b4fa4b8acae6f66b2f9bdf49f575bdc081e035f0209f48408c [INFO] running `Command { std: "docker" "start" "-a" "baf8b0e10ff569b4fa4b8acae6f66b2f9bdf49f575bdc081e035f0209f48408c", kill_on_drop: false }` [INFO] [stdout] warning: structure field `auditTrackingId` should have a snake case name [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | auditTrackingId: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `audit_tracking_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tokenName` should have a snake case name [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | tokenName: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `token_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `authGrantId` should have a snake case name [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | authGrantId: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `auth_grant_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling jwt_issuer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `auditTrackingId` should have a snake case name [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | auditTrackingId: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `audit_tracking_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tokenName` should have a snake case name [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | tokenName: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `token_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `authGrantId` should have a snake case name [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | authGrantId: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `auth_grant_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `REDIRECT_URL` is never used [INFO] [stdout] --> src/main.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | static REDIRECT_URL: &str = "/sso/"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `AUDIENCE` is never used [INFO] [stdout] --> src/main.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | static AUDIENCE: &str = "/sso/oauth2/realms/root/realms/api/access_token"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CLIENT_ASSERTION_TYPE` is never used [INFO] [stdout] --> src/main.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | static CLIENT_ASSERTION_TYPE: &str = "urn:ietf:params:oauth:client-assertion-type:jwt-bearer"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `grant_type`, `redirect_uri`, and `client_assertion_type` are never read [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct ClientPayload { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 27 | grant_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | redirect_uri: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | scope: String, [INFO] [stdout] 30 | client_assertion_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientPayload` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "baf8b0e10ff569b4fa4b8acae6f66b2f9bdf49f575bdc081e035f0209f48408c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baf8b0e10ff569b4fa4b8acae6f66b2f9bdf49f575bdc081e035f0209f48408c", kill_on_drop: false }` [INFO] [stdout] baf8b0e10ff569b4fa4b8acae6f66b2f9bdf49f575bdc081e035f0209f48408c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0841faa91d9f60f6432b8cc6c15db2bd5196d2e3a8dbaad69466f9209cd17c6b [INFO] running `Command { std: "docker" "start" "-a" "0841faa91d9f60f6432b8cc6c15db2bd5196d2e3a8dbaad69466f9209cd17c6b", kill_on_drop: false }` [INFO] [stderr] warning: structure field `auditTrackingId` should have a snake case name [INFO] [stderr] --> src/lib.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | auditTrackingId: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `audit_tracking_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `tokenName` should have a snake case name [INFO] [stderr] --> src/lib.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | tokenName: String, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `token_name` [INFO] [stderr] [INFO] [stderr] warning: structure field `authGrantId` should have a snake case name [INFO] [stderr] --> src/lib.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | authGrantId: String, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `auth_grant_id` [INFO] [stderr] [INFO] [stderr] warning: `jwt_issuer` (lib) generated 3 warnings [INFO] [stderr] warning: `jwt_issuer` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: static `REDIRECT_URL` is never used [INFO] [stderr] --> src/main.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | static REDIRECT_URL: &str = "/sso/"; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: static `AUDIENCE` is never used [INFO] [stderr] --> src/main.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | static AUDIENCE: &str = "/sso/oauth2/realms/root/realms/api/access_token"; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `CLIENT_ASSERTION_TYPE` is never used [INFO] [stderr] --> src/main.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | static CLIENT_ASSERTION_TYPE: &str = "urn:ietf:params:oauth:client-assertion-type:jwt-bearer"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `grant_type`, `redirect_uri`, and `client_assertion_type` are never read [INFO] [stderr] --> src/main.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 26 | struct ClientPayload { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 27 | grant_type: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 28 | redirect_uri: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 29 | scope: String, [INFO] [stderr] 30 | client_assertion_type: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ClientPayload` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `jwt_issuer` (bin "jwt_issuer" test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jwt_issuer_lib-d0bedd9e02ba2e39) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/jwt_issuer-bf91709f2015ef91) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests jwt_issuer_lib [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0841faa91d9f60f6432b8cc6c15db2bd5196d2e3a8dbaad69466f9209cd17c6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0841faa91d9f60f6432b8cc6c15db2bd5196d2e3a8dbaad69466f9209cd17c6b", kill_on_drop: false }` [INFO] [stdout] 0841faa91d9f60f6432b8cc6c15db2bd5196d2e3a8dbaad69466f9209cd17c6b