[INFO] cloning repository https://github.com/domwoe/jwt_issuer_poc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/domwoe/jwt_issuer_poc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdomwoe%2Fjwt_issuer_poc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdomwoe%2Fjwt_issuer_poc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9fbf8b88216de888b08390d5099584f46ac5e51c [INFO] checking domwoe/jwt_issuer_poc against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdomwoe%2Fjwt_issuer_poc" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/domwoe/jwt_issuer_poc on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/domwoe/jwt_issuer_poc [INFO] finished tweaking git repo https://github.com/domwoe/jwt_issuer_poc [INFO] tweaked toml for git repo https://github.com/domwoe/jwt_issuer_poc written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/domwoe/jwt_issuer_poc 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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded base64-url v1.4.13 [INFO] [stderr] Downloaded ic-cdk v0.5.6 [INFO] [stderr] Downloaded ic-types v0.4.2 [INFO] [stderr] Downloaded candid v0.7.16 [INFO] [stderr] Downloaded ecdsa v0.14.5 [INFO] [stderr] Downloaded serde_tokenstream v0.1.3 [INFO] [stderr] Downloaded ic-cdk-macros v0.5.6 [INFO] [stderr] Downloaded ic-certified-map v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 483cfd1e80d9d61c6d3d856f6e207af6df152f4b98e3566f18c36abc5f15fe9e [INFO] running `Command { std: "docker" "start" "-a" "483cfd1e80d9d61c6d3d856f6e207af6df152f4b98e3566f18c36abc5f15fe9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "483cfd1e80d9d61c6d3d856f6e207af6df152f4b98e3566f18c36abc5f15fe9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "483cfd1e80d9d61c6d3d856f6e207af6df152f4b98e3566f18c36abc5f15fe9e", kill_on_drop: false }` [INFO] [stdout] 483cfd1e80d9d61c6d3d856f6e207af6df152f4b98e3566f18c36abc5f15fe9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 147f8dc658441ad35d404265e115e8e2d26e2f5a0b867beb9cd6ffe5a27a1d4a [INFO] running `Command { std: "docker" "start" "-a" "147f8dc658441ad35d404265e115e8e2d26e2f5a0b867beb9cd6ffe5a27a1d4a", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Checking zeroize v1.5.7 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling anyhow v1.0.64 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking const-oid v0.9.0 [INFO] [stderr] Checking base64ct v1.5.2 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking der v0.6.0 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking ff v0.12.0 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Checking group v0.12.0 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Compiling sha2 v0.10.5 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking base58 v0.2.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Checking crypto-bigint v0.4.8 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking base64-url v1.4.13 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v1.6.0 [INFO] [stderr] Checking rfc6979 v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.34 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling candid_derive v0.4.5 [INFO] [stderr] Compiling thiserror v1.0.34 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling candid v0.7.16 [INFO] [stderr] Checking serdect v0.1.0 [INFO] [stderr] Checking serde_bytes v0.11.7 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking ic-types v0.4.2 [INFO] [stderr] Checking ic-certified-map v0.3.0 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling serde_tokenstream v0.1.3 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Checking ecdsa v0.14.5 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Checking k256 v0.11.4 [INFO] [stderr] Compiling num_enum v0.5.7 [INFO] [stderr] Checking ic-cdk v0.5.6 [INFO] [stderr] Compiling ic-cdk-macros v0.5.6 [INFO] [stderr] Checking jwt_issuer_poc_backend v0.1.0 (/opt/rustwide/workdir/src/jwt_issuer_poc_backend) [INFO] [stdout] warning: unused import: `FromBase58` [INFO] [stdout] --> src/jwt_issuer_poc_backend/src/lib.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use base58::{ToBase58, FromBase58}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromBase58` [INFO] [stdout] --> src/jwt_issuer_poc_backend/src/lib.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use base58::{ToBase58, FromBase58}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `prune_expired`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/jwt_issuer_poc_backend/src/signature_map.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl SignatureMap { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn prune_expired(&mut self, now: u64, max_to_prune: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/jwt_issuer_poc_backend/src/lib.rs:166:37 [INFO] [stdout] | [INFO] [stdout] 166 | let mut mac = MAC_KEY.with(|k| k.borrow().clone()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `CoreWrapper>>>` does not implement `Borrow`, so calling `borrow` on `&CoreWrapper>>>` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/jwt_issuer_poc_backend-595d49e825bd08f0.long-type-4898371470938567073.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 166 - let mut mac = MAC_KEY.with(|k| k.borrow().clone()); [INFO] [stdout] 166 + let mut mac = MAC_KEY.with(|k| k.clone()); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `CoreWrapper>>>`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/digest-0.10.3/src/core_api/wrapper.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(Clone)] [INFO] [stdout] 23 | pub struct CoreWrapper [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `prune_expired`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/jwt_issuer_poc_backend/src/signature_map.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl SignatureMap { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn prune_expired(&mut self, now: u64, max_to_prune: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/jwt_issuer_poc_backend/src/lib.rs:166:37 [INFO] [stdout] | [INFO] [stdout] 166 | let mut mac = MAC_KEY.with(|k| k.borrow().clone()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `CoreWrapper>>>` does not implement `Borrow`, so calling `borrow` on `&CoreWrapper>>>` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/jwt_issuer_poc_backend-d37cc3800cb4ff61.long-type-18124058260440213276.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 166 - let mut mac = MAC_KEY.with(|k| k.borrow().clone()); [INFO] [stdout] 166 + let mut mac = MAC_KEY.with(|k| k.clone()); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `CoreWrapper>>>`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/digest-0.10.3/src/core_api/wrapper.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(Clone)] [INFO] [stdout] 23 | pub struct CoreWrapper [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.69s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "147f8dc658441ad35d404265e115e8e2d26e2f5a0b867beb9cd6ffe5a27a1d4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "147f8dc658441ad35d404265e115e8e2d26e2f5a0b867beb9cd6ffe5a27a1d4a", kill_on_drop: false }` [INFO] [stdout] 147f8dc658441ad35d404265e115e8e2d26e2f5a0b867beb9cd6ffe5a27a1d4a