[INFO] fetching crate jsonweb 1.2.1... [INFO] testing jsonweb-1.2.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate jsonweb 1.2.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate jsonweb 1.2.1 [INFO] finished tweaking crates.io crate jsonweb 1.2.1 [INFO] tweaked toml for crates.io crate jsonweb 1.2.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate jsonweb 1.2.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jsonweb 1.2.1 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d26f8e48f04ce9a4d5085de0846599093d25344601a2868837afcfcef0f74412 [INFO] running `Command { std: "docker" "start" "-a" "d26f8e48f04ce9a4d5085de0846599093d25344601a2868837afcfcef0f74412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d26f8e48f04ce9a4d5085de0846599093d25344601a2868837afcfcef0f74412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d26f8e48f04ce9a4d5085de0846599093d25344601a2868837afcfcef0f74412", kill_on_drop: false }` [INFO] [stdout] d26f8e48f04ce9a4d5085de0846599093d25344601a2868837afcfcef0f74412 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a31e2d7877a01736f4d59294447695ea44129fd693e0577265f096a449c3ce4 [INFO] running `Command { std: "docker" "start" "-a" "8a31e2d7877a01736f4d59294447695ea44129fd693e0577265f096a449c3ce4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling jsonweb v1.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.39s [INFO] running `Command { std: "docker" "inspect" "8a31e2d7877a01736f4d59294447695ea44129fd693e0577265f096a449c3ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a31e2d7877a01736f4d59294447695ea44129fd693e0577265f096a449c3ce4", kill_on_drop: false }` [INFO] [stdout] 8a31e2d7877a01736f4d59294447695ea44129fd693e0577265f096a449c3ce4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 029eb5c4c1a03c9b16b00c0cd99d669e2570acc66a460ac15c4e390899c6a5c4 [INFO] running `Command { std: "docker" "start" "-a" "029eb5c4c1a03c9b16b00c0cd99d669e2570acc66a460ac15c4e390899c6a5c4", kill_on_drop: false }` [INFO] [stderr] Compiling jsonweb v1.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `JwAlg` [INFO] [stdout] --> src/modules/token/mod.rs:11:44 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::algorithm::{HS256Algorithm, JwAlg}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `HS256Algorithm` in the current scope [INFO] [stdout] --> src/modules/algorithm/models/hs256_algorithm.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct HS256Algorithm { [INFO] [stdout] | ------------------------- function or associated item `rand` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 81 | HS256Algorithm::rand(); [INFO] [stdout] | ^^^^ function or associated item not found in `HS256Algorithm` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `HS256Algorithm`, consider using `HS256Algorithm::new` which returns `Result` [INFO] [stdout] --> src/modules/algorithm/models/hs256_algorithm.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(key: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jwt` [INFO] [stdout] --> src/modules/token/mod.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let jwt = Jwt::::check(&token, &algorithm) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_jwt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/modules/token/mod.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let token = Jwt::new_claims() [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonweb` (lib test) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "029eb5c4c1a03c9b16b00c0cd99d669e2570acc66a460ac15c4e390899c6a5c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "029eb5c4c1a03c9b16b00c0cd99d669e2570acc66a460ac15c4e390899c6a5c4", kill_on_drop: false }` [INFO] [stdout] 029eb5c4c1a03c9b16b00c0cd99d669e2570acc66a460ac15c4e390899c6a5c4