[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#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdomwoe%2Fjwt_issuer_poc" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/domwoe/jwt_issuer_poc on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-2-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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] Downloading crates ... [INFO] [stderr] Downloaded serdect v0.1.0 [INFO] [stderr] Downloaded signature v1.6.0 [INFO] [stderr] Downloaded ic-certified-map v0.3.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.5.6 [INFO] [stderr] Downloaded serde_tokenstream v0.1.3 [INFO] [stderr] Downloaded base64ct v1.5.2 [INFO] [stderr] Downloaded ic-types v0.4.2 [INFO] [stderr] Downloaded ecdsa v0.14.5 [INFO] [stderr] Downloaded k256 v0.11.4 [INFO] [stderr] Downloaded ic-cdk v0.5.6 [INFO] [stderr] Downloaded candid v0.7.16 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 804e517b2e07fe46e68233313cba4d71c6b8610fe3226a554e1ac9cd0384bd92 [INFO] running `Command { std: "docker" "start" "-a" "804e517b2e07fe46e68233313cba4d71c6b8610fe3226a554e1ac9cd0384bd92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "804e517b2e07fe46e68233313cba4d71c6b8610fe3226a554e1ac9cd0384bd92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "804e517b2e07fe46e68233313cba4d71c6b8610fe3226a554e1ac9cd0384bd92", kill_on_drop: false }` [INFO] [stdout] 804e517b2e07fe46e68233313cba4d71c6b8610fe3226a554e1ac9cd0384bd92 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7af9aab046796fc2545081e0d124c2cdb4e35985809f7a6534f147d680c08764 [INFO] running `Command { std: "docker" "start" "-a" "7af9aab046796fc2545081e0d124c2cdb4e35985809f7a6534f147d680c08764", 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 autocfg v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling cfg-if v1.0.0 [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 either v1.8.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking zeroize v1.5.7 [INFO] [stderr] Compiling generic-array v0.14.6 [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 phf_shared v0.10.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling anyhow v1.0.64 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking const-oid v0.9.0 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking base64ct v1.5.2 [INFO] [stderr] Checking der v0.6.0 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking ff v0.12.0 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking crypto-bigint v0.4.8 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Checking group v0.12.0 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Checking sha2 v0.10.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Checking signature v1.6.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking rfc6979 v0.3.0 [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 sha2 v0.9.9 [INFO] [stderr] Checking base58 v0.2.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking base64-url v1.4.13 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Compiling lalrpop v0.19.8 [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 binread v2.2.0 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling candid v0.7.16 [INFO] [stderr] Checking serde_bytes v0.11.7 [INFO] [stderr] Checking serdect v0.1.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking ic-types v0.4.2 [INFO] [stderr] Checking ic-certified-map 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] Checking ecdsa v0.14.5 [INFO] [stderr] Checking k256 v0.11.4 [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [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: 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, B0>, B0>, B0>, B0>, B0>>>>>` does not implement `Borrow`, so calling `borrow` on `&CoreWrapper, B0>, B0>, B0>, B0>, B0>>>>>` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [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, B0>, B0>, B0>, B0>, B0>>>>>`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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: 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, B0>, B0>, B0>, B0>, B0>>>>>` does not implement `Borrow`, so calling `borrow` on `&CoreWrapper, B0>, B0>, B0>, B0>, B0>>>>>` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [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, B0>, B0>, B0>, B0>, B0>>>>>`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.14s [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" "7af9aab046796fc2545081e0d124c2cdb4e35985809f7a6534f147d680c08764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7af9aab046796fc2545081e0d124c2cdb4e35985809f7a6534f147d680c08764", kill_on_drop: false }` [INFO] [stdout] 7af9aab046796fc2545081e0d124c2cdb4e35985809f7a6534f147d680c08764