[INFO] fetching crate nats-jwt-rs 0.1.1... [INFO] testing nats-jwt-rs-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate nats-jwt-rs 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate nats-jwt-rs 0.1.1 [INFO] finished tweaking crates.io crate nats-jwt-rs 0.1.1 [INFO] tweaked toml for crates.io crate nats-jwt-rs 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nats-jwt-rs 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nats-jwt-rs 0.1.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nkeys v0.4.4 [INFO] [stderr] Downloaded crypto_box v0.9.1 [INFO] [stderr] Downloaded crypto_secretbox v0.1.1 [INFO] [stderr] Downloaded signatory v0.27.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f26fbe637870cd8b33c13bc4323d3fe38e9f404049b554168937077d172f15e1 [INFO] running `Command { std: "docker" "start" "-a" "f26fbe637870cd8b33c13bc4323d3fe38e9f404049b554168937077d172f15e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f26fbe637870cd8b33c13bc4323d3fe38e9f404049b554168937077d172f15e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f26fbe637870cd8b33c13bc4323d3fe38e9f404049b554168937077d172f15e1", kill_on_drop: false }` [INFO] [stdout] f26fbe637870cd8b33c13bc4323d3fe38e9f404049b554168937077d172f15e1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fc43316d4117a8c4571c9a70a2957d05b7aeb22ed4df358d12999daba3e7d7f [INFO] running `Command { std: "docker" "start" "-a" "4fc43316d4117a8c4571c9a70a2957d05b7aeb22ed4df358d12999daba3e7d7f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling crypto_secretbox v0.1.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling signatory v0.27.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling crypto_box v0.9.1 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling nkeys v0.4.4 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling nats-jwt-rs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `decode` is never used [INFO] [stdout] --> src/lib.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 201 | / impl Jwt [INFO] [stdout] 202 | | where [INFO] [stdout] 203 | | T: Claim + DeserializeOwned + Serialize + Clone, [INFO] [stdout] | |____________________________________________________- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn decode(token: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_jwt_segment` is never used [INFO] [stdout] --> src/lib.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn decode_jwt_segment(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SamplingRate` is never used [INFO] [stdout] --> src/types.rs:259:6 [INFO] [stdout] | [INFO] [stdout] 259 | enum SamplingRate { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.83s [INFO] running `Command { std: "docker" "inspect" "4fc43316d4117a8c4571c9a70a2957d05b7aeb22ed4df358d12999daba3e7d7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fc43316d4117a8c4571c9a70a2957d05b7aeb22ed4df358d12999daba3e7d7f", kill_on_drop: false }` [INFO] [stdout] 4fc43316d4117a8c4571c9a70a2957d05b7aeb22ed4df358d12999daba3e7d7f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e808396a98d4176bdf466798bdcacf7fe34fd50dd212db0cfdc00e0a8018c3cd [INFO] running `Command { std: "docker" "start" "-a" "e808396a98d4176bdf466798bdcacf7fe34fd50dd212db0cfdc00e0a8018c3cd", kill_on_drop: false }` [INFO] [stderr] Compiling nats-jwt-rs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `decode` is never used [INFO] [stdout] --> src/lib.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 201 | / impl Jwt [INFO] [stdout] 202 | | where [INFO] [stdout] 203 | | T: Claim + DeserializeOwned + Serialize + Clone, [INFO] [stdout] | |____________________________________________________- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn decode(token: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_jwt_segment` is never used [INFO] [stdout] --> src/lib.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn decode_jwt_segment(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SamplingRate` is never used [INFO] [stdout] --> src/types.rs:259:6 [INFO] [stdout] | [INFO] [stdout] 259 | enum SamplingRate { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `decode` is never used [INFO] [stdout] --> src/lib.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 201 | / impl Jwt [INFO] [stdout] 202 | | where [INFO] [stdout] 203 | | T: Claim + DeserializeOwned + Serialize + Clone, [INFO] [stdout] | |____________________________________________________- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn decode(token: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_jwt_segment` is never used [INFO] [stdout] --> src/lib.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn decode_jwt_segment(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SamplingRate` is never used [INFO] [stdout] --> src/types.rs:259:6 [INFO] [stdout] | [INFO] [stdout] 259 | enum SamplingRate { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.91s [INFO] running `Command { std: "docker" "inspect" "e808396a98d4176bdf466798bdcacf7fe34fd50dd212db0cfdc00e0a8018c3cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e808396a98d4176bdf466798bdcacf7fe34fd50dd212db0cfdc00e0a8018c3cd", kill_on_drop: false }` [INFO] [stdout] e808396a98d4176bdf466798bdcacf7fe34fd50dd212db0cfdc00e0a8018c3cd [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 21de2f3cdae9b9c0312c83bc43f24b6d1f2e4c3d8ec8e9e13f5502f05be0f79b [INFO] running `Command { std: "docker" "start" "-a" "21de2f3cdae9b9c0312c83bc43f24b6d1f2e4c3d8ec8e9e13f5502f05be0f79b", kill_on_drop: false }` [INFO] [stderr] warning: associated function `decode` is never used [INFO] [stderr] --> src/lib.rs:229:12 [INFO] [stderr] | [INFO] [stderr] 201 | / impl Jwt [INFO] [stderr] 202 | | where [INFO] [stderr] 203 | | T: Claim + DeserializeOwned + Serialize + Clone, [INFO] [stderr] | |____________________________________________________- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 229 | pub fn decode(token: &str) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `decode_jwt_segment` is never used [INFO] [stderr] --> src/lib.rs:252:4 [INFO] [stderr] | [INFO] [stderr] 252 | fn decode_jwt_segment(input: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `SamplingRate` is never used [INFO] [stderr] --> src/types.rs:259:6 [INFO] [stderr] | [INFO] [stderr] 259 | enum SamplingRate { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `nats-jwt-rs` (lib) generated 3 warnings [INFO] [stderr] warning: `nats-jwt-rs` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nats_jwt_rs-7a4fb044fd41bc9b) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test::test_decode ... ok [INFO] [stdout] test test::test_encode ... ok [INFO] [stdout] [INFO] [stderr] Doc-tests nats_jwt_rs [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [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" "21de2f3cdae9b9c0312c83bc43f24b6d1f2e4c3d8ec8e9e13f5502f05be0f79b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21de2f3cdae9b9c0312c83bc43f24b6d1f2e4c3d8ec8e9e13f5502f05be0f79b", kill_on_drop: false }` [INFO] [stdout] 21de2f3cdae9b9c0312c83bc43f24b6d1f2e4c3d8ec8e9e13f5502f05be0f79b