[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 try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdomwoe%2Fjwt_issuer_poc" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/domwoe/jwt_issuer_poc on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "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-tc2/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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"` [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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0b0d9feee897202eac1fac9f550821de43adf9f23e7caa45eab1830833a52dc [INFO] running `Command { std: "docker" "start" "-a" "d0b0d9feee897202eac1fac9f550821de43adf9f23e7caa45eab1830833a52dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0b0d9feee897202eac1fac9f550821de43adf9f23e7caa45eab1830833a52dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0b0d9feee897202eac1fac9f550821de43adf9f23e7caa45eab1830833a52dc", kill_on_drop: false }` [INFO] [stdout] d0b0d9feee897202eac1fac9f550821de43adf9f23e7caa45eab1830833a52dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0289b6f83313b9cb1ee74771db715e3026efeb4236315151f5840ac0e3eb23c [INFO] running `Command { std: "docker" "start" "-a" "a0289b6f83313b9cb1ee74771db715e3026efeb4236315151f5840ac0e3eb23c", kill_on_drop: false }` [INFO] [stderr] warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"` [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] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling generic-array v0.14.6 [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 num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Checking zeroize v1.5.7 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling anyhow v1.0.64 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Checking const-oid v0.9.0 [INFO] [stderr] Checking der v0.6.0 [INFO] [stderr] Checking base64ct v1.5.2 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Compiling sha2 v0.10.5 [INFO] [stderr] Checking crypto-bigint v0.4.8 [INFO] [stderr] Checking ff v0.12.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Checking group v0.12.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Checking rfc6979 v0.3.0 [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 opaque-debug v0.3.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking base64-url v1.4.13 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking base58 v0.2.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 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 ic-types v0.4.2 [INFO] [stderr] Checking ic-certified-map v0.3.0 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling serde_tokenstream v0.1.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] error: 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] | ^^^^^^^^^ unnecessary method call [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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^ unnecessary method call [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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jwt_issuer_poc_backend` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `jwt_issuer_poc_backend` (lib) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a0289b6f83313b9cb1ee74771db715e3026efeb4236315151f5840ac0e3eb23c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0289b6f83313b9cb1ee74771db715e3026efeb4236315151f5840ac0e3eb23c", kill_on_drop: false }` [INFO] [stdout] a0289b6f83313b9cb1ee74771db715e3026efeb4236315151f5840ac0e3eb23c